bug-ncurses
[Top][All Lists]
Advanced

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

ncurses 6.0 - build errors with default configuration


From: Luciano Moreira
Subject: ncurses 6.0 - build errors with default configuration
Date: Thu, 27 Oct 2016 13:48:38 +0000

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)
                                                        ^
Makefile:967: recipe for target '../objects/lib_gen.o' failed
make[1]: *** [../objects/lib_gen.o] Error 1
make[1]: Leaving directory '/home/luc/ncurses-6.0/ncurses'
Makefile:113: recipe for target 'all' failed
make: *** [all] Error 2

Attached is a gzipped tarred file with (.err and .out files are the output from stdout and stderr respectively):
$ tar -tzf ncurses-6.0-logs.tar.gzip
config.log
config.status
include/ncurses_cfg.h
configure.err
configure.in
configure.out
make.err
make.out

Even though the log files have all needed information, follow something about the environment:
$ uname -a
Linux luc-VirtualBox 4.4.0-45-generic #66-Ubuntu SMP Wed Oct 19 14:12:37 UTC 2016 x86_64 x86_64 x86_64 GNU/Linux

$ gcc --version
gcc (Ubuntu 5.4.0-6ubuntu1~16.04.2) 5.4.0 20160609
Copyright (C) 2015 Free Software Foundation, Inc.
This is free software; see the source for copying conditions.  There is NO
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.

--

Luciano Moreira

Attachment: ncurses-6.0-logs.tar.gzip
Description: Binary data


reply via email to

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