Gentoo Archives: gentoo-user

From: Grant Edwards <grant.b.edwards@×××××.com>
To: gentoo-user@l.g.o
Subject: [gentoo-user] Re: gdb build failure: tui/tui-win.o: undefined reference to symbol 'keypad'
Date: Thu, 12 Sep 2019 16:47:40
Message-Id: qldsqe$72us$1@blaine.gmane.org
In Reply to: [gentoo-user] Re: gdb build failure: tui/tui-win.o: undefined reference to symbol 'keypad' by Grant Edwards
1 On 2019-09-12, Grant Edwards <grant.b.edwards@×××××.com> wrote:
2 > On 2019-09-11, Grant Edwards <grant.b.edwards@×××××.com> wrote:
3 >
4 >> This morning the build of gdb failed during a routine update:
5 >>
6 >> [...]
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 >
14 > I'm still beating my head against the wall on this one.
15
16 I give up.
17
18 I went into the build directory and manually added "-ltinfo" to the
19 link options in the Makefile and did a "make". It then compiled and
20 linked just fine. After that, doing 'ebuild gdb-8.3.ebuild
21 preinst/install/qmerge' worked and I have a functional gdb again.
22
23 When I have a spare day I guess I'm going to have to fall back on the
24 old MS-Windows solution: wipe the disk and install from scratch.
25
26 --
27 Grant Edwards grant.b.edwards Yow! Now KEN and BARBIE
28 at are PERMANENTLY ADDICTED to
29 gmail.com MIND-ALTERING DRUGS ...