__IO_stderr_ missing with dyn. lib 4.6.27 and gcc 2.6.2

__IO_stderr_ missing with dyn. lib 4.6.27 and gcc 2.6.2

Post by Michel Ande » Mon, 06 Feb 1995 21:09:13

ever since i installed libc4.6.27 and friends and upgraded gcc to 2.6.2,
the linker complains about the fact that __IO_stderr_ is referenced from
the text segment everytime i use stderr in my C-source. The same happens
for stdin and stdout, but only if i refer to those symbols explicitly, i.e.
fprintf(stderr,"fdytfdtf");  does give an error, whereas
printf("sssss");             does not.

The strange part is that this does NOT happen if i link statically.

I checked <stdio.h> and <libio.h> but to no avail, as should because it
seems to be a linker error: those __IO_stdxxx_ are external so they should
be in the libs or in cr0.o.

Does anyone have a clue?

Regards, Michel.


1. /lib/libc.so.4.5.26 and /lib/libc.so.4.6.27

: I recently upgraded to GCC 2.6.2 which requires the c library version
: 4.6.27.  So I installed this, and it stuck libc.so.4.6.27 in my /lib
: directory.  But libc.so.4.5.26 still exists there, and when I run gcc, it
: says 'using incompatible library 'lib/libc.so.4.5.26'.  I mistakenly
: removed 4.5.26 and had big problems.  So how do I tell gcc to recognize
: 4.6.27?, I must be missing a step.  (I just used pkgtool to load both gcc
: and the new libc (and libg++, include, image, and extralib).)  Anyway,
: any help would be appreciated.

I have the same problem but with 4.5.26. I run 4.4 now and have
installed all 4.5-files(I have copied all the files from a machine
with 4.5 from /lib). I have made the symlink libc.so.4 point to my new
library, but it still uses 4.4. Anyone?


2. newsgroup for DHCP

3. Firewall Probing system

4. ldconfig: warning: /lib/libc.so.4.6.27 is not a ZMAGIC file, skipping

5. Ditto 800 Parallel tape Drive

6. 4.6.27 libs: now login won't work!

7. this is a test

8. Help, installed 3.1.2b, now incompatible library error '.lib/libc.so.4.6.27'

9. help on upgrading GCC to 4.7.0 from 4.6.27

10. Recompiling gcc 2.6.2/libc 4.6.27

11. Help Upgrading to GCC 2.6.2/libc 4.6.27

12. Problems with gcc 2.6.3 and libc 4.6.27 (2nd post)