This is the mail archive of the
gcc-help@gcc.gnu.org
mailing list for the GCC project.
libstdc++ help
- From: "krish K" <kri1233 at rediffmail dot com>
- To: gcc-help at gcc dot gnu dot org
- Date: 20 Nov 2001 00:17:17 -0000
- Subject: libstdc++ help
- Reply-to: "krish K" <kri1233 at rediffmail dot com>
Hi,
I build libstdc++ for am33 platform on linux 6.2.
When I run the tests, everything works fine except tstring.cc with the following linking options:
my-target-gcc -g -02 -fvtable-thunks -D_GNU_SOURCE -o tstring tstring.o -L../../../../usr/lib -lpthread -L.. -lstdc++
it generates the following errors:
../../lib/libc.a(stdfiles.o)(.data+ox210): multiple definition of '_IO_list_all'
../libstdc++.a(stdstrbufs.o)(.data+ox210): first defined here
../libstdc++.a(stdstrbufs.o)(.data+oxac): undefined reference to '_vt_7filebuf'
../libstdc++.a(stdstrbufs.o)(.data+ox15c): undefined reference to '_vt_7filebuf'
../libstdc++.a(stdstrbufs.o)(.data+ox20c): undefined reference to '_vt_7filebuf'
Any help?