Gentoo Archives: gentoo-user

From: Grant Edwards <grant.b.edwards@×××××.com>
To: gentoo-user@l.g.o
Subject: [gentoo-user] gdb build failure: tui/tui-win.o: undefined reference to symbol 'keypad'
Date: Wed, 11 Sep 2019 14:49:17
Message-Id: qlb1gq$3cbr$2@blaine.gmane.org
1 This morning the build of gdb failed during a routine update:
2
3
4 CXX xml-builtin.o
5 CXX xml-support.o
6 CXX xml-syscall.o
7 CXX xml-tdesc.o
8 CXX init.o
9 CXXLD gdb
10 /usr/lib/gcc/x86_64-pc-linux-gnu/8.3.0/../../../../x86_64-pc-linux-gnu/bin/ld: tui/tui-win.o: undefined reference to symbol 'keypad'
11 /usr/lib/gcc/x86_64-pc-linux-gnu/8.3.0/../../../../x86_64-pc-linux-gnu/bin/ld: /lib64/libtinfo.so.6: error adding symbols: DSO missing from command line
12 collect2: error: ld returned 1 exit status
13 make[2]: *** [Makefile:1893: gdb] Error 1
14 make[2]: Leaving directory '/var/tmp/portage/sys-devel/gdb-8.3/work/gdb-8.3/gdb'
15 make[1]: *** [Makefile:8157: all-gdb] Error 2
16 make[1]: Leaving directory '/var/tmp/portage/sys-devel/gdb-8.3/work/gdb-8.3'
17 make: *** [Makefile:850: all] Error 2
18 * ERROR: sys-devel/gdb-8.3::gentoo failed (compile phase):
19
20
21 I've done some googling, and initially thought it might be due to the
22 fact that I had both ncurses:5 and ncurses:6 installed. I uninstalled
23 :5 and did a revdep-rebuild (which found nothing to rebuild). But gdb
24 still fails to build.
25
26 Any clues?
27
28 --
29 Grant Edwards grant.b.edwards Yow! We're going to a
30 at new disco!
31 gmail.com

Replies