• 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: Unable to link universal binary
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Unable to link universal binary


  • Subject: Re: Unable to link universal binary
  • From: "Diederik Hoogenboom (Eetay)" <email@hidden>
  • Date: Sat, 8 Apr 2006 13:39:09 +0200

I was able to resolve the QT... symbols by adding the QuickTime Framework (in addition to the QTKit framework). Still no solution for resolving the PDF... symbols comming from the PDFKit API's.


Diederik


On 7-apr-2006, at 21:22, Diederik Hoogenboom (Eetay) wrote:

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

_______________________________________________ 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
  • Follow-Ups:
    • Re: Unable to link universal binary
      • From: "Adam R. Maxwell" <email@hidden>
References: 
 >Unable to link universal binary (From: "Diederik Hoogenboom (Eetay)" <email@hidden>)

  • Prev by Date: NSInvocation driving me nuts
  • Next by Date: Re: NSInvocation driving me nuts
  • Previous by thread: Unable to link universal binary
  • Next by thread: Re: Unable to link universal binary
  • Index(es):
    • Date
    • Thread