bug-gzip
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

getopt compilation failure on Darwin (gzip 1.3.13)


From: Ludovic Courtès
Subject: getopt compilation failure on Darwin (gzip 1.3.13)
Date: Tue, 06 Oct 2009 17:58:23 +0200
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/23.1 (gnu/linux)

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

[Prev in Thread] Current Thread [Next in Thread]