There is a bug in the Kernel headers: 1- create a new kext project (not IOKit). 2- this will not compile: #include <mach/mach_types.h> #include <IOKit/IOLib.h> #include <sys/systm.h> kern_return_t test_start (kmod_info_t * ki, void * d) { return KERN_SUCCESS; } kern_return_t test_stop (kmod_info_t * ki, void * d) { return KERN_SUCCESS; } but this will COMPILE: #include <mach/mach_types.h> #include <sys/systm.h> // SWAPPED THE INCLUDES #include <IOKit/IOLib.h> // SWAPPED THE INCLUDES kern_return_t test_start (kmod_info_t * ki, void * d) { return KERN_SUCCESS; } kern_return_t test_stop (kmod_info_t * ki, void * d) { return KERN_SUCCESS; } Franics _______________________________________________ darwin-kernel mailing list | darwin-kernel@lists.apple.com Help/Unsubscribe/Archives: http://www.lists.apple.com/mailman/listinfo/darwin-kernel Do not post admin requests to the list. They will be ignored.