Unable to link universal binary
Unable to link universal binary
- Subject: Unable to link universal binary
- From: "Diederik Hoogenboom (Eetay)" <email@hidden>
- Date: Fri, 7 Apr 2006 21:22:10 +0200
I am trying to build a Release target (Universal Binary) for an app
I'm developing. The Debug configuration works fine, but that no
surprise with zero-link on. when I build under the Release
configuration I get the following error:
Checking Dependencies
Ld "/Users/Diederik/Documents/Programming Projects/DiskLibrary/build/
DiskLibrary.build/Release/DiskLibrary.build/Objects-normal/ppc/
DiskLibrary" normal ppc
cd "/Users/Diederik/Documents/Programming Projects/DiskLibrary"
/usr/bin/gcc-4.0 -o /Users/Diederik/Documents/Programming\
Projects/DiskLibrary/build/DiskLibrary.build/Release/
DiskLibrary.build/Objects-normal/ppc/DiskLibrary -L/Users/Diederik/
Documents/Programming\ Projects/DiskLibrary/build/Release -F/Users/
Diederik/Documents/Programming\ Projects/DiskLibrary/build/Release -
filelist /Users/Diederik/Documents/Programming\ Projects/DiskLibrary/
build/DiskLibrary.build/Release/DiskLibrary.build/Objects-normal/ppc/
DiskLibrary.LinkFileList -framework Cocoa -framework QuartzCore -
framework IOKit -framework Quartz -framework QTKit -arch ppc -prebind
-mmacosx-version-min=10.4 -lz -isysroot /Developer/SDKs/MacOSX10.4u.sdk
/usr/bin/ld: warning -prebind ignored because
MACOSX_DEPLOYMENT_TARGET environment variable greater or equal to 10.4
/usr/bin/ld: Undefined symbols:
_PDFDocumentAuthorAttribute
_PDFDocumentCreationDateAttribute
_PDFDocumentCreatorAttribute
_PDFDocumentKeywordsAttribute
_PDFDocumentModificationDateAttribute
_PDFDocumentProducerAttribute
_PDFDocumentSubjectAttribute
_PDFDocumentTitleAttribute
_QTCopyMovieMetaData
_QTMetaDataGetItemProperty
_QTMetaDataGetItemValue
_QTMetaDataGetNextItem
_QTMetaDataRelease
collect2: ld returned 1 exit status
The PDF... should be resolved by including <Quartz/Quartz.h> (PDFKit
is included in Quartz), the QT.. symbols should be resolved by
including <QTKit/QTMovie.h>. As you can see the Quartz and QTKit
frameworks are included when the linker is called.
I am a little puzzled by the prebind warning as well.
Can anybody tell me what I have missed?
Diederik
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Cocoa-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden