Re: pthread_cond_init$UNIX2003 not found on 10.4
Re: pthread_cond_init$UNIX2003 not found on 10.4
- Subject: Re: pthread_cond_init$UNIX2003 not found on 10.4
- From: Hugh Sontag <email@hidden>
- Date: Wed, 28 Nov 2007 11:32:37 -0600
From "cdefs.h":
* LEGACY Defining _NONSTD_SOURCE will get pre-POSIX APIs plus Apple
* API extensions in scope.
If you define _NONSTD_SOURCE in your prefix file I believe you'll get
an app that won't break on Tiger. I defined it as "1", but I believe
it doesn't matter what you use as the definition.
This is part of the 10.5 sdk, so any app that doesn't do this and
uses any UNIX api will probably not load on some Tiger systems,
whether it's built with Xcode 2.5 or Xcode 3.0.
For some reason, our app would work on some Tiger systems and not others.
Hugh Sontag
OK!
We recently upgraded our build environment to Xcode 3.0 / Leopard.
Now in running our apps on 10.4 we get a symbol not
found: pthread_cond_init$UNIX2003.
I've tracked this down to the fact
that __ENVIRONMENT_MAC_OS_X_VERSION_MIN_REQUIRED__ is not defined.
The notes in cdefs.h say that this is to be defined by the
compiler. What's the trigger for getting this to be defined? We
have MACOSX_DEPLOYMENT_TARGET_i386 set to 10.4
and MACOSX_DEPLOYMENT_TARGET_ppc set to 10.3.
-Stevo Brock
Head of Development
Monkey Tools, LLC
<http://www.monkey-tools.com>www.monkey-tools.com
_______________________________________________
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
_______________________________________________
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