[darwinbuild-dev] Small fix for building AppleHWSensor (AssertMacros.h)

William Siegrist wsiegrist at apple.com
Wed Feb 18 15:51:28 PST 2009


On Feb 18, 2009, at 2:23 PM, Jonas Maebe wrote:

> Hi,
>
> After my adventures with AppleFan, now AppleHWSensor. It builds  
> correctly for a large part, but then bails out as follows:
>
> KernelModuleGeneratedSource.Create /private/var/tmp/AppleHWSensor/ 
> AppleHWSensor-173.0.0.obj/AppleHWSensor.build/IOI2CLM6x.build/ 
> DerivedSources/IOI2CLM6x_info.c
> In file included from IOI2CLM6x.h:29,
>                from IOI2CLM6x.cpp:23:
> AppleHWSensorDebug.h:15:39: error: /usr/include/AssertMacros.h: No  
> such file or directory
>
> After adding AssertMacros.h to the buildroot, AppleHWSensor builds  
> successfully. Perhaps it's another candidate for CarbonHeaders?
>

It is already in CarbonHeaders. You should have tried "darwinbuild - 
load CarbonHeaders" first. However, I've corrected the dependencies in  
the plist so you should not need to manually load it next time.

-Bill


More information about the darwinbuild-dev mailing list