pkgsrc-Users archive

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

Re: m4 build failure



Hi,

On Thu, Apr 26, 2012 at 12:29 PM, Stephen Nelson-Smith
<sanelson%gmail.com@localhost> wrote:
> "verror.h", line 35: syntax error before or at: __attribute__
> "verror.h", line 35: warning: old-style declaration or incorrect type
> for: __attribute__
> "verror.h", line 35: warning: syntax error:  empty declaration
> "verror.h", line 47: syntax error before or at: __attribute__
> "verror.h", line 47: warning: old-style declaration or incorrect type
> for: __attribute__
> "verror.h", line 47: identifier redefined: __attribute__
>        current : function() returning int
>        previous: function() returning int : "verror.h", line 35
> "verror.h", line 47: warning: syntax error:  empty declaration
> "verror.c", line 44: identifier redefined: verror
>        current : function(int, int, pointer to const char, pointer to
> void) returning void
>        previous: function(int, int, pointer to const char, pointer to
> void) returning void : "verror.h", line 33
> "verror.c", line 57: identifier redefined: verror_at_line
>        current : function(int, int, pointer to const char, unsigned
> int, pointer to const char, pointer to void) returning void
>        previous: function(int, int, pointer to const char, unsigned
> int, pointer to const char, pointer to void) returning void :
> "verror.h", line 44
> cc: acomp failed for verror.c
> *** Error code 2

<SNIP>

> This looks to be fixed by this upstream patch:
>
> http://git.savannah.gnu.org/cgit/gnulib.git/commit/?id=f93da2171bca

Confirmed that this patch solves this issue.

S.


Home | Main Index | Thread Index | Old Index