Summary: | app-misc/cdircmp-0.3-r2 with sys-libs/ncurses[tinfo] - main.o: undefined reference to symbol 'keypad' | ||
---|---|---|---|
Product: | Gentoo Linux | Reporter: | Sławomir Nizio <slawomir.nizio> |
Component: | Current packages | Assignee: | No maintainer - Look at https://wiki.gentoo.org/wiki/Project:Proxy_Maintainers if you want to take care of it <maintainer-needed> |
Status: | RESOLVED FIXED | ||
Severity: | normal | CC: | jstein |
Priority: | Normal | Keywords: | PATCH |
Version: | unspecified | ||
Hardware: | All | ||
OS: | Linux | ||
Whiteboard: | |||
Package list: | Runtime testing required: | --- | |
Bug Depends on: | |||
Bug Blocks: | 457530 | ||
Attachments: | fix (ebuild patch) |
Created attachment 545728 [details, diff]
fix (ebuild patch)
The bug has been closed via the following commit(s): https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=8e614f1fe3d86c3ed796c4fbb4512bd3bea49371 commit 8e614f1fe3d86c3ed796c4fbb4512bd3bea49371 Author: Pacho Ramos <pacho@gentoo.org> AuthorDate: 2018-10-20 18:22:07 +0000 Commit: Pacho Ramos <pacho@gentoo.org> CommitDate: 2018-10-20 18:51:09 +0000 app-misc/cdircmp: Fix build with ncurses[tinfo] Thanks-to: Sławomir Nizio Closes: https://bugs.gentoo.org/665036 Signed-off-by: Pacho Ramos <pacho@gentoo.org> Package-Manager: Portage-2.3.51, Repoman-2.3.11 app-misc/cdircmp/cdircmp-0.3-r2.ebuild | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) |
>>> Compiling source in /var/tmp/portage/app-misc/cdircmp-0.3-r2/work/cdircmp-0.3 ... make -j8 -s CC=x86_64-pc-linux-gnu-gcc 'CFLAGS=-O2 -march=x86-64 -pipe' 'LDFLAGS=-Wl,-O1 -Wl,--as-needed' main.c: In function ‘main’: main.c:204:2: warning: ignoring return value of ‘getcwd’, declared with attribute warn_unused_result [-Wunu sed-result] getcwd(CurDir, MAXPATH); ^~~~~~~~~~~~~~~~~~~~~~~ main.c: In function ‘ReadDirectory’: main.c:435:3: warning: ignoring return value of ‘getcwd’, declared with attribute warn_unused_result [-Wunu sed-result] getcwd(dirname, MAXPATH); ^~~~~~~~~~~~~~~~~~~~~~~~ /usr/lib/gcc/x86_64-pc-linux-gnu/6.4.0/../../../../x86_64-pc-linux-gnu/bin/ld: main.o: undefined reference to symbol 'keypad' /lib64/libtinfo.so.6: error adding symbols: DSO missing from command line collect2: error: ld returned 1 exit status