Re: Cross-compile PPC kernel on Intel?
site_archiver@lists.apple.com Delivered-To: darwin-kernel@lists.apple.com Dkim-signature: a=rsa-sha1; c=relaxed/relaxed; d=gmail.com; s=beta; h=domainkey-signature:received:received:message-id:date:from:to:subject:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references; b=pW7ogMT/3tCUCodHr7oHb5CKffqnCBvt9eF41KIQAbp8Ucjh8qFvTH5qFQ/8gLAUHvhD5c2X6HlWpz2Njj35OXSC926umyicsSG4o8FWYLDi6mE7I2IYjaJ+ZhwMVkJv6cFdwLnOPedZThLiN5G/u4fSkSaOHWak31phV9KfQgU= Domainkey-signature: a=rsa-sha1; c=nofws; d=gmail.com; s=beta; h=received:message-id:date:from:to:subject:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references; b=Yu2pvgm6VJ8OS99Q9pgruWscVtkBAvon71Prdwrm8YYddBEIfJTNrZOSkt6P0fy8IzPBBa2nnelULnosrRu8w/XOKrvUNqWqPhTlRotQNfVPBcSBb99h0BAIgCzm9sEx8aupzz2ZbmugSCcRCbd9LVDrqmT9mtx/rRwdQ/ou1rc= 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 <catflight@gmail.com> 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 (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)
-
Michael Crawford