Re: gswitchit compile error



On Fri, 2003-10-03 at 10:58, Adam Olejniczak wrote:
> Hello!
> 
> I'm trying to build gnome using garnome 0.27.1. To most of probelms i 
> found solutions here on this list and thank you all fo that! :)
> But now I'm stuck at gwictchit with somthign like this:
> 
> kb_capplet.c: In function `XkbCappletUpdateConfigFromGui':
> xkb_capplet.c:229: parse error before `const'
> xkb_capplet.c:230: `optionName' undeclared (first use in this function)
> xkb_capplet.c:230: (Each undeclared identifier is reported only once
> xkb_capplet.c:230: for each function it appears in.)
> make[5]: *** [xkb_capplet.o] Error 1
> make[5]: Leaving directory 
> `/usr/local/src/gnome2/garnome-0.27.1/gnome/gswitchit/work/main.d/gswitchit-2.0.31/capplets'
> make[4]: *** [all-recursive] Error 1
> make[4]: Leaving directory 
> `/usr/local/src/gnome2/garnome-0.27.1/gnome/gswitchit/work/main.d/gswitchit-2.0.31'
> make[3]: *** [all] Error 2
> make[3]: Leaving directory 
> `/usr/local/src/gnome2/garnome-0.27.1/gnome/gswitchit/work/main.d/gswitchit-2.0.31'
> make[2]: *** [build-work/main.d/gswitchit-2.0.31/Makefile] Error 2
> make[2]: Leaving directory 
> `/usr/local/src/gnome2/garnome-0.27.1/gnome/gswitchit'
> make[1]: *** [../../gnome/gswitchit/cookies/main.d/install] Error 2
> make[1]: Leaving directory 
> `/usr/local/src/gnome2/garnome-0.27.1/meta/gnome-power-tools'
> make: *** [install] Error 2

This is another instance of the problem with variables not being
declared at the beginning of a block. Move the declaration of optionName
to the beginning of the enclosing block and rerun the install.


/Jens





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