• 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
SCNetworkCheckReachabilityByName causing link errors
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

SCNetworkCheckReachabilityByName causing link errors


  • Subject: SCNetworkCheckReachabilityByName causing link errors
  • From: "Mark Munz (DevList)" <email@hidden>
  • Date: Tue, 18 Oct 2005 15:20:33 -0500

I'm running Xcode 2.1, targeting 10.3.9 SDK and have the Cocoa.framework and Carbon.framework linked in as well as SystemConfiguration.framework in an Application target.

However, when I add a call to SCNetworkCheckReachabilityByName, I get the following undefined symbol:

_pthread_atfork referenced from SystemConfiguration expected to be defined in libSystem.

I tried linking in System.framework, but that didn't seem to help.

Is there another framework I need to be linking in? Where is _pthread_atfork defined?

I want to be able to do is test to see if there is a network connection (without initiating a dial-up).

I've been able to use this call if I'm building a framework target, so I'm confused why my Application won't link.

Any help and/or insight would be appreciated.

Thanks.

Mark Munz
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Cocoa-dev mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden


  • Prev by Date: Re: Nonbreaking spaces in alerts
  • Next by Date: Overriding "Bad Server Certificate" error
  • Previous by thread: NSTask hangs on launch
  • Next by thread: Overriding "Bad Server Certificate" error
  • Index(es):
    • Date
    • Thread