libnsfb issue

Ario K ario.contact at gmail.com
Thu Nov 11 17:07:21 GMT 2010


Friendly Greetings,
I've been trying to compile NetSurf for Linux frambuffer but the libnsfb is
giving me nightmares. libnsfb seems to be a broken package with lots of
files (like SDL.h or xcb files)  missing. I downloaded many of the missing
files but it still wants more. Currently the error message is like this:

 COMPILE: src/surface/x.c
> In file included from src/surface/x.c:21:
> /home/aardvark/Downloads/libnsfb/src/xcb/xcb_image.h:30:21: error:
> xcb/shm.h: No such file or directory
> In file included from src/surface/x.c:21:
> /home/aardvark/Downloads/libnsfb/src/xcb/xcb_image.h:166: error: expected
> specifier-qualifier-list before 'xcb_shm_seg_t'
> cc1: warnings being treated as errors
> /home/aardvark/Downloads/libnsfb/src/xcb/xcb_image.h:169: error: struct h=
as
> no members
> In file included from src/surface/x.c:23:
> /home/aardvark/Downloads/libnsfb/src/xcb/xcb_icccm.h:43:26: error:
> xcb_property.h: No such file or directory
> In file included from src/surface/x.c:23:
> /home/aardvark/Downloads/libnsfb/src/xcb/xcb_icccm.h:174: error: expected
> ')' before '*' token
> /home/aardvark/Downloads/libnsfb/src/xcb/xcb_icccm.h:234: error: expected
> ')' before '*' token
> /home/aardvark/Downloads/libnsfb/src/xcb/xcb_icccm.h:295: error: expected
> ')' before '*' token
> src/surface/x.c:69: error: expected specifier-qualifier-list before
> 'xcb_shm_seg_t'
> src/surface/x.c: In function 'update_pixmap':
> src/surface/x.c:422: error: 'xcb_shm_segment_info_t' has no member named
> 'shmseg'
> src/surface/x.c: In function 'create_shm_image':
> src/surface/x.c:610: error: 'xcb_shm_query_version_reply_t' undeclared
> (first use in this function)
> src/surface/x.c:610: error: (Each undeclared identifier is reported only
> once
> src/surface/x.c:610: error: for each function it appears in.)
> src/surface/x.c:610: error: 'rep' undeclared (first use in this function)
> src/surface/x.c:611: error: 'xcb_shm_query_version_cookie_t' undeclared
> (first use in this function)
> src/surface/x.c:611: error: expected ';' before 'ck'
> src/surface/x.c:615: error: 'ck' undeclared (first use in this function)
> src/surface/x.c:615: error: implicit declaration of function
> 'xcb_shm_query_version'
> src/surface/x.c:615: error: nested extern declaration of
> 'xcb_shm_query_version'
> src/surface/x.c:616: error: implicit declaration of function
> 'xcb_shm_query_version_reply'
> src/surface/x.c:616: error: nested extern declaration of
> 'xcb_shm_query_version_reply'
> src/surface/x.c:645: error: 'xcb_shm_segment_info_t' has no member named
> 'shmid'
> src/surface/x.c:647: error: 'xcb_shm_segment_info_t' has no member named
> 'shmaddr'
> src/surface/x.c:647: error: 'xcb_shm_segment_info_t' has no member named
> 'shmid'
> src/surface/x.c:648: error: 'xcb_shm_segment_info_t' has no member named
> 'shmaddr'
> src/surface/x.c:650: error: 'xcb_shm_segment_info_t' has no member named
> 'shmseg'
> src/surface/x.c:651: error: implicit declaration of function
> 'xcb_shm_attach_checked'
> src/surface/x.c:651: error: nested extern declaration of
> 'xcb_shm_attach_checked'
> src/surface/x.c:652: error: 'xcb_shm_segment_info_t' has no member named
> 'shmseg'
> src/surface/x.c:653: error: 'xcb_shm_segment_info_t' has no member named
> 'shmid'
> src/surface/x.c:661: error: 'xcb_shm_segment_info_t' has no member named
> 'shmid'
> src/surface/x.c:665: error: 'xcb_shm_segment_info_t' has no member named
> 'shmseg'
> make: *** [build-Linux-Linux-release-lib-static/src_surface_x.o] Error 1
>

My distro is Debian Squeeze. Please help me.
Regards,
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://vlists.pepperfish.net/pipermail/netsurf-users-netsurf-browser.o=
rg/attachments/20101111/ab0be2c4/attachment.htm


More information about the netsurf-users mailing list