Hi marty, A lot of the open source packages lack the necessary dependencies or private headers in the SDK that Apple ships with Xcode. I have a project that assembles additional SDKs so that many of Apple’s open source packages can be built “out of the box” (https://github.com/samdmarshall/OSXPrivateSDK). I am running 10.9.5, but I was just able to successfully build the scutil target from configd-699.1.5 using the “PrivateSDK10.10” SDK bundle. Sam Marshall On Apr 1, 2015, at 11:36, marty leisner <maleisner@gmail.com> wrote:
I'm new to darwin, I've been building for Unix since v7.
It seems much of the apple opensource is VERY difficult to build (impossible?).
I'm trying Yosemite, and I want to build scutil (to reverse engineer how DNS servers are retrieved).
I'd like to "run" code (and instrument the running code) rather than "statically" looking at code.
When I try to build I get: /Users/martyleisner/src/git/apple-opensource-mirror/projects-10.10/configd-699.1.5/libSystemConfiguration/libSystemConfiguration_client.c:29:10: fatal error: 'vproc_priv.h' file not found #include <vproc_priv.h>
When I do
xcodebuild -target scutil
I get:
/Users/martyleisner/src/git/apple-opensource-mirror/projects-10.10/configd-699.1.5/SystemConfiguration.fproj/SCNetworkConnectionPrivate.h:30:10: fatal error: 'ne_session.h' file not found #include <ne_session.h>
This is my build machine:
macmini2:configd-699.1.5 leisner$ xcodebuild -version Xcode 6.1.1 Build version 6A2008a macmini2:configd-699.1.5 leisner$ sw_vers ProductName: Mac OS X ProductVersion: 10.10.2 BuildVersion: 14C109
marty _______________________________________________ Do not post admin requests to the list. They will be ignored. Darwin-dev mailing list (Darwin-dev@lists.apple.com) Help/Unsubscribe/Update your Subscription: https://lists.apple.com/mailman/options/darwin-dev/me%40samdmarshall.com
This email sent to me@samdmarshall.com
_______________________________________________ Do not post admin requests to the list. They will be ignored. Darwin-dev mailing list (Darwin-dev@lists.apple.com) Help/Unsubscribe/Update your Subscription: https://lists.apple.com/mailman/options/darwin-dev/site_archiver%40lists.app... This email sent to site_archiver@lists.apple.com
participants (1)
-
Sam Marshall