bug-gnulib
[Top][All Lists]
Advanced

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

Re: [liblouis-liblouisxml] Re: Problem with getopt on CentOS 5.8


From: Christian Egli
Subject: Re: [liblouis-liblouisxml] Re: Problem with getopt on CentOS 5.8
Date: Mon, 07 Jan 2013 10:09:14 +0100
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/24.1 (gnu/linux)

Hi Eric

Thanks for your answer

Eric Blake <address@hidden> writes:

> On 01/04/2013 07:58 AM, Christian Egli wrote:
>> 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'
>
> That sounds suspicious, as if the gnulib replacement getopt.h was not
> installed correctly.  Those line number match up to the unmodified
> getopt.in.h, but when that is converted to getopt.h, there is an earlier
> line that should have replaced a comment by a multi-line definition of
> _GL_ARG_NONNULL, and thus shifted line numbers down.  How are you
> getting the modules into your project, by gnulib-tool (preferred) or by
> copy-and-paste?

I used gnulib-tool to import. I upgraded to gnulib v0.0-7794-g964bbc2
and now apparently all the problems are gone (although there are hardly
any changes to the modules we are using except for the copyright years).
Could it be that the dev forgot to run autogen.sh, i.e. autoreconf?

Thanks
Christian
-- 
Christian Egli
Swiss Library for the Blind, Visually Impaired and Print Disabled
Grubenstrasse 12, CH-8045 Zürich, Switzerland



reply via email to

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