Re: libcroco compile error




Hi.
  I got the same error installing libcroro with TL8S.

I guess the definition place of variable which is written as undefiend in error messages is incorrect. The definition sentence is not the initial part of the function. so, revise the following function in [cr-sel-eng.c] so that the definition sentence will be the initial part of the function. -[id_add_sel_matches_node]  -[put_css_properties_in_hashtable]
  I'm not sure that's the right way, but I could install it by doing that.
  if anyone know the right way, please give us an advice.

regards taka

>From: menno <menno zenit xs4all nl>
>Reply-To: menno zenit xs4all nl
>To: garnome-list gnome org
>Subject: libcroco compile error
>Date: Mon, 29 Sep 2003 08:32:27 +0200
>
>Hi,
>I'm trying to build garnome0.27.1 on a debian system.
>I get these errors:
>###################################################################################

>make[3]: Entering directory
>`/root/downloads/garnome/garnome-0.27.1/gnome/libcroco'
>[===== NOW BUILDING:    libcroco-0.3.0  =====]
>         [fetch] complete for libcroco.
>         [checksum] complete for libcroco.
>         [extract] complete for libcroco.
>         [patch] complete for libcroco.
>         [configure] complete for libcroco.
>  ==> Running make in work/main.d/libcroco-0.3.0
>make[4]: Entering directory
>`/root/downloads/garnome/garnome-0.27.1/gnome/libcroco/work/main.d/libcroco-0.3.0'

>make  all-recursive
>make[5]: Entering directory
>`/root/downloads/garnome/garnome-0.27.1/gnome/libcroco/work/main.d/libcroco-0.3.0'

>Making all in src
>make[6]: Entering directory
>`/root/downloads/garnome/garnome-0.27.1/gnome/libcroco/work/main.d/libcroco-0.3.0/src'

>Making all in parser
>make[7]: Entering directory
>`/root/downloads/garnome/garnome-0.27.1/gnome/libcroco/work/main.d/libcroco-0.3.0/src/parser'

>make[7]: Nothing to be done for `all'.
>make[7]: Leaving directory
>`/root/downloads/garnome/garnome-0.27.1/gnome/libcroco/work/main.d/libcroco-0.3.0/src/parser'

>Making all in seleng
>make[7]: Entering directory
>`/root/downloads/garnome/garnome-0.27.1/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/root/garnome/include/glib-2.0
>-I/root/garnome/lib/glib-2.0/include   -I/root/garnome/include/libxml2
>-I/root/garnome/include/pango-1.0 -I/root/garnome/include/glib-2.0
>-I/root/garnome/lib/glib-2.0/include    -I/root/garnome/include
>-I/usr/X11R6/include  -g -I/root/garnome/include -I/usr/X11R6/include
>-L/root/garnome/lib -L/usr/X11R6/lib -O2 -pipe -Wall -c cr-sel-eng.c
>cc -DHAVE_CONFIG_H -I. -I. -I../.. -I../.. -I../../src/parser -I../../intl
>-I/root/garnome/include/glib-2.0 -I/root/garnome/lib/glib-2.0/include
>-I/root/garnome/include/libxml2 -I/root/garnome/include/pango-1.0
>-I/root/garnome/include/glib-2.0 -I/root/garnome/lib/glib-2.0/include
>-I/root/garnome/include -I/usr/X11R6/include -g -I/root/garnome/include
>-I/usr/X11R6/include -L/root/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] Error 1
>make[7]: Leaving directory
>`/root/downloads/garnome/garnome-0.27.1/gnome/libcroco/work/main.d/libcroco-0.3.0/src/seleng'

>make[6]: *** [all-recursive] Error 1
>make[6]: Leaving directory
>`/root/downloads/garnome/garnome-0.27.1/gnome/libcroco/work/main.d/libcroco-0.3.0/src'

>make[5]: *** [all-recursive] Error 1
>make[5]: Leaving directory
>`/root/downloads/garnome/garnome-0.27.1/gnome/libcroco/work/main.d/libcroco-0.3.0'

>make[4]: *** [all-recursive-am] Error 2
>make[4]: Leaving directory
>`/root/downloads/garnome/garnome-0.27.1/gnome/libcroco/work/main.d/libcroco-0.3.0'

>make[3]: *** [build-work/main.d/libcroco-0.3.0/Makefile] Error 2
>make[3]: Leaving directory
>`/root/downloads/garnome/garnome-0.27.1/gnome/libcroco'
>make[2]: *** [../../gnome/libcroco/cookies/main.d/install] Error 2
>make[2]: Leaving directory
>`/root/downloads/garnome/garnome-0.27.1/gnome/librsvg'
>make[1]: *** [../../gnome/librsvg/cookies/main.d/install] Error 2
>make[1]: Leaving directory `/root/downloads/garnome/garnome-0.27.1/gnome/eog'
>make: *** [../../gnome/eog/cookies/main.d/install] Error 2
>###########################################################################

>
>I got some other errors i could easily correct ,but here i really don't know
>what to do.So any suggestions are welcome.
>thanks in advance.
>                             Menno van Hoeke
>
>
>
>
>
>--
>garnome-list mailing list
>garnome-list gnome org
>http://mail.gnome.org/mailman/listinfo/garnome-list

_________________________________________________________________
あなたのPCを守るために定期的なセキュリティ対策を。マイクロソフト セキュリ
ティ情報センター http://www.microsoft.com/japan/protect/hm.asp 


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