GNOME Bugzilla – Bug 396258
0.96-pre1 compiles fails
Last modified: 2007-01-13 23:06:36 UTC
make[4]: Entering directory `/usr/src/dia-0.96-pre1/app' if gcc -DHAVE_CONFIG_H -I. -I. -I.. -I.. -I../intl -I../lib -pthread -DORBIT2=1 -I/usr/include/gtk-2.0 -I/usr/lib/gtk-2.0/include -I/usr/include/atk-1.0 -I/usr/include/cairo -I/usr/include/pango-1.0 -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -I/usr/include/freetype2 -I/usr/include/libpng12 -I/usr/include/libxml2 -I/usr/include/libart-2.0 -I/usr/include/libgnome-2.0 -I/usr/include/orbit-2.0 -I/usr/include/libbonobo-2.0 -I/usr/include/gconf/2 -I/usr/include/gnome-vfs-2.0 -I/usr/lib/gnome-vfs-2.0/include -I/usr/include/bonobo-activation-2.0 -I/usr/include/libgnomeui-2.0 -I/usr/include/libgnomecanvas-2.0 -I/usr/include/libbonoboui-2.0 -I/usr/include/gnome-keyring-1 -I/usr/include/libart-2.0 -DPREFIX=\""/usr"\" -DSYSCONFDIR=\""/etc"\" -DDIA_DATADIR=\""/usr/share"\" -DDIA_LIBDIR=\""/usr/lib"\" -DLOCALEDIR=\"/usr/share/locale\" -DUIDATADIR=\"/usr/share/dia/ui\" -I/usr/include/libxml2 -I/usr/include/freetype2 -march=athlon-mp -mmmx -mfpmath=sse -msse -m3dnow -pipe -DPIC -fPIC -O3 -Wall -Wunused --std=c89 -Wdeclaration-after-statement -Wmissing-prototypes -Wmissing-declarations -finline-functions -fstrict-aliasing -MT app_procs.o -MD -MP -MF ".deps/app_procs.Tpo" -c -o app_procs.o app_procs.c; \ then mv -f ".deps/app_procs.Tpo" ".deps/app_procs.Po"; else rm -f ".deps/app_procs.Tpo"; exit 1; fi app_procs.c: In function 'do_convert': app_procs.c:421: warning: passing argument 4 of 'ef->export_func' discards qualifiers from pointer target type app_procs.c: In function 'app_init': app_procs.c:791: error: 'DATADIR' undeclared (first use in this function) app_procs.c:791: error: (Each undeclared identifier is reported only once app_procs.c:791: error: for each function it appears in.) app_procs.c:791: error: 'LIBDIR' undeclared (first use in this function) make[4]: Leaving directory `/usr/src/dia-0.96-pre1/app' make[3]: Leaving directory `/usr/src/dia-0.96-pre1/app' make[2]: Leaving directory `/usr/src/dia-0.96-pre1/app' make[1]: Leaving directory `/usr/src/dia-0.96-pre1' make[4]: *** [app_procs.o] Error 1 make[3]: *** [all-recursive] Error 1 make[2]: *** [all] Error 2 make[1]: *** [all-recursive] Error 1 make: *** [all] Error 2
yes - a known issue - but only for --enable-gnome *** This bug has been marked as a duplicate of 385701 ***