This is the mail archive of the
glibc-linux@ricardo.ecn.wfu.edu
mailing list for the glibc project.
Re: Compiled it Ok, but now I get unreferenced symbols.
- To: Robert Johannes <rjohanne at rjohanne-host dot dsl dot visi dot com>
- Subject: Re: Compiled it Ok, but now I get unreferenced symbols.
- From: Andreas Jaeger <aj at suse dot de>
- Date: 08 Dec 1999 08:36:55 +0100
- Cc: glibc-linux at ricardo dot ecn dot wfu dot edu
- References: <Pine.LNX.4.04.9912072303070.5113-100000@akoli.agule.net>
- Reply-To: glibc-linux at ricardo dot ecn dot wfu dot edu
>>>>> Robert Johannes writes:
> 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?
Yes.
Read the FAQ.
Andreas
--
Andreas Jaeger
SuSE Labs aj@suse.de
private aj@arthur.rhein-neckar.de