LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Programming (https://www.linuxquestions.org/questions/programming-9/)
-   -   cryptic linker error (i really dont like linker errors); (https://www.linuxquestions.org/questions/programming-9/cryptic-linker-error-i-really-dont-like-linker-errors-%3B-756326/)

smeezekitty 09-19-2009 01:27 AM

cryptic linker error (i really dont like linker errors);
 
ok i just wrote this 100 or so line program and gcc'd it
and i got this very very confusing linker error:
/tmp/cc9JFnci.o(.eh_frame+0x11): undefined reference to '__gxx_personality_v0'
collect2: ld returned 1 exit status
Please Wait...
root@box:/home#
take your time to awnser this but i need this; this week

Wim Sturkenboom 09-19-2009 01:47 AM

Looks like you've forgotten to link a library.

Search LQ for gxx_personality gives this

Google for gxx_personality undefined gives many links

e.g. http://gcc.gnu.org/ml/gcc-help/2007-05/msg00127.html

I'm not a C++ coder, but it seems to be related to C++. Therefore maybe g++ instead of gcc will do the trick.

smeezekitty 09-19-2009 02:21 AM

thank you so much Wim Sturkenboom
i just used G++ instead and that fixed the problem
now all i have to do is fix my program Grrrrr
i may be comming back for that
ok bye keep up the good help!


All times are GMT -5. The time now is 11:14 PM.