Re: Cross-compile PPC kernel on Intel?
Re: Cross-compile PPC kernel on Intel?
- Subject: Re: Cross-compile PPC kernel on Intel?
- From: "Michael Crawford" <email@hidden>
- Date: Wed, 29 Aug 2007 05:07:28 -0700
I'm trying the 10.4.9 sources now, and get the same error but on line
79 of IOWorkLoop.cpp instead of line 81.
On 8/29/07, Boris Remizov <email@hidden> wrote:
> > /Users/mike/Kernel/Build/xnu-792.12.6/iokit/Kernel/IOWorkLoop.cpp: In
> > member function 'virtual bool IOWorkLoop::init()':
> > /Users/mike/Kernel/Build/xnu-792.12.6/iokit/Kernel/IOWorkLoop.cpp:81:
> > error: converting from `IOReturn (IOWorkLoop::*)(void*, void*, void*,
> > void*)' to `IOReturn (*)(OSObject*, void*, void*, void*, void*)' in a
> > kext. Use OSMemberFunctionCast() instead.
>
> Please take a source code for this error.
bool IOWorkLoop::init()
{
// The super init and gateLock allocation MUST be done first
if ( !super::init() )
return false;
if ( !(gateLock = IORecursiveLockAlloc()) )
return false;
if ( !(workToDoLock = IOSimpleLockAlloc()) )
return false;
controlG = IOCommandGate:: // *** The line below ---V ****
commandGate(this, (IOCommandGate::Action) &IOWorkLoop::_maintRequest);
if ( !controlG )
Some source of confusion seems to be that trying to build cctools
after having run xnu/SETUP/setup.sh screws things up. When I realized
that I started a new terminal session.
Thanks -- Mike
--
Michael David Crawford
mdcrawford at gmail dot com
Enjoy my art, photography, music and writing at
http://www.geometricvisions.com/
--- Free Music Downloads ---
_______________________________________________
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