Re: Darwin 8.0 Source Code Available
Re: Darwin 8.0 Source Code Available
- Subject: Re: Darwin 8.0 Source Code Available
- From: Kevin Van Vechten <email@hidden>
- Date: Sat, 30 Apr 2005 10:45:38 -0700
Are you compiling on Tiger or Panther? It compiles fine for me on
Tiger, but I wouldn't expect it to compile on Panther without some
setup work to ensure the correct headers are being included, the right
compiler is being used, etc.
- Kevin
On Apr 30, 2005, at 1:18 AM, Michael Tuexen wrote:
When I try to compile it, the make stops with
/xnu-792/EXTERNAL_HEADERS
-I/Users/tuexen/Desktop/xnu-792/EXTERNAL_HEADERS/bsd
-I/Users/tuexen/Desktop/xnu-792/BUILD/obj/EXPORT_HDRS/bsd
-I/Users/tuexen/Desktop/xnu-792/iokit/
-I/Users/tuexen/Desktop/xnu-792/iokit/include
/Users/tuexen/Desktop/xnu-792/iokit/Kernel/IOWorkLoop.cpp
cc1plus: warning: command line option "-Wstrict-prototypes" is valid
for C/ObjC but not for C++
cc1plus: warning: command line option "-Wmissing-prototypes" is valid
for C/ObjC but not for C++
/Users/tuexen/Desktop/xnu-792/iokit/Kernel/IOWorkLoop.cpp: In member
function `virtual bool IOWorkLoop::init()':
/Users/tuexen/Desktop/xnu-792/iokit/Kernel/IOWorkLoop.cpp:73: error:
converting from `IOReturn (IOWorkLoop::*)(void*, void*, void*, void*)'
to `IOReturn (*)(OSObject*, void*, void*, void*, void*)' in a kext.
Use OSMemberFunctionCast() instead.
/Users/tuexen/Desktop/xnu-792/iokit/Kernel/IOWorkLoop.cpp:87: warning:
invalid conversion from 'void (*)(void*, wait_result_t)' to 'void
(*)(void*)'
/Users/tuexen/Desktop/xnu-792/iokit/Kernel/IOWorkLoop.cpp:87: 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
Any hints how to build the kernel?
Best regards
Michael
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Darwin-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden