[darwinbuild-dev] Building AppleFan.kext

Jonas Maebe jonas.maebe at elis.ugent.be
Wed Feb 18 13:46:46 PST 2009

On 18 Feb 2009, at 22:17, William Siegrist wrote:

> On Feb 13, 2009, at 5:18 AM, Jonas Maebe wrote:
>> I'm trying to build 10.5.6's AppleFan.kext, but it's failing as  
>> follows:
> Okay, so I added some new roots and updated the dependencies, so  
> this should now work for you. You should update your darwinbuild  
> source to latest trunk and make clean, make, make install. Then  
> start again from the beginning:
> 1. mkdir /Volumes/dbufs/AppleFan
> 2. cd /Volumes/dbufs/AppleFan
> 3. darwinbuild -init 9G55
> 4. darwinbuild AppleFan

Thanks a lot, I'm trying it right now! Trying to get IOKitUser to  
build was really driving me crazy :) First all the uses of MacTypes.h  
types, while you cannot include MacTypes.h because it conflicts with  
some IOKit header (duplicate Point type); and after all that, I was  
about to try to solve this problem described on puredarwin:

Problem: mig: fatal: "/SourceCache/IOKitUser/IOKitUser-388.2.1/ 
hid.subproj/IOHIDEventSystem.defs", line 1: no SubSystem declaration
Pseudo-Solution: Feed the empty file with a subsystem declaration as:
subsystem IOHIDEventSystem 71000;
TODO: What should we really do?


More information about the darwinbuild-dev mailing list