This is the mail archive of the libstdc++@sourceware.cygnus.com 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]

Re: Problems linking against libstdc++



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




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