This is the mail archive of the gcc@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

seekg(long long) vs seekg(long)


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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]