Well, i'm sending mail to this list because GNATS at GNU website is
"Out of Order", i couldn't find information about this problem searching
through the net, i already looked at the FAQ that comes with the package
dozens of times, i already reinstalled binutils, ld.so, and egcs too, and, i'm
a little "green" with C programming. *<8-)
I guess this problem is related to ld.so, but i'm not really sure.
The problem: while compiling glibc-2.1 i got this "undefined
symbol" error:
make[1]: Entering directory `/root/glibc-2.1/sunrpc'
../elf/ld-linux.so.2 --library-path
..:../math:../elf:../nss:../nis:../db2:../rt:../resolv:../linuxthreads ./rpcgen
-Y `gcc -print-file-name=cpp | sed "s|/cpp$||"` \
-c rpcsvc/bootparam.x -o xbootparam.T
./rpcgen: /lib/libc.so.6: no version information available (required by
./rpcgen)
./rpcgen: /lib/libc.so.6: no version information available (required by
./rpcgen)
./rpcgen: error in loading shared libraries: /lib/libc.so.6: undefined symbol:
_dl_global_scope_end
make[1]: *** [xbootparam.stmp] Error 127
make[1]: Leaving directory `/root/glibc-2.1/sunrpc'
make: *** [sunrpc/others] Error 2
The situation: upgrading from glibc-2.0.6.
The tools present (well, the last set tried! :^)): egcs-1.1.2 release,
binutils-2.9.1.0.19, ld.so-1.9.9, glibc-2.0.6
Fragment from "nm" output:
U _dl_check_all_versions@@GLIBC_2.0
000d218c T _dl_close
U _dl_debug_impcalls@@GLIBC_2.0
U _dl_debug_initialize@@GLIBC_2.0
U _dl_debug_message@@GLIBC_2.0
U _dl_debug_state@@GLIBC_2.0
U _dl_fpu_control@@GLIBC_2.1
U _dl_global_scope_alloc@@GLIBC_2.1
U _dl_init_next@@GLIBC_2.0
U _dl_initial_searchlist@@GLIBC_2.1
000e3268 d _dl_load_lock
U _dl_loaded@@GLIBC_2.1
U _dl_lookup_symbol@@GLIBC_2.0
U _dl_main_searchlist@@GLIBC_2.1
As you see, lots of UNDEFINED symbols...