Problem building libcroco



Hello,
While building garnome 0.25.0 I encounter the following problem with
libcroco compilation : 

 ==> Running make in work/main.d/libcroco-0.3.0
make[4]: Entering directory `/home/nath/garnome-0.25.0/gnome/libcroco/work/main.d/libcroco-0.3.0'
make  all-recursive
make[5]: Entering directory `/home/nath/garnome-0.25.0/gnome/libcroco/work/main.d/libcroco-0.3.0'
Making all in src
make[6]: Entering directory `/home/nath/garnome-0.25.0/gnome/libcroco/work/main.d/libcroco-0.3.0/src'
Making all in parser
make[7]: Entering directory `/home/nath/garnome-0.25.0/gnome/libcroco/work/main.d/libcroco-0.3.0/src/parser'
make[7]: Rien à faire pour « all ».
make[7]: Leaving directory `/home/nath/garnome-0.25.0/gnome/libcroco/work/main.d/libcroco-0.3.0/src/parser'
Making all in seleng
make[7]: Entering directory `/home/nath/garnome-0.25.0/gnome/libcroco/work/main.d/libcroco-0.3.0/src/seleng'
/bin/sh ../../libtool --mode=compile cc -DHAVE_CONFIG_H -I. -I. -I../.. -I../.. -I../../src/parser -I../../intl -I/home/nath/garnome/include/glib-2.0 -I/home/nath/garnome/lib/glib-2.0/include   -I/home/nath/garnome/include/libxml2   -I/home/nath/garnome/include/pango-1.0 -I/home/nath/garnome/include/glib-2.0 -I/home/nath/garnome/lib/glib-2.0/include    -I/home/nath/garnome/include -I/usr/X11R6/include  -g -I/home/nath/garnome/include -I/usr/X11R6/include -L/home/nath/garnome/lib -L/usr/X11R6/lib -O2 -pipe -Wall -c cr-sel-eng.c
ncc -DHAVE_CONFIG_H -I. -I. -I../.. -I../.. -I../../src/parser -I../../intl -I/home/nath/garnome/include/glib-2.0 -I/home/nath/garnome/lib/glib-2.0/include -I/home/nath/garnome/include/libxml2 -I/home/nath/garnome/include/pango-1.0 -I/home/nath/garnome/include/glib-2.0 -I/home/nath/garnome/lib/glib-2.0/include -I/home/nath/garnome/include -I/usr/X11R6/include -g -I/home/nath/garnome/include -I/usr/X11R6/include -L/home/nath/garnome/lib -L/usr/X11R6/lib -O2 -pipe -Wall -c cr-sel-eng.c  -fPIC -DPIC -o cr-sel-eng.lo
cr-sel-eng.c: In function `id_add_sel_matches_node':
cr-sel-eng.c:139: parse error before `result'
cr-sel-eng.c:148: `id' undeclared (first use in this function)
cr-sel-eng.c:148: (Each undeclared identifier is reported only once
cr-sel-eng.c:148: for each function it appears in.)
cr-sel-eng.c:152: `result' undeclared (first use in this function)
cr-sel-eng.c:162: warning: control reaches end of non-void function
cr-sel-eng.c: In function `put_css_properties_in_hashtable':
cr-sel-eng.c:792: parse error before `*'
cr-sel-eng.c:801: `decl' undeclared (first use in this function)
make[7]: *** [cr-sel-eng.lo] Erreur 1
make[7]: Leaving directory `/home/nath/garnome-0.25.0/gnome/libcroco/work/main.d/libcroco-0.3.0/src/seleng'
make[6]: *** [all-recursive] Erreur 1
make[6]: Leaving directory `/home/nath/garnome-0.25.0/gnome/libcroco/work/main.d/libcroco-0.3.0/src'
make[5]: *** [all-recursive] Erreur 1
make[5]: Leaving directory `/home/nath/garnome-0.25.0/gnome/libcroco/work/main.d/libcroco-0.3.0'
make[4]: *** [all-recursive-am] Erreur 2
make[4]: Leaving directory `/home/nath/garnome-0.25.0/gnome/libcroco/work/main.d/libcroco-0.3.0'
make[3]: *** [build-work/main.d/libcroco-0.3.0/Makefile] Erreur 2
make[3]: Leaving directory `/home/nath/garnome-0.25.0/gnome/libcroco'
make[2]: *** [../../gnome/libcroco/cookies/main.d/install] Erreur 2
make[2]: Leaving directory `/home/nath/garnome-0.25.0/gnome/librsvg'
make[1]: *** [../../gnome/librsvg/cookies/main.d/install] Erreur 2
make[1]: Leaving directory `/home/nath/garnome-0.25.0/gnome/eog'
make: *** [../../gnome/eog/cookies/main.d/install] Erreur 2

Please, have you an idea about how to solve this issue ? Unfortunatly
I'm not able to correct C code source ! 

Perhaps the problem appears because I use a old compiler version ? I
think my compiler is gcc 2.95 but my linux distribution is a Debian
testing/unstable and it seems gcc 3.0 and also 3.2 are installed but if
it's preferable to compile with gcc 3.0 or 3.2 how can I indicate
to garnome to choose one of these versions instead of gcc 2.95 ?

Thanks in advance for your help !



-- 
Nath




[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]