Re: compile error



dj resonance wrote:
gcc -DHAVE_CONFIG_H -I. -I. -I..
-DGNOMELOCALEDIR=\""/home/brandon/garnome//locale"\" -I/home/brandon/garnome/include/panel-2.0
-I/home/brandon/garnome/include/gtk-2.0
-I/home/brandon/garnome/include/libgnomeui-2.0
-I/home/brandon/garnome/include/libbonoboui-2.0
-I/home/brandon/garnome/lib/gtk-2.0/include
-I/home/brandon/garnome/include/atk-1.0
-I/home/brandon/garnome/include/pango-1.0
-I/usr/X11R6/include -I/home/brandon/garnome/include
-I/home/brandon/garnome/include/freetype2
-I/home/brandon/garnome/include/glib-2.0
-I/home/brandon/garnome/lib/glib-2.0/include
-I/home/brandon/garnome/include/libgnome-2.0
-I/home/brandon/garnome/include/libgnomecanvas-2.0
-I/home/brandon/garnome/include/libart-2.0
-I/home/brandon/garnome/include/gconf/2
-I/home/brandon/garnome/include/orbit-2.0
-I/home/brandon/garnome/include/libbonobo-2.0
-I/home/brandon/garnome/include/gnome-vfs-2.0
-I/home/brandon/garnome/lib/gnome-vfs-2.0/include
-I/home/brandon/garnome/include/linc-1.0
-I/home/brandon/garnome/include/bonobo-activation-2.0
-I/home/brandon/garnome/include/libxml2 -I/home/brandon/garnome/include -I/home/brandon/garnome/include -I/home/brandon/garnome/include -g -O2
-I/home/brandon/garnome/include -c gconf.c
In file included from gconf.c:22:
/usr/include/libintl.h:35: parse error before "const"
/usr/include/libintl.h:39: parse error before "const"
/usr/include/libintl.h:46: parse error before "const"
/usr/include/libintl.h:76: parse error before "const"
/usr/include/libintl.h:80: parse error before "const"
gconf.c:24:1: warning: "_" redefined
/home/brandon/garnome/include/libbonobo-2.0/bonobo/bonobo-i18n.h:61:1:
warning: this is the location of the previous
definition
make[5]: *** [gconf.o] Error 1
make[5]: Leaving directory
`/home/brandon/garnome-0.12.0/gnome/gnome-applets/work/gnome-applets-2.0.0/gkb-new'
make[4]: *** [all-recursive] Error 1
make[4]: Leaving directory
`/home/brandon/garnome-0.12.0/gnome/gnome-applets/work/gnome-applets-2.0.0/gkb-new'
make[3]: *** [all-recursive] Error 1
make[3]: Leaving directory
`/home/brandon/garnome-0.12.0/gnome/gnome-applets/work/gnome-applets-2.0.0'
make[2]: *** [all-recursive-am] Error 2
make[2]: Leaving directory
`/home/brandon/garnome-0.12.0/gnome/gnome-applets/work/gnome-applets-2.0.0'
make[1]: *** [build-work/gnome-applets-2.0.0/Makefile]
Error 2
make[1]: Leaving directory
`/home/brandon/garnome-0.12.0/gnome/gnome-applets'
make: *** [dep-../../gnome/gnome-applets] Error 2

I'm running debian unstable.  Any suggestions?

This one bite me as well, I'm running debian woody, and just switched
to gcc-3.0 to get over glib compilation failure.

I looked at the files causing the error and I have no idea what might be
going on. Somehow bonobo-i18n.h (that has a #define _(String)
gettext(String)) gets inculed before libintl.h that contains things like
 __const. By looking at gconf.c, gkb.h & config.h, I'm not able to
tell how is this happening (I don't see the bononbo-i18n.h being
inculed)

Any clues appreciated.

R.





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