3
« on: October 04, 2010, 09:40:15 am »
When I tried to build, i've got message:
"===> LD [testall]
/usr/lib64/libcunit.so: undefined reference to `scrollok'
/usr/lib64/libcunit.so: undefined reference to `nocbreak'
/usr/lib64/libcunit.so: undefined reference to `stdscr'
/usr/lib64/libcunit.so: undefined reference to `newwin'
/usr/lib64/libcunit.so: undefined reference to `wmove'
/usr/lib64/libcunit.so: undefined reference to `keypad'
/usr/lib64/libcunit.so: undefined reference to `echo'
/usr/lib64/libcunit.so: undefined reference to `endwin'
/usr/lib64/libcunit.so: undefined reference to `delwin'
/usr/lib64/libcunit.so: undefined reference to `werase'
/usr/lib64/libcunit.so: undefined reference to `initscr'
/usr/lib64/libcunit.so: undefined reference to `wrefresh'
/usr/lib64/libcunit.so: undefined reference to `init_pair'
/usr/lib64/libcunit.so: undefined reference to `mvwprintw'
/usr/lib64/libcunit.so: undefined reference to `cbreak'
/usr/lib64/libcunit.so: undefined reference to `start_color'
/usr/lib64/libcunit.so: undefined reference to `wgetch'
/usr/lib64/libcunit.so: undefined reference to `newpad'
/usr/lib64/libcunit.so: undefined reference to `prefresh'
/usr/lib64/libcunit.so: undefined reference to `waddnstr'
/usr/lib64/libcunit.so: undefined reference to `wgetnstr'
/usr/lib64/libcunit.so: undefined reference to `wborder'
/usr/lib64/libcunit.so: undefined reference to `acs_map'
/usr/lib64/libcunit.so: undefined reference to `wattr_off'
/usr/lib64/libcunit.so: undefined reference to `curs_set'
/usr/lib64/libcunit.so: undefined reference to `wclear'
/usr/lib64/libcunit.so: undefined reference to `noecho'
/usr/lib64/libcunit.so: undefined reference to `wattr_on'
collect2: ld returned 1 exit status
make: *** [testall] Error 1"
I found that addition "-lncurses" to LD_FLAGS in testall.mk fixes problem.