bug-hurd
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

cross compilation problems


From: Daniel E . Baumann
Subject: cross compilation problems
Date: Tue, 24 Oct 2000 21:18:26 -0500

I attempted to compile the HURD from CVS by doing the follwing:

CC=i386-gnu-gcc LD=i386-gnu-ld ./configure --build=i686-pc-linux-gnu 
--host=i386-gnu --prefix=/gnu

and I get linking errors:

/usr/i386-gnu/bin/ld: warning: libc.so.6, needed by
/usr/i386-gnu/lib/libutil.so, may conflict with libc.so.0.2
/lib/libc.so.6(.text+0x78c94): multiple definition of address@hidden'
/usr/i386-gnu/bin/ld: Warning: size of symbol address@hidden' changed from
139 to 41 in /lib/libc.so.6 /lib/libc.so.6(.text+0x32270): multiple
definition of address@hidden' /usr/i386-gnu/bin/ld: Warning: size of
symbol address@hidden' changed from 364 to 338 in /lib/libc.so.6
/lib/libc.so.6(.rodata+0x58e0): multiple definition of address@hidden'
collect2: ld returned 1 exit status make[1]: *** [getty] Error 1 make[1]:
Leaving directory `/home/baumannd/hurd/daemons' make: *** [daemons] Error 2  
              
it's trying to link with libc6 from Linux, which I
don't want it to do so what do I do? What is the proper way to cross compile?
I have the HURD partition mounted as /gnu under Linux and I have the
gcc-i386-gnu and mig-i386-gnu packages installed under Linux (Debian of
course :) ).

Dan
----------------------------------------------------------------------------
Daniel E. Baumann
E-mail: address@hidden (preferred)
        address@hidden
        address@hidden
        address@hidden (caution: dynamic DNS)

Web location:   http://www.msoe.edu/~baumannd
                http://www.linuxfreak.com/~baumannd 

"Life would be so much easier if we could just look at the source code." 

      -- Dave Olson

"...that as we enjoy great advantages from the inventions of others, we should
be glad of an opportunity to serve others by an invention of ours, and this we
should do freely and generously..."

     -- Benjamin Franklin
---------------------------------------------------------------------------



reply via email to

[Prev in Thread] Current Thread [Next in Thread]