PDA

View Full Version : CocoaTech frameworks: linking with prebinding


chacko
Dec 17, 2004, 03:44 AM
Before I start describing my problem I'd like to thank you for releasing your frameworks as open source. They are really a wealth of functionality - especially regarding file handling!


I'm having problems building the CocoaTech frameworks in conjunction with the Omni frameworks regarding prebinding.

I use the following start adresses (-seg1addr):
OmniBase 0x30000000
OmniFoundation 0x30040000
OmniAppKit 0x313F0000

CocoaTechStrings 0x1FF00000
CocoaTechID3 0x22000000
CocoaTechBase 0x1A000000
CocoaTechFoundation 0x1D000000

While the adresses for the CocoaTech frameworks are already set in the Project Builder files, I got the adresses for the Omni frameworks using "otool" with the in PathFinder embedded versions of the Omni frameworks (e.g. otool -l OmniBase).

When compiling e.g. CocoaTechBase I got a linker message stating prebinding is not activated due to the OmniAppKit framework:
ld: warning prebinding disabled because dependent library: @executable_path/../Frameworks/OmniAppKit.framework/Versions/2004A/OmniAppKit is not prebound
But all Omni frameworks are prebound (I checked this with "otool -vh") and I'm sure CocoaTech links against the correct (prebound) versions of the Omni frameworks.

The Omni frameworks are from 2004-7-16 and I used the .pbproj project file (not the .xcode) for building. The "prebinding" flag is set and the start addresses are set as shown above.

I would appreciate any help solving this issue.

Thanks in advance,
Tjark