• 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: Linking Problem with 10.3.9 sdk
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Linking Problem with 10.3.9 sdk


  • Subject: Re: Linking Problem with 10.3.9 sdk
  • From: Sarah Carruthers <email@hidden>
  • Date: Wed, 1 Feb 2006 16:05:17 -0800

Thanks Eric,

I have partly solved this problem:
I recompiled zlib and libpng with gcc 4.0, and successfully built and linked my plugin with the 10.3.9sdk. However, my plugin (a vst audio plugin) now fails to load. As an experiment, I tried building it against the 10.2 sdk using gcc 3.3 (and zlib and libpng that are also built with gcc 3.3). And it loads successfully.
Is it possible that somehow the entry point of my plugin is being mangled when built with gcc 4.0?


Sarah
-- -- --


Sarah Carruthers
Software Designer
Acuma Labs Inc.
Victoria, BC Canada
(250) 382-7709 ext.24
email:  email@hidden


On 1-Feb-06, at 3:29 PM, E. Wing wrote:

From: Sarah Carruthers
I'm trying to build project using XCode 2.2, and I'm running into the following link
error:
ld: Undefined symbols:
_sprintf$LDBLStub
_fprintf$LDBLStub

I'm building against the 10.3.9 sdk (chosen in the project inspector), using gcc 3.3
to compile. My system is running 10.4.4. In case it matters, I'm linking with libpng
and zlib.

I've encountered similar issues before. My suspicion is that your dependencies were compiled with gcc 4.0 and not 3.3 which could cause this problem. You should make sure libpng and zlib are compiled with gcc 3.3 like everything else. I think zlib is supplied by Apple so if you use their version from the 10.3.9 SDK, you will probably be okay. But I think libpng is not supplied by Apple so you have to make sure you compiled this correctly.

-Eric
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Xcode-users mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
40acumalabs.com


This email sent to 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
  • Follow-Ups:
    • Re: Linking Problem with 10.3.9 sdk
      • From: Chris Espinosa <email@hidden>
References: 
 >Re: Linking Problem with 10.3.9 sdk (From: "E. Wing" <email@hidden>)

  • Prev by Date: Re: Linking Problem with 10.3.9 sdk
  • Next by Date: Re: Linking Problem with 10.3.9 sdk
  • Previous by thread: Re: Linking Problem with 10.3.9 sdk
  • Next by thread: Re: Linking Problem with 10.3.9 sdk
  • Index(es):
    • Date
    • Thread