Skip to content

Instantly share code, notes, and snippets.

@masak
Created March 19, 2011 11:46
Show Gist options
  • Save masak/877423 to your computer and use it in GitHub Desktop.
Save masak/877423 to your computer and use it in GitHub Desktop.
make error
$ make
perl -pe 's!TITS_GO_HERE!qx(./mkframes.pl zebra.txt)!e' frames.h.tpl > frames.h
gcc -g -Wall -o zbr zbr.c -lncurses
zbr.c:4:20: error: curses.h: No such file or directory
zbr.c: In function ‘main’:
zbr.c:29: warning: implicit declaration of function ‘initscr’
zbr.c:31: error: ‘LINES’ undeclared (first use in this function)
zbr.c:31: error: (Each undeclared identifier is reported only once
zbr.c:31: error: for each function it appears in.)
zbr.c:32: error: ‘COLS’ undeclared (first use in this function)
zbr.c:34: warning: implicit declaration of function ‘noecho’
zbr.c:35: warning: implicit declaration of function ‘leaveok’
zbr.c:35: error: ‘stdscr’ undeclared (first use in this function)
zbr.c:35: error: ‘TRUE’ undeclared (first use in this function)
zbr.c:36: warning: implicit declaration of function ‘scrollok’
zbr.c:36: error: ‘FALSE’ undeclared (first use in this function)
zbr.c:37: warning: implicit declaration of function ‘curs_set’
zbr.c:49: warning: implicit declaration of function ‘refresh’
zbr.c:53: warning: implicit declaration of function ‘mvcur’
zbr.c:54: warning: implicit declaration of function ‘endwin’
zbr.c: In function ‘one_frame’:
zbr.c:61: error: ‘COLS’ undeclared (first use in this function)
zbr.c:72: warning: implicit declaration of function ‘mvaddch’
zbr.c: In function ‘tfn_poop’:
zbr.c:112: error: ‘COLS’ undeclared (first use in this function)
make: *** [zbr] Error 1
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment