project-navigation
Personal tools

Author Topic: Can`t compile on openSUSE 11.3  (Read 3028 times)

Offline vadimuzzz

  • Cannon Fodder
  • **
  • Posts: 3
    • View Profile
Can`t compile on openSUSE 11.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.

Offline Mattn

  • Administrator
  • PHALANX Commander
  • *****
  • Posts: 4831
  • https://github.com/mgerhardy/vengi
    • View Profile
    • Vengi Voxel Tools
Re: Can`t compile on openSUSE 11.3
« Reply #1 on: October 04, 2010, 10:28:31 am »
we should use the pkg-config file of cunit - the version i am using isn't linked against ncurses.