[darwinbuild-dev] Building AppleFan.kext
Jonas Maebe
jonas.maebe at elis.ugent.be
Mon Feb 16 08:18:00 PST 2009
On 16 Feb 2009, at 17:07, William Siegrist wrote:
> xnu comes with the 2 files (*.defs) you need in /usr/include/device.
> So make sure you load xnu and the files are there:
>
> $ darwinbuild -load xnu
> $ ls -1 BuildRoot/usr/include/device/
> device.defs
> device_port.h
> device_types.defs
> device_types.h
>
> The source files get generated during the DeviceMIG target of
> IOKitUser. If you are building with -nochroot, you need to copy
> the .defs files from BuildRoot to /usr/include/device/.
Thanks, I missed the "-load". I've also created /usr/include/device
and copied the .defs files there. However, still no dice (same error
as before). I did notice the following in the build log though:
(NOTE: project IOKitUser was written by a newer Xcode version (45) --
temporarily downgrading it (without modifying project file))
I'll try downloading and installing Xcode 3.1.2 and see whether that
solves it.
Thanks for all the help,
Jonas
More information about the darwinbuild-dev
mailing list