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

Re: Weak linking for 10.2.8


  • Subject: Re: Weak linking for 10.2.8
  • From: Tommy Nordgren <email@hidden>
  • Date: Fri, 14 Oct 2005 22:32:04 +0200


Oct 14, 2005 kl. 10:08 PM skrev David Dunham:

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:
40chello.se


This email sent to email@hidden


You are probably trying to link against a library build with gcc/g++ 4.0 4.0 supports long doubles, 3.3 don't ------------------------------------- This sig is dedicated to the advancement of Nuclear Power Tommy Nordgren email@hidden



_______________________________________________
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


References: 
 >Weak linking for 10.2.8 (From: David Dunham <email@hidden>)

  • Prev by Date: Weak linking for 10.2.8
  • Next by Date: Re: Weak linking for 10.2.8
  • Previous by thread: Weak linking for 10.2.8
  • Next by thread: Re: Weak linking for 10.2.8
  • Index(es):
    • Date
    • Thread