• 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: Compilation leads to Undefined symbols of a nested static lib
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Compilation leads to Undefined symbols of a nested static lib


  • Subject: Re: Compilation leads to Undefined symbols of a nested static lib
  • From: Dmitry Markman <email@hidden>
  • Date: Sun, 16 Mar 2008 11:50:28 -0400

I hope solution for the
discussion for  CFBundleGetFunctionPointerForName will help you
namely use -all_load flag, when you link your final binary

 see also man page for the linker ld

 dm



On Mar 16, 2008, at 11:38 AM, Alfred Van Hoek wrote:

Have created a static lib (Carbon) that wraps calls into Cocoa, "libMycarboncocoa.a". This static lib is used by a carbon static lib, which is called "libMylib.a". When "MyFramework.bundle" is compiled, Xcode complains that there are undefined symbols when libMylib.a calls into libMycarboncocoa.a. Previously, when we did not use libMycarboncocoa.a, MyFramework.bundle compiled fine with libMylib.a.

Any suggestions?

Alfred
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Xcode-users mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden


_______________________________________________
Do not post admin requests to the list. They will be ignored.
Xcode-users mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden


  • Follow-Ups:
    • Re: Compilation leads to Undefined symbols of a nested static lib
      • From: Peter O'Gorman <email@hidden>
    • Re: Compilation leads to Undefined symbols of a nested static lib
      • From: Alfred Van Hoek <email@hidden>
References: 
 >Compilation leads to Undefined symbols of a nested static lib (From: Alfred Van Hoek <email@hidden>)

  • Prev by Date: Re: Compilation leads to Undefined symbols of a nested static lib
  • Next by Date: Re: Compilation leads to Undefined symbols of a nested static lib
  • Previous by thread: Re: Compilation leads to Undefined symbols of a nested static lib
  • Next by thread: Re: Compilation leads to Undefined symbols of a nested static lib
  • Index(es):
    • Date
    • Thread