Mailing Lists: Apple Mailing Lists

Image of Mac OS face in stamp
 
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Linking Problem with 10.3.9 sdk



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:
http://lists.apple.com/mailman/options/xcode-users/email@hidden

This email sent to email@hidden



Visit the Apple Store online or at retail locations.
1-800-MY-APPLE

Contact Apple | Terms of Use | Privacy Policy

Copyright © 2007 Apple Inc. All rights reserved.