• 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: Cocoa Static Lib and Link Error
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Cocoa Static Lib and Link Error


  • Subject: Re: Cocoa Static Lib and Link Error
  • From: email@hidden
  • Date: Thu, 17 Jun 2010 17:53:21 -0600

More data on the question:

LibLicenseD.a(HTTP.o):
00000150 t -[HTTP download:didFailWithError:]
0000015e t -[HTTP downloadDidFinish:]
00000000 t -[HTTP initWithString:]
00000000 A .objc_class_name_HTTP
         U .objc_class_name_NSObject
         U .objc_class_name_NSURL
         U .objc_class_name_NSURLDownload
         U .objc_class_name_NSURLRequest
000014d0 s EH_frame1
00000000 a _-[HTTP download:didFailWithError:].eh
00000000 a _-[HTTP downloadDidFinish:].eh
000014ec s _-[HTTP initWithString:].eh
         U ___CFConstantStringClassReference
         U ___gxx_personality_v0
         U _objc_msgSend
         U _objc_msgSendSuper

LibLicenseD.a(License.o):
0000000e T __ZN7LicenseC1Ev
00000000 A __ZN7LicenseC1Ev.eh
00000000 T __ZN7LicenseC2Ev
00000000 A __ZN7LicenseC2Ev.eh
0000002a T __ZN7LicenseD1Ev
00000000 A __ZN7LicenseD1Ev.eh
0000001c T __ZN7LicenseD2Ev
00000000 A __ZN7LicenseD2Ev.eh


I see

 U ___gxx_personality_v0


So I guess the question is where does this symbol live?

-koko



On Jun 17, 2010, at 5:45 PM, email@hidden wrote:

I have built a Cocoa Static Lib from the Xcode template.

To test the Lib I have a Cocoa App that links with the LIb.

When building the Cocoa App I get this link error:

 "___gxx_personality_v0", referenced from:
  ___gxx_personality_v0$non_lazy_ptr in LibLicenseD.a(HTTP.o)
	ld: symbol(s) not found


HTTP is an Cocoa Class in the LIb. The LIb also has a CPP Class.

From where do I get the missing symbol?

-koko
_______________________________________________

Cocoa-dev mailing list (email@hidden)

Please do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com

Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden


_______________________________________________

Cocoa-dev mailing list (email@hidden)

Please do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com

Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden


References: 
 >Cocoa Static Lib and Link Error (From: email@hidden)

  • Prev by Date: Re: Cocoa Static Lib and Link Error
  • Next by Date: Re: Cocoa Static Lib and Link Error
  • Previous by thread: Re: Cocoa Static Lib and Link Error
  • Next by thread: Pushing to the left (Navigation Controllers)
  • Index(es):
    • Date
    • Thread