From: The Wyvern (wyvern@gnu.ai.mit.edu)
Date: 12/31/92


From: wyvern@gnu.ai.mit.edu (The Wyvern)
Subject: libc.a errors with gcc 2.3.3
Date: Fri, 1 Jan 1993 01:39:16 GMT

I just installed gcc 2.3.3 (The 486 version) and everything seems
fine except for one problem. When I try to compile hello.c
with the -static option, I get these errors:

/usr/lib/libc.a(printf.o): Undefined symbol _stdout referenced from text segment
/usr/lib/libc.a(printf.o): Undefined symbol streambuf::vform(const char *, void *) refer
 *) referenced from text segment
/usr/lib/libc.a(atexit.o): Undefined symbol _malloc referenced from text segment
/usr/lib/libc.a(exit.o): Undefined symbol __cleanup referenced from text segment

This is using the lib486-4.2.TZ from tsx-11.mit.edu:/pub/linux/GCC/486
and 486 compiler. When linking with shared libs, jump or nojump, it works
fine. The problem seems to be only with the static version of 486 libc.
How can I fix this?

-->Configuration
i486-33 system
8mb RAM
200mb IDE HD
Linux 0.99.1, GCC 2.3.3-486
libc.so.4.2 compiled from jump-4.2.TZ sources

Also:
  Is it safe to delete /usr/lib/shlib/jump and nojump?
  I believe these are the gcc 2.2.2d directories for
  the jump libraries and have been replaced with
  lib*.ca and lib*.sa in /usr/lib. Is this correct?