This is the mail archive of the
libstdc++@gcc.gnu.org
mailing list for the libstdc++ project.
Re: Problem with istream.seekg() and __mbstate_t
- To: Craig Rodrigues <rodrigc at mediaone dot net>
- Subject: Re: Problem with istream.seekg() and __mbstate_t
- From: Alexandre Oliva <aoliva at redhat dot com>
- Date: 13 Feb 2001 01:04:20 -0200
- Cc: libstdc++ at gcc dot gnu dot org
- Organization: GCC Team, Red Hat
- References: <20010211225448.A26071@mediaone.net>
On Feb 12, 2001, Craig Rodrigues <rodrigc@mediaone.net> wrote:
> /tmp/ccx9JhBd.o: In function `seek(std::istream&)':
> /tmp/ccx9JhBd.o(.text+0x3c): undefined reference to `std::istream::seekg(std::fpos<__mbstate_t>)'
> collect2: ld returned 1 exit status
> Doing an nm on libstdc++.so.3, the closest symbol I could find was:
> 00053288 W std::istream::seekg(std::fpos<mbstate_t>)
Looks like a binary compatibility problem. Could it be that libstdc++
was built with an older version of glibc headers, that had mbstate_t
as a struct name, as opposed to a typedef to __mbstate_t?
--
Alexandre Oliva Enjoy Guarana', see http://www.ic.unicamp.br/~oliva/
Red Hat GCC Developer aoliva@{cygnus.com, redhat.com}
CS PhD student at IC-Unicamp oliva@{lsd.ic.unicamp.br, gnu.org}
Free Software Evangelist *Please* write to mailing lists, not to me