[solved]Cant compile networkmanager-l2tp-git

yes, i installed openswan-systemd+xl2tpd , both works well for me(kernel3.6.9, pure systemd)
When i try to complie networkmanager-l2tp-git, i got these errors:
nm-l2tp-service.c: In function ‘main’:
nm-l2tp-service.c:1642:35: error: ‘NM_L2TP_LOCALEDIR’ undeclared (first use in this function)
nm-l2tp-service.c:1642:35: note: each undeclared identifier is reported only once for each function it appears in
make[3]: *** [nm-l2tp-service.o] Error 1
make[3]: *** Waiting for unfinished jobs....
libtool: compile: gcc -DHAVE_CONFIG_H -I. -I.. -I.. -I/usr/include/NetworkManager -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -I/usr/include/dbus-1.0 -I/usr/lib/dbus-1.0/include -I/usr/include/libnm-glib -Wall -std=gnu89 -march=native -O2 -pipe -fstack-protector --param=ssp-buffer-size=4 -D_FORTIFY_SOURCE=2 -Wshadow -Wmissing-declarations -Wmissing-prototypes -Wdeclaration-after-statement -Wstrict-prototypes -Wfloat-equal -Wno-unused-parameter -Wno-sign-compare -fno-strict-aliasing -Wno-unused-but-set-variable -Werror -MT nm_l2tp_pppd_plugin_la-nm-l2tp-pppd-plugin.lo -MD -MP -MF .deps/nm_l2tp_pppd_plugin_la-nm-l2tp-pppd-plugin.Tpo -c nm-l2tp-pppd-plugin.c -o nm_l2tp_pppd_plugin_la-nm-l2tp-pppd-plugin.o >/dev/null 2>&1
mv -f .deps/nm_l2tp_pppd_plugin_la-nm-l2tp-pppd-plugin.Tpo .deps/nm_l2tp_pppd_plugin_la-nm-l2tp-pppd-plugin.Plo
make[3]: Leaving directory `/tmp/yaourt-tmp-genio/aur-networkmanager-l2tp-git/src/NetworkManager-l2tp-build/src'
make[2]: *** [all] Error 2
make[2]: Leaving directory `/tmp/yaourt-tmp-genio/aur-networkmanager-l2tp-git/src/NetworkManager-l2tp-build/src'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/tmp/yaourt-tmp-genio/aur-networkmanager-l2tp-git/src/NetworkManager-l2tp-build'
Last edited by genio4urlife (2012-12-06 11:51:24)

If you have posted it here:
https://aur.archlinux.org/packages.php?ID=51831
and it solved your problem, please, mark your thread "solved"
Last edited by scar (2012-12-06 08:53:17)

Similar Messages

  • [SOLVED] Unable to compile ffmpeg-mt-git and mlt-git

    I get the following error when compiling ffmpeg-mt-git
    LD libavcodec/libavcodec.so.52
    /usr/bin/ld: /usr/lib/gcc/x86_64-unknown-linux-gnu/4.6.0/../../../../lib/libx264.a(common.o): relocation R_X86_64_32 against `.rodata.str1.1' can not be used when making a shared object; recompile with -fPIC
    /usr/lib/gcc/x86_64-unknown-linux-gnu/4.6.0/../../../../lib/libx264.a: could not read symbols: Bad value
    collect2: ld a retourné 1 code d'état d'exécution
    make: *** [libavcodec/libavcodec.so.52] Erreur 1
    I then modified PKGBUILD and added  "--enable-pic" to the .configure line but still get the same above message.
    Just to make sure I recompiled x264-git (no error) and tried again but still the same error.
    Has anyone experienced this problem?
    Thanks
    Alphazo
    I've been able to compile the regular, non-mt, ffmpeg-git. Now I'm getting the same kind of error with mlt-git:
    producer_avformat.c: In function ‘producer_get_image’:
    producer_avformat.c:1086:59: attention : transtypage vers un pointeur depuis un entier de taille différente [-Wint-to-pointer-cast]
    producer_avformat.c:1481:37: attention : transtypage vers un pointeur depuis un entier de taille différente [-Wint-to-pointer-cast]
    cc -shared -o ../libmltavformat.so factory.o filter_avcolour_space.o filter_avresample.o filter_avdeinterlace.o filter_swscale.o producer_avformat.o consumer_avformat.o -Wl,--hash-style=gnu -Wl,--as-needed -Wl,--no-undefined -Wl,--as-needed -Wl,--no-undefined -Wl,--as-needed -L../../framework -lmlt -lpthread -Wl,--no-undefined -Wl,--as-needed    -lavformat -lavcodec -lavutil  -lswscale -lavdevice
    /usr/bin/ld: /usr/lib/gcc/x86_64-unknown-linux-gnu/4.6.0/../../../../lib/libavformat.a(allformats.o): relocation R_X86_64_32 against `ff_a64_muxer' can not be used when making a shared object; recompile with -fPIC
    /usr/lib/gcc/x86_64-unknown-linux-gnu/4.6.0/../../../../lib/libavformat.a: could not read symbols: Bad value
    collect2: ld a retourné 1 code d'état d'exécution
    Last edited by alphazo (2011-04-23 21:20:13)

    To compile ffmpeg-mt-git I had to remove "--shared" from PKGBUILD.
    For mlt-git I had to go back to regular ffmpeg (Extra).
    In the end to get kdenlive-svn working I had to use: x264 (extra), ffmpeg (extra), mlt-git (aur).

  • Cant Compile Bug

    Hiya Guys,
    I am having the following problem when using SQL Developer, i am able to compile a package body to my test server or live server, but i cant compile the package spec to my test server or live server.
    I have attached 2 screenshots to demostrate what i am reffereing too.
    This problem is not specific to package specs, as i have the following problem with other package body files.
    If anyone has any information why this happens and what i can do to solve the issue i would be very grateful.
    [http://img7.imageshack.us/img7/2024/error1cjy.jpg|http://img7.imageshack.us/img7/2024/error1cjy.jpg]
    [http://img7.imageshack.us/img7/796/error2f.jpg|http://img7.imageshack.us/img7/796/error2f.jpg]

    Thanks for the reply, here are how the extensions are defined, i have noticed that there is know .spc extension.
    [http://img7.imageshack.us/img7/1871/error3n.jpg|http://img7.imageshack.us/img7/1871/error3n.jpg]
    Update:
    I added the .spc extension and defined it as a PLSqLNode and it seems to have fixed the problem, thank you very much for your fast reply and help, much much appreciated.
    Edited by: user6329410 on 17-Apr-2009 06:00

  • How do I solve 'error compiling movie. unknown error'?

    how do I solve 'error compiling movie. unknown error' when trying to export? I think a file is damaged or conflicting but how do I know which one?
    Also, how did this happen in the first place and how can I avoid it in the future?
    Thank you very much!!

    BSHF
    The answers are in the details which are lacking in your report.
    What version of Premiere Elements are you using and on what computer operating system is it running?
    Please check out the Adobe troubleshooting documents for this issue
    Error "Error compiling movie" during render or export
    Troubleshoot damaged projects | Adobe Premiere Elements
    After you review those documents and determine if either suggested troubleshooting scheme will work for you,
    then we can discuss the immediate and future actions.
    Looking forward to your follow up. Depending on your reply, next posts may require of you details
    a. project settings
    b. properties of your source media
    c. edits and inspection of Timeline content with the Timeline expanded with the -+ slider above the Timeline.
    More later.
    ATR

  • Cant compile client prg

    Hello all,
    am using weblogic8.1, first of all I would like to know do we need to give a name("Advisor") in JNDI in weblogic, as its mentioned in HFEJB page52 for RI Server. if you say that we have give the JNDI name in weblogic,
    where do we ned to give?
    this is place where I stand now...
    AdviceBean.ejb
    package headfirst;
    import javax.ejb.*;
    import weblogic.ejb.*;
    import headfirst.*;
    * @ejbgen:session
    * ejb-name = "Advice"
    * @ejbgen:jndi-name
    * remote = "ejb.AdviceRemoteHome"
    * @ejbgen:file-generation remote-class = "true" remote-class-name = "AdviceRemote" remote-home = "true" remote-home-name = "AdviceHome" local-class = "false" local-class-name = "AdviceLocal" local-home = "false" local-home-name = "AdviceLocalHome"
    public class AdviceBean implements SessionBean {
    // OK, not very exciting advice! You should come up with something better...
    private String[] adviceStrings = {"test", "test1", "test2", "test3"};
    public void ejbActivate() {
    System.out.println("ejb activate");
    public void ejbPassivate() {
    System.out.println("ejb passivate");
    public void ejbRemove() {
    System.out.println("ejb remove");
    public void setSessionContext(SessionContext ctx) {
    System.out.println("session context");
    // this business method name is changed from the book, because
    // there of a bug on some versions of the J2EE RI
    public String getMessage() {
    System.out.println("in get advice");
    int random = (int) (Math.random() * adviceStrings.length);
    return adviceStrings[random];
    public void ejbCreate() {
    System.out.println("in ejb create");
    AdviceClient.java
    package headfirst;
    import javax.naming.*;
    import java.rmi.*;
    import javax.rmi.*;
    import headfirst.*;
    import javax.ejb.*;
    // not all of these imports are used in this code...
    // but in a real client you'd probably need at least
    // java.rmi.RemoteException and javax.ejb.CreateException
    public class AdviceClient {
    public static void main(String[] args) {
    new AdviceClient().go();
    public void go() {
    try {
    Context ic = new InitialContext();
    Object o = ic.lookup("Advisor"); // replace with YOUR JNDI name for the bean
    AdviceHome home = (AdviceHome) PortableRemoteObject.narrow(o, AdviceHome.class);
    Advice advisor = home.create();
    System.out.println(advisor.getMessage());
    } catch (Exception ex) {
    ex.printStackTrace();
    I cant able to build with this file D:\Weblogic\user_projects\AdviceApp\AdviceApp\headfirst\AdviceClient.java
    So I remove this client file for a while to build the .jar
    after removing this client file, I can able to build. Done, now i got the AdviceApp.jar. again I brought back the client file to the same place..
    I tried from cmd
    D:\Weblogic\user_projects\AdviceApp\AdviceApp\headfirst>javac -classpath "C:\Program Files\j2sdkee1.3.1\lib\j2ee.jar";"D:\Weblogic\user_projects\AdviceApp\Advic
    eApp\AdviceApp.jar" AdviceClient.java
    AdviceClient.java:28: cannot resolve symbol
    symbol : class Advice
    location: class headfirst.AdviceClient
    Advice advisor = home.create();
    ^
    1 error
    Please tel me how to get rid of this issue...

    1008783 wrote:
    Hi
    I cant compile and excute this function
    /* Where can I declare or execute this fields */
    CREATE TYPE typ_get_brandings as object(
    BRANDING_CODE varchar2(200),
    NAME_DESC varchar2(200)
    /* Where can I declare or execute this fields */
    CREATE TYPE tab_get_brandings is table of typ_get_brandings
    CREATE FUNCTION get_brandings
    RETURN tab_get_brandings
    IS
    l_brandings tab_get_brandings;
    BEGIN
    SELECT typ_get_brandings( b.BRANDING_CODE,C.NAME_DESC)
    into l_brandings
    from development.brandings b,godot.company c
    where b.company_id = c.company_id
    return l_brandings;
    EXCEPTION
    WHEN OTHERS THEN
    CORPORATE.COMMON.EXCEPTION_LOG( 'DEVELOPMENT.BRANDING_ADMIN.GET_BRANDING', SQLCODE, SQLERRM, null, FALSE );
    return SQLCODE;
    END;
    Please helpHi ,
    Why you wanna create object ? any specific requirement?
    create table plch_test(id number,name varchar2(30));
    insert into plch_test values(1,'ram');
    insert into plch_test values(2,'abhi');
    insert into plch_test values(3,'aksi');
    CREATE OR REPLACE FUNCTION PLCH_FNC(p_id IN plch_test.id%TYPE)
    RETURN plch_test%ROWTYPE
    IS
    rec_plch_test plch_test%ROWTYPE;
    BEGIN
    SELECT id,name
    INTO rec_plch_test
    FROM plch_test
    WHERE id=p_id;
    EXCEPTION WHEN NO_DATA_FOUND THEN
    rec_plch_test:=null;
    RETURN rec_plch_test;
    END;Call the function
    SQL> set serveroutput on
    SQL> DECLARE
      2  rec_plch plch_test%ROWTYPE;
      3  BEGIN
      4  rec_plch:=PLCH_FNC(1);
      5  dbms_output.put_line('ID'||' '||rec_plch.id||' '||'NAME'||' '||rec_plch.name);
      6  END;
      7  .
    SQL> /
    ID 1 NAME ram
    PL/SQL procedure successfully completed.
    SQL> DECLARE
      2  rec_plch plch_test%ROWTYPE;
      3  BEGIN
      4  rec_plch:=PLCH_FNC(2);
      5  dbms_output.put_line('ID'||' '||rec_plch.id||' '||'NAME'||' '||rec_plch.name);
      6  END;
      7  .
    SQL> /
    ID 2 NAME abhi
    PL/SQL procedure successfully completed.
    SQL> Regards,
    Achyut Kotekal
    Edited by: Achyut K on Jun 6, 2013 12:03 AM

  • Cant compile this function

    Hi
    I cant compile and excute this function
    /* Where can I declare or execute this fields */
    CREATE TYPE typ_get_brandings as object(
    BRANDING_CODE varchar2(200),
    NAME_DESC varchar2(200)
    /* Where can I declare or execute this fields */
    CREATE TYPE tab_get_brandings is table of typ_get_brandings
    CREATE FUNCTION get_brandings
    RETURN tab_get_brandings
    IS
    l_brandings tab_get_brandings;
    BEGIN
    SELECT typ_get_brandings( b.BRANDING_CODE,C.NAME_DESC)
    into l_brandings
    from development.brandings b,godot.company c
    where b.company_id = c.company_id
    return l_brandings;
    EXCEPTION
    WHEN OTHERS THEN
    CORPORATE.COMMON.EXCEPTION_LOG( 'DEVELOPMENT.BRANDING_ADMIN.GET_BRANDING', SQLCODE, SQLERRM, null, FALSE );
    return SQLCODE;
    END;
    Please help

    1008783 wrote:
    Hi
    I cant compile and excute this function
    /* Where can I declare or execute this fields */
    CREATE TYPE typ_get_brandings as object(
    BRANDING_CODE varchar2(200),
    NAME_DESC varchar2(200)
    /* Where can I declare or execute this fields */
    CREATE TYPE tab_get_brandings is table of typ_get_brandings
    CREATE FUNCTION get_brandings
    RETURN tab_get_brandings
    IS
    l_brandings tab_get_brandings;
    BEGIN
    SELECT typ_get_brandings( b.BRANDING_CODE,C.NAME_DESC)
    into l_brandings
    from development.brandings b,godot.company c
    where b.company_id = c.company_id
    return l_brandings;
    EXCEPTION
    WHEN OTHERS THEN
    CORPORATE.COMMON.EXCEPTION_LOG( 'DEVELOPMENT.BRANDING_ADMIN.GET_BRANDING', SQLCODE, SQLERRM, null, FALSE );
    return SQLCODE;
    END;
    Please helpHi ,
    Why you wanna create object ? any specific requirement?
    create table plch_test(id number,name varchar2(30));
    insert into plch_test values(1,'ram');
    insert into plch_test values(2,'abhi');
    insert into plch_test values(3,'aksi');
    CREATE OR REPLACE FUNCTION PLCH_FNC(p_id IN plch_test.id%TYPE)
    RETURN plch_test%ROWTYPE
    IS
    rec_plch_test plch_test%ROWTYPE;
    BEGIN
    SELECT id,name
    INTO rec_plch_test
    FROM plch_test
    WHERE id=p_id;
    EXCEPTION WHEN NO_DATA_FOUND THEN
    rec_plch_test:=null;
    RETURN rec_plch_test;
    END;Call the function
    SQL> set serveroutput on
    SQL> DECLARE
      2  rec_plch plch_test%ROWTYPE;
      3  BEGIN
      4  rec_plch:=PLCH_FNC(1);
      5  dbms_output.put_line('ID'||' '||rec_plch.id||' '||'NAME'||' '||rec_plch.name);
      6  END;
      7  .
    SQL> /
    ID 1 NAME ram
    PL/SQL procedure successfully completed.
    SQL> DECLARE
      2  rec_plch plch_test%ROWTYPE;
      3  BEGIN
      4  rec_plch:=PLCH_FNC(2);
      5  dbms_output.put_line('ID'||' '||rec_plch.id||' '||'NAME'||' '||rec_plch.name);
      6  END;
      7  .
    SQL> /
    ID 2 NAME abhi
    PL/SQL procedure successfully completed.
    SQL> Regards,
    Achyut Kotekal
    Edited by: Achyut K on Jun 6, 2013 12:03 AM

  • [Solved] Cant install\compile certain AUR packages

    This is a brand new 32-bit build on my laptop. Everything is working great, but for some reason I cant get some AUR packages. I have Yaourt, pacman-color, and slock installed from AUR and working fine, but I cant get mpd-git or mplayer-svn installed? I have gcc, python installed and tried both root and user accounts. Not sure what is missing. This is a new dual core laptop so not sure why I am getting the CPU errors below?
    This is for mplayer-svn:
    ==> SVN checkout done or server timeout, updating build dir
    ==> Applying disabled-features patch...
    /var/abs/local/yaourtbuild/mplayer-svn/./PKGBUILD: line 56: patch: command not found
    Detected operating system: Linux
    Detected host architecture: i386
    Checking for host cc ... gcc
    Checking for cross compilation ... yes
    ./configure: line 1605: gcc: command not found
    ./configure: line 1610: gcc: command not found
    Checking for CPU vendor ... GenuineIntel (6:15:11)
    Checking for CPU type ... Intel(R) Core(TM)2 Duo CPU T7500 @ 2.20GHz
    Checking for kernel support of mmx ... failed
    It seems that your kernel does not correctly support mmx.
    To use mmx extensions in MPlayer, you have to upgrade/recompile your kernel!
    Checking for kernel support of mmxext ... failed
    It seems that your kernel does not correctly support mmxext.
    To use mmxext extensions in MPlayer, you have to upgrade/recompile your kernel!
    Checking for kernel support of sse ... failed
    It seems that your kernel does not correctly support sse.
    To use sse extensions in MPlayer, you have to upgrade/recompile your kernel!
    Checking for kernel support of sse2 ... failed
    It seems that your kernel does not correctly support sse2.
    To use sse2 extensions in MPlayer, you have to upgrade/recompile your kernel!
    Checking for kernel support of ssse3 ... failed
    It seems that your kernel does not correctly support ssse3.
    To use ssse3 extensions in MPlayer, you have to upgrade/recompile your kernel!
    Checking for kernel support of cmov ... failed
    It seems that your kernel does not correctly support cmov.
    To use cmov extensions in MPlayer, you have to upgrade/recompile your kernel!
    Checking for mtrr support ... yes
    Checking for GCC & CPU optimization abilities ... CPU optimization disabled. CPU not recognized or your compiler is too old.
    error
    Checking for byte order ... failed to autodetect byte order, defaulting to little-endian
    Checking for extern symbol prefix ...
    Error: Symbol mangling check failed.
    Check "configure.log" if you do not understand why it failed.
    ==> ERROR: Build Failed.
    Aborting...
    Error: Makepkg was unable to build mplayer-svn package.
    This is for mpd-git:
    Looks like I need to set the path for gcc in here, but not sure how?
    configure: error: in `/tmp/yaourt-tmp-banshee/aur-mpd-git/mpd-git/src/mpd-build':
    configure: error: no acceptable C compiler found in $PATH
    See `config.log' for more details.
    make: *** No targets specified and no makefile found. Stop.
    ==> ERROR: Build Failed.
    Aborting...
    Error: Makepkg was unable to build mpd-git package.
    Last edited by banshee28 (2009-09-03 04:15:43)

    Allan wrote:
    You need to install the base-devel group (pacman -S base-devel).
    This is a bit weird though....
    Checking for cross compilation ... yes
    hopefully it goes away!
    Ah, I see all the apps in this group now! Not sure how I missed this? Was this in the wiki somwhere??
    Anyways,its getting further along now ....

  • [SOLVED] Cannot compile taskview-git

    I cannot compile taskview-git. Here's my output:
    ==> Edit PKGBUILD ? [Y/n] ("A" to abort)
    ==> ------------------------------------
    ==> n
    ==> taskview-git dependencies:
    - glib2 (already installed)
    - git (already installed)
    ==> Continue building taskview-git ? [Y/n]
    ==> --------------------------------------
    ==>
    ==> Building and installing package
    ==> Determining latest git revision...
    -> Version found: 20110318
    ==> Making package: taskview-git 20110318-1 (Fri Mar 18 19:50:42 EET 2011)
    ==> Checking Runtime Dependencies...
    ==> Checking Buildtime Dependencies...
    ==> Retrieving Sources...
    ==> Extracting Sources...
    ==> Starting build()...
    ==> Connecting to the GIT server....
    Cloning into TaskView...
    remote: Counting objects: 1158, done.
    remote: Compressing objects: 100% (605/605), done.
    remote: Total 1158 (delta 801), reused 751 (delta 536)
    Receiving objects: 100% (1158/1158), 336.24 KiB | 121 KiB/s, done.
    Resolving deltas: 100% (801/801), done.
    ==> GIT checkout done.
    ==> Starting make for: taskview-git
    Cloning into /tmp/yaourt-tmp-alexandros/aur-taskview-git/src/TaskView-build...
    done.
    ==> Starting configure...
    ./autogen.sh: line 22: .: gnome-autogen.sh: file not found
    Aborting...
    ==> ERROR: Makepkg was unable to build taskview-git.
    Any ideas?
    Thanks in advance!
    Last edited by Aventinus (2011-03-18 19:22:06)

    I guess you're missing gnome-autogen.sh which is provided by gnome-common.
    # pacman -Qo gnome-autogen.sh
    /usr/bin/gnome-autogen.sh is owned by gnome-common 2.28.0-1
    Last edited by oliver (2011-03-18 18:07:05)

  • [SOLVED] cant install acpi_call-git

    cant install acpi_call-git from aur here is the output
    Comment by CIB (2013-08-02 13:22)
    Getting errors when trying to build this, it seems to rely on something already being in /usr/lib/modules/3.10.3-1-ARCH/build
    Does this rely on some kernel source package or something?
    Comment by CIB (2013-08-02 14:02)
    Looks like it: linux-headers package. Could that be added to the dependencies, please?
    Comment by vadimk (2013-08-17 01:00)
    I just tried to makepkg for acpi_call-git package and it fails because
    of rejected acpi_call-x86_64.patch. I compared the patch and original file
    and they are with the same changes. As a local fix I used:
    --- PKGBUILD 2013-08-17 03:36:47.690127666 +0300
    +++ PKGBUILD 2013-08-17 03:37:31.380127165 +0300
    @@ -46,12 +46,6 @@
    sed -i 's|/lib/modules/|/usr/lib/modules/|g' ./Makefile || return 1
    fi
    - ## x86_64 Patch
    - if [ "$CARCH" = "x86_64" ]; then
    - msg "Patching for x86_64 systems"
    - patch -p1 -i ${srcdir}/acpi_call-x86_64.patch
    - fi
    ## Build
    make
    I think that patch should be removed too.
    Comment by jlgaddis (2013-08-19 15:43)
    Confirming `makepkg` fails and flagging as out-of-date due to contents of acpi_call-x86_64.patch being included in upstream as of 02-Jun-2013:
    https://github.com/mkottman/acpi_call/commit/b41b5d9c3e309a207547eb2b3e45237fbadd0bbc
    Comment by veroke (2013-09-10 21:58)
    i Just removed these lines, and it built..
    ## x86_64 Patch
    if [ "$CARCH" = "x86_64" ]; then
    msg "Patching for x86_64 systems"
    patch -p1 -i ${srcdir}/acpi_call-x86_64.patch
    fi
    acpi_call-git 20121230-2 (Sat Aug 7 15:33:04 IST 2010)
    ( Unsupported package: Potentially dangerous ! )
    - git (already installed)
    Cloning into 'acpi_call'...
    Checking connectivity... done
    patching file acpi_call.c
    Reversed (or previously applied) patch detected! Assume -R? [n]
    Apply anyway? [n]
    Skipping patch.
    1 out of 1 hunk ignored -- saving rejects to file acpi_call.c.rej
    Last edited by nos09 (2013-09-18 15:48:08)

    I've used the default PKGBUILD on my 32-bit system and it went just fine:
    $ makepkg -si
    ==> Making package: acpi_call-git 20121230-2 (Wed Sep 18 17:02:03 CEST 2013)
    ==> Checking runtime dependencies...
    ==> Checking buildtime dependencies...
    ==> Retrieving sources...
    ==> Extracting sources...
    ==> Removing existing pkg/ directory...
    ==> Starting build()...
    ==> WARNING: Please make sure linux kernel headers are built/installed for the kernel acpi_call will be used with ::
    ==> WARNING: example #1: 'pacman -S linux-headers'
    ==> WARNING: example #2: 'pacman -S linux-lts-headers'
    ==> Git checkout: Updating existing tree
    Already up-to-date.
    ==> Git checkout: Tree has been updated
    ==> Checkout completed
    make -C /usr/lib/modules/3.11.1-1-ARCH/build M=/home/karol/apps/acpi_call-git/src/acpi_call-build modules
    make[1]: Entering directory `/usr/src/linux-3.11.1-1-ARCH'
    CC [M] /home/karol/apps/acpi_call-git/src/acpi_call-build/acpi_call.o
    /home/karol/apps/acpi_call-git/src/acpi_call-build/acpi_call.c: In function ‘acpi_proc_write’:
    /home/karol/apps/acpi_call-git/src/acpi_call-build/acpi_call.c:273:9: warning: format ‘%lu’ expects argument of type ‘long unsigned int’, but argument 2 has type ‘size_t’ [-Wformat=]
    printk(KERN_ERR "acpi_call: Input too long! (%lu)\n", len);
    ^
    Building modules, stage 2.
    MODPOST 1 modules
    CC /home/karol/apps/acpi_call-git/src/acpi_call-build/acpi_call.mod.o
    LD [M] /home/karol/apps/acpi_call-git/src/acpi_call-build/acpi_call.ko
    make[1]: Leaving directory `/usr/src/linux-3.11.1-1-ARCH'
    ==> Entering fakeroot environment...
    ==> Starting package()...
    ==> WARNING: The following kernel module build procedure *will fail* if your kernel headers are not built/installed!
    -> Building module for 3.11.1-1-ARCH...
    ==> Tidying install...
    -> Purging unwanted files...
    -> Compressing man and info pages...
    -> Stripping unneeded symbols from binaries and libraries...
    ==> Creating package "acpi_call-git"...
    -> Generating .PKGINFO file...
    -> Adding install file...
    -> Generating .MTREE file...
    -> Compressing package...
    ==> Leaving fakeroot environment.
    ==> Finished making: acpi_call-git 20121230-2 (Wed Sep 18 17:02:20 CEST 2013)
    ==> Installing package acpi_call-git with pacman -U...
    loading packages...
    resolving dependencies...
    looking for inter-conflicts...
    Packages (1):
    Name New Version Net Change
    acpi_call-git 20121230-2 0.06 MiB
    Total Installed Size: 0.06 MiB
    :: Proceed with installation? [Y/n]
    (1/1) checking keys in keyring [########################################################] 100%
    (1/1) checking package integrity [########################################################] 100%
    (1/1) loading package files [########################################################] 100%
    (1/1) checking for file conflicts [########################################################] 100%
    (1/1) checking available disk space [########################################################] 100%
    (1/1) installing acpi_call-git [########################################################] 100%
    [+] use the module -> 'modprobe acpi_call'
    >>> run '/usr/bin/turn_off_gpu.sh' to test/view different acpi_call functions to see if it disables your secondary/hybrid video card
    >>> FYI: there are a few scripts in '/usr/share/acpi_call/' - some for specific laptops => asus1215n.sh, dellL702X.sh, m11xr2.sh
    Optional dependencies for acpi_call-git
    linux-headers: needed if using archlinux default kernel [installed]
    linux-lts-headers: needed if using the archlinux lts kernel
    Are you sure you have linux-headers installed?

  • [SOLVED] I cant upgrade networkmanager / gnome

    networkmanager: /usr/share/dbus-1/system-services/org.freedesktop.NetworkManager.service existe en el sistema de archivos
    networkmanager: /usr/share/dbus-1/system-services/org.freedesktop.nm_dispatcher.service existe en el sistema de archivos
    networkmanager: /usr/share/gir-1.0/NMClient-1.0.gir existe en el sistema de archivos
    networkmanager: /usr/share/gir-1.0/NetworkManager-1.0.gir existe en el sistema de archivos
    networkmanager: /usr/share/locale/ar/LC_MESSAGES/NetworkManager.mo existe en el sistema de archivos
    networkmanager: /usr/share/locale/as/LC_MESSAGES/NetworkManager.mo existe en el sistema de archivos
    networkmanager: /usr/share/locale/be@latin/LC_MESSAGES/NetworkManager.mo existe en el sistema de archivos
    networkmanager: /usr/share/locale/bg/LC_MESSAGES/NetworkManager.mo existe en el sistema de archivos
    networkmanager: /usr/share/locale/bn_IN/LC_MESSAGES/NetworkManager.mo existe en el sistema de archivos
    networkmanager: /usr/share/locale/bs/LC_MESSAGES/NetworkManager.mo existe en el sistema de archivos
    networkmanager: /usr/share/locale/ca/LC_MESSAGES/NetworkManager.mo existe en el sistema de archivos
    networkmanager: /usr/share/locale/cs/LC_MESSAGES/NetworkManager.mo existe en el sistema de archivos
    networkmanager: /usr/share/locale/da/LC_MESSAGES/NetworkManager.mo existe en el sistema de archivos
    networkmanager: /usr/share/locale/de/LC_MESSAGES/NetworkManager.mo existe en el sistema de archivos
    networkmanager: /usr/share/locale/dz/LC_MESSAGES/NetworkManager.mo existe en el sistema de archivos
    networkmanager: /usr/share/locale/el/LC_MESSAGES/NetworkManager.mo existe en el sistema de archivos
    networkmanager: /usr/share/locale/en_CA/LC_MESSAGES/NetworkManager.mo existe en el sistema de archivos
    networkmanager: /usr/share/locale/en_GB/LC_MESSAGES/NetworkManager.mo existe en el sistema de archivos
    networkmanager: /usr/share/locale/eo/LC_MESSAGES/NetworkManager.mo existe en el sistema de archivos
    networkmanager: /usr/share/locale/es/LC_MESSAGES/NetworkManager.mo existe en el sistema de archivos
    networkmanager: /usr/share/locale/et/LC_MESSAGES/NetworkManager.mo existe en el sistema de archivos
    networkmanager: /usr/share/locale/eu/LC_MESSAGES/NetworkManager.mo existe en el sistema de archivos
    networkmanager: /usr/share/locale/fi/LC_MESSAGES/NetworkManager.mo existe en el sistema de archivos
    networkmanager: /usr/share/locale/fr/LC_MESSAGES/NetworkManager.mo existe en el sistema de archivos
    networkmanager: /usr/share/locale/gl/LC_MESSAGES/NetworkManager.mo existe en el sistema de archivos
    networkmanager: /usr/share/locale/gu/LC_MESSAGES/NetworkManager.mo existe en el sistema de archivos
    networkmanager: /usr/share/locale/he/LC_MESSAGES/NetworkManager.mo existe en el sistema de archivos
    networkmanager: /usr/share/locale/hi/LC_MESSAGES/NetworkManager.mo existe en el sistema de archivos
    networkmanager: /usr/share/locale/hr/LC_MESSAGES/NetworkManager.mo existe en el sistema de archivos
    networkmanager: /usr/share/locale/hu/LC_MESSAGES/NetworkManager.mo existe en el sistema de archivos
    networkmanager: /usr/share/locale/id/LC_MESSAGES/NetworkManager.mo existe en el sistema de archivos
    networkmanager: /usr/share/locale/it/LC_MESSAGES/NetworkManager.mo existe en el sistema de archivos
    networkmanager: /usr/share/locale/ja/LC_MESSAGES/NetworkManager.mo existe en el sistema de archivos
    networkmanager: /usr/share/locale/ka/LC_MESSAGES/NetworkManager.mo existe en el sistema de archivos
    networkmanager: /usr/share/locale/kn/LC_MESSAGES/NetworkManager.mo existe en el sistema de archivos
    networkmanager: /usr/share/locale/ko/LC_MESSAGES/NetworkManager.mo existe en el sistema de archivos
    networkmanager: /usr/share/locale/ku/LC_MESSAGES/NetworkManager.mo existe en el sistema de archivos
    networkmanager: /usr/share/locale/lt/LC_MESSAGES/NetworkManager.mo existe en el sistema de archivos
    networkmanager: /usr/share/locale/lv/LC_MESSAGES/NetworkManager.mo existe en el sistema de archivos
    networkmanager: /usr/share/locale/mk/LC_MESSAGES/NetworkManager.mo existe en el sistema de archivos
    networkmanager: /usr/share/locale/ml/LC_MESSAGES/NetworkManager.mo existe en el sistema de archivos
    networkmanager: /usr/share/locale/mr/LC_MESSAGES/NetworkManager.mo existe en el sistema de archivos
    networkmanager: /usr/share/locale/nb/LC_MESSAGES/NetworkManager.mo existe en el sistema de archivos
    networkmanager: /usr/share/locale/ne/LC_MESSAGES/NetworkManager.mo existe en el sistema de archivos
    networkmanager: /usr/share/locale/nl/LC_MESSAGES/NetworkManager.mo existe en el sistema de archivos
    networkmanager: /usr/share/locale/oc/LC_MESSAGES/NetworkManager.mo existe en el sistema de archivos
    networkmanager: /usr/share/locale/or/LC_MESSAGES/NetworkManager.mo existe en el sistema de archivos
    networkmanager: /usr/share/locale/pa/LC_MESSAGES/NetworkManager.mo existe en el sistema de archivos
    networkmanager: /usr/share/locale/pl/LC_MESSAGES/NetworkManager.mo existe en el sistema de archivos
    networkmanager: /usr/share/locale/pt/LC_MESSAGES/NetworkManager.mo existe en el sistema de archivos
    networkmanager: /usr/share/locale/pt_BR/LC_MESSAGES/NetworkManager.mo existe en el sistema de archivos
    networkmanager: /usr/share/locale/ru/LC_MESSAGES/NetworkManager.mo existe en el sistema de archivos
    networkmanager: /usr/share/locale/rw/LC_MESSAGES/NetworkManager.mo existe en el sistema de archivos
    networkmanager: /usr/share/locale/sk/LC_MESSAGES/NetworkManager.mo existe en el sistema de archivos
    networkmanager: /usr/share/locale/sl/LC_MESSAGES/NetworkManager.mo existe en el sistema de archivos
    networkmanager: /usr/share/locale/sq/LC_MESSAGES/NetworkManager.mo existe en el sistema de archivos
    networkmanager: /usr/share/locale/sr/LC_MESSAGES/NetworkManager.mo existe en el sistema de archivos
    networkmanager: /usr/share/locale/sr@latin/LC_MESSAGES/NetworkManager.mo existe en el sistema de archivos
    networkmanager: /usr/share/locale/sv/LC_MESSAGES/NetworkManager.mo existe en el sistema de archivos
    networkmanager: /usr/share/locale/ta/LC_MESSAGES/NetworkManager.mo existe en el sistema de archivos
    networkmanager: /usr/share/locale/te/LC_MESSAGES/NetworkManager.mo existe en el sistema de archivos
    networkmanager: /usr/share/locale/th/LC_MESSAGES/NetworkManager.mo existe en el sistema de archivos
    networkmanager: /usr/share/locale/tr/LC_MESSAGES/NetworkManager.mo existe en el sistema de archivos
    networkmanager: /usr/share/locale/uk/LC_MESSAGES/NetworkManager.mo existe en el sistema de archivos
    networkmanager: /usr/share/locale/vi/LC_MESSAGES/NetworkManager.mo existe en el sistema de archivos
    networkmanager: /usr/share/locale/wa/LC_MESSAGES/NetworkManager.mo existe en el sistema de archivos
    networkmanager: /usr/share/locale/zh_CN/LC_MESSAGES/NetworkManager.mo existe en el sistema de archivos
    networkmanager: /usr/share/locale/zh_HK/LC_MESSAGES/NetworkManager.mo existe en el sistema de archivos
    networkmanager: /usr/share/locale/zh_TW/LC_MESSAGES/NetworkManager.mo existe en el sistema de archivos
    networkmanager: /usr/share/man/man1/nm-online.1.gz existe en el sistema de archivos
    networkmanager: /usr/share/man/man1/nm-tool.1.gz existe en el sistema de archivos
    networkmanager: /usr/share/man/man1/nmcli.1.gz existe en el sistema de archivos
    networkmanager: /usr/share/man/man5/NetworkManager.conf.5.gz existe en el sistema de archivos
    networkmanager: /usr/share/man/man5/nm-system-settings.conf.5.gz existe en el sistema de archivos
    networkmanager: /usr/share/man/man8/NetworkManager.8.gz existe en el sistema de archivos
    networkmanager: /usr/share/polkit-1/actions/org.freedesktop.NetworkManager.policy existe en el sistema de archivos
    Ocurrieron errores, no se actualizaron paquetes
    this is a part of the error and gnome shell crash, sorry my bad english
    Last edited by senjik (2012-10-31 05:41:28)

    October 2005 Screenshots? Orly?
    Please post your fix: https://wiki.archlinux.org/index.php/Fo … way_Street

  • [SOLVED] Cannot compile wallet, cannot find boost

    Hello,
    When I'm trying to compile piggybank to store my CENT cryptocurrency, I get this error when compiling:
    robin-desktop% make
    cd /home/robin/Downloads/pennies-master; /bin/sh share/genbuild.sh /home/robin/Downloads/pennies-master/build/build.h
    fatal: Not a git repository (or any parent up to mount point /home)
    Stopping at filesystem boundary (GIT_DISCOVERY_ACROSS_FILESYSTEM not set).
    /usr/lib/qt4/bin/rcc -name bitcoin src/qt/bitcoin.qrc -o qrc_bitcoin.cpp
    g++ -c -pipe -fstack-protector-all --param ssp-buffer-size=1 -msse2 -march=x86-64 -mtune=generic -O2 -pipe -fstack-protector --param=ssp-buffer-size=4 -D_REENTRANT -fdiagnostics-show-option -Wall -Wextra -Wformat -Wformat-security -Wno-unused-parameter -Wstack-protector -DQT_GUI -DBOOST_THREAD_USE_LIB -DBOOST_SPIRIT_THREADSAFE -DSCRYPT_CHACHA -DSCRYPT_KECCAK512 -DBOOST_THREAD_PROVIDES_GENERIC_SHARED_MUTEX_ON_WIN -D__NO_SYSTEM_INCLUDES -DUSE_UPNP=1 -DSTATICLIB -DUSE_IPV6=1 -DHAVE_BUILD_INFO -DLINUX -DQT_NO_DEBUG -DQT_GUI_LIB -DQT_CORE_LIB -DQT_SHARED -I/usr/share/qt4/mkspecs/linux-g++ -I/usr/include/qt4/QtCore -I/usr/include/qt4/QtGui -I/usr/include/qt4 -Isrc -Isrc/json -Isrc/qt -Ic:/deps -IC:/deps/boost -Ic:/deps/db/build_unix -Ic:/deps/ssl/include -Ibuild -Ibuild -o build/qrc_bitcoin.o qrc_bitcoin.cpp
    g++ -Wl,-O1,--sort-common,--as-needed,-z,relro -fstack-protector-all --param ssp-buffer-size=1 -Wl,-O1 -o piggybank build/bitcoin.o build/bitcoingui.o build/transactiontablemodel.o build/addresstablemodel.o build/optionsdialog.o build/sendcoinsdialog.o build/coincontroldialog.o build/coincontroltreewidget.o build/addressbookpage.o build/signverifymessagedialog.o build/aboutdialog.o build/editaddressdialog.o build/bitcoinaddressvalidator.o build/alert.o build/version.o build/sync.o build/util.o build/netbase.o build/key.o build/script.o build/main.o build/init.o build/net.o build/irc.o build/checkpoints.o build/addrman.o build/db.o build/walletdb.o build/clientmodel.o build/guiutil.o build/transactionrecord.o build/optionsmodel.o build/monitoreddatamapper.o build/transactiondesc.o build/transactiondescdialog.o build/bitcoinstrings.o build/bitcoinamountfield.o build/wallet.o build/keystore.o build/transactionfilterproxy.o build/transactionview.o build/walletmodel.o build/bitcoinrpc.o build/rpcdump.o build/rpcnet.o build/rpcmining.o build/rpcwallet.o build/rpcblockchain.o build/rpcrawtransaction.o build/overviewpage.o build/csvmodelwriter.o build/crypter.o build/sendcoinsentry.o build/qvalidatedlineedit.o build/bitcoinunits.o build/qvaluecombobox.o build/askpassphrasedialog.o build/protocol.o build/notificator.o build/qtipcserver.o build/rpcconsole.o build/noui.o build/kernel.o build/scrypt-x86.o build/scrypt-x86_64.o build/scrypt_mine.o build/pbkdf2.o build/scrypt-jane.o build/moc_bitcoingui.o build/moc_transactiontablemodel.o build/moc_addresstablemodel.o build/moc_optionsdialog.o build/moc_sendcoinsdialog.o build/moc_coincontroldialog.o build/moc_coincontroltreewidget.o build/moc_addressbookpage.o build/moc_signverifymessagedialog.o build/moc_aboutdialog.o build/moc_editaddressdialog.o build/moc_bitcoinaddressvalidator.o build/moc_clientmodel.o build/moc_guiutil.o build/moc_optionsmodel.o build/moc_monitoreddatamapper.o build/moc_transactiondesc.o build/moc_transactiondescdialog.o build/moc_bitcoinamountfield.o build/moc_transactionfilterproxy.o build/moc_transactionview.o build/moc_walletmodel.o build/moc_overviewpage.o build/moc_csvmodelwriter.o build/moc_sendcoinsentry.o build/moc_qvalidatedlineedit.o build/moc_qvaluecombobox.o build/moc_askpassphrasedialog.o build/moc_notificator.o build/moc_rpcconsole.o build/qrc_bitcoin.o -L/usr/lib -Lc:/deps/miniupnpc -lminiupnpc -lrt -LC:/deps/boost/stage/lib -Lc:/deps/db/build_unix -Lc:/deps/ssl -lssl -lcrypto -ldb_cxx -lboost_system-mgw46-mt-sd-1_53 -lboost_filesystem-mgw46-mt-sd-1_53 -lboost_program_options-mgw46-mt-sd-1_53 -lboost_thread-mgw46-mt-sd-1_53 -lpthread -lQtGui -lQtCore
    /usr/bin/ld: cannot find -lboost_system-mgw46-mt-sd-1_53
    /usr/bin/ld: cannot find -lboost_filesystem-mgw46-mt-sd-1_53
    /usr/bin/ld: cannot find -lboost_program_options-mgw46-mt-sd-1_53
    /usr/bin/ld: cannot find -lboost_thread-mgw46-mt-sd-1_53
    collect2: error: ld returned 1 exit status
    Makefile:298: recipe for target 'piggybank' failed
    make: *** [piggybank] Error 1
    I generate the makefile by running qmake-qt4 in the main directory. I already tried to downgrade Boost to version 1_54, but I don't have an older version and I think it should compile fine with a newer version without any problems. Anyone who has similar problems?
    When I run pacman -Ss boost-libs I get:
    extra/boost-libs 1.55.0-4 [installed]
    Free peer-reviewed portable C++ source libraries - Runtime
    Seems like nothing out of the ordinary.  I'm getting the exact same errors when compiling Foxcoin. I also tried to install Qt again, but that didn't help.
    Thanks for helping in advance.
    Last edited by robin007bond (2014-06-17 06:18:53)

    Neburski wrote:
    robin007bond wrote:Can you tell me which keywords you used?
    First I looked for one of the boost libraries that the program was looking for (e.g. the error for "cannot find -lboost_system-mgw46-mt-sd-1_53" means ld is looking for libboost_system-mgw46-mt-sd-1_53). I did it because the library name looked rather non-standard.
    locate boost_system
    After that I knew that the program you used was relying on a very particular boost library and that lead me to actually google for "boost_system-mgw46-mt-sd-1_53" to see what that would turn up and the second link is the one I posted in this forum.
    Anyway if you know something about Makefiles then you could have solved it by yourself rather easy as well.
    If you look in the Makefile you should find a line somewhere that has
    LIBS += -lboost_system-mgw46-mt-sd-1_53 -lboost_filesystem-mgw46-mt-sd-1_53 -lboost_program_options-mgw46-mt-sd-1_53 -lboost_thread-mgw46-mt-sd-1_53
    Essentially you can see from the output of "make that" it's looking for those files (look towards the end of the second "g++ -Wl,-O1 ..." line)
    g++ -Wl,-O1,--sort-common ....... -Lc:/deps/ssl -lssl -lcrypto -ldb_cxx -lboost_system-mgw46-mt-sd-1_53 -lboost_filesystem-mgw46-mt-sd-1_53 -lboost_program_options-mgw46-mt-sd-1_53 -lboost_thread-mgw46-mt-sd-1_53 -lpthread -lQtGui -lQtCore
    My first idea was immediately to have it link against the standard boost libraries by making the proposed changes, but I wanted to first check it on google. I can't tell you if it will make the software run correctly though.
    Hmm, I know some C++ basics but I use an IDE most of the time. Making makefiles was never needed so I never bothered with them. Thanks for elaborating! The solution you found worked.
    Last edited by robin007bond (2014-01-21 18:02:24)

  • [SOLVED] C Compiler Cannot Create Executables

    I am aware that there is already a thread on this here however it failed to solve my issue. I have installed the multilib-devel packages as the referenced post suggested, but I still receive the following error message when attempting to compile wine-mono package either with makepkg or with yaourt.
    checking build system type... x86_64-unknown-linux-gnu
    checking host system type... x86_64-w64-mingw32
    checking target system type... x86_64-w64-mingw32
    checking for a BSD-compatible install... /usr/bin/install -c
    checking whether build environment is sane... yes
    checking for x86_64-w64-mingw32-strip... no
    checking for strip... strip
    configure: WARNING: using cross tools not prefixed with host triplet
    checking for a thread-safe mkdir -p... /bin/mkdir -p
    checking for gawk... gawk
    checking whether make sets $(MAKE)... yes
    checking how to create a ustar tar archive... gnutar
    checking whether to enable maintainer-specific portions of Makefiles... no
    checking whether ln -s works... yes
    checking host platform characteristics... ok
    checking for x86_64-w64-mingw32-gcc... no
    checking for gcc... gcc
    checking for x86_64-w64-mingw32-gcc... gcc
    checking whether the C compiler works... no
    configure: error: in `/tmp/yaourt-tmp-sensei/aur-wine-mono/src/wine-mono-0.0.4/build-cross-x86_64':
    configure: error: C compiler cannot create executables
    See `config.log' for more details
    My config.log:
    This file contains any messages produced by compilers while
    running configure, to aid debugging if configure makes a mistake.
    It was created by mono configure 2.11.1, which was
    generated by GNU Autoconf 2.69. Invocation command line was
    $ ../mono/configure --prefix=/home/sensei/Downloads/Builds/wine-mono/src/wine-mono-0.0.4/build-cross-x86_64-install --build=x86_64-unknown-linux-gnu --target=x86_64-w64-mingw32 --host=x86_64-w64-mingw32 --with-tls=none --disable-mcs-build --enable-win32-dllmain=yes --with-libgc-threads=win32 PKG_CONFIG=false mono_cv_clang=no
    ## Platform. ##
    hostname = archmage
    uname -m = x86_64
    uname -r = 3.3.8-1-ARCH
    uname -s = Linux
    uname -v = #1 SMP PREEMPT Tue Jun 5 15:20:32 CEST 2012
    /usr/bin/uname -p = unknown
    /bin/uname -X = unknown
    /bin/arch = unknown
    /usr/bin/arch -k = unknown
    /usr/convex/getsysinfo = unknown
    /usr/bin/hostinfo = unknown
    /bin/machine = unknown
    /usr/bin/oslevel = unknown
    /bin/universe = unknown
    PATH: /usr/local/bin
    PATH: /usr/bin
    PATH: /bin
    PATH: /usr/local/sbin
    PATH: /usr/sbin
    PATH: /sbin
    PATH: /usr/bin/core_perl
    PATH: /home/sensei/Documents/Scripts
    ## Core tests. ##
    configure:2970: checking build system type
    configure:2984: result: x86_64-unknown-linux-gnu
    configure:3004: checking host system type
    configure:3017: result: x86_64-w64-mingw32
    configure:3037: checking target system type
    configure:3050: result: x86_64-w64-mingw32
    configure:3099: checking for a BSD-compatible install
    configure:3167: result: /usr/bin/install -c
    configure:3178: checking whether build environment is sane
    configure:3233: result: yes
    configure:3292: checking for x86_64-w64-mingw32-strip
    configure:3322: result: no
    configure:3332: checking for strip
    configure:3348: found /usr/bin/strip
    configure:3359: result: strip
    configure:3371: WARNING: using cross tools not prefixed with host triplet
    configure:3384: checking for a thread-safe mkdir -p
    configure:3423: result: /bin/mkdir -p
    configure:3430: checking for gawk
    configure:3446: found /usr/bin/gawk
    configure:3457: result: gawk
    configure:3468: checking whether make sets $(MAKE)
    configure:3490: result: yes
    configure:3565: checking how to create a ustar tar archive
    configure:3578: tar --version
    tar (GNU tar) 1.26
    Copyright (C) 2011 Free Software Foundation, Inc.
    License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html>.
    This is free software: you are free to change and redistribute it.
    There is NO WARRANTY, to the extent permitted by law.
    Written by John Gilmore and Jay Fenlason.
    configure:3581: $? = 0
    configure:3621: tardir=conftest.dir && eval tar --format=ustar -chf - "$tardir" >conftest.tar
    configure:3624: $? = 0
    configure:3628: tar -xf - <conftest.tar
    configure:3631: $? = 0
    configure:3644: result: gnutar
    configure:3654: checking whether to enable maintainer-specific portions of Makefiles
    configure:3663: result: no
    configure:3680: checking whether ln -s works
    configure:3684: result: yes
    configure:3737: checking host platform characteristics
    configure:4029: result: ok
    configure:4090: checking for x86_64-w64-mingw32-gcc
    configure:4120: result: no
    configure:4130: checking for gcc
    configure:4146: found /usr/bin/gcc
    configure:4157: result: gcc
    configure:4187: checking for x86_64-w64-mingw32-gcc
    configure:4214: result: gcc
    configure:4483: checking for C compiler version
    configure:4492: gcc --version >&5
    gcc (GCC) 4.7.0 20120505 (prerelease)
    Copyright (C) 2012 Free Software Foundation, Inc.
    This is free software; see the source for copying conditions. There is NO
    warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
    configure:4503: $? = 0
    configure:4492: gcc -v >&5
    Using built-in specs.
    COLLECT_GCC=gcc
    COLLECT_LTO_WRAPPER=/usr/lib/gcc/x86_64-unknown-linux-gnu/4.7.0/lto-wrapper
    Target: x86_64-unknown-linux-gnu
    Configured with: /build/src/gcc-4.7-20120505/configure --prefix=/usr --libdir=/usr/lib --libexecdir=/usr/lib --mandir=/usr/share/man --infodir=/usr/share/info --with-bugurl=https://bugs.archlinux.org/ --enable-languages=c,c++,ada,fortran,go,lto,objc,obj-c++ --enable-shared --enable-threads=posix --with-system-zlib --enable-__cxa_atexit --disable-libunwind-exceptions --enable-clocale=gnu --disable-libstdcxx-pch --enable-libstdcxx-time --enable-gnu-unique-object --enable-linker-build-id --with-ppl --enable-cloog-backend=isl --enable-lto --enable-gold --enable-ld=default --enable-plugin --with-plugin-ld=ld.gold --with-linker-hash-style=gnu --disable-multilib --disable-libssp --disable-build-with-cxx --disable-build-poststage1-with-cxx --enable-checking=release
    Thread model: posix
    gcc version 4.7.0 20120505 (prerelease) (GCC)
    configure:4503: $? = 0
    configure:4492: gcc -V >&5
    gcc: error: unrecognized command line option '-V'
    gcc: fatal error: no input files
    compilation terminated.
    configure:4503: $? = 1
    configure:4492: gcc -qversion >&5
    gcc: error: unrecognized command line option '-qversion'
    gcc: fatal error: no input files
    compilation terminated.
    configure:4503: $? = 1
    configure:4523: checking whether the C compiler works
    configure:4545: gcc -march=x86-64 -mtune=generic -O2 -pipe -fstack-protector --param=ssp-buffer-size=4 -D_FORTIFY_SOURCE=2 -DWINVER=0x0500 -D_WIN32_WINNT=0x0500 -D_WIN32_IE=0x0501 -D_UNICODE -DUNICODE -DWIN32_THREADS -DFD_SETSIZE=1024 -DGC_NOT_DLL -Wl,-O1,--sort-common,--as-needed,-z,relro,--hash-style=gnu -lmswsock -lws2_32 -lole32 -loleaut32 -lpsapi -lversion -ladvapi32 -lwinmm -lkernel32 conftest.c >&5
    /usr/bin/ld: cannot find -lmswsock
    /usr/bin/ld: cannot find -lws2_32
    /usr/bin/ld: cannot find -lole32
    /usr/bin/ld: cannot find -loleaut32
    /usr/bin/ld: cannot find -lpsapi
    /usr/bin/ld: cannot find -lversion
    /usr/bin/ld: cannot find -ladvapi32
    /usr/bin/ld: cannot find -lwinmm
    /usr/bin/ld: cannot find -lkernel32
    collect2: error: ld returned 1 exit status
    configure:4549: $? = 1
    configure:4587: result: no
    configure: failed program was:
    | /* confdefs.h */
    | #define PACKAGE_NAME "mono"
    | #define PACKAGE_TARNAME "mono"
    | #define PACKAGE_VERSION "2.11.1"
    | #define PACKAGE_STRING "mono 2.11.1"
    | #define PACKAGE_BUGREPORT "http://bugzilla.xamarin.com/enter_bug.cgi?classification=Mono"
    | #define PACKAGE_URL ""
    | #define PACKAGE "mono"
    | #define VERSION "2.11.1"
    | #define HOST_WIN32 1
    | #define DISABLE_PORTABILITY 1
    | #define PLATFORM_NO_SYMLINKS 1
    | #define TARGET_WIN32 1
    | #define MINGW_CROSS_COMPILE 1
    | /* end confdefs.h. */
    |
    | int
    | main ()
    | {
    |
    | ;
    | return 0;
    | }
    configure:4592: error: in `/home/sensei/Downloads/Builds/wine-mono/src/wine-mono-0.0.4/build-cross-x86_64':
    configure:4594: error: C compiler cannot create executables
    See `config.log' for more details
    ## Cache variables. ##
    ac_cv_build=x86_64-unknown-linux-gnu
    ac_cv_env_CCASFLAGS_set=
    ac_cv_env_CCASFLAGS_value=
    ac_cv_env_CCAS_set=
    ac_cv_env_CCAS_value=
    ac_cv_env_CCC_set=
    ac_cv_env_CCC_value=
    ac_cv_env_CC_set=
    ac_cv_env_CC_value=
    ac_cv_env_CFLAGS_set=set
    ac_cv_env_CFLAGS_value='-march=x86-64 -mtune=generic -O2 -pipe -fstack-protector --param=ssp-buffer-size=4 -D_FORTIFY_SOURCE=2'
    ac_cv_env_CPPFLAGS_set=
    ac_cv_env_CPPFLAGS_value=
    ac_cv_env_CPP_set=
    ac_cv_env_CPP_value=
    ac_cv_env_CXXCPP_set=
    ac_cv_env_CXXCPP_value=
    ac_cv_env_CXXFLAGS_set=set
    ac_cv_env_CXXFLAGS_value='-march=x86-64 -mtune=generic -O2 -pipe -fstack-protector --param=ssp-buffer-size=4 -D_FORTIFY_SOURCE=2'
    ac_cv_env_CXX_set=
    ac_cv_env_CXX_value=
    ac_cv_env_LDFLAGS_set=set
    ac_cv_env_LDFLAGS_value=-Wl,-O1,--sort-common,--as-needed,-z,relro,--hash-style=gnu
    ac_cv_env_LIBS_set=
    ac_cv_env_LIBS_value=
    ac_cv_env_XMKMF_set=
    ac_cv_env_XMKMF_value=
    ac_cv_env_build_alias_set=set
    ac_cv_env_build_alias_value=x86_64-unknown-linux-gnu
    ac_cv_env_host_alias_set=set
    ac_cv_env_host_alias_value=x86_64-w64-mingw32
    ac_cv_env_target_alias_set=set
    ac_cv_env_target_alias_value=x86_64-w64-mingw32
    ac_cv_host=x86_64-w64-mingw32
    ac_cv_path_install='/usr/bin/install -c'
    ac_cv_path_mkdir=/bin/mkdir
    ac_cv_prog_AWK=gawk
    ac_cv_prog_CC=gcc
    ac_cv_prog_ac_ct_CC=gcc
    ac_cv_prog_ac_ct_STRIP=strip
    ac_cv_prog_make_make_set=yes
    ac_cv_target=x86_64-w64-mingw32
    am_cv_prog_tar_ustar=gnutar
    mono_cv_clang=no
    ## Output variables. ##
    ACLOCAL='${SHELL} /home/sensei/Downloads/Builds/wine-mono/src/wine-mono-0.0.4/mono/missing --run aclocal-1.12'
    ALPHA_FALSE=''
    ALPHA_TRUE=''
    AMD64_FALSE=''
    AMD64_TRUE=''
    AMDEPBACKSLASH=''
    AMDEP_FALSE=''
    AMDEP_TRUE=''
    AMTAR='$${TAR-tar}'
    API_VER='2.0'
    AR=''
    ARM_FALSE=''
    ARM_TRUE=''
    AS=''
    AUTOCONF='${SHELL} /home/sensei/Downloads/Builds/wine-mono/src/wine-mono-0.0.4/mono/missing --run autoconf'
    AUTOHEADER='${SHELL} /home/sensei/Downloads/Builds/wine-mono/src/wine-mono-0.0.4/mono/missing --run autoheader'
    AUTOMAKE='${SHELL} /home/sensei/Downloads/Builds/wine-mono/src/wine-mono-0.0.4/mono/missing --run automake-1.12'
    AWK='gawk'
    BOEHM_DEFINES=''
    BUILD_EXEEXT=''
    BUILD_GLIB_CFLAGS=''
    BUILD_GLIB_LIBS=''
    BUILD_MCS_FALSE=''
    BUILD_MCS_TRUE=''
    CC='gcc'
    CCAS=''
    CCASDEPMODE=''
    CCASFLAGS=''
    CCDEPMODE=''
    CC_FOR_BUILD=''
    CFLAGS='-march=x86-64 -mtune=generic -O2 -pipe -fstack-protector --param=ssp-buffer-size=4 -D_FORTIFY_SOURCE=2'
    CFLAGS_FOR_BUILD=''
    CPP=''
    CPPFLAGS=' -DWINVER=0x0500 -D_WIN32_WINNT=0x0500 -D_WIN32_IE=0x0501 -D_UNICODE -DUNICODE -DWIN32_THREADS -DFD_SETSIZE=1024 -DGC_NOT_DLL'
    CROSS_COMPILING_FALSE=''
    CROSS_COMPILING_TRUE=''
    CXX=''
    CXXCPP=''
    CXXDEPMODE=''
    CXXFLAGS='-march=x86-64 -mtune=generic -O2 -pipe -fstack-protector --param=ssp-buffer-size=4 -D_FORTIFY_SOURCE=2'
    CYGPATH_W='echo'
    DEFS=''
    DEPDIR=''
    DISABLE_EXECUTABLES_FALSE=''
    DISABLE_EXECUTABLES_TRUE=''
    DISABLE_JIT_FALSE=''
    DISABLE_JIT_TRUE=''
    DISABLE_PROFILER_FALSE=''
    DISABLE_PROFILER_TRUE=''
    DISABLE_SHARED_HANDLES=''
    DLLTOOL=''
    DOLT_BASH=''
    DSYMUTIL=''
    DTRACE=''
    DTRACEFLAGS=''
    DTRACE_G_REQUIRED_FALSE=''
    DTRACE_G_REQUIRED_TRUE=''
    DUMPBIN=''
    ECHO_C=''
    ECHO_N='-n'
    ECHO_T=''
    EGREP=''
    ENABLE_DTRACE_FALSE=''
    ENABLE_DTRACE_TRUE=''
    ENABLE_LLVM_FALSE=''
    ENABLE_LLVM_TRUE=''
    ENABLE_NUNIT_TESTS_FALSE=''
    ENABLE_NUNIT_TESTS_TRUE=''
    EXEEXT=''
    FGREP=''
    GETTEXT_MACRO_VERSION=''
    GLIB_CFLAGS=''
    GLIB_LIBS=''
    GMODULE_CFLAGS=''
    GMODULE_LIBS=''
    GMSGFMT=''
    GMSGFMT_015=''
    GREP=''
    HAVE_MSGFMT=''
    HAVE_OPROFILE_FALSE=''
    HAVE_OPROFILE_TRUE=''
    HAVE_ZLIB_FALSE=''
    HAVE_ZLIB_TRUE=''
    HOST_CC='gcc'
    HOST_WIN32_FALSE='#'
    HOST_WIN32_TRUE=''
    HPPA_FALSE=''
    HPPA_TRUE=''
    IA64_FALSE=''
    IA64_TRUE=''
    INCLUDED_LIBGC_FALSE=''
    INCLUDED_LIBGC_TRUE=''
    INSTALL_4_0_FALSE=''
    INSTALL_4_0_TRUE=''
    INSTALL_DATA='${INSTALL} -m 644'
    INSTALL_MOBILE_FALSE=''
    INSTALL_MOBILE_TRUE=''
    INSTALL_MONODROID_FALSE=''
    INSTALL_MONODROID_TRUE=''
    INSTALL_MONOTOUCH_FALSE=''
    INSTALL_MONOTOUCH_TRUE=''
    INSTALL_PROGRAM='${INSTALL}'
    INSTALL_SCRIPT='${INSTALL}'
    INSTALL_STRIP_PROGRAM='$(install_sh) -c -s'
    INTERP_SUPPORTED_FALSE=''
    INTERP_SUPPORTED_TRUE=''
    INTL=''
    JIT_SUPPORTED_FALSE=''
    JIT_SUPPORTED_TRUE=''
    LD=''
    LDFLAGS='-Wl,-O1,--sort-common,--as-needed,-z,relro,--hash-style=gnu -lmswsock -lws2_32 -lole32 -loleaut32 -lpsapi -lversion -ladvapi32 -lwinmm -lkernel32'
    LIBC=''
    LIBGC_CPPFLAGS=''
    LIBGC_LIBS=''
    LIBGC_STATIC_LIBS=''
    LIBICONV=''
    LIBMONO_LA=''
    LIBOBJS=''
    LIBS=''
    LIBTOOL=''
    LIPO=''
    LLVM_CFLAGS=''
    LLVM_CONFIG=''
    LLVM_CXXFLAGS=''
    LLVM_LDFLAGS=''
    LLVM_LIBS=''
    LN_S='cp'
    LOADED_LLVM_FALSE=''
    LOADED_LLVM_TRUE=''
    LTCOMPILE=''
    LTCXXCOMPILE=''
    LTLIBICONV=''
    LTLIBOBJS=''
    M68K_FALSE=''
    M68K_TRUE=''
    MAINT='#'
    MAINTAINER_MODE_FALSE=''
    MAINTAINER_MODE_TRUE='#'
    MAKEINFO='${SHELL} /home/sensei/Downloads/Builds/wine-mono/src/wine-mono-0.0.4/mono/missing --run makeinfo'
    MANIFEST_TOOL=''
    MIPS_FALSE=''
    MIPS_GCC_FALSE=''
    MIPS_GCC_TRUE=''
    MIPS_SGI_FALSE=''
    MIPS_SGI_TRUE=''
    MIPS_TRUE=''
    MKDIR_P='/bin/mkdir -p'
    MONO_DEBUGGER_SUPPORTED_FALSE=''
    MONO_DEBUGGER_SUPPORTED_TRUE=''
    MONO_DL_NEED_USCORE=''
    MONO_NACL_ALIGN_MASK_OFF=''
    MOONLIGHT_BOEHM_FALSE=''
    MOONLIGHT_BOEHM_TRUE=''
    MOONLIGHT_DEFINES=''
    MOONLIGHT_FALSE=''
    MOONLIGHT_SGEN_FALSE=''
    MOONLIGHT_SGEN_TRUE=''
    MOONLIGHT_TRUE=''
    MSGFMT=''
    MSGFMT_015=''
    MSGMERGE=''
    NACL_CODEGEN_FALSE=''
    NACL_CODEGEN_TRUE=''
    NM=''
    NMEDIT=''
    NO_VERSION_SCRIPT_FALSE=''
    NO_VERSION_SCRIPT_TRUE=''
    OBJDUMP=''
    OBJEXT=''
    ONLY_MOONLIGHT_FALSE=''
    ONLY_MOONLIGHT_TRUE=''
    OPROFILE_CFLAGS=''
    OPROFILE_LIBS=''
    OTOOL64=''
    OTOOL=''
    PACKAGE='mono'
    PACKAGE_BUGREPORT='http://bugzilla.xamarin.com/enter_bug.cgi?classification=Mono'
    PACKAGE_NAME='mono'
    PACKAGE_STRING='mono 2.11.1'
    PACKAGE_TARNAME='mono'
    PACKAGE_URL=''
    PACKAGE_VERSION='2.11.1'
    PATH_SEPARATOR=':'
    PKG_CONFIG='false'
    PLATFORM_ANDROID_FALSE=''
    PLATFORM_ANDROID_TRUE='#'
    PLATFORM_DARWIN_FALSE=''
    PLATFORM_DARWIN_TRUE='#'
    PLATFORM_LINUX_FALSE=''
    PLATFORM_LINUX_TRUE='#'
    PLATFORM_SIGPOSIX_FALSE=''
    PLATFORM_SIGPOSIX_TRUE='#'
    POWERPC64_FALSE=''
    POWERPC64_TRUE=''
    POWERPC_FALSE=''
    POWERPC_TRUE=''
    RANLIB=''
    S390_FALSE=''
    S390_TRUE=''
    S390x_FALSE=''
    S390x_TRUE=''
    SED=''
    SET_MAKE=''
    SGEN_DEFINES=''
    SHARED_MONO_FALSE=''
    SHARED_MONO_TRUE=''
    SHELL='/bin/sh'
    SPARC64_FALSE=''
    SPARC64_TRUE=''
    SPARC_FALSE=''
    SPARC_TRUE=''
    SQLITE3=''
    SQLITE=''
    STATIC_MONO_FALSE=''
    STATIC_MONO_TRUE=''
    STRIP='strip'
    SUPPORT_BOEHM_FALSE=''
    SUPPORT_BOEHM_TRUE=''
    SUPPORT_SGEN_FALSE=''
    SUPPORT_SGEN_TRUE=''
    TARGET_WIN32_FALSE='#'
    TARGET_WIN32_TRUE=''
    USE_BATCH_FILES_FALSE=''
    USE_BATCH_FILES_TRUE=''
    USE_JIT_FALSE=''
    USE_JIT_TRUE=''
    USE_NLS=''
    VERSION='2.11.1'
    X11=''
    X86_FALSE=''
    X86_TRUE=''
    XATTR_LIB=''
    XGETTEXT=''
    XGETTEXT_015=''
    XGETTEXT_EXTRA_OPTIONS=''
    XMKMF=''
    ac_ct_AR=''
    ac_ct_CC='gcc'
    ac_ct_CXX=''
    ac_ct_DUMPBIN=''
    am__EXEEXT_FALSE=''
    am__EXEEXT_TRUE=''
    am__fastdepCCAS_FALSE=''
    am__fastdepCCAS_TRUE=''
    am__fastdepCC_FALSE=''
    am__fastdepCC_TRUE=''
    am__fastdepCXX_FALSE=''
    am__fastdepCXX_TRUE=''
    am__include=''
    am__isrc=' -I$(srcdir)'
    am__leading_dot='.'
    am__nodep=''
    am__quote=''
    am__tar='tar --format=ustar -chf - "$$tardir"'
    am__untar='tar -xf -'
    arch_target=''
    bindir='${exec_prefix}/bin'
    build='x86_64-unknown-linux-gnu'
    build_alias='x86_64-unknown-linux-gnu'
    build_cpu='x86_64'
    build_os='linux-gnu'
    build_vendor='unknown'
    datadir='${datarootdir}'
    datarootdir='${prefix}/share'
    docdir='${datarootdir}/doc/${PACKAGE_TARNAME}'
    docs_dir=''
    dvidir='${docdir}'
    exec_prefix='NONE'
    export_ldflags=''
    host='x86_64-w64-mingw32'
    host_alias='x86_64-w64-mingw32'
    host_cpu='x86_64'
    host_os='mingw32'
    host_vendor='w64'
    htmldir='${docdir}'
    ikvm_native_dir=''
    includedir='${prefix}/include'
    infodir='${datarootdir}/info'
    install_sh='${SHELL} /home/sensei/Downloads/Builds/wine-mono/src/wine-mono-0.0.4/mono/install-sh'
    libdir='${exec_prefix}/lib'
    libexecdir='${exec_prefix}/libexec'
    libgc_dir=''
    libgdiplus_loc=''
    libmono_cflags='-mno-cygwin -mms-bitfields -mwindows'
    libmono_ldflags='-mno-cygwin -mms-bitfields -mwindows'
    libsuffix=''
    localedir='${datarootdir}/locale'
    localstatedir='${prefix}/var'
    mandir='${datarootdir}/man'
    mcs_topdir=''
    mcs_topdir_from_srcdir=''
    mkdir_p=''
    mono_build_root=''
    mono_cfg_dir=''
    mono_runtime=''
    oldincludedir='/usr/include'
    pdfdir='${docdir}'
    prefix='/home/sensei/Downloads/Builds/wine-mono/src/wine-mono-0.0.4/build-cross-x86_64-install'
    program_transform_name='s&^&x86_64-w64-mingw32-&'
    psdir='${docdir}'
    reloc_libdir='lib'
    sbindir='${exec_prefix}/sbin'
    sharedstatedir='${prefix}/com'
    subdirs=''
    sysconfdir='${prefix}/etc'
    target='x86_64-w64-mingw32'
    target_alias='x86_64-w64-mingw32'
    target_cpu='x86_64'
    target_os='mingw32'
    target_vendor='w64'
    ## confdefs.h. ##
    /* confdefs.h */
    #define PACKAGE_NAME "mono"
    #define PACKAGE_TARNAME "mono"
    #define PACKAGE_VERSION "2.11.1"
    #define PACKAGE_STRING "mono 2.11.1"
    #define PACKAGE_BUGREPORT "http://bugzilla.xamarin.com/enter_bug.cgi?classification=Mono"
    #define PACKAGE_URL ""
    #define PACKAGE "mono"
    #define VERSION "2.11.1"
    #define HOST_WIN32 1
    #define DISABLE_PORTABILITY 1
    #define PLATFORM_NO_SYMLINKS 1
    #define TARGET_WIN32 1
    #define MINGW_CROSS_COMPILE 1
    configure: exit 77
    My makepkg.conf:
    # /etc/makepkg.conf
    # SOURCE ACQUISITION
    #-- The download utilities that makepkg should use to acquire sources
    # Format: 'protocol::agent'
    #DLAGENTS=('ftp::/usr/bin/wget -4 -c --passive-ftp -t 3 --waitretry=3 -O %o %u'
    # 'http::/usr/bin/wget -c -t 3 --waitretry=3 -O %o %u'
    # 'https::/usr/bin/wget -c -t 3 --waitretry=3 --no-check-certificate -O %o %u'
    #Curl as default DLAGENT
    DLAGENTS=('ftp::/usr/bin/curl -fC - --ftp-pasv --retry 3 --retry-delay 3 -o %o %u'
    'http::/usr/bin/curl -fLC - --retry 3 --retry-delay 3 -o %o %u'
    'https::/usr/bin/curl -fLC - --retry 3 --retry-delay 3 -o %o %u'
    'rsync::/usr/bin/rsync -z %u %o'
    'scp::/usr/bin/scp -C %u %o')
    # Other common tools:
    # /usr/bin/snarf
    # /usr/bin/lftpget -c
    # /usr/bin/curl
    # ARCHITECTURE, COMPILE FLAGS
    CARCH="x86_64"
    CHOST="x86_64-unknown-linux-gnu"
    #-- Exclusive: will only run on x86_64
    # -march (or -mcpu) builds exclusively for an architecture
    # -mtune optimizes for an architecture, but builds for whole processor family
    CFLAGS="-march=x86-64 -mtune=generic -O2 -pipe -fstack-protector --param=ssp-buffer-size=4 -D_FORTIFY_SOURCE=2"
    CXXFLAGS="-march=x86-64 -mtune=generic -O2 -pipe -fstack-protector --param=ssp-buffer-size=4 -D_FORTIFY_SOURCE=2"
    LDFLAGS="-Wl,-O1,--sort-common,--as-needed,-z,relro,--hash-style=gnu"
    #-- Make Flags: change this for DistCC/SMP systems
    #MAKEFLAGS="-j2"
    I am running a x64 arch with multilib and multilib-testing enabled. This is the first time I have encountered this error. Thank you in advance for all advice and suggestions.
    Edited: added makepkg.conf
    Last edited by mynameisneo (2012-06-13 19:04:09)

    In your config.log:
    /usr/bin/ld: cannot find -lmswsock
    /usr/bin/ld: cannot find -lws2_32
    /usr/bin/ld: cannot find -lole32
    /usr/bin/ld: cannot find -loleaut32
    /usr/bin/ld: cannot find -lpsapi
    /usr/bin/ld: cannot find -lversion
    /usr/bin/ld: cannot find -ladvapi32
    /usr/bin/ld: cannot find -lwinmm
    /usr/bin/ld: cannot find -lkernel32
    Try find these files which package provides!
    Edit: maybe package 'wine' provides this but as I see these libs are in /usr/lib/wine.
    Last edited by uzsolt (2012-06-13 18:07:08)

  • [SOLVED] Cannot Compile Pacman 3.5.3

    My head is aching at the moment as I have become desperate to compile Pacman. The normal procedure ./configure then make fails with this error (Honest, I can't make out anything, it sound like a libtool problem):
    make all-recursive
    make[1]: Entering directory `/home/aardvark/Documents/pacman/pacman-3.5.3'
    Making all in lib/libalpm
    make[2]: Entering directory `/home/aardvark/Documents/pacman/pacman-3.5.3/lib/libalpm'
    Making all in po
    make[3]: Entering directory `/home/aardvark/Documents/pacman/pacman-3.5.3/lib/libalpm/po'
    make[3]: Leaving directory `/home/aardvark/Documents/pacman/pacman-3.5.3/lib/libalpm/po'
    make[3]: Entering directory `/home/aardvark/Documents/pacman/pacman-3.5.3/lib/libalpm'
    /bin/sh ../../libtool --tag=CC --mode=compile gcc -std=gnu99 -DLOCALEDIR=\"/usr/local/share/locale\" -DHAVE_CONFIG_H -I. -I../.. -pedantic -D_GNU_SOURCE -fvisibility=internal -fgnu89-inline -g -O2 -Wall -MT add.lo -MD -MP -MF .deps/add.Tpo -c -o add.lo add.c
    libtool: compile: gcc -std=gnu99 -DLOCALEDIR=\"/usr/local/share/locale\" -DHAVE_CONFIG_H -I. -I../.. -pedantic -D_GNU_SOURCE -fvisibility=internal -fgnu89-inline -g -O2 -Wall -MT add.lo -MD -MP -MF .deps/add.Tpo -c add.c -fPIC -DPIC -o .libs/add.o
    libtool: compile: gcc -std=gnu99 -DLOCALEDIR=\"/usr/local/share/locale\" -DHAVE_CONFIG_H -I. -I../.. -pedantic -D_GNU_SOURCE -fvisibility=internal -fgnu89-inline -g -O2 -Wall -MT add.lo -MD -MP -MF .deps/add.Tpo -c add.c -o add.o >/dev/null 2>&1
    mv -f .deps/add.Tpo .deps/add.Plo
    /bin/sh ../../libtool --tag=CC --mode=compile gcc -std=gnu99 -DLOCALEDIR=\"/usr/local/share/locale\" -DHAVE_CONFIG_H -I. -I../.. -pedantic -D_GNU_SOURCE -fvisibility=internal -fgnu89-inline -g -O2 -Wall -MT alpm.lo -MD -MP -MF .deps/alpm.Tpo -c -o alpm.lo alpm.c
    libtool: compile: gcc -std=gnu99 -DLOCALEDIR=\"/usr/local/share/locale\" -DHAVE_CONFIG_H -I. -I../.. -pedantic -D_GNU_SOURCE -fvisibility=internal -fgnu89-inline -g -O2 -Wall -MT alpm.lo -MD -MP -MF .deps/alpm.Tpo -c alpm.c -fPIC -DPIC -o .libs/alpm.o
    libtool: compile: gcc -std=gnu99 -DLOCALEDIR=\"/usr/local/share/locale\" -DHAVE_CONFIG_H -I. -I../.. -pedantic -D_GNU_SOURCE -fvisibility=internal -fgnu89-inline -g -O2 -Wall -MT alpm.lo -MD -MP -MF .deps/alpm.Tpo -c alpm.c -o alpm.o >/dev/null 2>&1
    mv -f .deps/alpm.Tpo .deps/alpm.Plo
    /bin/sh ../../libtool --tag=CC --mode=compile gcc -std=gnu99 -DLOCALEDIR=\"/usr/local/share/locale\" -DHAVE_CONFIG_H -I. -I../.. -pedantic -D_GNU_SOURCE -fvisibility=internal -fgnu89-inline -g -O2 -Wall -MT alpm_list.lo -MD -MP -MF .deps/alpm_list.Tpo -c -o alpm_list.lo alpm_list.c
    libtool: compile: gcc -std=gnu99 -DLOCALEDIR=\"/usr/local/share/locale\" -DHAVE_CONFIG_H -I. -I../.. -pedantic -D_GNU_SOURCE -fvisibility=internal -fgnu89-inline -g -O2 -Wall -MT alpm_list.lo -MD -MP -MF .deps/alpm_list.Tpo -c alpm_list.c -fPIC -DPIC -o .libs/alpm_list.o
    libtool: compile: gcc -std=gnu99 -DLOCALEDIR=\"/usr/local/share/locale\" -DHAVE_CONFIG_H -I. -I../.. -pedantic -D_GNU_SOURCE -fvisibility=internal -fgnu89-inline -g -O2 -Wall -MT alpm_list.lo -MD -MP -MF .deps/alpm_list.Tpo -c alpm_list.c -o alpm_list.o >/dev/null 2>&1
    mv -f .deps/alpm_list.Tpo .deps/alpm_list.Plo
    /bin/sh ../../libtool --tag=CC --mode=compile gcc -std=gnu99 -DLOCALEDIR=\"/usr/local/share/locale\" -DHAVE_CONFIG_H -I. -I../.. -pedantic -D_GNU_SOURCE -fvisibility=internal -fgnu89-inline -g -O2 -Wall -MT backup.lo -MD -MP -MF .deps/backup.Tpo -c -o backup.lo backup.c
    libtool: compile: gcc -std=gnu99 -DLOCALEDIR=\"/usr/local/share/locale\" -DHAVE_CONFIG_H -I. -I../.. -pedantic -D_GNU_SOURCE -fvisibility=internal -fgnu89-inline -g -O2 -Wall -MT backup.lo -MD -MP -MF .deps/backup.Tpo -c backup.c -fPIC -DPIC -o .libs/backup.o
    libtool: compile: gcc -std=gnu99 -DLOCALEDIR=\"/usr/local/share/locale\" -DHAVE_CONFIG_H -I. -I../.. -pedantic -D_GNU_SOURCE -fvisibility=internal -fgnu89-inline -g -O2 -Wall -MT backup.lo -MD -MP -MF .deps/backup.Tpo -c backup.c -o backup.o >/dev/null 2>&1
    mv -f .deps/backup.Tpo .deps/backup.Plo
    /bin/sh ../../libtool --tag=CC --mode=compile gcc -std=gnu99 -DLOCALEDIR=\"/usr/local/share/locale\" -DHAVE_CONFIG_H -I. -I../.. -pedantic -D_GNU_SOURCE -fvisibility=internal -fgnu89-inline -g -O2 -Wall -MT be_local.lo -MD -MP -MF .deps/be_local.Tpo -c -o be_local.lo be_local.c
    libtool: compile: gcc -std=gnu99 -DLOCALEDIR=\"/usr/local/share/locale\" -DHAVE_CONFIG_H -I. -I../.. -pedantic -D_GNU_SOURCE -fvisibility=internal -fgnu89-inline -g -O2 -Wall -MT be_local.lo -MD -MP -MF .deps/be_local.Tpo -c be_local.c -fPIC -DPIC -o .libs/be_local.o
    libtool: compile: gcc -std=gnu99 -DLOCALEDIR=\"/usr/local/share/locale\" -DHAVE_CONFIG_H -I. -I../.. -pedantic -D_GNU_SOURCE -fvisibility=internal -fgnu89-inline -g -O2 -Wall -MT be_local.lo -MD -MP -MF .deps/be_local.Tpo -c be_local.c -o be_local.o >/dev/null 2>&1
    mv -f .deps/be_local.Tpo .deps/be_local.Plo
    /bin/sh ../../libtool --tag=CC --mode=compile gcc -std=gnu99 -DLOCALEDIR=\"/usr/local/share/locale\" -DHAVE_CONFIG_H -I. -I../.. -pedantic -D_GNU_SOURCE -fvisibility=internal -fgnu89-inline -g -O2 -Wall -MT be_package.lo -MD -MP -MF .deps/be_package.Tpo -c -o be_package.lo be_package.c
    libtool: compile: gcc -std=gnu99 -DLOCALEDIR=\"/usr/local/share/locale\" -DHAVE_CONFIG_H -I. -I../.. -pedantic -D_GNU_SOURCE -fvisibility=internal -fgnu89-inline -g -O2 -Wall -MT be_package.lo -MD -MP -MF .deps/be_package.Tpo -c be_package.c -fPIC -DPIC -o .libs/be_package.o
    libtool: compile: gcc -std=gnu99 -DLOCALEDIR=\"/usr/local/share/locale\" -DHAVE_CONFIG_H -I. -I../.. -pedantic -D_GNU_SOURCE -fvisibility=internal -fgnu89-inline -g -O2 -Wall -MT be_package.lo -MD -MP -MF .deps/be_package.Tpo -c be_package.c -o be_package.o >/dev/null 2>&1
    mv -f .deps/be_package.Tpo .deps/be_package.Plo
    /bin/sh ../../libtool --tag=CC --mode=compile gcc -std=gnu99 -DLOCALEDIR=\"/usr/local/share/locale\" -DHAVE_CONFIG_H -I. -I../.. -pedantic -D_GNU_SOURCE -fvisibility=internal -fgnu89-inline -g -O2 -Wall -MT be_sync.lo -MD -MP -MF .deps/be_sync.Tpo -c -o be_sync.lo be_sync.c
    libtool: compile: gcc -std=gnu99 -DLOCALEDIR=\"/usr/local/share/locale\" -DHAVE_CONFIG_H -I. -I../.. -pedantic -D_GNU_SOURCE -fvisibility=internal -fgnu89-inline -g -O2 -Wall -MT be_sync.lo -MD -MP -MF .deps/be_sync.Tpo -c be_sync.c -fPIC -DPIC -o .libs/be_sync.o
    libtool: compile: gcc -std=gnu99 -DLOCALEDIR=\"/usr/local/share/locale\" -DHAVE_CONFIG_H -I. -I../.. -pedantic -D_GNU_SOURCE -fvisibility=internal -fgnu89-inline -g -O2 -Wall -MT be_sync.lo -MD -MP -MF .deps/be_sync.Tpo -c be_sync.c -o be_sync.o >/dev/null 2>&1
    mv -f .deps/be_sync.Tpo .deps/be_sync.Plo
    /bin/sh ../../libtool --tag=CC --mode=compile gcc -std=gnu99 -DLOCALEDIR=\"/usr/local/share/locale\" -DHAVE_CONFIG_H -I. -I../.. -pedantic -D_GNU_SOURCE -fvisibility=internal -fgnu89-inline -g -O2 -Wall -MT conflict.lo -MD -MP -MF .deps/conflict.Tpo -c -o conflict.lo conflict.c
    libtool: compile: gcc -std=gnu99 -DLOCALEDIR=\"/usr/local/share/locale\" -DHAVE_CONFIG_H -I. -I../.. -pedantic -D_GNU_SOURCE -fvisibility=internal -fgnu89-inline -g -O2 -Wall -MT conflict.lo -MD -MP -MF .deps/conflict.Tpo -c conflict.c -fPIC -DPIC -o .libs/conflict.o
    libtool: compile: gcc -std=gnu99 -DLOCALEDIR=\"/usr/local/share/locale\" -DHAVE_CONFIG_H -I. -I../.. -pedantic -D_GNU_SOURCE -fvisibility=internal -fgnu89-inline -g -O2 -Wall -MT conflict.lo -MD -MP -MF .deps/conflict.Tpo -c conflict.c -o conflict.o >/dev/null 2>&1
    mv -f .deps/conflict.Tpo .deps/conflict.Plo
    /bin/sh ../../libtool --tag=CC --mode=compile gcc -std=gnu99 -DLOCALEDIR=\"/usr/local/share/locale\" -DHAVE_CONFIG_H -I. -I../.. -pedantic -D_GNU_SOURCE -fvisibility=internal -fgnu89-inline -g -O2 -Wall -MT db.lo -MD -MP -MF .deps/db.Tpo -c -o db.lo db.c
    libtool: compile: gcc -std=gnu99 -DLOCALEDIR=\"/usr/local/share/locale\" -DHAVE_CONFIG_H -I. -I../.. -pedantic -D_GNU_SOURCE -fvisibility=internal -fgnu89-inline -g -O2 -Wall -MT db.lo -MD -MP -MF .deps/db.Tpo -c db.c -fPIC -DPIC -o .libs/db.o
    libtool: compile: gcc -std=gnu99 -DLOCALEDIR=\"/usr/local/share/locale\" -DHAVE_CONFIG_H -I. -I../.. -pedantic -D_GNU_SOURCE -fvisibility=internal -fgnu89-inline -g -O2 -Wall -MT db.lo -MD -MP -MF .deps/db.Tpo -c db.c -o db.o >/dev/null 2>&1
    mv -f .deps/db.Tpo .deps/db.Plo
    /bin/sh ../../libtool --tag=CC --mode=compile gcc -std=gnu99 -DLOCALEDIR=\"/usr/local/share/locale\" -DHAVE_CONFIG_H -I. -I../.. -pedantic -D_GNU_SOURCE -fvisibility=internal -fgnu89-inline -g -O2 -Wall -MT delta.lo -MD -MP -MF .deps/delta.Tpo -c -o delta.lo delta.c
    libtool: compile: gcc -std=gnu99 -DLOCALEDIR=\"/usr/local/share/locale\" -DHAVE_CONFIG_H -I. -I../.. -pedantic -D_GNU_SOURCE -fvisibility=internal -fgnu89-inline -g -O2 -Wall -MT delta.lo -MD -MP -MF .deps/delta.Tpo -c delta.c -fPIC -DPIC -o .libs/delta.o
    libtool: compile: gcc -std=gnu99 -DLOCALEDIR=\"/usr/local/share/locale\" -DHAVE_CONFIG_H -I. -I../.. -pedantic -D_GNU_SOURCE -fvisibility=internal -fgnu89-inline -g -O2 -Wall -MT delta.lo -MD -MP -MF .deps/delta.Tpo -c delta.c -o delta.o >/dev/null 2>&1
    mv -f .deps/delta.Tpo .deps/delta.Plo
    /bin/sh ../../libtool --tag=CC --mode=compile gcc -std=gnu99 -DLOCALEDIR=\"/usr/local/share/locale\" -DHAVE_CONFIG_H -I. -I../.. -pedantic -D_GNU_SOURCE -fvisibility=internal -fgnu89-inline -g -O2 -Wall -MT deps.lo -MD -MP -MF .deps/deps.Tpo -c -o deps.lo deps.c
    libtool: compile: gcc -std=gnu99 -DLOCALEDIR=\"/usr/local/share/locale\" -DHAVE_CONFIG_H -I. -I../.. -pedantic -D_GNU_SOURCE -fvisibility=internal -fgnu89-inline -g -O2 -Wall -MT deps.lo -MD -MP -MF .deps/deps.Tpo -c deps.c -fPIC -DPIC -o .libs/deps.o
    libtool: compile: gcc -std=gnu99 -DLOCALEDIR=\"/usr/local/share/locale\" -DHAVE_CONFIG_H -I. -I../.. -pedantic -D_GNU_SOURCE -fvisibility=internal -fgnu89-inline -g -O2 -Wall -MT deps.lo -MD -MP -MF .deps/deps.Tpo -c deps.c -o deps.o >/dev/null 2>&1
    mv -f .deps/deps.Tpo .deps/deps.Plo
    /bin/sh ../../libtool --tag=CC --mode=compile gcc -std=gnu99 -DLOCALEDIR=\"/usr/local/share/locale\" -DHAVE_CONFIG_H -I. -I../.. -pedantic -D_GNU_SOURCE -fvisibility=internal -fgnu89-inline -g -O2 -Wall -MT diskspace.lo -MD -MP -MF .deps/diskspace.Tpo -c -o diskspace.lo diskspace.c
    libtool: compile: gcc -std=gnu99 -DLOCALEDIR=\"/usr/local/share/locale\" -DHAVE_CONFIG_H -I. -I../.. -pedantic -D_GNU_SOURCE -fvisibility=internal -fgnu89-inline -g -O2 -Wall -MT diskspace.lo -MD -MP -MF .deps/diskspace.Tpo -c diskspace.c -fPIC -DPIC -o .libs/diskspace.o
    libtool: compile: gcc -std=gnu99 -DLOCALEDIR=\"/usr/local/share/locale\" -DHAVE_CONFIG_H -I. -I../.. -pedantic -D_GNU_SOURCE -fvisibility=internal -fgnu89-inline -g -O2 -Wall -MT diskspace.lo -MD -MP -MF .deps/diskspace.Tpo -c diskspace.c -o diskspace.o >/dev/null 2>&1
    mv -f .deps/diskspace.Tpo .deps/diskspace.Plo
    /bin/sh ../../libtool --tag=CC --mode=compile gcc -std=gnu99 -DLOCALEDIR=\"/usr/local/share/locale\" -DHAVE_CONFIG_H -I. -I../.. -pedantic -D_GNU_SOURCE -fvisibility=internal -fgnu89-inline -g -O2 -Wall -MT dload.lo -MD -MP -MF .deps/dload.Tpo -c -o dload.lo dload.c
    libtool: compile: gcc -std=gnu99 -DLOCALEDIR=\"/usr/local/share/locale\" -DHAVE_CONFIG_H -I. -I../.. -pedantic -D_GNU_SOURCE -fvisibility=internal -fgnu89-inline -g -O2 -Wall -MT dload.lo -MD -MP -MF .deps/dload.Tpo -c dload.c -fPIC -DPIC -o .libs/dload.o
    libtool: compile: gcc -std=gnu99 -DLOCALEDIR=\"/usr/local/share/locale\" -DHAVE_CONFIG_H -I. -I../.. -pedantic -D_GNU_SOURCE -fvisibility=internal -fgnu89-inline -g -O2 -Wall -MT dload.lo -MD -MP -MF .deps/dload.Tpo -c dload.c -o dload.o >/dev/null 2>&1
    mv -f .deps/dload.Tpo .deps/dload.Plo
    /bin/sh ../../libtool --tag=CC --mode=compile gcc -std=gnu99 -DLOCALEDIR=\"/usr/local/share/locale\" -DHAVE_CONFIG_H -I. -I../.. -pedantic -D_GNU_SOURCE -fvisibility=internal -fgnu89-inline -g -O2 -Wall -MT error.lo -MD -MP -MF .deps/error.Tpo -c -o error.lo error.c
    libtool: compile: gcc -std=gnu99 -DLOCALEDIR=\"/usr/local/share/locale\" -DHAVE_CONFIG_H -I. -I../.. -pedantic -D_GNU_SOURCE -fvisibility=internal -fgnu89-inline -g -O2 -Wall -MT error.lo -MD -MP -MF .deps/error.Tpo -c error.c -fPIC -DPIC -o .libs/error.o
    libtool: compile: gcc -std=gnu99 -DLOCALEDIR=\"/usr/local/share/locale\" -DHAVE_CONFIG_H -I. -I../.. -pedantic -D_GNU_SOURCE -fvisibility=internal -fgnu89-inline -g -O2 -Wall -MT error.lo -MD -MP -MF .deps/error.Tpo -c error.c -o error.o >/dev/null 2>&1
    mv -f .deps/error.Tpo .deps/error.Plo
    /bin/sh ../../libtool --tag=CC --mode=compile gcc -std=gnu99 -DLOCALEDIR=\"/usr/local/share/locale\" -DHAVE_CONFIG_H -I. -I../.. -pedantic -D_GNU_SOURCE -fvisibility=internal -fgnu89-inline -g -O2 -Wall -MT group.lo -MD -MP -MF .deps/group.Tpo -c -o group.lo group.c
    libtool: compile: gcc -std=gnu99 -DLOCALEDIR=\"/usr/local/share/locale\" -DHAVE_CONFIG_H -I. -I../.. -pedantic -D_GNU_SOURCE -fvisibility=internal -fgnu89-inline -g -O2 -Wall -MT group.lo -MD -MP -MF .deps/group.Tpo -c group.c -fPIC -DPIC -o .libs/group.o
    libtool: compile: gcc -std=gnu99 -DLOCALEDIR=\"/usr/local/share/locale\" -DHAVE_CONFIG_H -I. -I../.. -pedantic -D_GNU_SOURCE -fvisibility=internal -fgnu89-inline -g -O2 -Wall -MT group.lo -MD -MP -MF .deps/group.Tpo -c group.c -o group.o >/dev/null 2>&1
    mv -f .deps/group.Tpo .deps/group.Plo
    /bin/sh ../../libtool --tag=CC --mode=compile gcc -std=gnu99 -DLOCALEDIR=\"/usr/local/share/locale\" -DHAVE_CONFIG_H -I. -I../.. -pedantic -D_GNU_SOURCE -fvisibility=internal -fgnu89-inline -g -O2 -Wall -MT handle.lo -MD -MP -MF .deps/handle.Tpo -c -o handle.lo handle.c
    libtool: compile: gcc -std=gnu99 -DLOCALEDIR=\"/usr/local/share/locale\" -DHAVE_CONFIG_H -I. -I../.. -pedantic -D_GNU_SOURCE -fvisibility=internal -fgnu89-inline -g -O2 -Wall -MT handle.lo -MD -MP -MF .deps/handle.Tpo -c handle.c -fPIC -DPIC -o .libs/handle.o
    libtool: compile: gcc -std=gnu99 -DLOCALEDIR=\"/usr/local/share/locale\" -DHAVE_CONFIG_H -I. -I../.. -pedantic -D_GNU_SOURCE -fvisibility=internal -fgnu89-inline -g -O2 -Wall -MT handle.lo -MD -MP -MF .deps/handle.Tpo -c handle.c -o handle.o >/dev/null 2>&1
    mv -f .deps/handle.Tpo .deps/handle.Plo
    /bin/sh ../../libtool --tag=CC --mode=compile gcc -std=gnu99 -DLOCALEDIR=\"/usr/local/share/locale\" -DHAVE_CONFIG_H -I. -I../.. -pedantic -D_GNU_SOURCE -fvisibility=internal -fgnu89-inline -g -O2 -Wall -MT log.lo -MD -MP -MF .deps/log.Tpo -c -o log.lo log.c
    libtool: compile: gcc -std=gnu99 -DLOCALEDIR=\"/usr/local/share/locale\" -DHAVE_CONFIG_H -I. -I../.. -pedantic -D_GNU_SOURCE -fvisibility=internal -fgnu89-inline -g -O2 -Wall -MT log.lo -MD -MP -MF .deps/log.Tpo -c log.c -fPIC -DPIC -o .libs/log.o
    libtool: compile: gcc -std=gnu99 -DLOCALEDIR=\"/usr/local/share/locale\" -DHAVE_CONFIG_H -I. -I../.. -pedantic -D_GNU_SOURCE -fvisibility=internal -fgnu89-inline -g -O2 -Wall -MT log.lo -MD -MP -MF .deps/log.Tpo -c log.c -o log.o >/dev/null 2>&1
    mv -f .deps/log.Tpo .deps/log.Plo
    /bin/sh ../../libtool --tag=CC --mode=compile gcc -std=gnu99 -DLOCALEDIR=\"/usr/local/share/locale\" -DHAVE_CONFIG_H -I. -I../.. -pedantic -D_GNU_SOURCE -fvisibility=internal -fgnu89-inline -g -O2 -Wall -MT package.lo -MD -MP -MF .deps/package.Tpo -c -o package.lo package.c
    libtool: compile: gcc -std=gnu99 -DLOCALEDIR=\"/usr/local/share/locale\" -DHAVE_CONFIG_H -I. -I../.. -pedantic -D_GNU_SOURCE -fvisibility=internal -fgnu89-inline -g -O2 -Wall -MT package.lo -MD -MP -MF .deps/package.Tpo -c package.c -fPIC -DPIC -o .libs/package.o
    libtool: compile: gcc -std=gnu99 -DLOCALEDIR=\"/usr/local/share/locale\" -DHAVE_CONFIG_H -I. -I../.. -pedantic -D_GNU_SOURCE -fvisibility=internal -fgnu89-inline -g -O2 -Wall -MT package.lo -MD -MP -MF .deps/package.Tpo -c package.c -o package.o >/dev/null 2>&1
    mv -f .deps/package.Tpo .deps/package.Plo
    /bin/sh ../../libtool --tag=CC --mode=compile gcc -std=gnu99 -DLOCALEDIR=\"/usr/local/share/locale\" -DHAVE_CONFIG_H -I. -I../.. -pedantic -D_GNU_SOURCE -fvisibility=internal -fgnu89-inline -g -O2 -Wall -MT pkghash.lo -MD -MP -MF .deps/pkghash.Tpo -c -o pkghash.lo pkghash.c
    libtool: compile: gcc -std=gnu99 -DLOCALEDIR=\"/usr/local/share/locale\" -DHAVE_CONFIG_H -I. -I../.. -pedantic -D_GNU_SOURCE -fvisibility=internal -fgnu89-inline -g -O2 -Wall -MT pkghash.lo -MD -MP -MF .deps/pkghash.Tpo -c pkghash.c -fPIC -DPIC -o .libs/pkghash.o
    libtool: compile: gcc -std=gnu99 -DLOCALEDIR=\"/usr/local/share/locale\" -DHAVE_CONFIG_H -I. -I../.. -pedantic -D_GNU_SOURCE -fvisibility=internal -fgnu89-inline -g -O2 -Wall -MT pkghash.lo -MD -MP -MF .deps/pkghash.Tpo -c pkghash.c -o pkghash.o >/dev/null 2>&1
    mv -f .deps/pkghash.Tpo .deps/pkghash.Plo
    /bin/sh ../../libtool --tag=CC --mode=compile gcc -std=gnu99 -DLOCALEDIR=\"/usr/local/share/locale\" -DHAVE_CONFIG_H -I. -I../.. -pedantic -D_GNU_SOURCE -fvisibility=internal -fgnu89-inline -g -O2 -Wall -MT remove.lo -MD -MP -MF .deps/remove.Tpo -c -o remove.lo remove.c
    libtool: compile: gcc -std=gnu99 -DLOCALEDIR=\"/usr/local/share/locale\" -DHAVE_CONFIG_H -I. -I../.. -pedantic -D_GNU_SOURCE -fvisibility=internal -fgnu89-inline -g -O2 -Wall -MT remove.lo -MD -MP -MF .deps/remove.Tpo -c remove.c -fPIC -DPIC -o .libs/remove.o
    libtool: compile: gcc -std=gnu99 -DLOCALEDIR=\"/usr/local/share/locale\" -DHAVE_CONFIG_H -I. -I../.. -pedantic -D_GNU_SOURCE -fvisibility=internal -fgnu89-inline -g -O2 -Wall -MT remove.lo -MD -MP -MF .deps/remove.Tpo -c remove.c -o remove.o >/dev/null 2>&1
    mv -f .deps/remove.Tpo .deps/remove.Plo
    /bin/sh ../../libtool --tag=CC --mode=compile gcc -std=gnu99 -DLOCALEDIR=\"/usr/local/share/locale\" -DHAVE_CONFIG_H -I. -I../.. -pedantic -D_GNU_SOURCE -fvisibility=internal -fgnu89-inline -g -O2 -Wall -MT sync.lo -MD -MP -MF .deps/sync.Tpo -c -o sync.lo sync.c
    libtool: compile: gcc -std=gnu99 -DLOCALEDIR=\"/usr/local/share/locale\" -DHAVE_CONFIG_H -I. -I../.. -pedantic -D_GNU_SOURCE -fvisibility=internal -fgnu89-inline -g -O2 -Wall -MT sync.lo -MD -MP -MF .deps/sync.Tpo -c sync.c -fPIC -DPIC -o .libs/sync.o
    libtool: compile: gcc -std=gnu99 -DLOCALEDIR=\"/usr/local/share/locale\" -DHAVE_CONFIG_H -I. -I../.. -pedantic -D_GNU_SOURCE -fvisibility=internal -fgnu89-inline -g -O2 -Wall -MT sync.lo -MD -MP -MF .deps/sync.Tpo -c sync.c -o sync.o >/dev/null 2>&1
    mv -f .deps/sync.Tpo .deps/sync.Plo
    /bin/sh ../../libtool --tag=CC --mode=compile gcc -std=gnu99 -DLOCALEDIR=\"/usr/local/share/locale\" -DHAVE_CONFIG_H -I. -I../.. -pedantic -D_GNU_SOURCE -fvisibility=internal -fgnu89-inline -g -O2 -Wall -MT trans.lo -MD -MP -MF .deps/trans.Tpo -c -o trans.lo trans.c
    libtool: compile: gcc -std=gnu99 -DLOCALEDIR=\"/usr/local/share/locale\" -DHAVE_CONFIG_H -I. -I../.. -pedantic -D_GNU_SOURCE -fvisibility=internal -fgnu89-inline -g -O2 -Wall -MT trans.lo -MD -MP -MF .deps/trans.Tpo -c trans.c -fPIC -DPIC -o .libs/trans.o
    libtool: compile: gcc -std=gnu99 -DLOCALEDIR=\"/usr/local/share/locale\" -DHAVE_CONFIG_H -I. -I../.. -pedantic -D_GNU_SOURCE -fvisibility=internal -fgnu89-inline -g -O2 -Wall -MT trans.lo -MD -MP -MF .deps/trans.Tpo -c trans.c -o trans.o >/dev/null 2>&1
    mv -f .deps/trans.Tpo .deps/trans.Plo
    /bin/sh ../../libtool --tag=CC --mode=compile gcc -std=gnu99 -DLOCALEDIR=\"/usr/local/share/locale\" -DHAVE_CONFIG_H -I. -I../.. -pedantic -D_GNU_SOURCE -fvisibility=internal -fgnu89-inline -g -O2 -Wall -MT util.lo -MD -MP -MF .deps/util.Tpo -c -o util.lo util.c
    libtool: compile: gcc -std=gnu99 -DLOCALEDIR=\"/usr/local/share/locale\" -DHAVE_CONFIG_H -I. -I../.. -pedantic -D_GNU_SOURCE -fvisibility=internal -fgnu89-inline -g -O2 -Wall -MT util.lo -MD -MP -MF .deps/util.Tpo -c util.c -fPIC -DPIC -o .libs/util.o
    libtool: compile: gcc -std=gnu99 -DLOCALEDIR=\"/usr/local/share/locale\" -DHAVE_CONFIG_H -I. -I../.. -pedantic -D_GNU_SOURCE -fvisibility=internal -fgnu89-inline -g -O2 -Wall -MT util.lo -MD -MP -MF .deps/util.Tpo -c util.c -o util.o >/dev/null 2>&1
    mv -f .deps/util.Tpo .deps/util.Plo
    /bin/sh ../../libtool --tag=CC --mode=compile gcc -std=gnu99 -DLOCALEDIR=\"/usr/local/share/locale\" -DHAVE_CONFIG_H -I. -I../.. -pedantic -D_GNU_SOURCE -fvisibility=internal -fgnu89-inline -g -O2 -Wall -MT version.lo -MD -MP -MF .deps/version.Tpo -c -o version.lo version.c
    libtool: compile: gcc -std=gnu99 -DLOCALEDIR=\"/usr/local/share/locale\" -DHAVE_CONFIG_H -I. -I../.. -pedantic -D_GNU_SOURCE -fvisibility=internal -fgnu89-inline -g -O2 -Wall -MT version.lo -MD -MP -MF .deps/version.Tpo -c version.c -fPIC -DPIC -o .libs/version.o
    libtool: compile: gcc -std=gnu99 -DLOCALEDIR=\"/usr/local/share/locale\" -DHAVE_CONFIG_H -I. -I../.. -pedantic -D_GNU_SOURCE -fvisibility=internal -fgnu89-inline -g -O2 -Wall -MT version.lo -MD -MP -MF .deps/version.Tpo -c version.c -o version.o >/dev/null 2>&1
    mv -f .deps/version.Tpo .deps/version.Plo
    /bin/sh ../../libtool --tag=CC --mode=link gcc -std=gnu99 -pedantic -D_GNU_SOURCE -fvisibility=internal -fgnu89-inline -g -O2 -Wall -no-undefined -version-info 6:3:0 -o libalpm.la -rpath /usr/local/lib add.lo alpm.lo alpm_list.lo backup.lo be_local.lo be_package.lo be_sync.lo conflict.lo db.lo delta.lo deps.lo diskspace.lo dload.lo error.lo group.lo handle.lo log.lo package.lo pkghash.lo remove.lo sync.lo trans.lo util.lo version.lo -lfetch -lssl -larchive
    libtool: link: gcc -std=gnu99 -shared -fPIC -DPIC .libs/add.o .libs/alpm.o .libs/alpm_list.o .libs/backup.o .libs/be_local.o .libs/be_package.o .libs/be_sync.o .libs/conflict.o .libs/db.o .libs/delta.o .libs/deps.o .libs/diskspace.o .libs/dload.o .libs/error.o .libs/group.o .libs/handle.o .libs/log.o .libs/package.o .libs/pkghash.o .libs/remove.o .libs/sync.o .libs/trans.o .libs/util.o .libs/version.o -lfetch -lssl /usr/lib/libarchive.so -lacl -lattr -lexpat -llzma -lbz2 -lz -lcrypto -O2 -Wl,-soname -Wl,libalpm.so.6 -o .libs/libalpm.so.6.0.3
    libtool: link: (cd ".libs" && rm -f "libalpm.so.6" && ln -s "libalpm.so.6.0.3" "libalpm.so.6")
    libtool: link: (cd ".libs" && rm -f "libalpm.so" && ln -s "libalpm.so.6.0.3" "libalpm.so")
    libtool: link: ar cru .libs/libalpm.a add.o alpm.o alpm_list.o backup.o be_local.o be_package.o be_sync.o conflict.o db.o delta.o deps.o diskspace.o dload.o error.o group.o handle.o log.o package.o pkghash.o remove.o sync.o trans.o util.o version.o
    libtool: link: ranlib .libs/libalpm.a
    libtool: link: ( cd ".libs" && rm -f "libalpm.la" && ln -s "../libalpm.la" "libalpm.la" )
    make[3]: Leaving directory `/home/aardvark/Documents/pacman/pacman-3.5.3/lib/libalpm'
    make[2]: Leaving directory `/home/aardvark/Documents/pacman/pacman-3.5.3/lib/libalpm'
    Making all in src/util
    make[2]: Entering directory `/home/aardvark/Documents/pacman/pacman-3.5.3/src/util'
    gcc -std=gnu99 -DLOCALEDIR=\"/usr/local/share/locale\" -DCONFFILE=\"/usr/local/etc/pacman.conf\" -DROOTDIR=\"/\" -DDBPATH=\"/usr/local/var/lib/pacman/\" -DCACHEDIR=\"/usr/local/var/cache/pacman/pkg/\" -DHAVE_CONFIG_H -I. -I../.. -I../../lib/libalpm -pedantic -D_GNU_SOURCE -g -O2 -Wall -MT vercmp.o -MD -MP -MF .deps/vercmp.Tpo -c -o vercmp.o vercmp.c
    mv -f .deps/vercmp.Tpo .deps/vercmp.Po
    /bin/sh ../../libtool --tag=CC --mode=link gcc -std=gnu99 -pedantic -D_GNU_SOURCE -g -O2 -Wall -o vercmp vercmp.o ../../lib/libalpm/version.o -lfetch -lssl -larchive
    libtool: link: gcc -std=gnu99 -pedantic -D_GNU_SOURCE -g -O2 -Wall -o vercmp vercmp.o ../../lib/libalpm/version.o -lfetch -lssl /usr/lib/libarchive.so -lacl -lattr -lexpat -llzma -lbz2 -lz -lcrypto
    gcc -std=gnu99 -DLOCALEDIR=\"/usr/local/share/locale\" -DCONFFILE=\"/usr/local/etc/pacman.conf\" -DROOTDIR=\"/\" -DDBPATH=\"/usr/local/var/lib/pacman/\" -DCACHEDIR=\"/usr/local/var/cache/pacman/pkg/\" -DHAVE_CONFIG_H -I. -I../.. -I../../lib/libalpm -pedantic -D_GNU_SOURCE -g -O2 -Wall -MT testpkg.o -MD -MP -MF .deps/testpkg.Tpo -c -o testpkg.o testpkg.c
    mv -f .deps/testpkg.Tpo .deps/testpkg.Po
    /bin/sh ../../libtool --tag=CC --mode=link gcc -std=gnu99 -pedantic -D_GNU_SOURCE -g -O2 -Wall -o testpkg testpkg.o ../../lib/libalpm/.libs/libalpm.la -lfetch -lssl -larchive
    libtool: link: gcc -std=gnu99 -pedantic -D_GNU_SOURCE -g -O2 -Wall -o .libs/testpkg testpkg.o ../../lib/libalpm/.libs/libalpm.so -lfetch -lssl /usr/lib/libarchive.so -lacl -lattr -lexpat -llzma -lbz2 -lz -lcrypto -Wl,-rpath -Wl,/usr/local/lib
    gcc -std=gnu99 -DLOCALEDIR=\"/usr/local/share/locale\" -DCONFFILE=\"/usr/local/etc/pacman.conf\" -DROOTDIR=\"/\" -DDBPATH=\"/usr/local/var/lib/pacman/\" -DCACHEDIR=\"/usr/local/var/cache/pacman/pkg/\" -DHAVE_CONFIG_H -I. -I../.. -I../../lib/libalpm -pedantic -D_GNU_SOURCE -g -O2 -Wall -MT testdb.o -MD -MP -MF .deps/testdb.Tpo -c -o testdb.o testdb.c
    mv -f .deps/testdb.Tpo .deps/testdb.Po
    /bin/sh ../../libtool --tag=CC --mode=link gcc -std=gnu99 -pedantic -D_GNU_SOURCE -g -O2 -Wall -o testdb testdb.o ../../lib/libalpm/.libs/libalpm.la -lfetch -lssl -larchive
    libtool: link: gcc -std=gnu99 -pedantic -D_GNU_SOURCE -g -O2 -Wall -o .libs/testdb testdb.o ../../lib/libalpm/.libs/libalpm.so -lfetch -lssl /usr/lib/libarchive.so -lacl -lattr -lexpat -llzma -lbz2 -lz -lcrypto -Wl,-rpath -Wl,/usr/local/lib
    gcc -std=gnu99 -DLOCALEDIR=\"/usr/local/share/locale\" -DCONFFILE=\"/usr/local/etc/pacman.conf\" -DROOTDIR=\"/\" -DDBPATH=\"/usr/local/var/lib/pacman/\" -DCACHEDIR=\"/usr/local/var/cache/pacman/pkg/\" -DHAVE_CONFIG_H -I. -I../.. -I../../lib/libalpm -pedantic -D_GNU_SOURCE -g -O2 -Wall -MT cleanupdelta.o -MD -MP -MF .deps/cleanupdelta.Tpo -c -o cleanupdelta.o cleanupdelta.c
    mv -f .deps/cleanupdelta.Tpo .deps/cleanupdelta.Po
    /bin/sh ../../libtool --tag=CC --mode=link gcc -std=gnu99 -pedantic -D_GNU_SOURCE -g -O2 -Wall -o cleanupdelta cleanupdelta.o ../../lib/libalpm/.libs/libalpm.la -lfetch -lssl -larchive
    libtool: link: gcc -std=gnu99 -pedantic -D_GNU_SOURCE -g -O2 -Wall -o .libs/cleanupdelta cleanupdelta.o ../../lib/libalpm/.libs/libalpm.so -lfetch -lssl /usr/lib/libarchive.so -lacl -lattr -lexpat -llzma -lbz2 -lz -lcrypto -Wl,-rpath -Wl,/usr/local/lib
    gcc -std=gnu99 -DLOCALEDIR=\"/usr/local/share/locale\" -DCONFFILE=\"/usr/local/etc/pacman.conf\" -DROOTDIR=\"/\" -DDBPATH=\"/usr/local/var/lib/pacman/\" -DCACHEDIR=\"/usr/local/var/cache/pacman/pkg/\" -DHAVE_CONFIG_H -I. -I../.. -I../../lib/libalpm -pedantic -D_GNU_SOURCE -g -O2 -Wall -MT pactree.o -MD -MP -MF .deps/pactree.Tpo -c -o pactree.o pactree.c
    mv -f .deps/pactree.Tpo .deps/pactree.Po
    /bin/sh ../../libtool --tag=CC --mode=link gcc -std=gnu99 -pedantic -D_GNU_SOURCE -g -O2 -Wall -o pactree pactree.o ../../lib/libalpm/.libs/libalpm.la -lfetch -lssl -larchive
    libtool: link: gcc -std=gnu99 -pedantic -D_GNU_SOURCE -g -O2 -Wall -o .libs/pactree pactree.o ../../lib/libalpm/.libs/libalpm.so -lfetch -lssl /usr/lib/libarchive.so -lacl -lattr -lexpat -llzma -lbz2 -lz -lcrypto -Wl,-rpath -Wl,/usr/local/lib
    make[2]: Leaving directory `/home/aardvark/Documents/pacman/pacman-3.5.3/src/util'
    Making all in src/pacman
    make[2]: Entering directory `/home/aardvark/Documents/pacman/pacman-3.5.3/src/pacman'
    gcc -std=gnu99 -DLOCALEDIR=\"/usr/local/share/locale\" -DCONFFILE=\"/usr/local/etc/pacman.conf\" -DROOTDIR=\"/\" -DDBPATH=\"/usr/local/var/lib/pacman/\" -DCACHEDIR=\"/usr/local/var/cache/pacman/pkg/\" -DLOGFILE=\"/usr/local/var/log/pacman.log\" -DHAVE_CONFIG_H -I. -I../.. -I../../lib/libalpm -pedantic -D_GNU_SOURCE -g -O2 -Wall -MT conf.o -MD -MP -MF .deps/conf.Tpo -c -o conf.o conf.c
    mv -f .deps/conf.Tpo .deps/conf.Po
    gcc -std=gnu99 -DLOCALEDIR=\"/usr/local/share/locale\" -DCONFFILE=\"/usr/local/etc/pacman.conf\" -DROOTDIR=\"/\" -DDBPATH=\"/usr/local/var/lib/pacman/\" -DCACHEDIR=\"/usr/local/var/cache/pacman/pkg/\" -DLOGFILE=\"/usr/local/var/log/pacman.log\" -DHAVE_CONFIG_H -I. -I../.. -I../../lib/libalpm -pedantic -D_GNU_SOURCE -g -O2 -Wall -MT database.o -MD -MP -MF .deps/database.Tpo -c -o database.o database.c
    mv -f .deps/database.Tpo .deps/database.Po
    gcc -std=gnu99 -DLOCALEDIR=\"/usr/local/share/locale\" -DCONFFILE=\"/usr/local/etc/pacman.conf\" -DROOTDIR=\"/\" -DDBPATH=\"/usr/local/var/lib/pacman/\" -DCACHEDIR=\"/usr/local/var/cache/pacman/pkg/\" -DLOGFILE=\"/usr/local/var/log/pacman.log\" -DHAVE_CONFIG_H -I. -I../.. -I../../lib/libalpm -pedantic -D_GNU_SOURCE -g -O2 -Wall -MT deptest.o -MD -MP -MF .deps/deptest.Tpo -c -o deptest.o deptest.c
    mv -f .deps/deptest.Tpo .deps/deptest.Po
    gcc -std=gnu99 -DLOCALEDIR=\"/usr/local/share/locale\" -DCONFFILE=\"/usr/local/etc/pacman.conf\" -DROOTDIR=\"/\" -DDBPATH=\"/usr/local/var/lib/pacman/\" -DCACHEDIR=\"/usr/local/var/cache/pacman/pkg/\" -DLOGFILE=\"/usr/local/var/log/pacman.log\" -DHAVE_CONFIG_H -I. -I../.. -I../../lib/libalpm -pedantic -D_GNU_SOURCE -g -O2 -Wall -MT package.o -MD -MP -MF .deps/package.Tpo -c -o package.o package.c
    mv -f .deps/package.Tpo .deps/package.Po
    gcc -std=gnu99 -DLOCALEDIR=\"/usr/local/share/locale\" -DCONFFILE=\"/usr/local/etc/pacman.conf\" -DROOTDIR=\"/\" -DDBPATH=\"/usr/local/var/lib/pacman/\" -DCACHEDIR=\"/usr/local/var/cache/pacman/pkg/\" -DLOGFILE=\"/usr/local/var/log/pacman.log\" -DHAVE_CONFIG_H -I. -I../.. -I../../lib/libalpm -pedantic -D_GNU_SOURCE -g -O2 -Wall -MT pacman.o -MD -MP -MF .deps/pacman.Tpo -c -o pacman.o pacman.c
    mv -f .deps/pacman.Tpo .deps/pacman.Po
    gcc -std=gnu99 -DLOCALEDIR=\"/usr/local/share/locale\" -DCONFFILE=\"/usr/local/etc/pacman.conf\" -DROOTDIR=\"/\" -DDBPATH=\"/usr/local/var/lib/pacman/\" -DCACHEDIR=\"/usr/local/var/cache/pacman/pkg/\" -DLOGFILE=\"/usr/local/var/log/pacman.log\" -DHAVE_CONFIG_H -I. -I../.. -I../../lib/libalpm -pedantic -D_GNU_SOURCE -g -O2 -Wall -MT query.o -MD -MP -MF .deps/query.Tpo -c -o query.o query.c
    mv -f .deps/query.Tpo .deps/query.Po
    gcc -std=gnu99 -DLOCALEDIR=\"/usr/local/share/locale\" -DCONFFILE=\"/usr/local/etc/pacman.conf\" -DROOTDIR=\"/\" -DDBPATH=\"/usr/local/var/lib/pacman/\" -DCACHEDIR=\"/usr/local/var/cache/pacman/pkg/\" -DLOGFILE=\"/usr/local/var/log/pacman.log\" -DHAVE_CONFIG_H -I. -I../.. -I../../lib/libalpm -pedantic -D_GNU_SOURCE -g -O2 -Wall -MT remove.o -MD -MP -MF .deps/remove.Tpo -c -o remove.o remove.c
    mv -f .deps/remove.Tpo .deps/remove.Po
    gcc -std=gnu99 -DLOCALEDIR=\"/usr/local/share/locale\" -DCONFFILE=\"/usr/local/etc/pacman.conf\" -DROOTDIR=\"/\" -DDBPATH=\"/usr/local/var/lib/pacman/\" -DCACHEDIR=\"/usr/local/var/cache/pacman/pkg/\" -DLOGFILE=\"/usr/local/var/log/pacman.log\" -DHAVE_CONFIG_H -I. -I../.. -I../../lib/libalpm -pedantic -D_GNU_SOURCE -g -O2 -Wall -MT sync.o -MD -MP -MF .deps/sync.Tpo -c -o sync.o sync.c
    mv -f .deps/sync.Tpo .deps/sync.Po
    gcc -std=gnu99 -DLOCALEDIR=\"/usr/local/share/locale\" -DCONFFILE=\"/usr/local/etc/pacman.conf\" -DROOTDIR=\"/\" -DDBPATH=\"/usr/local/var/lib/pacman/\" -DCACHEDIR=\"/usr/local/var/cache/pacman/pkg/\" -DLOGFILE=\"/usr/local/var/log/pacman.log\" -DHAVE_CONFIG_H -I. -I../.. -I../../lib/libalpm -pedantic -D_GNU_SOURCE -g -O2 -Wall -MT callback.o -MD -MP -MF .deps/callback.Tpo -c -o callback.o callback.c
    mv -f .deps/callback.Tpo .deps/callback.Po
    gcc -std=gnu99 -DLOCALEDIR=\"/usr/local/share/locale\" -DCONFFILE=\"/usr/local/etc/pacman.conf\" -DROOTDIR=\"/\" -DDBPATH=\"/usr/local/var/lib/pacman/\" -DCACHEDIR=\"/usr/local/var/cache/pacman/pkg/\" -DLOGFILE=\"/usr/local/var/log/pacman.log\" -DHAVE_CONFIG_H -I. -I../.. -I../../lib/libalpm -pedantic -D_GNU_SOURCE -g -O2 -Wall -MT upgrade.o -MD -MP -MF .deps/upgrade.Tpo -c -o upgrade.o upgrade.c
    mv -f .deps/upgrade.Tpo .deps/upgrade.Po
    gcc -std=gnu99 -DLOCALEDIR=\"/usr/local/share/locale\" -DCONFFILE=\"/usr/local/etc/pacman.conf\" -DROOTDIR=\"/\" -DDBPATH=\"/usr/local/var/lib/pacman/\" -DCACHEDIR=\"/usr/local/var/cache/pacman/pkg/\" -DLOGFILE=\"/usr/local/var/log/pacman.log\" -DHAVE_CONFIG_H -I. -I../.. -I../../lib/libalpm -pedantic -D_GNU_SOURCE -g -O2 -Wall -MT util.o -MD -MP -MF .deps/util.Tpo -c -o util.o util.c
    mv -f .deps/util.Tpo .deps/util.Po
    /bin/sh ../../libtool --tag=CC --mode=link gcc -std=gnu99 -pedantic -D_GNU_SOURCE -g -O2 -Wall -o pacman conf.o database.o deptest.o package.o pacman.o query.o remove.o sync.o callback.o upgrade.o util.o ../../lib/libalpm/.libs/libalpm.la -lfetch -lssl -larchive
    libtool: link: gcc -std=gnu99 -pedantic -D_GNU_SOURCE -g -O2 -Wall -o .libs/pacman conf.o database.o deptest.o package.o pacman.o query.o remove.o sync.o callback.o upgrade.o util.o ../../lib/libalpm/.libs/libalpm.so -lfetch -lssl /usr/lib/libarchive.so -lacl -lattr -lexpat -llzma -lbz2 -lz -lcrypto -Wl,-rpath -Wl,/usr/local/lib
    make[2]: Leaving directory `/home/aardvark/Documents/pacman/pacman-3.5.3/src/pacman'
    Making all in scripts
    make[2]: Entering directory `/home/aardvark/Documents/pacman/pacman-3.5.3/scripts'
    GEN makepkg
    GEN pacman-db-upgrade
    GEN pacman-optimize
    GEN pkgdelta
    GEN rankmirrors
    GEN repo-add
    rm -f repo-remove
    ln -s repo-add repo-remove
    make[2]: Leaving directory `/home/aardvark/Documents/pacman/pacman-3.5.3/scripts'
    Making all in etc
    make[2]: Entering directory `/home/aardvark/Documents/pacman/pacman-3.5.3/etc'
    GEN makepkg.conf
    GEN pacman.conf
    make[2]: Leaving directory `/home/aardvark/Documents/pacman/pacman-3.5.3/etc'
    Making all in po
    make[2]: Entering directory `/home/aardvark/Documents/pacman/pacman-3.5.3/po'
    make[2]: Leaving directory `/home/aardvark/Documents/pacman/pacman-3.5.3/po'
    Making all in test/pacman
    make[2]: Entering directory `/home/aardvark/Documents/pacman/pacman-3.5.3/test/pacman'
    Making all in tests
    make[3]: Entering directory `/home/aardvark/Documents/pacman/pacman-3.5.3/test/pacman/tests'
    make[3]: Nothing to be done for `all'.
    make[3]: Leaving directory `/home/aardvark/Documents/pacman/pacman-3.5.3/test/pacman/tests'
    make[3]: Entering directory `/home/aardvark/Documents/pacman/pacman-3.5.3/test/pacman'
    make[3]: Nothing to be done for `all-am'.
    make[3]: Leaving directory `/home/aardvark/Documents/pacman/pacman-3.5.3/test/pacman'
    make[2]: Leaving directory `/home/aardvark/Documents/pacman/pacman-3.5.3/test/pacman'
    Making all in test/util
    make[2]: Entering directory `/home/aardvark/Documents/pacman/pacman-3.5.3/test/util'
    make[2]: Nothing to be done for `all'.
    make[2]: Leaving directory `/home/aardvark/Documents/pacman/pacman-3.5.3/test/util'
    Making all in contrib
    make[2]: Entering directory `/home/aardvark/Documents/pacman/pacman-3.5.3/contrib'
    GEN bacman
    GEN pacdiff
    GEN paclist
    GEN pacscripts
    GEN pacsearch
    GEN wget-xdelta.sh
    GEN bash_completion
    GEN zsh_completion
    make[2]: Leaving directory `/home/aardvark/Documents/pacman/pacman-3.5.3/contrib'
    Making all in doc
    make[2]: Entering directory `/home/aardvark/Documents/pacman/pacman-3.5.3/doc'
    make[2]: Nothing to be done for `all'.
    make[2]: Leaving directory `/home/aardvark/Documents/pacman/pacman-3.5.3/doc'
    make[2]: Entering directory `/home/aardvark/Documents/pacman/pacman-3.5.3'
    make[2]: Nothing to be done for `all-am'.
    make[2]: Leaving directory `/home/aardvark/Documents/pacman/pacman-3.5.3'
    make[1]: Leaving directory `/home/aardvark/Documents/pacman/pacman-3.5.3'
    This is the output of ./configure:
    checking build system type... x86_64-unknown-linux-gnu
    checking host system type... x86_64-unknown-linux-gnu
    checking for a BSD-compatible install... /bin/install -c
    checking whether build environment is sane... yes
    checking for a thread-safe mkdir -p... /bin/mkdir -p
    checking for gawk... gawk
    checking whether make sets $(MAKE)... yes
    checking for gawk... (cached) gawk
    checking for style of include used by make... GNU
    checking for gcc... gcc
    checking whether the C compiler works... yes
    checking for C compiler default output file name... a.out
    checking for suffix of executables...
    checking whether we are cross compiling... no
    checking for suffix of object files... o
    checking whether we are using the GNU C compiler... yes
    checking whether gcc accepts -g... yes
    checking for gcc option to accept ISO C89... none needed
    checking dependency style of gcc... gcc3
    checking for gcc option to accept ISO C99... -std=gnu99
    checking whether ln -s works... yes
    checking whether make sets $(MAKE)... (cached) yes
    checking how to print strings... printf
    checking for a sed that does not truncate output... /bin/sed
    checking for grep that handles long lines and -e... /bin/grep
    checking for egrep... /bin/grep -E
    checking for fgrep... /bin/grep -F
    checking for ld used by gcc -std=gnu99... /usr/bin/ld
    checking if the linker (/usr/bin/ld) is GNU ld... yes
    checking for BSD- or MS-compatible name lister (nm)... /usr/bin/nm -B
    checking the name lister (/usr/bin/nm -B) interface... BSD nm
    checking the maximum length of command line arguments... 1572864
    checking whether the shell understands some XSI constructs... yes
    checking whether the shell understands "+="... yes
    checking how to convert x86_64-unknown-linux-gnu file names to x86_64-unknown-linux-gnu format... func_convert_file_noop
    checking how to convert x86_64-unknown-linux-gnu file names to toolchain format... func_convert_file_noop
    checking for /usr/bin/ld option to reload object files... -r
    checking for objdump... objdump
    checking how to recognize dependent libraries... pass_all
    checking for dlltool... no
    checking how to associate runtime and link libraries... printf %s\n
    checking for ar... ar
    checking for archiver @FILE support... @
    checking for strip... strip
    checking for ranlib... ranlib
    checking command to parse /usr/bin/nm -B output from gcc -std=gnu99 object... ok
    checking for sysroot... no
    checking for mt... no
    checking if : is a manifest tool... no
    checking how to run the C preprocessor... gcc -std=gnu99 -E
    checking for ANSI C header files... yes
    checking for sys/types.h... yes
    checking for sys/stat.h... yes
    checking for stdlib.h... yes
    checking for string.h... yes
    checking for memory.h... yes
    checking for strings.h... yes
    checking for inttypes.h... yes
    checking for stdint.h... yes
    checking for unistd.h... yes
    checking for dlfcn.h... yes
    checking for objdir... .libs
    checking if gcc -std=gnu99 supports -fno-rtti -fno-exceptions... no
    checking for gcc -std=gnu99 option to produce PIC... -fPIC -DPIC
    checking if gcc -std=gnu99 PIC flag -fPIC -DPIC works... yes
    checking if gcc -std=gnu99 static flag -static works... yes
    checking if gcc -std=gnu99 supports -c -o file.o... yes
    checking if gcc -std=gnu99 supports -c -o file.o... (cached) yes
    checking whether the gcc -std=gnu99 linker (/usr/bin/ld -m elf_x86_64) supports shared libraries... yes
    checking whether -lc should be explicitly linked in... no
    checking dynamic linker characteristics... GNU/Linux ld.so
    checking how to hardcode library paths into programs... immediate
    checking whether stripping libraries is possible... yes
    checking if libtool supports shared libraries... yes
    checking whether to build shared libraries... yes
    checking whether to build static libraries... yes
    checking for python2.7... python2.7
    checking for bash... /bin/bash
    checking whether NLS is requested... yes
    checking for msgfmt... /usr/bin/msgfmt
    checking for gmsgfmt... /usr/bin/msgfmt
    checking for xgettext... /usr/bin/xgettext
    checking for msgmerge... /usr/bin/msgmerge
    checking for ld used by GCC... /usr/bin/ld -m elf_x86_64
    checking if the linker (/usr/bin/ld -m elf_x86_64) is GNU ld... yes
    checking for shared library run path origin... done
    checking for CFPreferencesCopyAppValue... no
    checking for CFLocaleCopyCurrent... no
    checking for GNU gettext in libc... yes
    checking whether to use NLS... yes
    checking where the gettext function comes from... libc
    checking for archive_read_data in -larchive... yes
    checking whether to link with libssl... yes
    checking for MD5_Final in -lssl... yes
    checking whether to link with libfetch... yes
    checking for fetchParseURL in -lfetch... yes
    checking whether fetchConnectionCacheInit is declared... yes
    checking fcntl.h usability... yes
    checking fcntl.h presence... yes
    checking for fcntl.h... yes
    checking glob.h usability... yes
    checking glob.h presence... yes
    checking for glob.h... yes
    checking libintl.h usability... yes
    checking libintl.h presence... yes
    checking for libintl.h... yes
    checking locale.h usability... yes
    checking locale.h presence... yes
    checking for locale.h... yes
    checking mntent.h usability... yes
    checking mntent.h presence... yes
    checking for mntent.h... yes
    checking for string.h... (cached) yes
    checking sys/ioctl.h usability... yes
    checking sys/ioctl.h presence... yes
    checking for sys/ioctl.h... yes
    checking sys/mount.h usability... yes
    checking sys/mount.h presence... yes
    checking for sys/mount.h... yes
    checking sys/param.h usability... yes
    checking sys/param.h presence... yes
    checking for sys/param.h... yes
    checking sys/statvfs.h usability... yes
    checking sys/statvfs.h presence... yes
    checking for sys/statvfs.h... yes
    checking sys/time.h usability... yes
    checking sys/time.h presence... yes
    checking for sys/time.h... yes
    checking for sys/types.h... (cached) yes
    checking sys/ucred.h usability... no
    checking sys/ucred.h presence... no
    checking for sys/ucred.h... no
    checking syslog.h usability... yes
    checking syslog.h presence... yes
    checking for syslog.h... yes
    checking wchar.h usability... yes
    checking wchar.h presence... yes
    checking for wchar.h... yes
    checking for inline... inline
    checking for mode_t... yes
    checking for off_t... yes
    checking for pid_t... yes
    checking for size_t... yes
    checking whether struct tm is in sys/time.h or time.h... time.h
    checking for uid_t in sys/types.h... yes
    checking for dirent.h that defines DIR... yes
    checking for library containing opendir... none required
    checking for struct dirent.d_type... yes
    checking PATH_MAX defined... yes
    checking vfork.h usability... no
    checking vfork.h presence... no
    checking for vfork.h... no
    checking for fork... yes
    checking for vfork... yes
    checking for working fork... yes
    checking for working vfork... (cached) yes
    checking for library containing getmntent... none required
    checking whether lstat correctly handles trailing slash... yes
    checking whether time.h and sys/time.h may both be included... yes
    checking for sys/time.h... (cached) yes
    checking for unistd.h... (cached) yes
    checking for alarm... yes
    checking for working mktime... yes
    checking for geteuid... yes
    checking for getmntinfo... no
    checking for realpath... yes
    checking for regcomp... yes
    checking for strcasecmp... yes
    checking for strndup... yes
    checking for strrchr... yes
    checking for strsep... yes
    checking for swprintf... yes
    checking for wcwidth... yes
    checking for uname... yes
    checking filesystem statistics type... checking for getmntinfo... (cached) no
    checking for getmntent... (cached) yes
    struct statvfs
    checking for struct statvfs.f_flag... yes
    checking for struct statfs.f_flags... no
    checking for special C compiler options needed for large files... no
    checking for _FILE_OFFSET_BITS value needed for large files... no
    checking whether gcc -std=gnu99 accepts -fvisibility=internal... yes
    checking for -fgnu89-inline... yes
    checking for du... /bin/du
    checking for asciidoc... asciidoc
    checking for building documentation... yes, enabled by configure
    checking for doxygen... no
    checking for doxygen... no, disabled by configure
    checking for debug mode request... no
    checking whether to use git version if available... no, disabled by configure
    configure: creating ./config.status
    config.status: creating lib/libalpm/Makefile
    config.status: creating lib/libalpm/po/Makefile.in
    config.status: creating src/pacman/Makefile
    config.status: creating src/util/Makefile
    config.status: creating scripts/Makefile
    config.status: creating doc/Makefile
    config.status: creating etc/Makefile
    config.status: creating po/Makefile.in
    config.status: creating test/pacman/Makefile
    config.status: creating test/pacman/tests/Makefile
    config.status: creating test/util/Makefile
    config.status: creating contrib/Makefile
    config.status: creating Makefile
    config.status: creating config.h
    config.status: executing depfiles commands
    config.status: executing libtool commands
    config.status: executing po-directories commands
    config.status: creating lib/libalpm/po/POTFILES
    config.status: creating lib/libalpm/po/Makefile
    config.status: creating po/POTFILES
    config.status: creating po/Makefile
    pacman:
    Build information:
    source code location : .
    prefix : /usr/local
    sysconfdir : /usr/local/etc
    conf file : /usr/local/etc/pacman.conf
    localstatedir : /usr/local/var
    database dir : /usr/local/var/lib/pacman/
    cache dir : /usr/local/var/cache/pacman/pkg/
    compiler : gcc -std=gnu99
    compiler flags : -g -O2 -Wall
    defines : -DHAVE_CONFIG_H
    Architecture : x86_64
    Architecture flags : -march=x86-64
    Host Type : x86_64-unknown-linux-gnu
    Filesize command : stat -L -c %s
    In-place sed command : sed -i
    libalpm version : 6.0.3
    libalpm version info : 6:3:0
    pacman version : 3.5.3
    using git version : no
    Directory and file information:
    root working directory : /
    package extension : .pkg.tar.gz
    source pkg extension : .src.tar.gz
    build script name : PKGBUILD
    Compilation options:
    Run make in doc/ dir : yes
    Doxygen support : no
    debug support : no
    I'm sure libtool is installed. I had a working copy of pacman but a bad "make install" destroyed that too. Any help?
    Last edited by newdave (2011-07-07 05:46:27)

    falconindy wrote:
    And where's the error? Other than the completely wrong paths being set for ./configure, there is none. That's a successful make.
    newdave wrote:P.S. I must add that currently pacman is broken on my system so " makepkg -s " does not work (error: no usable package repositories configured.)
    P.P.S note the word configure. this is user error as you've not uncommented any mirrors from /etc/pacman.d/mirrorlist. I strongly suggest you do one of two things:
    1) If you're insistent on compiling pacman by hand, use the configure flags from the package in ABS.
    2) Backup your pacman.conf/makepkg.conf, download a pacman package, and extract it to root, and then restore your config files. After fixing your mirrorlist, reinstall pacman with pacman, using pacman -Sf pacman
    I identified some error keywords in the make output and thought the make had failed. but apparently I was wrong. As you said the make was succesful( sorry for noobish mistake). As to the pacman breakage, the problem was with two duplicate copies of  pacman in /usr/bin/pacman and  /usr/local/bin/pacman ! just removed /usr/local/bin/pacman and pacman got fixed...
    Anyway, Thank you all for your help.

  • [SOLVED] Can't build 'crystalhd-git' package

    Hi
    I've bought  Broadcom  BCM70012 Video Decoder [Crystal HD] today. I'm trying to compile driver for this device. I need to compile two packages.
    1. libcrystalhd-git
    2. crystalhd-git
    Libcrytstalhd-git compiles just fine, no errors. But I can't build the driver crystalhd-git . Here is the output :
    make -C /lib/modules/2.6.39-ARCH/build SUBDIRS=/tmp/yaourt-tmp-lukasz/aur-crystalhd-git/src/crystalhd/driver/linux modules
    make[1]: Wejście do katalogu `/usr/src/linux-2.6.39-ARCH'
    CC [M] /tmp/yaourt-tmp-lukasz/aur-crystalhd-git/src/crystalhd/driver/linux/crystalhd_lnx.o
    CC [M] /tmp/yaourt-tmp-lukasz/aur-crystalhd-git/src/crystalhd/driver/linux/crystalhd_misc.o
    CC [M] /tmp/yaourt-tmp-lukasz/aur-crystalhd-git/src/crystalhd/driver/linux/crystalhd_cmds.o
    CC [M] /tmp/yaourt-tmp-lukasz/aur-crystalhd-git/src/crystalhd/driver/linux/crystalhd_hw.o
    /tmp/yaourt-tmp-lukasz/aur-crystalhd-git/src/crystalhd/driver/linux/crystalhd_hw.c: In function ‘crystalhd_hw_post_tx’:
    /tmp/yaourt-tmp-lukasz/aur-crystalhd-git/src/crystalhd/driver/linux/crystalhd_hw.c:719:21: warning: variable ‘high_addr’ set but not used [-Wunused-but-set-variable]
    /tmp/yaourt-tmp-lukasz/aur-crystalhd-git/src/crystalhd/driver/linux/crystalhd_hw.c:719:11: warning: variable ‘low_addr’ set but not used [-Wunused-but-set-variable]
    CC [M] /tmp/yaourt-tmp-lukasz/aur-crystalhd-git/src/crystalhd/driver/linux/crystalhd_linkfuncs.o
    CC [M] /tmp/yaourt-tmp-lukasz/aur-crystalhd-git/src/crystalhd/driver/linux/crystalhd_fleafuncs.o
    /tmp/yaourt-tmp-lukasz/aur-crystalhd-git/src/crystalhd/driver/linux/crystalhd_fleafuncs.c: In function ‘crystalhd_flea_init_dram’:
    /tmp/yaourt-tmp-lukasz/aur-crystalhd-git/src/crystalhd/driver/linux/crystalhd_fleafuncs.c:171:42: warning: variable ‘sd_1_row_size’ set but not used [-Wunused-but-set-variable]
    /tmp/yaourt-tmp-lukasz/aur-crystalhd-git/src/crystalhd/driver/linux/crystalhd_fleafuncs.c:171:26: warning: variable ‘sd_1_bank_size’ set but not used [-Wunused-but-set-variable]
    /tmp/yaourt-tmp-lukasz/aur-crystalhd-git/src/crystalhd/driver/linux/crystalhd_fleafuncs.c:171:11: warning: variable ‘sd_1_col_size’ set but not used [-Wunused-but-set-variable]
    /tmp/yaourt-tmp-lukasz/aur-crystalhd-git/src/crystalhd/driver/linux/crystalhd_fleafuncs.c: In function ‘crystalhd_flea_set_power_state’:
    /tmp/yaourt-tmp-lukasz/aur-crystalhd-git/src/crystalhd/driver/linux/crystalhd_fleafuncs.c:847:12: warning: variable ‘sts’ set but not used [-Wunused-but-set-variable]
    CC [M] /tmp/yaourt-tmp-lukasz/aur-crystalhd-git/src/crystalhd/driver/linux/crystalhd_flea_ddr.o
    /tmp/yaourt-tmp-lukasz/aur-crystalhd-git/src/crystalhd/driver/linux/crystalhd_flea_ddr.c: In function ‘crystalhd_flea_ddr_pll_config’:
    /tmp/yaourt-tmp-lukasz/aur-crystalhd-git/src/crystalhd/driver/linux/crystalhd_flea_ddr.c:152:5: error: implicit declaration of function ‘msleep_interruptible’ [-Werror=implicit-function-declaration]
    /tmp/yaourt-tmp-lukasz/aur-crystalhd-git/src/crystalhd/driver/linux/crystalhd_flea_ddr.c: In function ‘crystalhd_flea_ddr_ctrl_init’:
    /tmp/yaourt-tmp-lukasz/aur-crystalhd-git/src/crystalhd/driver/linux/crystalhd_flea_ddr.c:324:10: warning: variable ‘DQ_IDLE_MODE’ set but not used [-Wunused-but-set-variable]
    /tmp/yaourt-tmp-lukasz/aur-crystalhd-git/src/crystalhd/driver/linux/crystalhd_flea_ddr.c:323:10: warning: variable ‘CTL_IDLE_MODE’ set but not used [-Wunused-but-set-variable]
    /tmp/yaourt-tmp-lukasz/aur-crystalhd-git/src/crystalhd/driver/linux/crystalhd_flea_ddr.c:322:10: warning: variable ‘DM_IDLE_MODE’ set but not used [-Wunused-but-set-variable]
    /tmp/yaourt-tmp-lukasz/aur-crystalhd-git/src/crystalhd/driver/linux/crystalhd_flea_ddr.c:320:10: warning: variable ‘DQ_WIDTH’ set but not used [-Wunused-but-set-variable]
    cc1: some warnings being treated as errors
    make[2]: *** [/tmp/yaourt-tmp-lukasz/aur-crystalhd-git/src/crystalhd/driver/linux/crystalhd_flea_ddr.o] Błąd 1
    make[1]: *** [_module_/tmp/yaourt-tmp-lukasz/aur-crystalhd-git/src/crystalhd/driver/linux] Błąd 2
    make[1]: Opuszczenie katalogu `/usr/src/linux-2.6.39-ARCH'
    make: *** [all] Błąd 2
    ==> BŁĄD: Wystąpił błąd w build().
    Przerywam...
    ==> ERROR: Makepkg was unable to build .
    ==> Restart building crystalhd-git ? [y/N]
    ==> --------------------------------------
    ==>
    Last edited by lgolebio (2011-06-29 06:01:46)

    Try replacing `sed -i 's/'-Werror'/''/g' Makefile` with `sed -i 's/-Werror/-Wno-error=implicit-function-declaration/g' Makefile` in the PKGBUILD. This won't fix the warning but the package should build.

  • [Solved] dvbcut compile problems - New PKGBUILD fix!

    Anyone using dvbcut? The aur version won't compile, nor the tar package version from sourceforge nor the svn version (170). It all seems to boil down to qt3/qt4 mismatches. I have both versions installed yet I get; configure: error: Qt library not found
    I even tried compiling the latest Ubuntu version with same results (desperation?)
    I know it's an old app but it did the job very well of editing mpg/m2t files. I do not like avidemux!
    Fedora and Ubuntu seem to have '-dev' packages which solves these kinds of problems. And hacking those libraries manually is too tricky to be worth it. Is there an Arch solution somewhere?
    Last edited by swanson (2011-09-25 14:49:02)

    Seems that this modified PKGBUILD works:
    # Contributor: sp42b <sp42b|a_t|gmx.net>
    # Contributor: AndyRTR <[email protected]>
    ## Contributor: swanson
    pkgname=dvbcut
    pkgver=0.6.2
    pkgrel=1
    pkgdesc="Qt3 application for cutting parts out of DVB streams"
    arch=('i686' 'x86_64')
    url="http://dvbcut.sourceforge.net/index.html"
    license="GPL"
    depends=('qt3' 'libao' 'libmad' 'a52dec')
    optdepends=('mplayer: for video playback inside of DVBCUT')
    source=(https://launchpad.net/~frafu/+archive/ppa/+files/dvbcut_0.6.2-0ppa%7Esvn178%7Enatty1.tar.gz)
    md5sums=('cc49cd50dd44184d3db6125297a92ab5')
    build() {
    cd ${srcdir}/dvbcut-0.6.2-0ppa~svn178~natty1
    msg "${srcdir}/dvbcut-0.6.2-0ppa~svn178~natty1"
    autoconf
    ./configure --prefix=/usr
    make
    install -Dm755 ${srcdir}/dvbcut-0.6.2-0ppa~svn178~natty1/bin/dvbcut ${pkgdir}/usr/bin/dvbcut
    install -Dm644 ${srcdir}/dvbcut-0.6.2-0ppa~svn178~natty1/dvbcut.1 ${pkgdir}/usr/share/man/man1/dvbcut.1
    install -Dm644 ${srcdir}/dvbcut-0.6.2-0ppa~svn178~natty1/dvbcut.desktop ${pkgdir}/usr/share/applications/dvbcut.desktop
    install -Dm644 ${srcdir}/dvbcut-0.6.2-0ppa~svn178~natty1/dvbcut.svg ${pkgdir}/usr/share/pixmaps/dvbcut.svg
    OK for the AUR?
    Last edited by swanson (2011-08-22 06:17:04)

Maybe you are looking for