• 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: Alfred Van Hoek <email@hidden>
  • Date: Sun, 16 Mar 2008 13:50:32 -0400


On Mar 16, 2008, at 12:37 PM, Dmitry Markman wrote:

BTW
in order to check existence of the symbol in your binary (bundle, framework, executable e.t.c.)
you can use nm tool (sorry you must do that from terminal :-) )


nm <path_to_your_liubrary> | grep <name_of_the_symbol_you_like_to_check>

please see man page of the nm to understand nm's output


Thank you.

First, all_load does not make a difference.
Second, the existence of symbols in <path_to_my_library> provides a capital T to _MyFirstFunction, and based on the man page for nm it is a text section symbol.


Third, it probably means that this lib is not correctly build, which means that the problem is not a true linking problem, but a problem I hope I can handle in "libMycarboncocoa.a" and the associated Xcode project.

Appreciate the help from all of you, and if there are additional suggestions, please fire it up.

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


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

  • Prev by Date: In gdb, virtual memory exhausted
  • 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