This is the mail archive of the
libstdc++@sourceware.cygnus.com
mailing list for the libstdc++ project.
Re: Problems linking against libstdc++
- To: libstdc++@sourceware.cygnus.com
- Subject: Re: Problems linking against libstdc++
- From: Benjamin Kosnik <bkoz@cygnus.com>
- Date: Mon, 2 Aug 1999 10:53:26 -0700 (PDT)
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