kris@homer:~/Desktop/ventctrl/ventriloctrl-0.3$ make gcc -Wall -O3 -o ventriloctrl ventriloctrl.c -lX11 ventriloctrl.c:14:22: error: X11/Xlib.h: No such file or directory ventriloctrl.c:15:24: error: X11/keysym.h: No such file or directory ventriloctrl.c:29: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘createKeyEvent’ ventriloctrl.c:57: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘*’ token ventriloctrl.c: In function ‘main’: ventriloctrl.c:95: error: ‘Display’ undeclared (first use in this function) ventriloctrl.c:95: error: (Each undeclared identifier is reported only once ventriloctrl.c:95: error: for each function it appears in.) ventriloctrl.c:95: error: ‘display’ undeclared (first use in this function) ventriloctrl.c:96: error: ‘Window’ undeclared (first use in this function) ventriloctrl.c:96: error: expected ‘;’ before ‘winRoot’ ventriloctrl.c:97: error: ‘winFocus’ undeclared (first use in this function) ventriloctrl.c:98: error: ‘XKeyEvent’ undeclared (first use in this function) ventriloctrl.c:98: error: expected ‘;’ before ‘event’ ventriloctrl.c:121: warning: implicit declaration of function ‘XOpenDisplay’ ventriloctrl.c:127: error: ‘winRoot’ undeclared (first use in this function) ventriloctrl.c:127: warning: implicit declaration of function ‘XDefaultRootWindow’ ventriloctrl.c:128: warning: implicit declaration of function ‘find_window’ ventriloctrl.c:146: error: ‘event’ undeclared (first use in this function) ventriloctrl.c:146: warning: implicit declaration of function ‘createKeyEvent’ ventriloctrl.c:146: error: ‘XK_A’ undeclared (first use in this function) ventriloctrl.c:147: warning: implicit declaration of function ‘XSendEvent’ ventriloctrl.c:147: error: ‘True’ undeclared (first use in this function) ventriloctrl.c:147: error: ‘KeyPressMask’ undeclared (first use in this function) ventriloctrl.c:147: error: ‘XEvent’ undeclared (first use in this function) ventriloctrl.c:147: error: expected expression before ‘)’ token ventriloctrl.c:148: warning: implicit declaration of function ‘XFlush’ ventriloctrl.c:152: error: expected expression before ‘)’ token make: *** [all] Error 1