css errors when building with current svn trunk (for framebuffer)

Paul coderazor at gmail.com
Sun Mar 21 01:21:53 GMT 2010


Hello all,

I'm new to the mailing list. I intend to use netsurf on an embedded device
using a framebuffer target.

For starters, I tried to build TARGET=3Dframebuffer on my linux box.


I installed all of the prerequisite libs (e.g., curl, libxml2, sdl).

I checked out the following from the svn trunk.
hubbub
libcss
libnsfb
libnsgif
libparserutils
libsvgtiny
libwapcaplet
netsurf


All of the libraries build and install fine.

When I try to build netsurf, I get lots of errors about css (too few / too
many parameters).
It seems the libcss and netsurf trunks aren't compatible; or I'm just doing
something silly.

Can anyone give me some pointers? Or confirm they can build fine using the
latest from svn trunk?

Thanks much!


Here are the error messages I'm getting:
 COMPILE: css/css.c
css/css.c: In function =E2nscss_create=E2:
css/css.c:112: warning: implicit declaration of function
=E2css_stylesheet_get_origin=E2
css/css.c:112: warning: nested extern declaration of
=E2css_stylesheet_get_origin=E2
css/css.c:161: error: incompatible type for argument 7 of
=E2css_stylesheet_create=E2
css/css.c:161: warning: passing argument 10 of =E2css_stylesheet_create=E2 =
from
incompatible pointer type
css/css.c:161: warning: passing argument 12 of =E2css_stylesheet_create=E2 =
from
incompatible pointer type
css/css.c:161: error: too many arguments to function =E2css_stylesheet_crea=
te=E2
css/css.c: In function =E2nscss_convert=E2:
css/css.c:284: warning: passing argument 10 of =E2css_stylesheet_create=E2 =
from
incompatible pointer type
css/css.c:284: warning: passing argument 12 of =E2css_stylesheet_create=E2 =
from
incompatible pointer type
css/css.c:284: error: too many arguments to function =E2css_stylesheet_crea=
te=E2


My build machine is a Core 2 quad running Ubuntu server 8.04 32-bit.

gcc --version
gcc (GCC) 4.2.4 (Ubuntu 4.2.4-1ubuntu4)
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://vlists.pepperfish.net/pipermail/netsurf-dev-netsurf-browser.org=
/attachments/20100320/499f6ca7/attachment.htm


More information about the netsurf-dev mailing list