HELP: Libc 5.4.44 undefined symbols

HELP: Libc 5.4.44 undefined symbols

Post by Martin Imris » Fri, 20 Feb 1998 04:00:00



I just downloaded the source to libc
5.4.44
and while it compiled ok, I keep getting these errors when I compile other
programs that link to the new libc:

/usr/lib/libc.so: undefined reference to `__stop___libc_subinit'
/usr/lib/libc.so: undefined reference to `__start___libc_subinit'

In fact as soon as the library gets installed, I keep getting the above
messages:
undefined reference to `__stop___libc_subinit'
undefined reference to `__start___libc_subinit'

and nothing works.  I have to reboot with an emergency diskette
and point the libc.so.5 symbolic link back to libc.so.5.4.38

I ran nm -n on the new libc
and I see the symbols for the said routines,

         U __start___libc_subinit
         U __stop___libc_subinit
00016ab0 ? _init
00019cd0 t __do_global_dtors_aux
00019cd0 t gcc2_compiled.
00019d00 t fini_dummy
00019d10 T __assert_perror_fail
00019db4 T __assert_fail
00019e50 t set_progname
00019e98 T setenv
[snip]

Any ideas what is wrong?  I compiled * sources that I got from
sunsite, followed the instructions, RTFMd, but I can't find a solution to
this.

PS.  I checked precompiled binaries, and these don't have the problem.
     I do have binutils-2.8.1.0.15 installed.

Martin


--
--------------------------------------------------------------
Martin Imrisek         "I've done . . . questionable things.

                          wouldn't let you into heaven for."