Hi, when i try to compile grub 1.98 on MacOSX i have this error:
gcc-4.2 -Ignulib -I./gnulib -I/opt/local/include -I. -I./include -I./gnulib -I./include -Wall -W -DGRUB_LIBDIR=\"/opt/local/lib/`echo grub/i386-pc | sed 's,x,x,'`\" -DLOCALEDIR=\"\" -DGRUB_MACHINE_PCBIOS=1 -DAPPLE_CC=1 -fnested-functions -DGRUB_UTIL=1 -Wno-undef -Wno-sign-compare -Wno-unused -D_GL_UNUSED="__attribute__ ((unused))" -I./gnulib -DGRUB_FILE=\"gnulib/getdelim.c\" -MD -c -o grub_script_check-gnulib_getdelim.o gnulib/getdelim.c gnulib/getdelim.c:59: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'getdelim'
make: *** [grub_script_check-gnulib_getdelim.o] Error 1The problem is that the ssize_t type is not defined. We need to add #include <unistd.h> on MacOSX like i do on my commit (r2175).
But i know that we can't modify getdelim.c directly because is it imported. So if someone have an idea to solve this problem on OSX...... Regards, Yves Blusseau
smime.p7s
Description: S/MIME Cryptographic Signature
_______________________________________________ Grub-devel mailing list Grub-devel@gnu.org http://lists.gnu.org/mailman/listinfo/grub-devel