Undefined references during build of glibc-2.3.2

Anders Mörtsell anders.mortsell at pleon.sigma.se
Thu Jun 12 05:50:24 PDT 2003


Hi all!

I'm trying to build an LFS system on my laptop usinng Debian 3.0r0 as 
my base system. The only package I've upgraded with respect to what is 
found on the debian isos is the kernel version. I'm currently running 
version 2.4.20 of the kernel. Having said that about my base system, 
i.e., the system on which I'm building my LFS system I hope there's 
someone who has seen my proble before.

The problem is with glibc version 2.3.2. I've built exactly according 
to the instructions in the LFS-BOOK-CVS-2003-06-03 document. Everything 
seems to work well with the configure and the make steps, but when I 
run make check I get all the way through testing all the locales and so 
on, then I get the following errors and make exits:

make  -C stdlib tests
make[2]: Entering directory `/home/lfs/src/glibc-2.3.2/stdlib'
cd /home/lfs/src/glibc-build/stdlib && gcc -s -B/home/lfs/src/glibc-
build/ -O  -include ../config.h /home/lfs/src/glibc-
2.3.2/stdlib/isomac.c -o isomac
/tmp/cc3vGMCQ.o: In function `get_null_defines':
/tmp/cc3vGMCQ.o(.text+0x157): the use of `tmpnam' is dangerous, better 
use `mkstemp'
/home/lfs/src/glibc-build/libc.so: undefined reference to 
`_dl_lookup_versioned_symbol_skip at GLIBC_PRIVATE'
/home/lfs/src/glibc-build/libc.so: undefined reference to 
`_rtld_global at GLIBC_PRIVATE'
/home/lfs/src/glibc-build/libc.so: undefined reference to 
`_dl_lookup_versioned_symbol at GLIBC_PRIVATE'
/home/lfs/src/glibc-build/libc.so: undefined reference to 
`_dl_start_profile at GLIBC_PRIVATE'
/home/lfs/src/glibc-build/libc.so: undefined reference to 
`_dl_check_map_versions at GLIBC_PRIVATE'
/home/lfs/src/glibc-build/libc.so: undefined reference to 
`__libc_enable_secure at GLIBC_PRIVATE'
/home/lfs/src/glibc-build/libc.so: undefined reference to 
`_dl_get_origin at GLIBC_PRIVATE'
/home/lfs/src/glibc-build/libc.so: undefined reference to 
`_dl_dst_substitute at GLIBC_PRIVATE'
/home/lfs/src/glibc-build/libc.so: undefined reference to 
`_dl_debug_state at GLIBC_PRIVATE'
/home/lfs/src/glibc-build/libc.so: undefined reference to 
`_dl_init at GLIBC_PRIVATE'
/home/lfs/src/glibc-build/libc.so: undefined reference to 
`_dl_dst_count at GLIBC_PRIVATE'
/home/lfs/src/glibc-build/libc.so: undefined reference to 
`_dl_out_of_memory at GLIBC_PRIVATE'
/home/lfs/src/glibc-build/libc.so: undefined reference to 
`_dl_signal_error at GLIBC_PRIVATE'
/home/lfs/src/glibc-build/libc.so: undefined reference to 
`_dl_debug_printf at GLIBC_PRIVATE'
/home/lfs/src/glibc-build/libc.so: undefined reference to 
`_dl_map_object_deps at GLIBC_PRIVATE'
/home/lfs/src/glibc-build/libc.so: undefined reference to 
`_dl_unload_cache at GLIBC_PRIVATE'
/home/lfs/src/glibc-build/libc.so: undefined reference to 
`_dl_relocate_object at GLIBC_PRIVATE'
/home/lfs/src/glibc-build/libc.so: undefined reference to 
`__libc_stack_end at GLIBC_PRIVATE'
/home/lfs/src/glibc-build/libc.so: undefined reference to 
`_dl_argv at GLIBC_PRIVATE'
/home/lfs/src/glibc-build/libc.so: undefined reference to 
`_dl_catch_error at GLIBC_PRIVATE'
/home/lfs/src/glibc-build/libc.so: undefined reference to 
`_dl_lookup_symbol_skip at GLIBC_PRIVATE'
/home/lfs/src/glibc-build/libc.so: undefined reference to 
`_dl_lookup_symbol at GLIBC_PRIVATE'
/home/lfs/src/glibc-build/libc.so: undefined reference to 
`_dl_map_object at GLIBC_PRIVATE'
collect2: ld returned 1 exit status
make[2]: *** [/home/lfs/src/glibc-build/stdlib/isomac] Error 1
make[2]: Leaving directory `/home/lfs/src/glibc-2.3.2/stdlib'
make[1]: *** [stdlib/tests] Error 2
make[1]: Leaving directory `/home/lfs/src/glibc-2.3.2'
make: *** [check] Error 2


If anyone knows what's wrong I'd be very happy for your help.

regards
/ Anders
-- 
Unsubscribe: send email to listar at linuxfromscratch.org
and put 'unsubscribe lfs-dev' in the subject header of the message



More information about the lfs-dev mailing list