Seting Library search path

Sören Jonsson sorjon02 at gmail.com
Thu Mar 6 09:28:42 CET 2014


Hello,

I am interested in L4 Fiasco as a virtualization environment. I am 
currently attempting to compile the L4 runtime environment, and I am 
getting the following error message:

    === Building package "bootstrap" ===
       ==> Linking bootstrap32.elf
    /usr/bin/ld: skipping incompatible
    /usr/lib/gcc/x86_64-linux-gnu/4.7/libgcc.a when searching for -lgcc
    /usr/bin/ld: cannot find -lgcc
    collect2: error: ld returned 1 exit status
    make[5]: *** [bootstrap32.elf] Error 1
    make[4]: ***
    [/home/osj/l4re/build/pkg/bootstrap/server/src/OBJ-amd64_amdfam10]
    Error 2
    make[3]: *** [src] Error 2
    make[2]: *** [server] Error 2
    make[1]: *** bootstrap] Error 2
    make: *** [pkg] Error 2


I have examined the problem, and can see that I have a library 
/usr/lib/gcc/x86_64-linux-gnu/4.7.2, as well as the 
/usr/lib/gcc/x86_64-linux-gnu/4.7.  Can the problem be that the linker 
is attempting to link to a dated version of the library, and what is the 
best way to resolve this problem?

Best regards,

Sören Jonsson
Sweden
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://os.inf.tu-dresden.de/pipermail/l4-hackers/attachments/20140306/1e958d3e/attachment.html>


More information about the l4-hackers mailing list