请教大牛::
本人想用C语言编写一个窗体,用的是nusres.h.可是编译老出错。如下
/tmp/cckish9D.o(.text+0x11): In function `main':
: undefined reference to `initscr'
/tmp/cckish9D.o(.text+0x1a): In function `main':
: undefined reference to `stdscr'
/tmp/cckish9D.o(.text+0x1f): In function `main':
: undefined reference to `wclear'
/tmp/cckish9D.o(.text+0x32): In function `main':
: undefined reference to `LINES'
/tmp/cckish9D.o(.text+0x44): In function `main':
: undefined reference to `stdscr'
/tmp/cckish9D.o(.text+0x49): In function `main':
: undefined reference to `wmove'
/tmp/cckish9D.o(.text+0x57): In function `main':
: undefined reference to `stdscr'
/tmp/cckish9D.o(.text+0x5c): In function `main':
: undefined reference to `waddch'
/tmp/cckish9D.o(.text+0x67): In function `main':
: undefined reference to `COLS'
/tmp/cckish9D.o(.text+0x72): In function `main':
: undefined reference to `stdscr'
/tmp/cckish9D.o(.text+0x77): In function `main':
: undefined reference to `wmove'
/tmp/cckish9D.o(.text+0x85): In function `main':
: undefined reference to `stdscr'
/tmp/cckish9D.o(.text+0x8a): In function `main':
: undefined reference to `waddch'
/tmp/cckish9D.o(.text+0xa4): In function `main':
: undefined reference to `COLS'
/tmp/cckish9D.o(.text+0xb6): In function `main':
: undefined reference to `stdscr'
/tmp/cckish9D.o(.text+0xbb): In function `main':
: undefined reference to `wmove'
/tmp/cckish9D.o(.text+0xc9): In function `main':
: undefined reference to `stdscr'
/tmp/cckish9D.o(.text+0xce): In function `main':
: undefined reference to `waddch'
/tmp/cckish9D.o(.text+0xdc): In function `main':
: undefined reference to `LINES'
/tmp/cckish9D.o(.text+0xe4): In function `main':
: undefined reference to `stdscr'
/tmp/cckish9D.o(.text+0xe9): In function `main':
: undefined reference to `wmove'
/tmp/cckish9D.o(.text+0xf7): In function `main':
: undefined reference to `stdscr'
/tmp/cckish9D.o(.text+0xfc): In function `main':
: undefined reference to `waddch'
/tmp/cckish9D.o(.text+0x10f): In function `main':
: undefined reference to `stdscr'
/tmp/cckish9D.o(.text+0x114): In function `main':
: undefined reference to `wrefresh'
/tmp/cckish9D.o(.text+0x11c): In function `main':
: undefined reference to `endwin'
collect2: ld returned 1 exit status