GNOME Bugzilla – Bug 314607
compile breaks over gnome-client.c 'VERSION' undeclared
Last modified: 2005-08-31 16:36:07 UTC
Version details: 2.11.3 Distribution/Version: slackware-8.0 during the compile of libgnomeui-2.11.3 I recieve the following error: ccache cc -DHAVE_CONFIG_H -I. -I. -I.. -I.. -I.. -DLIBGNOMEUI_PREFIX=\"/usr/test/garnome\" -DLIBGNOMEUI_DATADIR=\"/usr/test/garnome/share\" -DLIBGNOMEUI_SERVERDIR=\"/usr/test/garnome/libexec\" -DG_LOG_DOMAIN=\"GnomeUI\" -DORBIT2=1 -pthread -I/usr/test/garnome/include/libgnome-2.0 -I/usr/test/garnome/include/glib-2.0 -I/usr/test/garnome/lib/glib-2.0/include -I/usr/test/garnome/include/orbit-2.0 -I/usr/test/garnome/include/libbonobo-2.0 -I/usr/test/garnome/include/gconf/2 -I/usr/test/garnome/include/gnome-vfs-2.0 -I/usr/test/garnome/lib/gnome-vfs-2.0/include -I/usr/test/garnome/include/bonobo-activation-2.0 -I/usr/test/garnome/include/libgnomecanvas-2.0 -I/usr/test/garnome/include/libart-2.0 -I/usr/test/garnome/include/pango-1.0 -I/usr/test/garnome/include -I/usr/test/garnome/include/freetype2 -I/usr/test/garnome/include/gtk-2.0 -I/usr/test/garnome/lib/gtk-2.0/include -I/usr/test/garnome/include/atk-1.0 -I/usr/test/garnome/include/cairo -I/usr/test/garnome/include/libbonoboui-2.0 -I/usr/test/garnome/include/libxml2 -I/usr/test/garnome/include/gnome-keyring-1 -I/usr/test/garnome/include -g -I/usr/test/garnome/include -L/usr/test/garnome/lib -O2 -pipe -m3dnow -mtune=athlon-tbird -MT gnome-client.lo -MD -MP -MF .deps/gnome-client.Tpo -c gnome-client.c -DPIC -o .libs/gnome-client.o gnome-client.c: In function 'gnome_client_module_info_get': gnome-client.c:973: error: 'VERSION' undeclared (first use in this function) gnome-client.c:973: error: (Each undeclared identifier is reported only once gnome-client.c:973: error: for each function it appears in.) make[9]: *** [gnome-client.lo] Error 1 I'm using gcc-4.0.1, and garnome-2.11.92 to build gnome from scratch. The compile issue was not present in libgnomeui-2.11.2 and 2.11.1
Seems to be a problem with your build. Makefile should have VERSION = 2.11.3 somewhere, does it not contain this?
Don't ask me how but the problem doesn't appear anymore. I've probably done something weird the first time round to get the error