Re: Seting Library search path

Adam Lackorzynski <[email protected]>
Newsgroups gmane.comp.micro-kernel.l4.devel
Message-ID <[email protected]>
On Thu Mar 06, 2014 at 09:28:42 +0100, Sören Jonsson wrote:
> 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?

I think you need to install 32bit development parts of libgcc, so that
the 32bit part of bootstrap can be built.



Adam
-- 
Adam                 [email protected]
  Lackorzynski         http://os.inf.tu-dresden.de/~adam/
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.