Hello,

(Cc’ing ‘bug-gnulib’ as this looks like a Gnulib issue.)

GNU zip 1.3.13 fails to build on Darwin:

--8<---------------cut here---------------start------------->8---
gcc -std=gnu99 -DHAVE_CONFIG_H -I.     -g -O2 -c getopt.c
In file included from ./getopt.h:28,
                 from getopt.h:28,
                 from getopt.c:26:
/usr/include/getopt.h:54: error: redefinition of 'struct rpl_option'
/usr/include/getopt.h:70: error: conflicting types for 'rpl_getopt_long'
./getopt.h:227: error: previous declaration of 'rpl_getopt_long' was here
/usr/include/getopt.h:72: error: conflicting types for 'rpl_getopt_long_only'
./getopt.h:231: error: previous declaration of 'rpl_getopt_long_only' was here
make[3]: *** [getopt.o] Error 1
make[2]: *** [all-recursive] Error 1
make[1]: *** [all] Error 2
make: *** [all-recursive] Error 1
--8<---------------cut here---------------end--------------->8---

Ideas?

Thanks,
Ludo’.


Reply via email to