After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 314607 - compile breaks over gnome-client.c 'VERSION' undeclared
compile breaks over gnome-client.c 'VERSION' undeclared
Status: RESOLVED INVALID
Product: libgnomeui
Classification: Deprecated
Component: general
2.11.x
Other Linux
: Normal normal
: future
Assigned To: libgnomeui maintainers
libgnomeui maintainers
Depends on:
Blocks:
 
 
Reported: 2005-08-26 18:21 UTC by Stef van der Made
Modified: 2005-08-31 16:36 UTC
See Also:
GNOME target: ---
GNOME version: 2.11/2.12



Description Stef van der Made 2005-08-26 18:21:43 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
Comment 1 Kjartan Maraas 2005-08-30 08:03:15 UTC
Seems to be a problem with your build. Makefile should have VERSION = 2.11.3
somewhere, does it not contain this?
Comment 2 Stef van der Made 2005-08-31 16:36:07 UTC
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