compile.py fails on OS 10.6.8
This happens to me. Python used is 2.6 (I assume the package is self-contained? It has all in, that I need for build?)
gcc -c -g -Wall -Iinclude -Igrub-core/gnulib -Ibuild -DLIBDIR="/usr/local/lib" -DHAVE_CONFIG_H=1 -DGRUB_UTIL=1 -DGRUB_FILE=FILE -D_FILE_OFFSET_BITS=64 -fnested-functions -DAPPLE_CC util/grub-mount.c -o build/util_grub-mount.o
In file included from util/grub-mount.c:43:
/usr/include/string.h:98: error: conflicting types for ‘strlen’
util/grub-mount.c: In function ‘fuse_init’:
util/grub-mount.c:343: warning: unused variable ‘i’
util/grub-mount.c: In function ‘argp_parser’:
util/grub-mount.c:420: warning: unused variable ‘p’
Traceback (most recent call last):
File "./compile.py", line 159, in
Ah, this happened for me too when I tried to compile it for i386.
I didn't really found out the conflicting type or the double definition, though.
Maybe digging through the preprocessed source might help to debug this.