undefined reference problem
Brian Gough
bjg@network-theory.co.uk
Wed Jul 21 11:30:00 GMT 2004
Andre Kirchner <supercroc1974@yahoo.com> writes:
> What is this undefined reference to
> `__gxx_personality_v0, and how do I fix it?
> The following is the code of main.cpp, Connecot.h and
> Connector.cpp if it may help you to find the problem.
__gxx_personality_v0 is an internal symbol used by g++. It is defined
inside the C++ standard library libstdc++.
When you try to make an executable with 'gcc' it only links against
the standard C libraries (not libstdc++) so you have to have to use
g++ to link everything correctly for C++.
--
Brian Gough
Network Theory Ltd,
Publishing "An Introduction to GCC" --- http://www.network-theory.co.uk/
More information about the Gcc-help
mailing list