This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
Re: egcs-19980517, i586-linux-gnu: Trouble with _IO_getline_info
- To: egcs-bugs at cygnus dot com
- Subject: Re: egcs-19980517, i586-linux-gnu: Trouble with _IO_getline_info
- From: Ulrich Drepper <drepper at cygnus dot com>
- Date: 01 Jun 1998 15:08:21 -0700
- Newsgroups: cygnus.egcs.bugs
- Organization: Cygnus Solutions
- References: <199805290317.XAA16697.cygnus.egcs.bugs@sleipnir.valparaiso.cl>
- Reply-To: drepper at cygnus dot com (Ulrich Drepper)
vonbrand@sleipnir.valparaiso.cl (Horst von Brand) writes:
> [root@sleipnir /tmp]# c++ hello.cc
> /usr/lib/libstdc++.so: undefined reference to `_IO_getline_info@@GLIBC_2.1'
> collect2: ld returned 1 exit status
Take a look at the libraries c++ used to link. If the libstdc++ is
created by linking against glibc 2.1 so must all binaries using this
libstdc++.
-- Uli
---------------. drepper at gnu.org ,-. 1325 Chesapeake Terrace
Ulrich Drepper \ ,-------------------' \ Sunnyvale, CA 94089 USA
Cygnus Solutions `--' drepper at cygnus.com `------------------------