Summary: | sys-devel/gdb with ncurses[tinfo] and libtermcap-compat: ld: tui.o: undefined reference to symbol 'cbreak' | ||
---|---|---|---|
Product: | Gentoo Linux | Reporter: | Jean-Francois Ostiguy <jfostiguy> |
Component: | [OLD] Development | Assignee: | Gentoo Toolchain Maintainers <toolchain> |
Status: | RESOLVED NEEDINFO | ||
Severity: | normal | CC: | vivo75 |
Priority: | Normal | ||
Version: | unspecified | ||
Hardware: | All | ||
OS: | Linux | ||
Whiteboard: | |||
Package list: | Runtime testing required: | --- | |
Bug Depends on: | |||
Bug Blocks: | 457530 | ||
Attachments: | build.log |
Description
Jean-Francois Ostiguy
2013-09-03 14:47:23 UTC
Created attachment 357766 [details]
build.log
checking which library has the termcap functions... using libtermcap It looks like configure.ac is getting confused here. Do you have sys-libs/libtermcap-compat installed? sys-devel/gdb 7.8 is ok It picks up a libtermcap from somewhere and we never learned where from, but it's not related to USE=tinfo since it finds libtermcap /before/ it looks for ncurses/termcap/tinfo (in some order, I didn't check). (In reply to Francesco Riosa from comment #3) > sys-devel/gdb 7.8 is ok I have build logs for 7.6.1 that are fine with sys-libs/ncurses[tinfo], too. a few packages still depend on libtermcap-compat in the tree, and gdb will search for it before tinfo looking closer, this build doesn't make sense: checking which library has the termcap functions... using libtermcap but in order for that to happen, you need to have a libtermcap.so or libtermcap.a file, but nothing in the tree provides that. libtermcap-compat only provides the libtermcap.so.2 file. please post the the config.log and the output of doing: $ echo 'int main(){}' | gcc -Wl,--verbose -x c - -ltermcap |