Error compiling darwin kernel
site_archiver@lists.apple.com Delivered-To: darwin-kernel@lists.apple.com Hi list, I encountered this error while compiling the kernel using "make all". I obtained the xnu source code from the darwin source code website. /Users/xxx/darwin2/xnu-792.17.14/iokit/Kernel/IOWorkLoop.cpp: In member function 'virtual bool IOWorkLoop::init()': /Users/xxx/darwin2/xnu-792.17.14/iokit/Kernel/IOWorkLoop.cpp:79: error: converting from `IOReturn (IOWorkLoop::*)(void*, void*, void*, void*)' to `IOReturn (*)(OSObject*, void*, void*, void*, void*)' in a kext. Use OSMemberFunctionCast() instead. /Users/xxx/darwin2/xnu-792.17.14/iokit/Kernel/IOWorkLoop.cpp:93: warning: invalid conversion from 'void (*)(void*, wait_result_t)' to 'void (*)(void*)' /Users/xxx/darwin2/xnu-792.17.14/iokit/Kernel/IOWorkLoop.cpp:93: warning: initializing argument 1 of 'thread* IOCreateThread(void (*)(void*), void*)' make[6]: *** [IOWorkLoop.cpo] Error 1 make[5]: *** [build_all] Error 2 make[4]: *** [do_all] Error 2 make[3]: *** [build_all] Error 2 make[2]: *** [build_all] Error 2 make[1]: *** [build_all] Error 2 make: *** [all] Error 2 Does anyone know what is the problem and how to solve it? THank you very much -Billy _______________________________________________ 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)
-
Billy Lau