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

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


  • Follow-Ups:
    • Re: Unable to link universal binary
      • From: "Diederik Hoogenboom (Eetay)" <email@hidden>
  • Prev by Date: [SOLVED] Re: Setting the default font of an NSTextView...
  • Next by Date: Re: Setting the default font of an NSTextView...
  • Previous by thread: Re: Cocoa bindings performance
  • Next by thread: Re: Unable to link universal binary
  • Index(es):
    • Date
    • Thread