[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Problem with getopt on CentOS 5.8
From: |
Christian Egli |
Subject: |
Problem with getopt on CentOS 5.8 |
Date: |
Fri, 04 Jan 2013 15:58:35 +0100 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/24.1 (gnu/linux) |
Hi all
The liblouis[1] project uses the getopt-gnu, progname and version-etc
modules from gnulib.
We have a developer on CentOS 5.8 who can no longer compile. Make fails
in getopt.h with the following error message:
> In file included from /usr/include/unistd.h:837,
> from ./unistd.h:43,
> from ../../gnulib/unistd.c:3:
> ./getopt.h:232: error: expected ',' or ';' before '_GL_ARG_NONNULL'
> ./getopt.h:238: error: expected ',' or ';' before '_GL_ARG_NONNULL'
> ./getopt.h:242: error: expected ',' or ';' before '_GL_ARG_NONNULL'
> make[3]: *** [unistd.lo] Error 1
> make[2]: *** [all-recursive] Error 1
> make[1]: *** [all] Error 2
> make: *** [all-recursive] Error 1
He uses the following versions of the autotools:
> autoconf (GNU Autoconf) 2.59
> automake (GNU automake) 1.9.6
> gcc (GCC) 4.1.2 20080704 (Red Hat 4.1.2-52)
Unfortunately I cannot reproduce the problem on my CentOS 5.8 virtual
box image. Is there anything the developer can do locally on his machine
to narrow the problem down?
Thanks
Christian
Footnotes:
[1] http://code.google.com/p/liblouis/
--
Christian Egli
Swiss Library for the Blind, Visually Impaired and Print Disabled
Grubenstrasse 12, CH-8045 Zürich, Switzerland
- Problem with getopt on CentOS 5.8,
Christian Egli <=