SCNetworkCheckReachabilityByName causing link errors
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