[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

libstdc++ help

From: Krish
Subject: libstdc++ help
Date: 16 Nov 2001 15:11:18 -0800


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:
../libstdc++.a(stdstrbufs.o)(.data+ox210): first defined here

../libstdc++.a(stdstrbufs.o)(.data+oxac): undefined reference to

 ../libstdc++.a(stdstrbufs.o)(.data+ox15c): undefined reference to

../libstdc++.a(stdstrbufs.o)(.data+ox20c): undefined reference to

If I use -lpthread after -lstdc++ while linking, tstring works, but
tcomplex.cc fails at execution, generates the segmentation fault.

Any help?

reply via email to

[Prev in Thread] Current Thread [Next in Thread]