[hobbit] Compile error with latest snapshot

Michael Dunne dunne at ntms1.accuweather.com
Tue Aug 15 20:20:08 CEST 2006


That worked, thanks for the quick patch, and thanks again for Hobbit!

Mike


On 8/15/06 12:46 PM, "Henrik Stoerner" <henrik at hswn.dk> wrote:

> Michael writes:
> 
>>  I am attempting to move our production Hobbit server to the latest
>> snapshot. The latest snapshot fails to compile. The error that it gives is:
>> 
>> gmake[1]: Entering directory `/Users/hobbit/Desktop/snapshot/bbdisplay'
>> gcc -g -O -Wall -Wno-unused -D_REENTRANT -DBIND_8_COMPAT=1
>> -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -DDarwin -I.
>> -I/Users/hobbit/Desktop/snapshot/include -I/usr/local/include -c -o bbgen.o
>> bbgen.c
>> In file included from bbgen.c:26:
>> bbgen.h:173: error: conflicting types for `host_t'
>> /usr/include/mach/mach_types.h:103: error: previous declaration of `host_t'
>> gmake[1]: *** [bbgen.o] Error 1
> 
> OK, so OSX decided to make "host_t" a standard system-defined type.
> 
> I've attached a really quick (read: ugly) fix, which sidesteps it by
> using the C "define" feature to rename the Hobbit host_t type to
> something else. I think that should make the compile work.
> 
> 
> Regards,
> Henrik
> 
> To unsubscribe from the hobbit list, send an e-mail to
> hobbit-unsubscribe at hswn.dk






More information about the Xymon mailing list