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:mime-version:content-type:content-transfer-encoding:content-disposition; b=J+gPtKwlk36kwHvYD8Dd459zS5zN3TGrO555zu8TxzZvjCHZRBoeShwKDplyNGFcP3LPM6NES5c++c9/QkzDLznbgdMuwK0KeEX5DlNV08pF2ftR3lEYeAOsqQDD/fjn3X0Mzhy6hL4aobV13RRCr+zWGtkE94odzh5aJ/epTW4= Domainkey-signature: a=rsa-sha1; c=nofws; d=gmail.com; s=beta; h=received:message-id:date:from:to:subject:mime-version:content-type:content-transfer-encoding:content-disposition; b=NdjbcWsy70COa01pj2L0ikSdNVJvAUHGHgmk031LCZQuH5+j05kUcVb6Q0ffMK8tn1g8iU+YAb7XTrNyF3sc8WuuVvhm4pInPIAipyDhINT+UzDttPoGQog9eBeXBL982zNmeOIartsNaBb3DwYU0iH3r6AAW/A11TK156yQhZA= I'm trying to build the 10.4.8 PowerPC kernel and some of its drivers on an Intel Mac. I've used gcc_select to set the gcc version to 3.3. The kernel build command line I use is: make ARCH_CONFIGS=PPC KERNEL_CONFIGS=DEBUG all the make runs for quite a while then gives the following error: /usr/bin/cc -o makedis /Users/mike/Kernel/Build/xnu-792.12.6/osfmk/ddb/makedis.c cc: installation problem, cannot exec `cc1': No such file or directory make[6]: *** [makedis] Error 1 note that cc wasn't given the "-arch ppc" flag; it's trying to compile to Intel code, but gcc 3.3 doesn't support Intel - it was trying to exec a 3.3 cc1 for Intel and there isn't one. So I try using gcc 4.01 (against the advice of the kernel build instructions) and I get: /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. Any tips for me? The reason I'm trying to do this is that I've got a bug in a kernel extension on a PowerPC machine, and I only have one PowerPC machine. I want to build the kernel and the relevant drivers on an Intel Mac that I'll be using as a debug host. Thanks for your help, 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