Summary: | sys-devel/gdb-9.1: ld: tui/tui-win.o: undefined reference to symbol 'keypad' | ||
---|---|---|---|
Product: | Gentoo Linux | Reporter: | RazrFalcon <RazrFalcon> |
Component: | Current packages | Assignee: | Gentoo Toolchain Maintainers <toolchain> |
Status: | RESOLVED INVALID | ||
Severity: | normal | CC: | esigra |
Priority: | Normal | ||
Version: | unspecified | ||
Hardware: | All | ||
OS: | Linux | ||
See Also: | https://bugs.gentoo.org/show_bug.cgi?id=695936 | ||
Whiteboard: | |||
Package list: | Runtime testing required: | --- | |
Bug Depends on: | |||
Bug Blocks: | 457530 | ||
Attachments: | build.tar.gz |
Description
RazrFalcon
2020-06-28 10:50:45 UTC
Created attachment 646930 [details]
build.tar.gz
Comment on attachment 646930 [details]
build.tar.gz
Did you know you can compress files directly without using tar at all?
Do you have sys-libs/libtermcap-compat installed by chance? I think last time we debugged it it was upsetting autodetection of term-style functions. (In reply to Sergei Trofimovich from comment #3) > Do you have sys-libs/libtermcap-compat installed by chance? I think last > time we debugged it it was upsetting autodetection of term-style functions. Nope. (In reply to RazrFalcon from comment #4) > (In reply to Sergei Trofimovich from comment #3) > > Do you have sys-libs/libtermcap-compat installed by chance? I think last > > time we debugged it it was upsetting autodetection of term-style functions. > > Nope. Your gdb links with -ltermcap as: > checking for library containing tgetent... -ltermcap ... > -ltermcap -lncursesw Check if you have libtermcap.a or libtermcap.so and trace where it comes from. Example session for ncurses: $ x86_64-pc-linux-gnu-gcc --print-file-name=libncurses.a /usr/lib/gcc/x86_64-pc-linux-gnu/11.0.0/../../../../lib64/libncurses.a $ x86_64-pc-linux-gnu-gcc --print-file-name=libncurses.so /usr/lib/gcc/x86_64-pc-linux-gnu/11.0.0/../../../../lib64/libncurses.so $ qfile /usr/lib/gcc/x86_64-pc-linux-gnu/11.0.0/../../../../lib64/libncurses.a sys-libs/ncurses: /usr/lib64/libncurses.a Try the same with libtermcap.a and libtermcap.so. Turns out I do have libtermcap.so
But it's orphaned:
> equery b /usr/lib64/libtermcap.so.2.0.8
* Searching for /usr/lib64/libtermcap.so.2.0.8 ...
Not sure where I got it. Removing it fixed the issue.
Thanks for the help!
|