Red Hat Bugzilla – Bug 4569
Last modified: 2008-05-01 11:37:51 EDT
Linking a program under the version 6.0 causes messages:
ioinit.o(.text+0x1b2): undefined reference to `_IO_stdin_'
ioinit.o(.text+0x1bb): undefined reference to `_IO_stdout_'
ioinit.o(.text+0x245): undefined reference to `_IO_stdout_'
ioinit.o(.text+0x26d): undefined reference to `_IO_stderr_'
gcc version egcs-2.91.66 19990314/Linux (egcs-1.1.2
The problem does not exist under v 5.2.
Have the support libraries that you're linking against been
compiled against glibc2.0 or glibc2.1?
You can't link in object files compiled against glibc2.0 into
a glibc2.1 program - you'd need to use shared libraries.