Trying to compile dia CVS, I get the following error messages:
Did I miss something?
gcc -DHAVE_CONFIG_H -I. -I. -I.. -I../intl -I/usr/include/libxml2
-I/usr/local/include/gtk-2.0 -I/usr/local/lib/gtk-2.0/include
-I/usr/local/include/atk-1.0 -I/usr/local/include/pango-1.0
-I/usr/X11R6/include -I/usr/local/include -I/usr/local/include/freetype2
-I/usr/local/include/glib-2.0 -I/usr/local/lib/glib-2.0/include
-DDIA_SHEETDIR=\"/usr/local/share/dia/sheets\" -g -O2 -Wall -Wunused
-Winline -Wmissing-prototypes -Wmissing-declarations -finline-functions
-fstrict-aliasing -c `test -f dia_dirs.c || echo './'`dia_dirs.c
dia_dirs.c: In function `dia_get_data_directory':
dia_dirs.c:51: `DATADIR' undeclared (first use in this function)
dia_dirs.c:51: (Each undeclared identifier is reported only once
dia_dirs.c:51: for each function it appears in.)
dia_dirs.c: In function `dia_get_lib_directory':
dia_dirs.c:80: `LIBDIR' undeclared (first use in this function)
dia_dirs.c: In function `dia_config_filename':
dia_dirs.c:89: warning: assignment discards qualifiers from pointer target
type
dia_dirs.c:91: warning: assignment discards qualifiers from pointer target
type