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


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

std::basic_stringbuf problems


Hello,

I am getting the following linker error with
several recent gcc-3.0pre snapshots:

debug/wsx86/PortNetworkStackInterface.o: In function
`std::exception::exception(std::exception const&)': 
/usr/local/x86/include/g++-v3/bits/stl_iterator_base.h(.gnu.linkonce.d._ZTVSt15bas 
ic_stringbufIcSt11char_traitsIcESaIcEE+0x1c): undefined reference to
`std::basic_s 
tringbuf<char, std::char_traits<char>, std::allocator<char>
>::seekpos(std::fpos<_ 
_mbstate_t>, std::_Ios_Openmode)' 
collect2: ld returned 1 exit status 

nick-linux:/swoon/d/Source/linux/port/user# /usr/local/x86/bin/gcc -v 
Reading specs from
/usr/local/x86/lib/gcc-lib/i686-pc-linux-gnu/3.0/specs 
Configured with: ../gcc/configure --prefix=/usr/local/x86
--enable-languages=c,c++ 
gcc version 3.0 20010424 (prerelease) 

A CVS gcc-3.0pre from today (20010426) generates
the same error.

I suspect this may be a problem with the STL... 
Unfortunately, I can't release the code that
causes this error because of our NDA :( If it
is indeed an STL problem, I will try to write
a small, releasable snippet which reproduces 
the same message.

Does anyone know what's going on here? Or is
this likely just a bug in our code?

Regards,

Bryan

-- 
Bryan Rittmeyer
mailto:bryan@ixiacom.com
Ixia Communications
26601 W. Agoura Rd.
Calabasas, CA 91302


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