Re: Problem making universal binary
Re: Problem making universal binary
- Subject: Re: Problem making universal binary
- From: Jean-Daniel Dupas <email@hidden>
- Date: Wed, 5 Mar 2008 10:52:49 +0100
Le 5 mars 08 à 08:45, Keith Wiley a écrit :
In the project settings, general tab, I have selected the 10.4
(Universal) SDK. This is confirmed in the Base SDK Path build
setting. When I build I get linker unknown symbol errors to three
functions: fcntl, open, and strtod. I see the calls to these
functions in the code and files are including system headers that
make sense in context, such as <fcntl.h>, which in turn includes
<sys/fcntl.h>. Both of these files are definitely in the 10.4 SDK.
I see them. Presumably the object files they go with are in there
too...somewhere.
...so why am I getting an unknown symbol error? Do I need to add
some Framework to get access to the 10.4 SDK even after specifying
it in the project/general settings?
Thanks.
It look like you 're trying to link object compiled using 10.5 SDK on
10.4 libraries.
fcntl, open and strtod are all defined with the __DARWIN_ALIAS_C macro
in Leopard and so have a different signature if you use 10.5 headers
with min-version=10.5.
Try to clean you project (Build Menu > Clean) and if it's not enough,
posting your build transcript may help us to find the problem (you can
find it in the Build window).
_______________________________________________
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