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

Errors compiling glibc for cross-compilation



I have finally tired of compiling large programs (e.g. X-Windows) on
HURD due to performance issues (e.g. no UDMA, etc), so have bit the
bullet and moved to cross-compilation. However I am having issues
getting glibc to compile. I am roughly following the steps at
http://hurddocs.sourceforge.net/howto/cross.html with liberal adaptions
as desired. I have also tried following the steps literally with the
same results when I finally try to compile glibc. I would really
appreciate help on this, I'm getting quite tired of fooling with my
development tools and want to get back to work ;-) (error bellow)

I'm not 100% sure how to interpret the message, but it would appear that
glibc/elf/soinit.c isn't being linked into ld.so? I'm really not sure
what to think.

-Seth 

make[2]: Entering directory `/gnome-source/glibc-2.1.2/db2'
i586-pc-gnu-gcc -nostdlib -nostartfiles -o
/gnome-source/build.glibc/db2/makedb  -Wl,-dynamic-linker=/lib/ld.so.1  
/gnome-source/build.glibc/csu/crt1.o
/gnome-source/build.glibc/csu/crti.o `i586-pc-gnu-gcc
--print-file-name=crtbegin.o` /gnome-source/build.glibc/db2/makedb.o
/gnome-source/build.glibc/db2/libdb.so.3 
-Wl,-rpath-link=/gnome-source/build.glibc:/gnome-source/build.glibc/math:/gnome-source/build.glibc/elf:/gnome-source/build.glibc/nss:/gnome-source/build.glibc/nis:/gnome-source/build.glibc/db2:/gnome-source/build.glibc/rt:/gnome-source/build.glibc/resolv:/gnome-source/build.glibc/mach:/gnome-source/build.glibc/hurd
/gnome-source/build.glibc/libc.so.0.2
/gnome-source/build.glibc/libc_nonshared.a -lgcc `i586-pc-gnu-gcc
--print-file-name=crtend.o` /gnome-source/build.glibc/csu/crtn.o
/gnome-source/build.glibc/elf/ld.so.1: undefined reference to
`__libc_global_ctors'
collect2: ld returned 1 exit status



Reply to: