Re: Linking Problem with 10.3.9 sdk
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