Error compiling darwin kernel
Error compiling darwin kernel
- Subject: Error compiling darwin kernel
- From: Billy Lau <email@hidden>
- Date: Mon, 4 Jun 2007 10:52:05 -0500 (CDT)
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 (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden