• 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: Weak link
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Weak link


  • Subject: Re: Weak link
  • From: Greg Guerin <email@hidden>
  • Date: Wed, 24 Oct 2007 13:19:02 -0700

Chen Wang wrote:

>Hi Greg, the project is built against to MacOSX10.2.8.sdk. I've also
>tried with 10.4u.sdk (for project and target), and keep
>MACOSX_DEPLOYMENT_TARGET=10.2, but I still get "Undefined symbols" link
>error in XCode. I think I just missed some basic issues.

You'll probably have to remove your extern of GetEventMonitorTarget(), and
rely on the one defined in the header from 10.4u.  If you have to extern a
symbol from the API yourself, then something is fundamentally wrong.  Refer
to the link from my earlier post:
  <http://lists.apple.com/archives/xcode-users/2007/Oct/msg00305.html>

When SDKROOT and MACOSX_DEPLOYMENT_TARGET are used properly, I've never
seen weak-link problems.

Also be sure to double-check the scope of your settings: there is a
hierarchy, and it's easy to have forgotten a setting made at one level that
overrides a setting at another level.

  -- GG


 _______________________________________________
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

  • Prev by Date: RE: Weak link
  • Next by Date: RE: Weak link [Solved]
  • Previous by thread: Re: Weak link
  • Next by thread: RE: Weak link
  • Index(es):
    • Date
    • Thread