~/development/doom/linuxdoom-1.10 $ make gcc -g -Wall -DNORMALUNIX -DLINUX -c doomdef.c -o linux/doomdef.o gcc -g -Wall -DNORMALUNIX -DLINUX -c doomstat.c -o linux/doomstat.o gcc -g -Wall -DNORMALUNIX -DLINUX -c dstrings.c -o linux/dstrings.o gcc -g -Wall -DNORMALUNIX -DLINUX -c i_system.c -o linux/i_system.o gcc -g -Wall -DNORMALUNIX -DLINUX -c i_sound.c -o linux/i_sound.o gcc -g -Wall -DNORMALUNIX -DLINUX -c i_video.c -o linux/i_video.o i_video.c:33:22: X11/Xlib.h: No such file or directory i_video.c:34:23: X11/Xutil.h: No such file or directory i_video.c:35:24: X11/keysym.h: No such file or directory i_video.c:37:33: X11/extensions/XShm.h: No such file or directory i_video.c:41: error: syntax error before '*' token i_video.c:50:20: errnos.h: No such file or directory i_video.c:63: error: syntax error before '*' token i_video.c:63: warning: type defaults to `int' in declaration of `X_display' i_video.c:63: warning: data definition has no type or storage class i_video.c:64: error: syntax error before "X_mainWindow" i_video.c:64: warning: type defaults to `int' in declaration of `X_mainWindow' i_video.c:64: warning: data definition has no type or storage class i_video.c:65: error: syntax error before "X_cmap" i_video.c:65: warning: type defaults to `int' in declaration of `X_cmap' i_video.c:65: warning: data definition has no type or storage class i_video.c:66: error: syntax error before '*' token i_video.c:66: warning: type defaults to `int' in declaration of `X_visual' i_video.c:66: warning: data definition has no type or storage class i_video.c:67: error: syntax error before "X_gc" i_video.c:67: warning: type defaults to `int' in declaration of `X_gc' i_video.c:67: warning: data definition has no type or storage class i_video.c:68: error: syntax error before "X_event" i_video.c:68: warning: type defaults to `int' in declaration of `X_event' i_video.c:68: warning: data definition has no type or storage class i_video.c:70: error: syntax error before "X_visualinfo" i_video.c:70: warning: type defaults to `int' in declaration of `X_visualinfo' i_video.c:70: warning: data definition has no type or storage class i_video.c:71: error: syntax error before '*' token i_video.c:71: warning: type defaults to `int' in declaration of `image' i_video.c:71: warning: data definition has no type or storage class i_video.c:78: error: syntax error before "X_shminfo" i_video.c:78: warning: type defaults to `int' in declaration of `X_shminfo' i_video.c:78: warning: data definition has no type or storage class i_video.c: In function `xlatekey': i_video.c:103: warning: implicit declaration of function `XKeycodeToKeysym' i_video.c:103: error: request for member `xkey' in something not a structure or union i_video.c:105: error: `XK_Left' undeclared (first use in this function) i_video.c:105: error: (Each undeclared identifier is reported only once i_video.c:105: error: for each function it appears in.) i_video.c:106: error: `XK_Right' undeclared (first use in this function) i_video.c:107: error: `XK_Down' undeclared (first use in this function) i_video.c:108: error: `XK_Up' undeclared (first use in this function) i_video.c:109: error: `XK_Escape' undeclared (first use in this function) i_video.c:110: error: `XK_Return' undeclared (first use in this function) i_video.c:111: error: `XK_Tab' undeclared (first use in this function) i_video.c:112: error: `XK_F1' undeclared (first use in this function) i_video.c:113: error: `XK_F2' undeclared (first use in this function) i_video.c:114: error: `XK_F3' undeclared (first use in this function) i_video.c:115: error: `XK_F4' undeclared (first use in this function) i_video.c:116: error: `XK_F5' undeclared (first use in this function) i_video.c:117: error: `XK_F6' undeclared (first use in this function) i_video.c:118: error: `XK_F7' undeclared (first use in this function) i_video.c:119: error: `XK_F8' undeclared (first use in this function) i_video.c:120: error: `XK_F9' undeclared (first use in this function) i_video.c:121: error: `XK_F10' undeclared (first use in this function) i_video.c:122: error: `XK_F11' undeclared (first use in this function) i_video.c:123: error: `XK_F12' undeclared (first use in this function) i_video.c:125: error: `XK_BackSpace' undeclared (first use in this function) i_video.c:126: error: `XK_Delete' undeclared (first use in this function) i_video.c:128: error: `XK_Pause' undeclared (first use in this function) i_video.c:130: error: `XK_KP_Equal' undeclared (first use in this function) i_video.c:131: error: `XK_equal' undeclared (first use in this function) i_video.c:133: error: `XK_KP_Subtract' undeclared (first use in this function) i_video.c:134: error: `XK_minus' undeclared (first use in this function) i_video.c:136: error: `XK_Shift_L' undeclared (first use in this function) i_video.c:137: error: `XK_Shift_R' undeclared (first use in this function) i_video.c:141: error: `XK_Control_L' undeclared (first use in this function) i_video.c:142: error: `XK_Control_R' undeclared (first use in this function) i_video.c:146: error: `XK_Alt_L' undeclared (first use in this function) i_video.c:147: error: `XK_Meta_L' undeclared (first use in this function) i_video.c:148: error: `XK_Alt_R' undeclared (first use in this function) i_video.c:149: error: `XK_Meta_R' undeclared (first use in this function) i_video.c:154: error: `XK_space' undeclared (first use in this function) i_video.c:154: error: `XK_asciitilde' undeclared (first use in this function) i_video.c: In function `I_ShutdownGraphics': i_video.c:168: warning: implicit declaration of function `XShmDetach' i_video.c:172: error: request for member `shmaddr' in something not a structure or union i_video.c:173: error: request for member `shmid' in something not a structure or union i_video.c:176: error: request for member `data' in something not a structure or union i_video.c: In function `I_GetEvent': i_video.c:201: warning: implicit declaration of function `XNextEvent' i_video.c:202: error: request for member `type' in something not a structure or union i_video.c:204: error: `KeyPress' undeclared (first use in this function) i_video.c:210: error: `KeyRelease' undeclared (first use in this function) i_video.c:216: error: `ButtonPress' undeclared (first use in this function) i_video.c:219: error: request for member `xbutton' in something not a structure or union i_video.c:219: error: `Button1Mask' undeclared (first use in this function) i_video.c:220: error: request for member `xbutton' in something not a structure or union i_video.c:220: error: `Button2Mask' undeclared (first use in this function) i_video.c:221: error: request for member `xbutton' in something not a structure or union i_video.c:221: error: `Button3Mask' undeclared (first use in this function) i_video.c:222: error: request for member `xbutton' in something not a structure or union i_video.c:222: error: `Button1' undeclared (first use in this function) i_video.c:223: error: request for member `xbutton' in something not a structure or union i_video.c:223: error: `Button2' undeclared (first use in this function) i_video.c:224: error: request for member `xbutton' in something not a structure or union i_video.c:224: error: `Button3' undeclared (first use in this function) i_video.c:229: error: `ButtonRelease' undeclared (first use in this function) i_video.c:232: error: request for member `xbutton' in something not a structure or union i_video.c:233: error: request for member `xbutton' in something not a structure or union i_video.c:234: error: request for member `xbutton' in something not a structure or union i_video.c:238: error: request for member `xbutton' in something not a structure or union i_video.c:239: error: request for member `xbutton' in something not a structure or union i_video.c:240: error: request for member `xbutton' in something not a structure or union i_video.c:245: error: `MotionNotify' undeclared (first use in this function) i_video.c:248: error: request for member `xmotion' in something not a structure or union i_video.c:249: error: request for member `xmotion' in something not a structure or union i_video.c:250: error: request for member `xmotion' in something not a structure or union i_video.c:251: error: request for member `xmotion' in something not a structure or union i_video.c:252: error: request for member `xmotion' in something not a structure or union i_video.c:256: error: request for member `xmotion' in something not a structure or union i_video.c:257: error: request for member `xmotion' in something not a structure or union i_video.c:258: error: request for member `xmotion' in something not a structure or union i_video.c:259: error: request for member `xmotion' in something not a structure or union i_video.c:271: error: `Expose' undeclared (first use in this function) i_video.c:272: error: `ConfigureNotify' undeclared (first use in this function) i_video.c:276: error: request for member `type' in something not a structure or union i_video.c: At top level: i_video.c:283: error: syntax error before "createnullcursor" i_video.c:284: error: syntax error before '*' token i_video.c:286: warning: return type defaults to `int' i_video.c: In function `createnullcursor': i_video.c:287: error: `Pixmap' undeclared (first use in this function) i_video.c:287: error: syntax error before "cursormask" i_video.c:288: error: `XGCValues' undeclared (first use in this function) i_video.c:289: error: `GC' undeclared (first use in this function) i_video.c:290: error: `XColor' undeclared (first use in this function) i_video.c:291: error: `Cursor' undeclared (first use in this function) i_video.c:293: error: `cursormask' undeclared (first use in this function) i_video.c:293: warning: implicit declaration of function `XCreatePixmap' i_video.c:293: error: `display' undeclared (first use in this function) i_video.c:293: error: `root' undeclared (first use in this function) i_video.c:294: error: `xgc' undeclared (first use in this function) i_video.c:294: error: `GXclear' undeclared (first use in this function) i_video.c:295: error: `gc' undeclared (first use in this function) i_video.c:295: warning: implicit declaration of function `XCreateGC' i_video.c:295: error: `GCFunction' undeclared (first use in this function) i_video.c:296: warning: implicit declaration of function `XFillRectangle' i_video.c:297: error: `dummycolour' undeclared (first use in this function) i_video.c:300: error: `cursor' undeclared (first use in this function) i_video.c:300: warning: implicit declaration of function `XCreatePixmapCursor' i_video.c:302: warning: implicit declaration of function `XFreePixmap' i_video.c:303: warning: implicit declaration of function `XFreeGC' i_video.c: In function `I_StartTic': i_video.c:316: warning: implicit declaration of function `XPending' i_video.c:326: warning: implicit declaration of function `XWarpPointer' i_video.c:327: error: `None' undeclared (first use in this function) i_video.c: In function `I_FinishUpdate': i_video.c:389: error: request for member `data' in something not a structure or union i_video.c:431: error: request for member `data' in something not a structure or union i_video.c:481: error: request for member `data' in something not a structure or union i_video.c:487: warning: implicit declaration of function `XShmPutImage' i_video.c:494: error: `True' undeclared (first use in this function) i_video.c:509: warning: implicit declaration of function `XPutImage' i_video.c:518: warning: implicit declaration of function `XSync' i_video.c:518: error: `False' undeclared (first use in this function) i_video.c: At top level: i_video.c:537: error: syntax error before "colors" i_video.c:537: warning: type defaults to `int' in declaration of `colors' i_video.c:537: warning: data definition has no type or storage class i_video.c:539: error: syntax error before "cmap" i_video.c: In function `UploadNewPalette': i_video.c:549: error: request for member `class' in something not a structure or union i_video.c:549: error: `PseudoColor' undeclared (first use in this function) i_video.c:549: error: request for member `depth' in something not a structure or union i_video.c:558: error: request for member `pixel' in something not a structure or union i_video.c:559: error: request for member `flags' in something not a structure or union i_video.c:559: error: `DoRed' undeclared (first use in this function) i_video.c:559: error: `DoGreen' undeclared (first use in this function) i_video.c:559: error: `DoBlue' undeclared (first use in this function) i_video.c:566: error: `palette' undeclared (first use in this function) i_video.c:567: error: request for member `red' in something not a structure or union i_video.c:569: error: request for member `green' in something not a structure or union i_video.c:571: error: request for member `blue' in something not a structure or union i_video.c:575: warning: implicit declaration of function `XStoreColors' i_video.c:575: error: `cmap' undeclared (first use in this function) i_video.c: In function `grabsharedmemory': i_video.c:684: error: request for member `shmid' in something not a structure or union i_video.c:687: error: request for member `data' in something not a structure or union i_video.c:687: error: request for member `shmaddr' in something not a structure or union i_video.c:690: error: request for member `data' in something not a structure or union i_video.c: In function `I_InitGraphics': i_video.c:709: error: `XSetWindowAttributes' undeclared (first use in this function) i_video.c:709: error: syntax error before "attribs" i_video.c:710: error: `XGCValues' undeclared (first use in this function) i_video.c:761: warning: implicit declaration of function `XOpenDisplay' i_video.c:761: warning: assignment makes pointer from integer without a cast i_video.c:771: warning: implicit declaration of function `DefaultScreen' i_video.c:772: warning: implicit declaration of function `XMatchVisualInfo' i_video.c:772: error: `PseudoColor' undeclared (first use in this function) i_video.c:774: error: request for member `visual' in something not a structure or union i_video.c:777: warning: implicit declaration of function `XShmQueryExtension' i_video.c:795: warning: implicit declaration of function `XCreateColormap' i_video.c:795: warning: implicit declaration of function `RootWindow' i_video.c:796: error: `AllocAll' undeclared (first use in this function) i_video.c:799: error: `CWEventMask' undeclared (first use in this function) i_video.c:799: error: `CWColormap' undeclared (first use in this function) i_video.c:799: error: `CWBorderPixel' undeclared (first use in this function) i_video.c:800: error: `attribs' undeclared (first use in this function) i_video.c:802: error: `KeyPressMask' undeclared (first use in this function) i_video.c:804: error: `KeyReleaseMask' undeclared (first use in this function) i_video.c:804: error: `ExposureMask' undeclared (first use in this function) i_video.c:810: warning: implicit declaration of function `XCreateWindow' i_video.c:816: error: `InputOutput' undeclared (first use in this function) i_video.c:821: warning: implicit declaration of function `XDefineCursor' i_video.c:825: error: `GCGraphicsExposures' undeclared (first use in this function) i_video.c:826: error: `xgcvalues' undeclared (first use in this function) i_video.c:826: error: `False' undeclared (first use in this function) i_video.c:833: warning: implicit declaration of function `XMapWindow' i_video.c:840: error: request for member `type' in something not a structure or union i_video.c:841: error: `Expose' undeclared (first use in this function) i_video.c:841: error: request for member `xexpose' in something not a structure or union i_video.c:849: warning: implicit declaration of function `XGrabPointer' i_video.c:849: error: `True' undeclared (first use in this function) i_video.c:850: error: `ButtonPressMask' undeclared (first use in this function) i_video.c:850: error: `ButtonReleaseMask' undeclared (first use in this function) i_video.c:850: error: `PointerMotionMask' undeclared (first use in this function) i_video.c:851: error: `GrabModeAsync' undeclared (first use in this function) i_video.c:852: error: `None' undeclared (first use in this function) i_video.c:852: error: `CurrentTime' undeclared (first use in this function) i_video.c:857: error: `ShmCompletion' undeclared (first use in this function) i_video.c:860: warning: implicit declaration of function `XShmCreateImage' i_video.c:863: error: `ZPixmap' undeclared (first use in this function) i_video.c:867: warning: assignment makes pointer from integer without a cast i_video.c:869: error: request for member `bytes_per_line' in something not a structure or union i_video.c:869: error: request for member `height' in something not a structure or union i_video.c:886: error: request for member `data' in something not a structure or union i_video.c:893: warning: implicit declaration of function `XShmAttach' i_video.c:899: warning: implicit declaration of function `XCreateImage' i_video.c:907: warning: assignment makes pointer from integer without a cast i_video.c:912: error: request for member `data' in something not a structure or union make: *** [linux/i_video.o] Error 1