[darwinbuild-dev] Building AppleFan.kext
jonas.maebe at elis.ugent.be
Fri Feb 13 05:18:05 PST 2009
I'm trying to build 10.5.6's AppleFan.kext, but it's failing as follows:
bash-3.2# darwinbuild -init 9G55
bash-3.2# darwinbuild AppleFan
*** Fetching Sources ...
*** Copying Sources ...
*** Installing Roots ...
xcodebuild install "SRCROOT=/SourceCache/AppleFan/AppleFan-110.3.1"
"MACOSX_DEPLOYMENT_TARGET=10.5" "NEXT_ROOT=" "RC_ARCHS=ppc"
"RC_CFLAGS=-pipe -no-cpp-precomp -arch ppc" "RC_JASPER=YES"
"RC_NONARCH_CFLAGS=-pipe -no-cpp-precomp" "RC_OS=macos" "RC_PRIVATE=/
private" "RC_RELEASE=Leopard" "RC_XBS=YES" "RC_ppc=YES"
"SEPARATE_STRIP=YES" "UNAME_RELEASE=9.0" "UNAME_SYSNAME=Darwin" < /dev/
Build log begins here:
xcodebuild: Error: the directory /SourceCache/AppleFan/
AppleFan-110.3.1 does not contain an Xcode project.
BUILD TIME: 0h 0m 0s
EXIT STATUS: 1
I'm building on a case-sensitive HFS+ image (created using the
commands in the README), on a 10.5.6 PPC Mac with Xcode 3.0 installed
(regardless of the above, should I install 3.1.x before compiling
10.5.6 projects?). The error appears to be correct: the AppleFan
package contains a Project Builder project rather than an Xcode project.
PS: I want to recompile that kext with the debugging code enabled,
because the CPU B intake and exhaust fans constantly remain at idle
speed (300 rpm) on my dual G5, resulting in lots of noise from the CPU
A fans doing overtime as soon as the system gets slightly loaded.
It's not that the CPU B fans cannot spin faster anymore (they work
fine when the Apple Hardware Test cd tests them), nor that the
temperature sensors are broken (the temperature sensors of CPU B
consistently show a higher temperature than those of CPU A). While it
does not appear to be a (pure) software problem either (booting in
10.3.4, the OS version the machine originally came with, does not
appear to solve the problem), I'd like to take a look at what the kext
is telling the fans to do.
More information about the darwinbuild-dev