This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
seekg(long long) vs seekg(long)
- To: egcs at egcs dot cygnus dot com
- Subject: seekg(long long) vs seekg(long)
- From: Alexandre Hoflack <ahoflack at mailserv dot geomath dot fr>
- Date: Tue, 28 Sep 1999 13:02:20 +0200
Dear maintainers,
I have some troubles with
gcc version egcs-2.91.60 19981201 (egcs-1.1.1 release)
or
gcc version egcs-2.91.66 19990314/Linux (egcs-1.1.2 release)
in the libstdc++.a
I try to link my application with a commercial static library compiled
with egcs-1.1.1
these errors messages arose:
bmpio.o(.text+0x951): undefined reference to `istream::seekg(long)'
and
/usersgeo/soft1/ilog/views31/lib/i86_linux2.0_egcs1.1/static_pic/libxviews.a(iurlstr.o)(.data+0x68):
undefined reference to `streambuf::seekpos(long, int)'
So, I look for in libstdc++.a
with nm libstdc++.a | grep seekg | c++filt command
--> 00000380 T istream::seekg(long long)
--> 000003c0 T istream::seekg(long long, ios::seek_dir)
it seemes to be an argument declaration mistake (long long vs long)
How can i resolve this pb.
Is it a fixed bug and where is patch?
Thx in advance
--
~ Alexandre HOFLACK - Ing.Dev. GEOMATH
~ Tel : 01 47 08 80 12 INSTITUT FRANCAIS DU PETROLE
~ Fax : 01 47 08 82 48 232, avenue Napoleon Bonaparte
~ Email : ahoflack@geomath.fr 92500 Rueil-Malmaison