Problems linking against libstdc++

Benjamin Kosnik bkoz@cygnus.com
Mon Aug 2 10:54:00 GMT 1999


Looks like libmico2.2.7 is being linked against libstdc++-v2, not v-3. I
get this from these undefined symbols, which are not in v-3:

/usr/lib/libmico2.2.7.so: undefined reference to `strstreambuf::str(void)'
/usr/lib/libmico2.2.7.so: undefined reference to `strstreambuf virtual
table'
/usr/lib/libmico2.2.7.so: undefined reference to `strstreambase::ios
virtual table'

These have been renamed to stringstream and basic_strinbuf. Anyway. Make
sure you explcitly include a -L path to the built v-3 library, as invoking
g++ will automatically link in a stdc++ library. 

Again, what you are attempting is probably premature.

-Benjamin





More information about the Libstdc++ mailing list