make[2]: Entering directory `/home/shardul/elmo/src' if gcc -DHAVE_CONFIG_H -I. -I. -I.. -Wall -DLOCALEDIR='"/usr/local/share/locale"' -g -O2 -MT elmo.o -MD -MP -MF ".deps/elmo.Tpo" \ -c -o elmo.o `test -f 'elmo.c' || echo './'`elmo.c; \ then mv -f ".deps/elmo.Tpo" ".deps/elmo.Po"; \ else rm -f ".deps/elmo.Tpo"; exit 1; \ fi In file included from folder.h:27:0, from elmo.c:51: mail.h:129:3: error: unknown type name ‘chtype’ In file included from elmo.c:52:0: cmd.h:61:1: error: unknown type name ‘WINDOW’ In file included from elmo.c:57:0: screen.h:47:34: error: unknown type name ‘WINDOW’ screen.h:48:30: error: unknown type name ‘WINDOW’ screen.h:49:30: error: unknown type name ‘WINDOW’ screen.h:50:31: error: unknown type name ‘WINDOW’ elmo.c: In function ‘curses_cleanup’: elmo.c:302:3: warning: implicit declaration of function ‘curs_set’ [-Wimplicit-function-declaration] elmo.c:303:3: warning: implicit declaration of function ‘endwin’ [-Wimplicit-function-declaration] elmo.c: In function ‘setup_window’: elmo.c:324:3: warning: implicit declaration of function ‘initscr’ [-Wimplicit-function-declaration] elmo.c:328:3: warning: implicit declaration of function ‘keypad’ [-Wimplicit-function-declaration] elmo.c:328:11: error: ‘stdscr’ undeclared (first use in this function) elmo.c:328:11: note: each undeclared identifier is reported only once for each function it appears in elmo.c:328:19: error: ‘TRUE’ undeclared (first use in this function) elmo.c:329:3: warning: implicit declaration of function ‘leaveok’ [-Wimplicit-function-declaration] elmo.c:330:3: warning: implicit declaration of function ‘nodelay’ [-Wimplicit-function-declaration] elmo.c:331:3: warning: implicit declaration of function ‘nocbreak’ [-Wimplicit-function-declaration] elmo.c:332:3: warning: implicit declaration of function ‘noecho’ [-Wimplicit-function-declaration] elmo.c:333:3: warning: implicit declaration of function ‘nonl’ [-Wimplicit-function-declaration] elmo.c:336:3: warning: implicit declaration of function ‘has_colors’ [-Wimplicit-function-declaration] elmo.c:337:5: warning: implicit declaration of function ‘start_color’ [-Wimplicit-function-declaration] elmo.c:338:5: warning: implicit declaration of function ‘init_pair’ [-Wimplicit-function-declaration] elmo.c:338:19: error: ‘COLOR_WHITE’ undeclared (first use in this function) elmo.c:338:32: error: ‘COLOR_BLUE’ undeclared (first use in this function) elmo.c:339:19: error: ‘COLOR_BLACK’ undeclared (first use in this function) elmo.c:339:32: error: ‘COLOR_CYAN’ undeclared (first use in this function) elmo.c:340:19: error: ‘COLOR_RED’ undeclared (first use in this function) elmo.c:343:19: error: ‘COLOR_GREEN’ undeclared (first use in this function) elmo.c:344:19: error: ‘COLOR_YELLOW’ undeclared (first use in this function) elmo.c: In function ‘main’: elmo.c:358:7: warning: variable ‘i’ set but not used [-Wunused-but-set-variable] make[2]: *** [elmo.o] Error 1 make[2]: Leaving directory `/home/shardul/elmo/src' make[1]: *** [all-recursive] Error 1 make[1]: Leaving directory `/home/shardul/elmo' make: *** [all] Error 2