请教个编译问题
信息如下:
......../menubox.c:220: undefined reference to `acs_map'
......../menubox.c:220: undefined reference to `waddch'
......../menubox.o: In function `do_scroll':
......../menubox.c:176: undefined reference to `wrefresh'
......../menubox.o: In function `print_arrows':
......../menubox.c:149: undefined reference to `wrefresh'
......../menubox.o: In function `do_print_item':
......../menubox.c:99: undefined reference to `wrefresh'
......../menubox.o: In function `print_buttons':
......../menubox.c:165: undefined reference to `wrefresh'
collect2: ld returned 1 exit status
make[1]: *** [mconf] Error 1
make: *** [......../obj/build//mconf] Error 2
看起来,是找不到curses库,我已经安装了build-essential, libncurses5, libncurses5-dev,请问有什么方法可以让代码找到curses库,成功编译?