This is the mail archive of the
gcc-help@gcc.gnu.org
mailing list for the GCC project.
Can't Compile C++ Source File
- From: "Banks, David" <dav dot banks at wcom dot com>
- To: "'gcc-help at gcc dot gnu dot org'" <gcc-help at gcc dot gnu dot org>
- Date: Fri, 24 May 2002 10:44:23 -0400
- Subject: Can't Compile C++ Source File
Hi,
I'm using gcc install on a network Unix server and I believe the version
is 3.0.2 (from the man page). It seems to work fine until I try to use C++
keywords. When I compile files with C++ keywords I get a compile error that
looks like {some random output file}(.eh_frame+0x12): undefined reference to
'__gxx__personality_v0'.
The only reference I could find for this error was with Java but I tried
the fix anyway which was to add '#pragma GCC java_execeptions' but that just
change the error to 'gcj' instead of 'gxx'.
Any help with this would be greatly appreciated. THANKS!!!
Dav Banks