Re: undefined reference problem

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

 



Andre Kirchner <supercroc1974@xxxxxxxxx> 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/

[Index of Archives]     [Linux C Programming]     [Linux Kernel]     [eCos]     [Fedora Development]     [Fedora Announce]     [Autoconf]     [The DWARVES Debugging Tools]     [Yosemite Campsites]     [Yosemite News]     [Linux GCC]

  Powered by Linux