bug-ncurses
[Top][All Lists]
Advanced

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

Re: ncurses 6.0 - build errors with default configuration


From: Sven Joachim
Subject: Re: ncurses 6.0 - build errors with default configuration
Date: Thu, 27 Oct 2016 17:12:16 +0200
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/25.1.50 (gnu/linux)

On 2016-10-27 13:48 +0000, Luciano Moreira wrote:

> I got the following errors firing make with the default configuration in
> Linux Mint 18:
>
> $ ./configure && make clean && make
> [...]
> gcc -DHAVE_CONFIG_H -I. -I../include  -D_GNU_SOURCE -DNDEBUG -O2 --param
> max-inline-insns-single=1200 -c ../ncurses/lib_gen.c -o ../objects/lib_gen.o
> In file included from ./curses.priv.h:325:0,
>                  from ../ncurses/lib_gen.c:19:
> _11363.c:843:15: error: expected ‘)’ before ‘int’
> ../include/curses.h:1631:56: note: in definition of macro ‘mouse_trafo’
>  #define mouse_trafo(y,x,to_screen) wmouse_trafo(stdscr,y,x,to_screen)

That's due to a broken mawk in Debian and derivatives, see the thread at
http://lists.gnu.org/archive/html/bug-ncurses/2015-08/threads.html#00008.

Workaround: install gawk and configure with AWK=gawk.  Or upgrade to a
newer ncurses patchlevel.

Cheers,
       Sven



reply via email to

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