• 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
Weak linking for 10.2.8
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Weak linking for 10.2.8


  • Subject: Weak linking for 10.2.8
  • From: David Dunham <email@hidden>
  • Date: Fri, 14 Oct 2005 13:08:48 -0700

I want my app to run on 10.2.8, and apparently this means I have to remove the frameworks from the project and replace them with Other Linker Flags of
-weak_framework Carbon -weak_framework SystemConfiguration


After working around what I recall is a known bug (remove the \ that gets added), my project which used to link now has errors:

Ld /Volumes/david-3/GameHouse/Acropolis/build/Debug/Acropolis-D.app/Contents/MacOS/Acropolis-D normal ppc
mkdir /Volumes/david-3/GameHouse/Acropolis/build/Debug/Acropolis-D.app/Contents/MacOS
cd /Volumes/david-3/GameHouse/Acropolis
setenv MACOSX_DEPLOYMENT_TARGET 10.2
setenv NEXT_ROOT /Developer/SDKs/MacOSX10.2.8.sdk
/usr/bin/g++-3.3 -o /Volumes/david-3/GameHouse/Acropolis/build/Debug/Acropolis-D.app/Contents/MacOS/Acropolis-D -L/Volumes/david-3/GameHouse/Acropolis/build/Debug -L/Volumes/david-3/GameHouse/Acropolis/../mac/fmodsrc374mac/build/Release -L/Volumes/david-3/GameHouse/Acropolis/../image/build/Release -L/Volumes/david-3/GameHouse/Acropolis/../libpng/build/Release -L/Volumes/david-3/GameHouse/Acropolis/../zlib/build/Release -L/Developer/SDKs/MacOSX10.2.8.sdk/usr/lib/gcc/darwin/3.3 -F/Volumes/david-3/GameHouse/Acropolis/build/Debug -filelist /Volumes/david-3/GameHouse/Acropolis/build/Acropolis.build/Debug/Acropolis.build/Objects-normal/ppc/Acropolis-D.LinkFileList -lfmod -lpng -limage -lzlib -arch ppc -Wl,-dead_strip -weak_framework Carbon -weak_framework SystemConfiguration -Wl,-syslibroot,/Developer/SDKs/MacOSX10.2.8.sdk
ld: Undefined symbols:
_sprintf$LDBL128
_vsnprintf$LDBL128
_atanf
_fprintf$LDBL128
_sscanf$LDBL128


I'm not using long double anywhere in my code that I'm aware of (though it could be in some of my libraries). Where do I pick up these symbols?
--


David Dunham     A Sharp, LLC
Voice/Fax: 206 783 7404     http://a-sharp.com
Efficiency is intelligent laziness.
_______________________________________________
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


  • Follow-Ups:
    • Re: Weak linking for 10.2.8
      • From: Matt DeFoor <email@hidden>
    • Re: Weak linking for 10.2.8
      • From: Tommy Nordgren <email@hidden>
  • Prev by Date: Re: 10.2.8 SDK won't compile <Carbon/Carbon.h>
  • Next by Date: Re: Weak linking for 10.2.8
  • Previous by thread: Re: 10.2.8 SDK won't compile <Carbon/Carbon.h>
  • Next by thread: Re: Weak linking for 10.2.8
  • Index(es):
    • Date
    • Thread