LinuxQuestions.org
Review your favorite Linux distribution.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Non-*NIX Forums > Programming
User Name
Password
Programming This forum is for all programming questions.
The question does not have to be directly related to Linux and any language is fair game.

Notices


Reply
  Search this Thread
Old 09-19-2009, 01:27 AM   #1
smeezekitty
Senior Member
 
Registered: Sep 2009
Location: Washington U.S.
Distribution: M$ Windows / Debian / Ubuntu / DSL / many others
Posts: 2,339

Rep: Reputation: 231Reputation: 231Reputation: 231
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
 
Old 09-19-2009, 01:47 AM   #2
Wim Sturkenboom
Senior Member
 
Registered: Jan 2005
Location: Roodepoort, South Africa
Distribution: Ubuntu 12.04, Antix19.3
Posts: 3,794

Rep: Reputation: 282Reputation: 282Reputation: 282
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.
 
Old 09-19-2009, 02:21 AM   #3
smeezekitty
Senior Member
 
Registered: Sep 2009
Location: Washington U.S.
Distribution: M$ Windows / Debian / Ubuntu / DSL / many others
Posts: 2,339

Original Poster
Rep: Reputation: 231Reputation: 231Reputation: 231
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!
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
c++ linker errors kpachopoulos Programming 3 01-22-2007 04:02 AM
ld linker errors Ankit mittal Programming 1 09-30-2005 03:05 PM
linker errors -please help MarcReing Programming 1 07-20-2005 07:44 AM
C++ - class template - linker errors? Wynd Programming 2 10-19-2004 03:54 PM
Linker errors daveyboy685 Linux - Software 1 03-25-2004 12:25 PM

LinuxQuestions.org > Forums > Non-*NIX Forums > Programming

All times are GMT -5. The time now is 03:33 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration