• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: ___gxx_personality_v0 undefined
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: ___gxx_personality_v0 undefined


  • Subject: Re: ___gxx_personality_v0 undefined
  • From: "Stephen C. Gilardi" <email@hidden>
  • Date: Thu, 17 Oct 2002 14:40:00 -0400

Everything is nice and fine for the C and Objective-C case - compiles,
links, runs. When compiled as C++, I get the undefined symbol
"___gxx_personality_v0" from ld.

I had the same problem with some code I downloaded recently. When I googled it, I found a solution. There's a bit more information at "man gcc" as well.

In my case, I changed the "compiler" in the Makefile I had from "gcc" to "g++". The symbol that's missing appears to be one defined in the C++ runtime library. Compiling with "g++" includes the necessary library.

From the man page:

g++ is a program that calls GCC with the default language set to C++, and
automatically specifies linking against the C++ library.

I don't know specifically how to fix the problem you describe, but I'm hoping this gets you well along the way toward a solution.

--Squeegee
_______________________________________________
cocoa-dev mailing list | email@hidden
Help/Unsubscribe/Archives: http://www.lists.apple.com/mailman/listinfo/cocoa-dev
Do not post admin requests to the list. They will be ignored.

References: 
 >___gxx_personality_v0 undefined (From: Roland Besserer <email@hidden>)

  • Prev by Date: Re: Table View and Tool Tips
  • Next by Date: Parsing .vcf files
  • Previous by thread: ___gxx_personality_v0 undefined
  • Next by thread: Using GCC 3.3 with PB
  • Index(es):
    • Date
    • Thread