Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 773322

Summary: app-misc/cdircmp-0.3-r2 with sys-libs/ncurses[tinfo] undefined reference to symbol 'cbreak'
Product: Gentoo Linux Reporter: Alessandro Barbieri <lssndrbarbieri>
Component: Current packagesAssignee: No maintainer - Look at https://wiki.gentoo.org/wiki/Project:Proxy_Maintainers if you want to take care of it <maintainer-needed>
Status: RESOLVED INVALID    
Severity: normal CC: esigra, ionen, sam
Priority: Normal    
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---
Attachments: cdircmp-0.3-r2:20210227-200454.log

Description Alessandro Barbieri 2021-02-27 20:19:43 UTC
/usr/lib/gcc/x86_64-pc-linux-gnu/9.3.0/../../../../x86_64-pc-linux-gnu/bin/ld: main.o: undefined reference to symbol 'cbreak'
/usr/lib/gcc/x86_64-pc-linux-gnu/9.3.0/../../../../x86_64-pc-linux-gnu/bin/ld: /lib64/libtinfo.so.6: error adding symbols: DSO missing from command line
collect2: error: ld returned 1 exit status
make: *** [Makefile:23: cdircmp] Error 1
Comment 1 Alessandro Barbieri 2021-02-27 20:20:32 UTC
Created attachment 688629 [details]
cdircmp-0.3-r2:20210227-200454.log

buildlog
Comment 2 Ionen Wolkens gentoo-dev 2021-02-27 20:59:16 UTC
To clarify what happened here, it was because of -Wl,--as-needed being in CFLAGS rather than only LDFLAGS