Linking Problem with 10.3.9 sdk
Linking Problem with 10.3.9 sdk
- Subject: Linking Problem with 10.3.9 sdk
- From: Sarah Carruthers <email@hidden>
- Date: Wed, 1 Feb 2006 10:53:19 -0800
Hey everyone,
I'm converting an existing Codewarrior project to XCode, ultimately to build a universal binary. We need to support 10.3 and later on the ppc. So, I've started with a working project that currently builds and links (using Codewarrior) and runs on 10.2.7 and later.
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 searched the archives, and found similar posts. But none of the suggested solutions seem to work for me. I've tried adding -lSystemStubs to the Other Linker Flags (and confirmed that it shows up on the command line when linking) with no luck. I can build and link successfully against the default system(10.4) using gcc 4.0, but I can't seem to link when using the 10.3.9 sdk with either gcc 3.3 or 4.0. Any help would be appreciated.
Sarah -- -- --
Sarah Carruthers Software Designer Acuma Labs Inc. Victoria, BC Canada (250) 382-7709 ext.24 |
_______________________________________________
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