This is the mail archive of the
glibc-linux@ricardo.ecn.wfu.edu
mailing list for the glibc project.
Compiled it Ok, but now I get unreferenced symbols.
- To: glibc-linux at ricardo dot ecn dot wfu dot edu
- Subject: Compiled it Ok, but now I get unreferenced symbols.
- From: Robert Johannes <rjohanne at rjohanne-host dot dsl dot visi dot com>
- Date: Tue, 7 Dec 1999 23:10:53 -0600 (EST)
- Reply-To: glibc-linux at ricardo dot ecn dot wfu dot edu
Dear fellas,
I successfully compiled glibc 2.1.2 on a redhat 5.2 (glibc2.0.7), and
installed it in /usr/local, which is where my prefered compiler lives
also. Now I can't compile anything using that compiler. I can only
compile using the default /usr/bin/gcc.
When I try to compile a simple hello.c, I get an exit status of 1 from
ldd, which complains that:
-----------------------------------------------------------------------
/usr/local/lib/libc.so.6: undefined reference to
`_dl_sysdep_start@@GLIBC_2.0'
/usr/local/lib/libc.so.6: undefined reference to `_r_debug@@GLIBC_2.0'
/usr/local/lib/libc.so.6: undefined reference to
`_dl_starting_up@@GLIBC_2.0'
/usr/local/lib/libc.so.6: undefined reference to
`_dl_unload_cache@@GLIBC_2.1'
/usr/local/lib/libc.so.6: undefined reference to
`_dl_init_next@@GLIBC_2.0'
/usr/local/lib/libc.so.6: undefined reference to
`_dl_signal_error@@GLIBC_2.0'
------------------------------------------------------------------------
The last line reads "collect2: ld returned 1 exit status".
Any body know what could be the cause of this?
Thanks in advance
Robert