Re: IONetworkingFamily kext will not compile
site_archiver@lists.apple.com Delivered-To: darwin-kernel@lists.apple.com 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 (Darwin-kernel@lists.apple.com) Help/Unsubscribe/Update your Subscription: http://lists.apple.com/mailman/options/darwin-kernel/site_archiver%40lists.a... This email sent to site_archiver@lists.apple.com
participants (1)
-
Rick Macklem