Re: IONetworkingFamily kext will not compile
Re: IONetworkingFamily kext will not compile
- Subject: Re: IONetworkingFamily kext will not compile
- From: Rick Macklem <email@hidden>
- Date: Thu, 27 Mar 2008 11:55:10 -0400 (EDT)
On Wed, 26 Mar 2008, Ryan Chapman wrote:
Hi all,
I'm trying to compile IONetworkingFamily-46 as a kext, using Xcode 3.1 and OS X 10.5.2. This is my first attempt at compiling an Apple kext, so bear with me. I downloaded IONetworkingFamily-46.tar.gz from Apple's opensource website, untar'd, opened the project in Xcode and clicked Build. Build fails with the error:
error: 'SIOCSIFDEVMTU' was not declared in this scope
Look on developer.apple.com for "Kernel Extension Concepts" which does a
good job of explaining building, etc ihmo. I think you'll be piddling with
OSBundleLibraries in the Info.plist file, if it's like the generic Kext
I build.
If SIOCSIFDEVMTU isn't defined in any of the headers under
/System/Library/Frameworks/Kernel.framework then either the code needs
modification or you have to build the Kext against the entire kernel
using xnu-1228 sources (not recommended and only for experimentation
or open source projects).
Good luck with it, rick
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Darwin-kernel mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden