GNOME Bugzilla – Bug 148704
folder libgames-support component games-controls.c compile failure gcc-3.4.1
Last modified: 2004-12-22 21:47:04 UTC
During the compile of gnome-games-2.7.5 using gcc-3.4.1,glibc-2.3.2 and garnome-2.7 patch 10 I get these errors: In file included from games-controls.c:22: /usr/test/garnome/include/glib-2.0/glib/gi18n-lib.h:27:2: #error You must define GETTEXT_PACKAGE before including gi18n-lib.h. games-controls.c: In function `control_row_activated': games-controls.c:201: error: `GETTEXT_PACKAGE' undeclared (first use in this function) games-controls.c:201: error: (Each undeclared identifier is reported only once games-controls.c:201: error: for each function it appears in.) make[4]: *** [games-controls.lo] Error 1 make[3]: *** [all-recursive] Error 1 make[2]: *** [all] Error 2 make[1]: *** [build-work/main.d/gnome-games-2.7.5/Makefile] Error 2 make: *** [paranoid-install] Error 2
I've just committed what should be a fix to CVS. I've explicitly included config.h which defines GETTEXT_PACKAGE. I don't have gcc 3.4 here right now and so haven't tested it properly.
The CVS fix solved my issue. Thanks for the quick fix :-)