Re: Darwin 8.0 Source Code Available
Re: Darwin 8.0 Source Code Available
- Subject: Re: Darwin 8.0 Source Code Available
- From: Dean Reece <email@hidden>
- Date: Sat, 30 Apr 2005 01:29:20 -0700
You need to use gcc 3.3 to build the kernel and associated projects.
gcc 4.0 is the default compiler shipped in Tiger, so you'll have to
switch using "gcc_select 3.3".
Cheers,
- Dean
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
On Apr 30, 2005, at 3:14 AM, Kevin Van Vechten wrote:
The Darwin team is pleased to announce the availability of the
source code for Darwin 8.0. These sources correspond to Mac OS X
10.4, and are available via the web at <http://
www.opensource.apple.com/darwinsource/>. [Apr 29 2005]
--
Kevin Van Vechten
<email@hidden>
Open Source Software Engineer
Apple Computer
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Darwin-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
40lurchi.franken.de
This email sent to email@hidden
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Darwin-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
40apple.com
This email sent to email@hidden
_______________________________________________
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