Hi devels, I'm trying to compile libnsfb on Ubuntu Lucid Lynx and I am running into trouble with the XCB dependencies. I've install all the XCB developer libraries I can get my hands on, but I keep getting this error message when I try to compile. Any ideas what is wrong here? I've searched and found other people with the same problem, but no solution.
Thanks in advance. Best, Yanik COMPILE: src/libnsfb.c COMPILE: src/cursor.c COMPILE: src/plot/api.c COMPILE: src/plot/util.c COMPILE: src/plot/generic.c COMPILE: src/plot/32bpp.c COMPILE: src/plot/16bpp.c COMPILE: src/plot/8bpp.c COMPILE: src/surface/surface.c COMPILE: src/surface/sdl.c COMPILE: src/surface/vnc.c COMPILE: src/surface/able.c COMPILE: src/surface/ram.c COMPILE: src/surface/linux.c COMPILE: src/surface/x.c *src/surface/x.c:21:27: error: xcb/xcb_image.h: No such file or directory* *src/surface/x.c:22:26: error: xcb/xcb_atom.h: No such file or directory* *src/surface/x.c:23:27: error: xcb/xcb_icccm.h: No such file or directory* *src/surface/x.c:24:25: error: xcb/xcb_aux.h: No such file or directory* src/surface/x.c:25:29: error: xcb/xcb_keysyms.h: No such file or directory src/surface/x.c:38: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘*’ token src/surface/x.c:45: error: expected ‘)’ before ‘*’ token src/surface/x.c:60: error: expected specifier-qualifier-list before ‘xcb_key_symbols_t’ src/surface/x.c: In function ‘update_pixmap’: src/surface/x.c:422: error: ‘xstate_t’ has no member named ‘shminfo’ src/surface/x.c:425: error: ‘xstate_t’ has no member named ‘image’ src/surface/x.c:426: error: ‘xstate_t’ has no member named ‘pmap’ src/surface/x.c:427: error: ‘xstate_t’ has no member named ‘gc’ src/surface/x.c:428: error: ‘xstate_t’ has no member named ‘image’ src/surface/x.c:433: error: ‘xstate_t’ has no member named ‘image’ src/surface/x.c:434: error: ‘xstate_t’ has no member named ‘image’ src/surface/x.c:435: error: ‘xstate_t’ has no member named ‘image’ src/surface/x.c:435: error: ‘xstate_t’ has no member named ‘image’ cc1: warnings being treated as errors src/surface/x.c:438: error: implicit declaration of function ‘xcb_image_shm_put’ src/surface/x.c:438: error: nested extern declaration of ‘xcb_image_shm_put’ src/surface/x.c:439: error: ‘xstate_t’ has no member named ‘pmap’ src/surface/x.c:440: error: ‘xstate_t’ has no member named ‘gc’ src/surface/x.c:441: error: ‘xstate_t’ has no member named ‘image’ src/surface/x.c:442: error: ‘xstate_t’ has no member named ‘shminfo’ src/surface/x.c: In function ‘update_and_redraw_pixmap’: src/surface/x.c:457: error: ‘xstate_t’ has no member named ‘pmap’ src/surface/x.c:458: error: ‘xstate_t’ has no member named ‘window’ src/surface/x.c:459: error: ‘xstate_t’ has no member named ‘gc’ src/surface/x.c: In function ‘xcopy’: src/surface/x.c:503: error: implicit declaration of function ‘xcb_aux_sync’ src/surface/x.c:503: error: nested extern declaration of ‘xcb_aux_sync’ src/surface/x.c:509: error: ‘xstate_t’ has no member named ‘pmap’ src/surface/x.c:510: error: ‘xstate_t’ has no member named ‘pmap’ src/surface/x.c:511: error: ‘xstate_t’ has no member named ‘gc’ src/surface/x.c:556: error: ‘xstate_t’ has no member named ‘pmap’ src/surface/x.c:557: error: ‘xstate_t’ has no member named ‘window’ src/surface/x.c:558: error: ‘xstate_t’ has no member named ‘gc’ src/surface/x.c: At top level: src/surface/x.c:600: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘*’ token src/surface/x.c:687: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘*’ token src/surface/x.c: In function ‘x_initialise’: src/surface/x.c:759: error: ‘xcb_size_hints_t’ undeclared (first use in this function) src/surface/x.c:759: error: (Each undeclared identifier is reported only once src/surface/x.c:759: error: for each function it appears in.) src/surface/x.c:759: error: ‘hints’ undeclared (first use in this function) src/surface/x.c:792: error: ‘xstate_t’ has no member named ‘image’ src/surface/x.c:792: error: implicit declaration of function ‘create_shm_image’ src/surface/x.c:792: error: nested extern declaration of ‘create_shm_image’ src/surface/x.c:794: error: ‘xstate_t’ has no member named ‘image’ src/surface/x.c:795: error: ‘xstate_t’ has no member named ‘image’ src/surface/x.c:795: error: implicit declaration of function ‘create_image’ src/surface/x.c:795: error: nested extern declaration of ‘create_image’ src/surface/x.c:797: error: ‘xstate_t’ has no member named ‘image’ src/surface/x.c:806: error: ‘xstate_t’ has no member named ‘image’ src/surface/x.c:807: error: ‘xstate_t’ has no member named ‘image’ src/surface/x.c:813: error: ‘xstate_t’ has no member named ‘keysymbols’ src/surface/x.c:813: error: implicit declaration of function ‘xcb_key_symbols_alloc’ src/surface/x.c:813: error: nested extern declaration of ‘xcb_key_symbols_alloc’ src/surface/x.c:826: error: ‘xstate_t’ has no member named ‘window’ src/surface/x.c:829: error: ‘xstate_t’ has no member named ‘window’ src/surface/x.c:831: error: ‘xstate_t’ has no member named ‘image’ src/surface/x.c:831: error: ‘xstate_t’ has no member named ‘image’ src/surface/x.c:836: error: implicit declaration of function ‘xcb_alloc_size_hints’ src/surface/x.c:836: error: nested extern declaration of ‘xcb_alloc_size_hints’ src/surface/x.c:837: error: implicit declaration of function ‘xcb_size_hints_set_max_size’ src/surface/x.c:837: error: nested extern declaration of ‘xcb_size_hints_set_max_size’ src/surface/x.c:837: error: ‘xstate_t’ has no member named ‘image’ src/surface/x.c:837: error: ‘xstate_t’ has no member named ‘image’ src/surface/x.c:838: error: implicit declaration of function ‘xcb_size_hints_set_min_size’ src/surface/x.c:838: error: nested extern declaration of ‘xcb_size_hints_set_min_size’ src/surface/x.c:838: error: ‘xstate_t’ has no member named ‘image’ src/surface/x.c:838: error: ‘xstate_t’ has no member named ‘image’ src/surface/x.c:839: error: implicit declaration of function ‘xcb_set_wm_size_hints’ src/surface/x.c:839: error: nested extern declaration of ‘xcb_set_wm_size_hints’ src/surface/x.c:839: error: ‘xstate_t’ has no member named ‘window’ src/surface/x.c:839: error: ‘WM_NORMAL_HINTS’ undeclared (first use in this function) src/surface/x.c:840: error: implicit declaration of function ‘xcb_free_size_hints’ src/surface/x.c:840: error: nested extern declaration of ‘xcb_free_size_hints’ src/surface/x.c:843: error: ‘xstate_t’ has no member named ‘pmap’ src/surface/x.c:844: error: ‘xstate_t’ has no member named ‘pmap’ src/surface/x.c:844: error: ‘xstate_t’ has no member named ‘window’ src/surface/x.c:844: error: ‘xstate_t’ has no member named ‘image’ src/surface/x.c:844: error: ‘xstate_t’ has no member named ‘image’ src/surface/x.c:851: error: ‘xstate_t’ has no member named ‘gc’ src/surface/x.c:852: error: ‘xstate_t’ has no member named ‘gc’ src/surface/x.c:852: error: ‘xstate_t’ has no member named ‘pmap’ src/surface/x.c:859: error: ‘xstate_t’ has no member named ‘image’ src/surface/x.c:859: error: ‘xstate_t’ has no member named ‘image’ src/surface/x.c:863: error: ‘xstate_t’ has no member named ‘window’ src/surface/x.c: In function ‘x_finalise’: src/surface/x.c:875: error: implicit declaration of function ‘xcb_key_symbols_free’ src/surface/x.c:875: error: nested extern declaration of ‘xcb_key_symbols_free’ src/surface/x.c:875: error: ‘xstate_t’ has no member named ‘keysymbols’ src/surface/x.c:878: error: ‘xstate_t’ has no member named ‘pmap’ src/surface/x.c: In function ‘x_input’: src/surface/x.c:944: error: ‘xstate_t’ has no member named ‘pmap’ src/surface/x.c:945: error: ‘xstate_t’ has no member named ‘window’ src/surface/x.c:946: error: ‘xstate_t’ has no member named ‘gc’ src/surface/x.c:1022: error: implicit declaration of function ‘xcb_key_symbols_get_keysym’ src/surface/x.c:1022: error: nested extern declaration of ‘xcb_key_symbols_get_keysym’ src/surface/x.c:1022: error: ‘xstate_t’ has no member named ‘keysymbols’ src/surface/x.c:1028: error: ‘xstate_t’ has no member named ‘keysymbols’ make: *** [build-Linux-Linux-release-lib-static/src_surface_x.o] Error 1
