From: HA <ug...@fr...> - 2003-06-19 05:20:14
|
I can not compile rdesktop using redhat 9.0. any help. When I tried to compile it complained about Xlib.h being missing. I used the locate command and actually I do not have. If this is the problem where can I get it? thanks, richard. the error message: ./configure rdesktop build configuration script ERROR: could not find X Window System headers (searched for include/X11/Xlib.h in: /usr/X11R6 /usr/X11 /usr/openwin /usr /usr/local/X11R6 /usr/local/X11 /usr/local) then I run make anyway and I get : [root@localhost rdesktop-1.2.0]# make gcc -o rdesktop.o -c rdesktop.c gcc -o tcp.o -c tcp.c gcc -o iso.o -c iso.c gcc -o mcs.o -c mcs.c gcc -o secure.o -c secure.c gcc -o licence.o -c licence.c gcc -o rdp.o -c rdp.c gcc -o orders.o -c orders.c gcc -o bitmap.o -c bitmap.c gcc -o cache.o -c cache.c gcc -o xwin.o -c xwin.c xwin.c:21:22: X11/Xlib.h: No such file or directory xwin.c:22:23: X11/Xutil.h: No such file or directory xwin.c:38: parse error before '*' token xwin.c:38: warning: data definition has no type or storage class xwin.c:40: parse error before '*' token xwin.c:40: warning: data definition has no type or storage class xwin.c:41: parse error before "wnd" xwin.c:41: warning: data definition has no type or storage class xwin.c:42: parse error before "gc" xwin.c:42: warning: data definition has no type or storage class xwin.c:43: parse error before '*' token xwin.c:43: warning: data definition has no type or storage class xwin.c:46: parse error before "IM" xwin.c:46: warning: data definition has no type or storage class xwin.c:47: parse error before "IC" xwin.c:47: warning: data definition has no type or storage class xwin.c:48: parse error before '*' token xwin.c:48: warning: data definition has no type or storage class xwin.c:49: parse error before "current_cursor" xwin.c:49: warning: data definition has no type or storage class xwin.c:50: parse error before "protocol_atom" xwin.c:50: warning: data definition has no type or storage class xwin.c:58: parse error before "backstore" xwin.c:58: warning: data definition has no type or storage class xwin.c:88: parse error before "xcolmap" xwin.c:88: warning: data definition has no type or storage class xwin.c:96: `GXclear' undeclared here (not in a function) xwin.c:96: initializer element is not constant xwin.c:96: (near initialization for `rop2_map[0]') xwin.c:97: `GXnor' undeclared here (not in a function) xwin.c:97: initializer element is not constant xwin.c:97: (near initialization for `rop2_map[1]') xwin.c:98: `GXandInverted' undeclared here (not in a function) xwin.c:98: initializer element is not constant xwin.c:98: (near initialization for `rop2_map[2]') xwin.c:99: `GXcopyInverted' undeclared here (not in a function) xwin.c:99: initializer element is not constant xwin.c:99: (near initialization for `rop2_map[3]') xwin.c:100: `GXandReverse' undeclared here (not in a function) xwin.c:100: initializer element is not constant xwin.c:100: (near initialization for `rop2_map[4]') xwin.c:101: `GXinvert' undeclared here (not in a function) xwin.c:101: initializer element is not constant xwin.c:101: (near initialization for `rop2_map[5]') xwin.c:102: `GXxor' undeclared here (not in a function) xwin.c:102: initializer element is not constant xwin.c:102: (near initialization for `rop2_map[6]') xwin.c:103: `GXnand' undeclared here (not in a function) xwin.c:103: initializer element is not constant xwin.c:103: (near initialization for `rop2_map[7]') xwin.c:104: `GXand' undeclared here (not in a function) xwin.c:104: initializer element is not constant xwin.c:104: (near initialization for `rop2_map[8]') xwin.c:105: `GXequiv' undeclared here (not in a function) xwin.c:105: initializer element is not constant xwin.c:105: (near initialization for `rop2_map[9]') xwin.c:106: `GXnoop' undeclared here (not in a function) xwin.c:106: initializer element is not constant xwin.c:106: (near initialization for `rop2_map[10]') xwin.c:107: `GXorInverted' undeclared here (not in a function) xwin.c:107: initializer element is not constant xwin.c:107: (near initialization for `rop2_map[11]') xwin.c:108: `GXcopy' undeclared here (not in a function) xwin.c:108: initializer element is not constant xwin.c:108: (near initialization for `rop2_map[12]') xwin.c:109: `GXorReverse' undeclared here (not in a function) xwin.c:109: initializer element is not constant xwin.c:109: (near initialization for `rop2_map[13]') xwin.c:110: `GXor' undeclared here (not in a function) xwin.c:110: initializer element is not constant xwin.c:110: (near initialization for `rop2_map[14]') xwin.c:112: `GXset' undeclared here (not in a function) xwin.c:112: initializer element is not constant xwin.c:112: (near initialization for `rop2_map[15]') xwin.c: In function `mwm_hide_decorations': xwin.c:121: `Atom' undeclared (first use in this function) xwin.c:121: (Each undeclared identifier is reported only once xwin.c:121: for each function it appears in.) xwin.c:121: parse error before "hintsatom" xwin.c:128: `hintsatom' undeclared (first use in this function) xwin.c:135: `PropModeReplace' undeclared (first use in this function) xwin.c: In function `get_key_state': xwin.c:239: `KeyCode' undeclared (first use in this function) xwin.c:239: parse error before "keycode" xwin.c:241: `keycode' undeclared (first use in this function) xwin.c:241: `NoSymbol' undeclared (first use in this function) xwin.c:246: request for member `max_keypermod' in something not a structure or union xwin.c:248: request for member `max_keypermod' in something not a structure or union xwin.c:250: request for member `modifiermap' in something not a structure or union xwin.c: In function `ui_init': xwin.c:261: `XPixmapFormatValues' undeclared (first use in this function) xwin.c:261: `pfm' undeclared (first use in this function) xwin.c:265: warning: assignment makes pointer from integer without a cast xwin.c:273: warning: assignment makes pointer from integer without a cast xwin.c:274: warning: assignment makes pointer from integer without a cast xwin.c:308: `Always' undeclared (first use in this function) xwin.c:313: `MSBFirst' undeclared (first use in this function) xwin.c:352: warning: assignment makes pointer from integer without a cast xwin.c: In function `ui_deinit': xwin.c:364: warning: comparison between pointer and integer xwin.c: In function `ui_create_window': xwin.c:380: `XSetWindowAttributes' undeclared (first use in this function) xwin.c:380: parse error before "attribs" xwin.c:381: `XClassHint' undeclared (first use in this function) xwin.c:381: `classhints' undeclared (first use in this function) xwin.c:382: `XSizeHints' undeclared (first use in this function) xwin.c:382: `sizehints' undeclared (first use in this function) xwin.c:385: `XEvent' undeclared (first use in this function) xwin.c:385: parse error before "xevent" xwin.c:390: `attribs' undeclared (first use in this function) xwin.c:391: `NotUseful' undeclared (first use in this function) xwin.c:391: `Always' undeclared (first use in this function) xwin.c:395: `CopyFromParent' undeclared (first use in this function) xwin.c:395: `InputOutput' undeclared (first use in this function) xwin.c:396: `CWBackPixel' undeclared (first use in this function) xwin.c:396: `CWBackingStore' undeclared (first use in this function) xwin.c:396: `CWOverrideRedirect' undeclared (first use in this function) xwin.c:414: `PMinSize' undeclared (first use in this function) xwin.c:414: `PMaxSize' undeclared (first use in this function) xwin.c:421: `KeyPressMask' undeclared (first use in this function) xwin.c:421: `KeyReleaseMask' undeclared (first use in this function) xwin.c:421: `ButtonPressMask' undeclared (first use in this function) xwin.c:421: `ButtonReleaseMask' undeclared (first use in this function) xwin.c:422: `VisibilityChangeMask' undeclared (first use in this function) xwin.c:422: `FocusChangeMask' undeclared (first use in this function) xwin.c:425: `PointerMotionMask' undeclared (first use in this function) xwin.c:427: `ExposureMask' undeclared (first use in this function) xwin.c:429: `EnterWindowMask' undeclared (first use in this function) xwin.c:431: `LeaveWindowMask' undeclared (first use in this function) xwin.c:433: warning: comparison between pointer and integer xwin.c:435: `XNInputStyle' undeclared (first use in this function) xwin.c:435: `XIMPreeditNothing' undeclared (first use in this function) xwin.c:435: `XIMStatusNothing' undeclared (first use in this function) xwin.c:436: `XNClientWindow' undeclared (first use in this function) xwin.c:436: `XNFocusWindow' undeclared (first use in this function) xwin.c:438: warning: comparison between pointer and integer xwin.c:439: `XNFilterEvents' undeclared (first use in this function) xwin.c:439: warning: comparison between pointer and integer xwin.c:449: `xevent' undeclared (first use in this function) xwin.c:451: `VisibilityNotify' undeclared (first use in this function) xwin.c: In function `ui_destroy_window': xwin.c:467: warning: comparison between pointer and integer xwin.c: In function `xwin_toggle_fullscreen': xwin.c:476: `Pixmap' undeclared (first use in this function) xwin.c:476: parse error before "contents" xwin.c:481: `contents' undeclared (first use in this function) xwin.c: In function `xwin_process_events': xwin.c:503: `XEvent' undeclared (first use in this function) xwin.c:503: parse error before "xevent" xwin.c:504: `KeySym' undeclared (first use in this function) xwin.c:509: `Status' undeclared (first use in this function) xwin.c:509: parse error before "status" xwin.c:511: `Window' undeclared (first use in this function) xwin.c:511: parse error before "wdummy" xwin.c:516: `xevent' undeclared (first use in this function) xwin.c:518: warning: comparison between pointer and integer xwin.c:518: `None' undeclared (first use in this function) xwin.c:528: `ClientMessage' undeclared (first use in this function) xwin.c:536: `KeyPress' undeclared (first use in this function) xwin.c:537: warning: comparison between pointer and integer xwin.c:541: `XKeyPressedEvent' undeclared (first use in this function) xwin.c:541: parse error before ')' token xwin.c:542: `keysym' undeclared (first use in this function) xwin.c:542: `status' undeclared (first use in this function) xwin.c:543: `XLookupKeySym' undeclared (first use in this function) xwin.c:543: `XLookupBoth' undeclared (first use in this function) xwin.c:554: `XKeyEvent' undeclared (first use in this function) xwin.c:554: parse error before ')' token xwin.c:576: `KeyRelease' undeclared (first use in this function) xwin.c:577: parse error before ')' token xwin.c:596: `ButtonPress' undeclared (first use in this function) xwin.c:600: `ButtonRelease' undeclared (first use in this function) xwin.c:609: `MotionNotify' undeclared (first use in this function) xwin.c:611: `RevertToPointerRoot' undeclared (first use in this function) xwin.c:612: `CurrentTime' undeclared (first use in this function) xwin.c:617: `FocusIn' undeclared (first use in this function) xwin.c:618: `NotifyGrab' undeclared (first use in this function) xwin.c:621: `wdummy' undeclared (first use in this function) xwin.c:626: `GrabModeAsync' undeclared (first use in this function) xwin.c:629: `FocusOut' undeclared (first use in this function) xwin.c:630: `NotifyUngrab' undeclared (first use in this function) xwin.c:633: `NotifyWhileGrabbed' undeclared (first use in this function) xwin.c:637: `EnterNotify' undeclared (first use in this function) xwin.c:652: `LeaveNotify' undeclared (first use in this function) xwin.c:658: `Expose' undeclared (first use in this function) xwin.c:666: `MappingNotify' undeclared (first use in this function) xwin.c:670: `MappingKeyboard' undeclared (first use in this function) xwin.c:670: `MappingModifier' undeclared (first use in this function) xwin.c:676: warning: assignment makes pointer from integer without a cast xwin.c: In function `ui_create_bitmap': xwin.c:729: `XImage' undeclared (first use in this function) xwin.c:729: `image' undeclared (first use in this function) xwin.c:730: `Pixmap' undeclared (first use in this function) xwin.c:730: parse error before "bitmap" xwin.c:734: `bitmap' undeclared (first use in this function) xwin.c:735: `ZPixmap' undeclared (first use in this function) xwin.c: In function `ui_paint_bitmap': xwin.c:749: `XImage' undeclared (first use in this function) xwin.c:749: `image' undeclared (first use in this function) xwin.c:753: `ZPixmap' undeclared (first use in this function) xwin.c: In function `ui_destroy_bitmap': xwin.c:774: `Pixmap' undeclared (first use in this function) xwin.c:774: parse error before "bmp" xwin.c: In function `ui_create_glyph': xwin.c:780: `XImage' undeclared (first use in this function) xwin.c:780: `image' undeclared (first use in this function) xwin.c:781: `Pixmap' undeclared (first use in this function) xwin.c:781: parse error before "bitmap" xwin.c:783: `GC' undeclared (first use in this function) xwin.c:783: parse error before "gc" xwin.c:787: `bitmap' undeclared (first use in this function) xwin.c:790: `ZPixmap' undeclared (first use in this function) xwin.c:792: `MSBFirst' undeclared (first use in this function) xwin.c: In function `ui_destroy_glyph': xwin.c:806: `Pixmap' undeclared (first use in this function) xwin.c:806: parse error before "glyph" xwin.c: In function `ui_create_cursor': xwin.c:814: `XColor' undeclared (first use in this function) xwin.c:814: parse error before "bg" xwin.c:815: `Cursor' undeclared (first use in this function) xwin.c:862: `fg' undeclared (first use in this function) xwin.c:863: `bg' undeclared (first use in this function) xwin.c:864: `DoRed' undeclared (first use in this function) xwin.c:864: `DoBlue' undeclared (first use in this function) xwin.c:864: `DoGreen' undeclared (first use in this function) xwin.c:869: `xcursor' undeclared (first use in this function) xwin.c:870: `Pixmap' undeclared (first use in this function) xwin.c:870: parse error before "cursorglyph" xwin.c: In function `ui_set_cursor': xwin.c:883: `Cursor' undeclared (first use in this function) xwin.c:883: parse error before "cursor" xwin.c: In function `ui_destroy_cursor': xwin.c:890: `Cursor' undeclared (first use in this function) xwin.c:890: parse error before "cursor" xwin.c: In function `ui_create_colourmap': xwin.c:908: `XColor' undeclared (first use in this function) xwin.c:908: parse error before "xentry" xwin.c:915: `xentry' undeclared (first use in this function) xwin.c:915: `DoRed' undeclared (first use in this function) xwin.c:915: `DoGreen' undeclared (first use in this function) xwin.c:915: `DoBlue' undeclared (first use in this function) xwin.c:927: `xc_cache' undeclared (first use in this function) xwin.c:982: `xcolours' undeclared (first use in this function) xwin.c:983: `Colormap' undeclared (first use in this function) xwin.c:983: parse error before "map" xwin.c:994: `map' undeclared (first use in this function) xwin.c:994: `AllocAll' undeclared (first use in this function) xwin.c: In function `ui_destroy_colourmap': xwin.c:1008: `Colormap' undeclared (first use in this function) xwin.c:1008: parse error before "map" xwin.c: In function `ui_set_colourmap': xwin.c:1017: `Colormap' undeclared (first use in this function) xwin.c:1017: parse error before "map" xwin.c: In function `ui_set_clip': xwin.c:1023: `XRectangle' undeclared (first use in this function) xwin.c:1023: parse error before "rect" xwin.c:1025: `rect' undeclared (first use in this function) xwin.c:1029: `YXBanded' undeclared (first use in this function) xwin.c: In function `ui_reset_clip': xwin.c:1035: `XRectangle' undeclared (first use in this function) xwin.c:1035: parse error before "rect" xwin.c:1037: `rect' undeclared (first use in this function) xwin.c:1041: `YXBanded' undeclared (first use in this function) xwin.c: In function `ui_destblt': xwin.c:1056: `GXcopy' undeclared (first use in this function) xwin.c: In function `ui_patblt': xwin.c:1064: `Pixmap' undeclared (first use in this function) xwin.c:1064: parse error before "fill" xwin.c:1079: `fill' undeclared (first use in this function) xwin.c:1079: parse error before "ui_create_glyph" xwin.c:1083: `FillOpaqueStippled' undeclared (first use in this function) xwin.c:1089: `FillSolid' undeclared (first use in this function) xwin.c:1098: `GXcopy' undeclared (first use in this function) xwin.c: In function `ui_screenblt': xwin.c:1110: `GXcopy' undeclared (first use in this function) xwin.c: In function `ui_memblt': xwin.c:1119: `Pixmap' undeclared (first use in this function) xwin.c:1119: parse error before "src" xwin.c:1121: parse error before "src" xwin.c:1121: parse error before ')' token xwin.c:1122: `GXcopy' undeclared (first use in this function) xwin.c: In function `ui_line': xwin.c:1168: `GXcopy' undeclared (first use in this function) xwin.c: In function `ui_draw_glyph': xwin.c:1191: `FillStippled' undeclared (first use in this function) xwin.c:1191: `FillOpaqueStippled' undeclared (first use in this function) xwin.c:1192: `Pixmap' undeclared (first use in this function) xwin.c:1192: parse error before "glyph" xwin.c:1197: `FillSolid' undeclared (first use in this function) xwin.c: In function `ui_desktop_save': xwin.c:1318: `Pixmap' undeclared (first use in this function) xwin.c:1318: parse error before "pix" xwin.c:1319: `XImage' undeclared (first use in this function) xwin.c:1319: `image' undeclared (first use in this function) xwin.c:1323: `AllPlanes' undeclared (first use in this function) xwin.c:1323: `ZPixmap' undeclared (first use in this function) xwin.c:1327: `pix' undeclared (first use in this function) xwin.c: In function `ui_desktop_restore': xwin.c:1342: `XImage' undeclared (first use in this function) xwin.c:1342: `image' undeclared (first use in this function) xwin.c:1350: `ZPixmap' undeclared (first use in this function) make: *** [xwin.o] Error 1 [root@localhost rdesktop-1.2.0]# |