Bug ID 1165363
Summary Can't make menuconfig because of ncurses
Classification openSUSE
Product openSUSE Tumbleweed
Version Current
Hardware x86-64
OS Other
Status NEW
Severity Normal
Priority P5 - None
Component Development
Assignee screening-team-bugs@suse.de
Reporter ginkobonsai@gmx.de
QA Contact qa-bugs@suse.de
Found By ---
Blocker ---

I'm trying to build an openwrt image on my Tumbleweed 20200214 laptop but I get
errors supposedly related to ncurses:

$ make menuconfig

make[1]: Entering directory '/projects/openwrt/scripts/config'
/usr/lib64/gcc/x86_64-suse-linux/9/../../../../x86_64-suse-linux/bin/ld:
mconf.o: in function `show_help':
mconf.c:(.text+0x155c): undefined reference to `stdscr'
/usr/lib64/gcc/x86_64-suse-linux/9/../../../../x86_64-suse-linux/bin/ld:
mconf.c:(.text+0x1568): undefined reference to `stdscr'
/usr/lib64/gcc/x86_64-suse-linux/9/../../../../x86_64-suse-linux/bin/ld:
lxdialog/checklist.o: in function `print_arrows':
checklist.c:(.text+0x270): undefined reference to `acs_map'
/usr/lib64/gcc/x86_64-suse-linux/9/../../../../x86_64-suse-linux/bin/ld:
checklist.c:(.text+0x2b4): undefined reference to `acs_map'
/usr/lib64/gcc/x86_64-suse-linux/9/../../../../x86_64-suse-linux/bin/ld:
checklist.c:(.text+0x2ca): undefined reference to `acs_map'
/usr/lib64/gcc/x86_64-suse-linux/9/../../../../x86_64-suse-linux/bin/ld:
checklist.c:(.text+0x2e0): undefined reference to `acs_map'
/usr/lib64/gcc/x86_64-suse-linux/9/../../../../x86_64-suse-linux/bin/ld:
checklist.c:(.text+0x2f6): undefined reference to `acs_map'
/usr/lib64/gcc/x86_64-suse-linux/9/../../../../x86_64-suse-linux/bin/ld:
lxdialog/checklist.o:checklist.c:(.text+0x35e): more undefined references to
`acs_map' follow
/usr/lib64/gcc/x86_64-suse-linux/9/../../../../x86_64-suse-linux/bin/ld:
lxdialog/checklist.o: in function `dialog_checklist':
checklist.c:(.text+0x564): undefined reference to `stdscr'
/usr/lib64/gcc/x86_64-suse-linux/9/../../../../x86_64-suse-linux/bin/ld:
checklist.c:(.text+0x570): undefined reference to `stdscr'
/usr/lib64/gcc/x86_64-suse-linux/9/../../../../x86_64-suse-linux/bin/ld:
checklist.c:(.text+0x59a): undefined reference to `stdscr'
/usr/lib64/gcc/x86_64-suse-linux/9/../../../../x86_64-suse-linux/bin/ld:
checklist.c:(.text+0x5a6): undefined reference to `stdscr'
/usr/lib64/gcc/x86_64-suse-linux/9/../../../../x86_64-suse-linux/bin/ld:
checklist.c:(.text+0x5e7): undefined reference to `stdscr'
/usr/lib64/gcc/x86_64-suse-linux/9/../../../../x86_64-suse-linux/bin/ld:
lxdialog/checklist.o:checklist.c:(.text+0x5f3): more undefined references to
`stdscr' follow
/usr/lib64/gcc/x86_64-suse-linux/9/../../../../x86_64-suse-linux/bin/ld:
lxdialog/checklist.o: in function `dialog_checklist':
checklist.c:(.text+0x6f9): undefined reference to `acs_map'
/usr/lib64/gcc/x86_64-suse-linux/9/../../../../x86_64-suse-linux/bin/ld:
checklist.c:(.text+0x718): undefined reference to `acs_map'
/usr/lib64/gcc/x86_64-suse-linux/9/../../../../x86_64-suse-linux/bin/ld:
checklist.c:(.text+0x753): undefined reference to `acs_map'
/usr/lib64/gcc/x86_64-suse-linux/9/../../../../x86_64-suse-linux/bin/ld:
lxdialog/util.o: in function `dialog_clear':
util.c:(.text+0xc2c): undefined reference to `stdscr'
/usr/lib64/gcc/x86_64-suse-linux/9/../../../../x86_64-suse-linux/bin/ld:
util.c:(.text+0xc38): undefined reference to `stdscr'
/usr/lib64/gcc/x86_64-suse-linux/9/../../../../x86_64-suse-linux/bin/ld:
util.c:(.text+0xc51): undefined reference to `stdscr'
/usr/lib64/gcc/x86_64-suse-linux/9/../../../../x86_64-suse-linux/bin/ld:
util.c:(.text+0xc5d): undefined reference to `stdscr'
/usr/lib64/gcc/x86_64-suse-linux/9/../../../../x86_64-suse-linux/bin/ld:
util.c:(.text+0xc7d): undefined reference to `stdscr'
/usr/lib64/gcc/x86_64-suse-linux/9/../../../../x86_64-suse-linux/bin/ld:
lxdialog/util.o:util.c:(.text+0xcb0): more undefined references to `stdscr'
follow
/usr/lib64/gcc/x86_64-suse-linux/9/../../../../x86_64-suse-linux/bin/ld:
lxdialog/util.o: in function `dialog_clear':
util.c:(.text+0xdc1): undefined reference to `acs_map'
/usr/lib64/gcc/x86_64-suse-linux/9/../../../../x86_64-suse-linux/bin/ld:
util.c:(.text+0xdc8): undefined reference to `stdscr'
/usr/lib64/gcc/x86_64-suse-linux/9/../../../../x86_64-suse-linux/bin/ld:
util.c:(.text+0xde6): undefined reference to `stdscr'
/usr/lib64/gcc/x86_64-suse-linux/9/../../../../x86_64-suse-linux/bin/ld:
util.c:(.text+0xe2c): undefined reference to `stdscr'
/usr/lib64/gcc/x86_64-suse-linux/9/../../../../x86_64-suse-linux/bin/ld:
util.c:(.text+0xe6c): undefined reference to `stdscr'
/usr/lib64/gcc/x86_64-suse-linux/9/../../../../x86_64-suse-linux/bin/ld:
util.c:(.text+0xea7): undefined reference to `acs_map'
/usr/lib64/gcc/x86_64-suse-linux/9/../../../../x86_64-suse-linux/bin/ld:
util.c:(.text+0xeae): undefined reference to `stdscr'
/usr/lib64/gcc/x86_64-suse-linux/9/../../../../x86_64-suse-linux/bin/ld:
util.c:(.text+0xecf): undefined reference to `stdscr'
/usr/lib64/gcc/x86_64-suse-linux/9/../../../../x86_64-suse-linux/bin/ld:
lxdialog/util.o: in function `init_dialog':
util.c:(.text+0xef6): undefined reference to `stdscr'
/usr/lib64/gcc/x86_64-suse-linux/9/../../../../x86_64-suse-linux/bin/ld:
util.c:(.text+0xf02): undefined reference to `stdscr'
/usr/lib64/gcc/x86_64-suse-linux/9/../../../../x86_64-suse-linux/bin/ld:
util.c:(.text+0xf1a): undefined reference to `stdscr'
/usr/lib64/gcc/x86_64-suse-linux/9/../../../../x86_64-suse-linux/bin/ld:
lxdialog/util.o:util.c:(.text+0xf26): more undefined references to `stdscr'
follow
/usr/lib64/gcc/x86_64-suse-linux/9/../../../../x86_64-suse-linux/bin/ld:
lxdialog/util.o: in function `draw_box':
util.c:(.text+0x1639): undefined reference to `acs_map'
/usr/lib64/gcc/x86_64-suse-linux/9/../../../../x86_64-suse-linux/bin/ld:
util.c:(.text+0x166c): undefined reference to `acs_map'
/usr/lib64/gcc/x86_64-suse-linux/9/../../../../x86_64-suse-linux/bin/ld:
util.c:(.text+0x169f): undefined reference to `acs_map'
/usr/lib64/gcc/x86_64-suse-linux/9/../../../../x86_64-suse-linux/bin/ld:
util.c:(.text+0x16d7): undefined reference to `acs_map'
/usr/lib64/gcc/x86_64-suse-linux/9/../../../../x86_64-suse-linux/bin/ld:
util.c:(.text+0x16ff): undefined reference to `acs_map'
/usr/lib64/gcc/x86_64-suse-linux/9/../../../../x86_64-suse-linux/bin/ld:
lxdialog/util.o:util.c:(.text+0x172c): more undefined references to `acs_map'
follow
/usr/lib64/gcc/x86_64-suse-linux/9/../../../../x86_64-suse-linux/bin/ld:
lxdialog/inputbox.o: in function `dialog_inputbox':
inputbox.c:(.text+0x110): undefined reference to `stdscr'
/usr/lib64/gcc/x86_64-suse-linux/9/../../../../x86_64-suse-linux/bin/ld:
inputbox.c:(.text+0x11c): undefined reference to `stdscr'
/usr/lib64/gcc/x86_64-suse-linux/9/../../../../x86_64-suse-linux/bin/ld:
inputbox.c:(.text+0x146): undefined reference to `stdscr'
/usr/lib64/gcc/x86_64-suse-linux/9/../../../../x86_64-suse-linux/bin/ld:
inputbox.c:(.text+0x152): undefined reference to `stdscr'
/usr/lib64/gcc/x86_64-suse-linux/9/../../../../x86_64-suse-linux/bin/ld:
inputbox.c:(.text+0x17c): undefined reference to `stdscr'
/usr/lib64/gcc/x86_64-suse-linux/9/../../../../x86_64-suse-linux/bin/ld:
lxdialog/inputbox.o:inputbox.c:(.text+0x188): more undefined references to
`stdscr' follow
/usr/lib64/gcc/x86_64-suse-linux/9/../../../../x86_64-suse-linux/bin/ld:
lxdialog/inputbox.o: in function `dialog_inputbox':
inputbox.c:(.text+0x28e): undefined reference to `acs_map'
/usr/lib64/gcc/x86_64-suse-linux/9/../../../../x86_64-suse-linux/bin/ld:
inputbox.c:(.text+0x2ad): undefined reference to `acs_map'
/usr/lib64/gcc/x86_64-suse-linux/9/../../../../x86_64-suse-linux/bin/ld:
inputbox.c:(.text+0x2e8): undefined reference to `acs_map'
/usr/lib64/gcc/x86_64-suse-linux/9/../../../../x86_64-suse-linux/bin/ld:
lxdialog/textbox.o: in function `dialog_textbox':
textbox.c:(.text+0x131): undefined reference to `stdscr'
/usr/lib64/gcc/x86_64-suse-linux/9/../../../../x86_64-suse-linux/bin/ld:
textbox.c:(.text+0x13d): undefined reference to `stdscr'
/usr/lib64/gcc/x86_64-suse-linux/9/../../../../x86_64-suse-linux/bin/ld:
textbox.c:(.text+0x156): undefined reference to `stdscr'
/usr/lib64/gcc/x86_64-suse-linux/9/../../../../x86_64-suse-linux/bin/ld:
textbox.c:(.text+0x162): undefined reference to `stdscr'
/usr/lib64/gcc/x86_64-suse-linux/9/../../../../x86_64-suse-linux/bin/ld:
textbox.c:(.text+0x1d3): undefined reference to `stdscr'
/usr/lib64/gcc/x86_64-suse-linux/9/../../../../x86_64-suse-linux/bin/ld:
lxdialog/textbox.o:textbox.c:(.text+0x1df): more undefined references to
`stdscr' follow
/usr/lib64/gcc/x86_64-suse-linux/9/../../../../x86_64-suse-linux/bin/ld:
lxdialog/textbox.o: in function `dialog_textbox':
textbox.c:(.text+0x361): undefined reference to `acs_map'
/usr/lib64/gcc/x86_64-suse-linux/9/../../../../x86_64-suse-linux/bin/ld:
textbox.c:(.text+0x380): undefined reference to `acs_map'
/usr/lib64/gcc/x86_64-suse-linux/9/../../../../x86_64-suse-linux/bin/ld:
textbox.c:(.text+0x3d9): undefined reference to `acs_map'
/usr/lib64/gcc/x86_64-suse-linux/9/../../../../x86_64-suse-linux/bin/ld:
lxdialog/yesno.o: in function `dialog_yesno':
yesno.c:(.text+0xd8): undefined reference to `stdscr'
/usr/lib64/gcc/x86_64-suse-linux/9/../../../../x86_64-suse-linux/bin/ld:
yesno.c:(.text+0xe4): undefined reference to `stdscr'
/usr/lib64/gcc/x86_64-suse-linux/9/../../../../x86_64-suse-linux/bin/ld:
yesno.c:(.text+0x10e): undefined reference to `stdscr'
/usr/lib64/gcc/x86_64-suse-linux/9/../../../../x86_64-suse-linux/bin/ld:
yesno.c:(.text+0x11a): undefined reference to `stdscr'
/usr/lib64/gcc/x86_64-suse-linux/9/../../../../x86_64-suse-linux/bin/ld:
yesno.c:(.text+0x144): undefined reference to `stdscr'
/usr/lib64/gcc/x86_64-suse-linux/9/../../../../x86_64-suse-linux/bin/ld:
lxdialog/yesno.o:yesno.c:(.text+0x150): more undefined references to `stdscr'
follow
/usr/lib64/gcc/x86_64-suse-linux/9/../../../../x86_64-suse-linux/bin/ld:
lxdialog/yesno.o: in function `dialog_yesno':
yesno.c:(.text+0x256): undefined reference to `acs_map'
/usr/lib64/gcc/x86_64-suse-linux/9/../../../../x86_64-suse-linux/bin/ld:
yesno.c:(.text+0x275): undefined reference to `acs_map'
/usr/lib64/gcc/x86_64-suse-linux/9/../../../../x86_64-suse-linux/bin/ld:
yesno.c:(.text+0x2b0): undefined reference to `acs_map'
/usr/lib64/gcc/x86_64-suse-linux/9/../../../../x86_64-suse-linux/bin/ld:
lxdialog/menubox.o: in function `print_arrows':
menubox.c:(.text+0x245): undefined reference to `acs_map'
/usr/lib64/gcc/x86_64-suse-linux/9/../../../../x86_64-suse-linux/bin/ld:
menubox.c:(.text+0x289): undefined reference to `acs_map'
/usr/lib64/gcc/x86_64-suse-linux/9/../../../../x86_64-suse-linux/bin/ld:
lxdialog/menubox.o:menubox.c:(.text+0x29f): more undefined references to
`acs_map' follow
/usr/lib64/gcc/x86_64-suse-linux/9/../../../../x86_64-suse-linux/bin/ld:
lxdialog/menubox.o: in function `dialog_menu':
menubox.c:(.text+0x5bf): undefined reference to `stdscr'
/usr/lib64/gcc/x86_64-suse-linux/9/../../../../x86_64-suse-linux/bin/ld:
menubox.c:(.text+0x5cb): undefined reference to `stdscr'
/usr/lib64/gcc/x86_64-suse-linux/9/../../../../x86_64-suse-linux/bin/ld:
menubox.c:(.text+0x5e4): undefined reference to `stdscr'
/usr/lib64/gcc/x86_64-suse-linux/9/../../../../x86_64-suse-linux/bin/ld:
menubox.c:(.text+0x5f0): undefined reference to `stdscr'
/usr/lib64/gcc/x86_64-suse-linux/9/../../../../x86_64-suse-linux/bin/ld:
menubox.c:(.text+0x647): undefined reference to `stdscr'
/usr/lib64/gcc/x86_64-suse-linux/9/../../../../x86_64-suse-linux/bin/ld:
lxdialog/menubox.o:menubox.c:(.text+0x653): more undefined references to
`stdscr' follow
/usr/lib64/gcc/x86_64-suse-linux/9/../../../../x86_64-suse-linux/bin/ld:
lxdialog/menubox.o: in function `dialog_menu':
menubox.c:(.text+0x759): undefined reference to `acs_map'
/usr/lib64/gcc/x86_64-suse-linux/9/../../../../x86_64-suse-linux/bin/ld:
menubox.c:(.text+0x778): undefined reference to `acs_map'
/usr/lib64/gcc/x86_64-suse-linux/9/../../../../x86_64-suse-linux/bin/ld:
menubox.c:(.text+0x7d1): undefined reference to `acs_map'
collect2: error: ld returned 1 exit status
make[1]: *** [Makefile:40: mconf] Error 1
make[1]: Leaving directory '/projects/openwrt/scripts/config'
make: *** [/projects/openwrt/include/toplevel.mk:106: scripts/config/mconf]
Error 2

Googling for the errors leads leads to posts recommending installing
libncurses5 - but that's already installed (alongside libncurses6):

$ rpm -qa | grep ncurses

libyui-ncurses11-2.54.5-1.1.x86_64
ncurses-devel-static-6.1-25.2.x86_64
libncurses5-6.1-25.2.x86_64
libncurses6-6.1-25.2.x86_64
ncurses5-devel-6.1-25.2.x86_64
ncurses-utils-6.1-25.2.x86_64
ncurses5-devel-static-6.1-25.2.x86_64
libyui-ncurses-pkg11-2.50.4-1.2.x86_64
ncurses-devel-6.1-25.2.x86_64


You are receiving this mail because: