January 25, 2011
undefined reference to __gxx_personality_v0
When I try to compile c++ code with gcc I have error report undefined reference to __gxx_personality_v0. To solve this problem, you can choose the method :
- Compile your code with g++
- Add flag -lstdc++ at your command when compiling code.
- Add text void *__gxx_personality_v0; in your source code.
Source :
http://stackoverflow.com/questions/329059/what-is-gxx-personality-v0-for http://mail.gnome.org/archives/gtk-app-devel-list/2004-October/msg00207.html
One Comment
Your article helped me a lot, is there any more related content? Thanks! https://www.binance.bh/register?ref=GGYHGRE