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 `[EMAIL PROTECTED]'
/usr/i386-gnu/bin/ld: Warning: size of symbol `[EMAIL PROTECTED]' changed from
139 to 41 in /lib/libc.so.6 /lib/libc.so.6(.text+0x32270): multiple
definition of `[EMAIL PROTECTED]' /usr/i386-gnu/bin/ld: Warning: size of
symbol `[EMAIL PROTECTED]' changed from 364 to 338 in /lib/libc.so.6
/lib/libc.so.6(.rodata+0x58e0): multiple definition of `[EMAIL PROTECTED]'
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: [EMAIL PROTECTED] (preferred)
        [EMAIL PROTECTED]
        [EMAIL PROTECTED]
        [EMAIL PROTECTED] (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
---------------------------------------------------------------------------

_______________________________________________
Bug-hurd mailing list
[EMAIL PROTECTED]
http://mail.gnu.org/mailman/listinfo/bug-hurd

Reply via email to