• 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: Re: Link-Error XCode 3.0: -init can only be used with -dynamiclib
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Re: Link-Error XCode 3.0: -init can only be used with -dynamiclib


  • Subject: Re: Re: Link-Error XCode 3.0: -init can only be used with -dynamiclib
  • From: Martin Baumgärtner <email@hidden>
  • Date: Mon, 14 Apr 2008 18:56:46 +0200

Hello Chris,

after having set the lib type to bundle I got the following linking error:

    mkdir "/develop/version.31/src/FILTERS/XGate/XGateSrc/Depot/XG30/Mak/MWERKS/build/Imported CodeWarrior Settings/X-Gate 70 Mac Euro.xnt/Contents/MacOS"
    cd /develop/version.31/src/FILTERS/XGate/XGateSrc/Depot/XG30/Mak/MWERKS
    /Developer/usr/bin/g++-4.0 -o "/develop/version.31/src/FILTERS/XGate/XGateSrc/Depot/XG30/Mak/MWERKS/build/Imported CodeWarrior Settings/X-Gate 70 Mac Euro.xnt/Contents/MacOS/X-Gate 70 Mac Euro" "-L/develop/version.31/src/FILTERS/XGate/XGateSrc/Depot/XG30/Mak/MWERKS/build/Imported CodeWarrior Settings" -L../../../QuarkSDK/XDK7.2/XTHeaders -L/Developer/SDKs/MacOSX10.4u.sdk/usr/lib "-F/develop/version.31/src/FILTERS/XGate/XGateSrc/Depot/XG30/Mak/MWERKS/build/Imported CodeWarrior Settings" -filelist "/develop/version.31/src/FILTERS/XGate/XGateSrc/Depot/XG30/Mak/MWERKS/build/X-Gate 70 MAC.build/Imported CodeWarrior Settings/Passport Mach-O Debug.build/Objects-normal/i386/X-Gate 70 Mac Euro.LinkFileList" -framework Carbon -framework CoreFoundation -lXP_XTEMAC7.XC -arch i386 -init _XTActivateCallback -bundle -mmacosx-version-min=10.4 -isysroot /Developer/SDKs/MacOSX10.4u.sdk
ld: -init can only be used with -dynamiclib
collect2: ld returned 1 exit status

Using the same settings the project builds with Xcode 2.4.1, and there is nothing blamed to be inconsistent concerning "-init" when linking. What could be the reason for this behaviour?

Martin
 _______________________________________________
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

  • Prev by Date: Re: What causes the main window to open?
  • Next by Date: PKG question
  • Previous by thread: Re: Link-Error XCode 3.0: -init can only be used with -dynamiclib
  • Next by thread: namespaces and code browsing
  • Index(es):
    • Date
    • Thread