• 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: mh_dylib_header question
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: mh_dylib_header question


  • Subject: Re: mh_dylib_header question
  • From: Dmitry Markman <email@hidden>
  • Date: Tue, 15 Feb 2005 20:42:40 -0500

Hi
I found my problem

I have to use _mh_bundle_header
not  _mh_dylib_header,
because I'm working with jnilib built as a bundle

so now everything is cool and I can find path to my jnilib

thanks anyway



On Feb 15, 2005, at 7:33 PM, Dmitry Markman wrote:

Hi
I'm trying to build some code with XCode but linker complains

here is my code:

      struct mach_header* header = &_mh_dylib_header;
cc is OK with that

ld: Undefined symbols:
__mh_dylib_header
...failed DynamicLibrary.LinkUsingFileList /Users/dima/Projects/JavaProjects/JNI/JNI_Example_Apple_PB/build/ libExample.jnilib ...


so what lib or framework I have to use
I tried few but no luck

thanks



Dmitry Markman

_______________________________________________
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


Dmitry Markman

_______________________________________________
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


References: 
 >mh_dylib_header question (From: Dmitry Markman <email@hidden>)

  • Prev by Date: mh_dylib_header question
  • Next by Date: Re: dependency analysis in XCode
  • Previous by thread: mh_dylib_header question
  • Next by thread: Re-Indexing for Find function (Xcode 1.5)
  • Index(es):
    • Date
    • Thread