This is the mail archive of the
gcc-help@gcc.gnu.org
mailing list for the GCC project.
GCC:: __gxx_personality_v0 problem
- From: Lindsay Braine <lindsay dot braine at netengines dot com>
- To: gcc-help at gcc dot gnu dot org
- Date: Tue, 02 Jul 2002 17:08:14 +0100
- Subject: GCC:: __gxx_personality_v0 problem
Dear Mailing List,
I am trying to use gcc to compile a simple .cxx file, but am getting the
following error 'symbol __gxx_personality_v0: referenced symbol not
found' when I try and use the created shared object. Can anyone provide
some insight into why this might be occuring (looking at web search
engines has revealed that it might be a configuration problem with
previously installed versions of gcc clashing - but I have never had
another version other that the one I am using!)
I am using GCC version 3.1
I am on Sun Solaris 8
Configuration information is :
->gcc -v
Reading specs from /usr/local/lib/gcc-lib/sparc-sun-solaris2.8/3.1/specs
Configured with: ../configure --with-as=/usr/ccs/bin/as
--with-ld=/usr/ccs/bin/ld --disable-nls
Thread model: posix
gcc version 3.1
and my compilation command file reads :
echo "Compiling C Wrapper Code"
g++ -fPIC -c -I/usr/java1.2/include -I/usr/java1.2/include/solaris
-I/space/otherlibs/libs service_wrap.cxx
echo "Linking C Wrapper Code"
ld -G -o libservice_wrap.so service_wrap.o functionslib.o
Any help/pointers/answers would be gratefully recieved.
Best Regards,
Lindsay.