Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 455110 - app-crypt/nwipe should use pkgconfig to detect ncurses libs
Summary: app-crypt/nwipe should use pkgconfig to detect ncurses libs
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Crypto team [DISABLED]
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2013-02-02 11:39 UTC by Justin Lecher (RETIRED)
Modified: 2013-02-02 22:59 UTC (History)
1 user (show)

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Justin Lecher (RETIRED) gentoo-dev 2013-02-02 11:39:00 UTC
Using ncurses[tinfo] so symbols are moved to libtinfo.so. This means you need link to it too. Please use pkgconfig to detect ncurses.

x86_64-pc-linux-gnu-gcc  -O2 -pipe -ftracer -march=corei7-avx -mtune=corei7-avx -mcx16 -msahf -mno-movbe -maes -mpclmul -mpopcnt -mno-abm -mno-lwp -mno-fma -mno-fma4 -mno-xop -mno-bmi -mno-bmi2 -mno-tbm -mavx -mno-avx2 -msse4.2 -msse4.1 -mno-lzcnt --param l1-cache-size=32 --param l1-cache-line-size=64 --param l2-cache-size=8192 -frecord-gcc-switches -g -Wimplicit-function-declaration  -Wl,-O1 -Wl,--as-needed -Wl,-O1 -Wl,--hash-style=gnu -Wl,--sort-common -o nwipe isaac_rand.o nwipe.o gui.o pass.o device.o mt19937ar-cok.o logging.o method.o options.o prng.o version.o  -lpthread -lparted -lpanel -lncurses 
nwipe.c:399: error: undefined reference to 'stdscr'
nwipe.c:399: error: undefined reference to 'nodelay'
nwipe.c:402: error: undefined reference to 'halfdelay'
nwipe.c:435: error: undefined reference to 'nocbreak'
nwipe.c:438: error: undefined reference to 'stdscr'
nwipe.c:399: error: undefined reference to 'stdscr'
nwipe.c:399: error: undefined reference to 'nodelay'
nwipe.c:402: error: undefined reference to 'halfdelay'
gui.c:165: error: undefined reference to 'cbreak'
gui.c:171: error: undefined reference to 'stdscr'
gui.c:171: error: undefined reference to 'keypad'
gui.c:215: error: undefined reference to 'COLS'
gui.c:231: error: undefined reference to 'LINES'
gui.c:231: error: undefined reference to 'COLS'
gui.c:292: error: undefined reference to 'LINES'
gui.c:292: error: undefined reference to 'COLS'
gui.c:935: error: undefined reference to 'curs_set'
gui.c:891: error: undefined reference to 'curs_set'
gui.c:935: error: undefined reference to 'curs_set'
gui.c:1005: error: undefined reference to 'acs_map'
gui.c:1133: error: undefined reference to 'acs_map'
gui.c:1265: error: undefined reference to 'acs_map'
gui.c:1397: error: undefined reference to 'acs_map'
gui.c:2039: error: undefined reference to 'COLS'
gui.c:2006: error: undefined reference to 'def_prog_mode'
gui.c:2023: error: undefined reference to 'reset_prog_mode'
gui.c:322: error: undefined reference to 'curs_set'
collect2: error: ld returned 1 exit status
make[2]: *** [nwipe] Error 1
make[2]: Leaving directory `/var/tmp/portage/app-crypt/nwipe-0.12/work/nwipe-0.12/src'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/var/tmp/portage/app-crypt/nwipe-0.12/work/nwipe-0.12'
make: *** [all] Error 2
Comment 1 Alon Bar-Lev (RETIRED) gentoo-dev 2013-02-02 22:59:38 UTC
Fixed in nwipe-0.12-r1