bug-ncurses
[Top][All Lists]
Advanced

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

Unable to build ncurses 6.0 with PGI 16.5


From: Stewart, Adam James
Subject: Unable to build ncurses 6.0 with PGI 16.5
Date: Mon, 6 Feb 2017 22:27:29 +0000

Hi,

I'm trying to build ncurses 6.0 with the PGI 16.5 compiler but it crashes during `make` with the following error message:

PGC-S-0239-Unmatched #else (../ncurses/expanded.c: 61)
PGC-S-0240-Unmatched #endif (../ncurses/expanded.c: 63)
PGC/x86-64 Linux 16.5-0: compilation completed with severe errors
make[1]: *** [../obj_s/expanded.o] Error 2

The preprocessors from this file look like:

$ grep -n '^#' ncurses/expanded.c
2:#define NEED_NCURSES_CH_T 1
3:#include <curses.priv.h>
5:#ifndef CUR
6:#define CUR SP_TERMTYPE
7:#endif
9:#if NCURSES_EXPANDED
15:# 17 "gen81197.c"
21:# 23 "gen81197.c"
27:# 29 "gen81197.c"
33:# 35 "gen81197.c"
38:# 38 "gen81197.c"
41:# 41 "gen81197.c"
42:# if_NCURSES_SP_FUNCS
48:# 48 "gen81197.c"
54:# 54 "gen81197.c"
60:# endif
61:#else /* ! NCURSES_EXPANDED */
63:#endif /* NCURSES_EXPANDED */

I can provide you with the entire file or any config logs if you want.

Adam J. Stewart
Assistant Systems Administrator
Laboratory Computing Resource Center
Computing, Environment and Life Sciences
Argonne National Laboratory

reply via email to

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