looks like the header isn't working properly, check that one of /usr/include/ncurses.h or /usr/local/include/ncurses.h is valid
if that's fine, then you may want to check that the compiler and ncurses library are the same arch (64bit in your case) Jeremy On Tue 03 Feb 2009 - 02:17PM, Ye Xu wrote: > Hello Everyone, > > I had just tried to compile dvtm on my pc, but it failed with the > following errors. > > $ make > cleaning > dvtm build options: > CFLAGS = -std=c99 -Os -I. -I/usr/include -I/usr/local/include > -DVERSION="0.5" -DNDEBUG -DCONFIG_MOUSE -DCONFIG_STATUSBAR > LDFLAGS = -L/usr/lib -L/usr/local/lib -lc -lutil -lncurses > CC = cc > CC dvtm.c > dvtm.c: In function 'setup': > dvtm.c:842: warning: implicit declaration of function 'set_escdelay' > CC madtty.c > CC -o dvtm > dvtm.o: In function `setup': > dvtm.c:(.text+0x1ebd): undefined reference to `set_escdelay' > collect2: ld returned 1 exit status > make: *** [dvtm] Error 1 > > any ideas how to correct it? > thx > > system spec: > ubuntu 8.10 amd64, gcc version 4.3.2 (Ubuntu 4.3.2-1ubuntu12) >
