I'm trying to compile xemacs-21.5.11 on AIX 5.1 and am stuck on this
compiler error:
% cc -qnoansialias -qmaxmem=-1 -c -O -Demacs -I. -DHAVE_CONFIG_H
-I/sup/xpm-3.4k/include -I/sup/zlib-1.1.4/include
-I/sup/libpng-1.2.5/include -I/opt/freeware/include -I/usr/X11R6/include
database.c
"database.c", line 190.2: 1506-343 (S) Redeclaration of lrecord_database
differs from previous declaration on line 28 of "database.h".
"database.c", line 190.2: 1506-382 (I) The type "struct
lrecord_implementation" of identifier lrecord_database differs from
previous type "const struct lrecord_implementation".
to which I don't see an obvious resolution.
In my search for an answer, I only came up with this message that
appears
to describe the same failure in 1999 compiling xemacs-21.1.2 on AIX
4.3.2:
http://list-archive.xemacs.org/xemacs/199905/msg00606.html
my configure:
setenv CC "cc -qnoansialias -qmaxmem=-1"
./configure \
--with-system-malloc=yes \
--with-gcc=no \
--with-cde=no \
--with-offix=no \
--with-x=yes \
--dynamic=no \
--prefix=$DEPOT/xemacs-21.4.12 \
--with-xpm=yes \
--with-png=yes \
--site-prefixes=$DEPOT/xpm-3.4k:$DEPOT/zlib-1.1.4:$DEPOT/libpng-1.2.5 \
--cflags="-O"
Thanks for any suggestions.
-Travis