libc confusion

David L. Oppenheimer (davido@cs.princeton.edu)
Mon, 11 Nov 1996 21:08:54 -0500


When I try to compile a program, I get

/usr/lib/libc.a(set-init.o): In function `__libc_init':
set-init.o(.text+0x1d): undefined reference to `__start___libc_subinit'
set-init.o(.text+0x23): undefined reference to `__stop___libc_subinit'
set-init.o(.text+0x2e): undefined reference to `__stop___libc_subinit'
set-init.o(.text+0x33): undefined reference to `__start___libc_subinit'
set-init.o(.text+0x52): undefined reference to `__start___libc_subinit'
set-init.o(.text+0x5c): undefined reference to `__start___libc_subinit'
set-init.o(.text+0x82): undefined reference to `__stop___libc_subinit'
set-init.o(.text+0xc4): undefined reference to `__stop___libc_subinit'
make: *** [scripts/mkdep] Error 1

I think I have somehow accidentally installed a version of libc incompatible
with other system files. Changing libc versions doesn't seem to have helped,
though. <sigh> Does anyone know what might be triggering these errors?

Thanks for any suggestions.