[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
ncurses-6.1-20181124 failed to build - undefined reference to `NonEmpty'
From: |
Chih-Hsuan Yen |
Subject: |
ncurses-6.1-20181124 failed to build - undefined reference to `NonEmpty' |
Date: |
Sun, 25 Nov 2018 11:44:58 +0800 |
Hi all,
The latest snapshot fails to build with the following message:
lib_mouse.c:(.text+0x59a): undefined reference to `NonEmpty'
Also, there's a warning when compiling lib_mouse.c
gcc -DHAVE_CONFIG_H -I../ncurses -I. -I../include -D_DEFAULT_SOURCE
-D_XOPEN_SOURCE=600 -DNDEBUG -O2 --param max-inline-insns-single=1200
-c ../ncurses/./base/lib_mouse.c -o ../objects/lib_mouse.o
../ncurses/./base/lib_mouse.c: In function 'initialize_mousetype':
../ncurses/./base/lib_mouse.c:719:9: warning: implicit declaration of
function 'NonEmpty' [-Wimplicit-function-declaration]
if (NonEmpty(key_mouse)) {
^~~~~~~~
I'm using GCC 8.2.1. Ncurses is configure with `./configure`.
Regards,
Chih-Hsuan Yen
- ncurses-6.1-20181124 failed to build - undefined reference to `NonEmpty',
Chih-Hsuan Yen <=