This is the mail archive of the glibc-linux@ricardo.ecn.wfu.edu mailing list for the glibc project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

Compiled it Ok, but now I get unreferenced symbols.


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



Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]