Silently failure to link Good-looking dylib
Silently failure to link Good-looking dylib
- Subject: Silently failure to link Good-looking dylib
- From: Jerry Krinock <email@hidden>
- Date: Mon, 7 Feb 2011 05:34:08 -0800
Unfortunately, I need to build build a Mozilla component (dylib) which runs on ppc, i386 and x86_64. I'm doing lipo-suction on pre-built binaries they provide, building two versions of my component and then lipo-adding. It's still a mess, but easier I'm sure than building two versions of "the whole lizard".
Almost done, but now something really weird. In building my ppc dylib product, I need to link to three pre-built binaries:
libxpcomglue_s.a
libxpcom.dylib
libnspr4.dylib
Xcode allows me to add these three to my target (whose "Release" and "Debug" architectures are both "ppc" only). And the static library (.a) links OK. But the two dylibs have no checkbox for Target Membership.
When I build this, their symbols are missing and the build fails.
If I run the 'lipo -info' and 'nm' commands on these dylibs, they are said to be valid non-fat ppc binaries, containing many symbols, all as expected.
I don't get any warnings when adding them to the target, and no other linking errors other than the missing symbols. It just silently fails to link them.
How can I get my checkboxes?
Thanks,
Jerry Krinock
_______________________________________________
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