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 forhost_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