• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: pthread_cond_init$UNIX2003 not found on 10.4
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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
  • Follow-Ups:
    • Re: pthread_cond_init$UNIX2003 not found on 10.4
      • From: Peter O'Gorman <email@hidden>
References: 
 >pthread_cond_init$UNIX2003 not found on 10.4 (From: Stevo Brock <email@hidden>)

  • Prev by Date: Re: 10.2.8 and leopard
  • Next by Date: XCode 3.0 Find Menu comment and question
  • Previous by thread: pthread_cond_init$UNIX2003 not found on 10.4
  • Next by thread: Re: pthread_cond_init$UNIX2003 not found on 10.4
  • Index(es):
    • Date
    • Thread