Help: make error in xmlwf.c



Hi,
i am new with garnome.
During compiling, i recieved this error:

-------------------------------------------------------------------------------------------

[mattia debian]-18:27-:gnome-desktop$ make install
[===== NOW BUILDING:    gnome-desktop-1 =====]
        [fetch] complete for gnome-desktop.
        [checksum] complete for gnome-desktop.
        [extract] complete for gnome-desktop.
        [patch] complete for gnome-desktop.
 ==> Building gnome/metacity as a dependency
make[1]: Entering directory `/home/mattia/garnome-0.24.2/gnome/metacity'
[===== NOW BUILDING:    metacity-2.5.1  =====]
        [fetch] complete for metacity.
        [checksum] complete for metacity.
        [extract] complete for metacity.
        [patch] complete for metacity.
 ==> Building gnome/gtk+ as a dependency
make[2]: Entering directory `/home/mattia/garnome-0.24.2/gnome/gtk+'
[===== NOW BUILDING:    gtk+-2.2.1      =====]
        [fetch] complete for gtk+.
        [checksum] complete for gtk+.
        [extract] complete for gtk+.
        [patch] complete for gtk+.
 ==> Building gnome/pango as a dependency
make[3]: Entering directory `/home/mattia/garnome-0.24.2/gnome/pango'
[===== NOW BUILDING:    pango-1.2.1     =====]
        [fetch] complete for pango.
        [checksum] complete for pango.
        [extract] complete for pango.
        [patch] complete for pango.
 ==> Building bootstrap/xft as a dependency
make[4]: Entering directory `/home/mattia/garnome-0.24.2/bootstrap/xft'
[===== NOW BUILDING:    xft-2.1.1       =====]
        [fetch] complete for xft.
        [checksum] complete for xft.
        [extract] complete for xft.
        [patch] complete for xft.
 ==> Building bootstrap/fontconfig as a dependency
make[5]: Entering directory `/home/mattia/garnome-0.24.2/bootstrap/fontconfig'
[===== NOW BUILDING:    fontconfig-2.2.0        =====]
        [fetch] complete for fontconfig.
        [checksum] complete for fontconfig.
        [extract] complete for fontconfig.
        [patch] complete for fontconfig.
 ==> Building bootstrap/expat as a dependency
make[6]: Entering directory `/home/mattia/garnome-0.24.2/bootstrap/expat'
[===== NOW BUILDING:    expat-1.95.6    =====]
        [fetch] complete for expat.
        [checksum] complete for expat.
        [extract] complete for expat.
        [patch] complete for expat.
        [configure] complete for expat.
 ==> Running make in work/main.d/expat-1.95.6
make[7]: Entering directory 
`/home/mattia/garnome-0.24.2/bootstrap/expat/work/ma
in.d/expat-1.95.6'
cc -I/home/mattia/garnome/include -I/usr/X11R6/include 
-L/home/mattia/garnome/li
b -L/usr/X11R6/lib -O2 -pipe -Wall -Wmissing-prototypes -Wstrict-prototypes 
-fex
ceptions  -I/home/mattia/garnome/include -I/usr/X11R6/include -I./lib -I. -o 
xml
wf/xmlwf.o -c xmlwf/xmlwf.c
xmlwf/xmlwf.c: In function `showVersion':
xmlwf/xmlwf.c:602: syntax error before `*'
xmlwf/xmlwf.c:613: `features' undeclared (first use in this function)
xmlwf/xmlwf.c:613: (Each undeclared identifier is reported only once
xmlwf/xmlwf.c:613: for each function it appears in.)
xmlwf/xmlwf.c:613: `XML_FEATURE_END' undeclared (first use in this function)
make[7]: *** [xmlwf/xmlwf.o] Error 1
make[7]: Leaving directory 
`/home/mattia/garnome-0.24.2/bootstrap/expat/work/mai
n.d/expat-1.95.6'
make[6]: *** [build-work/main.d/expat-1.95.6/Makefile] Error 2
make[6]: Leaving directory `/home/mattia/garnome-0.24.2/bootstrap/expat'
make[5]: *** [../../bootstrap/expat/cookies/main.d/install] Error 2
make[5]: Leaving directory `/home/mattia/garnome-0.24.2/bootstrap/fontconfig'
make[4]: *** [../../bootstrap/fontconfig/cookies/main.d/install] Error 2
make[4]: Leaving directory `/home/mattia/garnome-0.24.2/bootstrap/xft'
make[3]: *** [../../bootstrap/xft/cookies/main.d/install] Error 2
make[3]: Leaving directory `/home/mattia/garnome-0.24.2/gnome/pango'
make[2]: *** [../../gnome/pango/cookies/main.d/install] Error 2
make[2]: Leaving directory `/home/mattia/garnome-0.24.2/gnome/gtk+'
make[1]: *** [../../gnome/gtk+/cookies/main.d/install] Error 2
make[1]: Leaving directory `/home/mattia/garnome-0.24.2/gnome/metacity'
make: *** [../../gnome/metacity/cookies/main.d/install] Error 2

-------------------------------------------------------------------------------------------

This is a piece of xmlwf.c :

-------------------------------------------------------------------------------------------
static int
notStandalone(void *userData)
{
  return 0;
}

static void
showVersion(XML_Char *prog)
{
  XML_Char *s = prog;
  XML_Char ch;
  const XML_Feature *features = XML_GetFeatureList();       <--- line 602
  while ((ch = *s) != 0) {
    if (ch == '/'
#ifdef WIN32
        || ch == '\\'
#endif
        )
      prog = s + 1;
    ++s;
  }					
  ftprintf(stdout, T("%s using %s\n"), prog, XML_ExpatVersion());
  if (features != NULL && features[0].feature != XML_FEATURE_END) {  
    int i = 1;
    ftprintf(stdout, T("%s"), features[0].name);
    if (features[0].value)
      ftprintf(stdout, T("=%ld"), features[0].value);
    while (features[i].feature != XML_FEATURE_END) {
      ftprintf(stdout, T(", %s"), features[i].name);
      if (features[i].value)
        ftprintf(stdout, T("=%ld"), features[i].value);
      ++i;
    }
    ftprintf(stdout, T("\n"));
  }
}
-------------------------------------------------------------------------------------------

Is there something to change?
Sorry, but i really dont know what to do.
Thanks.
Mattia.



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