Date: Sat, 6 Mar 1999 15:16:13 +0900 (JST)
From: Martin Buchholz <martin(a)xemacs.org>
>>>>> "K" == Kevin Oberman <oberman(a)es.net> writes:
K> I got the following error when I tried to make 21.0.65 on my DU 4.0D
K> system:
K> cc -c -std -fast -Demacs -I. -DHAVE_CONFIG_H -std -I/usr/local/include
-I/usr/dt/include abbrev.c
K> cc: Error: lisp.h, line 2451: Ill-formed parameter type list.
K> int unexec (char *, char *, uintptr_t, uintptr_t, uintptr_t);
K> ----------------------------^
K> gmake[1]: *** [abbrev.o] Error 1
K> gmake[1]: Leaving directory `/home/oberman/utils/xemacs-21.0.65/src'
K> gmake: *** [src] Error 2
K> Configured using:
K> ./configure --with-site-lisp --site-includes=/usr/local/include --without-gcc
--with-gnu-make '--cflags=-std -fast'
Sorry, this works for me on DU 4.0E.
Please figure out why uintptr_t is not defined.
There's code in lisp.h to make sure it is.
Yes, but it looks like a bug in the inttypes.h on DU4.0D when IPv6 is
installed. The problem is that IPv6 adds the file
"/usr/include/inttypes.h" which previously did not exist. lisp.h
includes this inttypes.h which just defines _INTTYPES_H and includes
sys/inttypes.h. But sys/inttypes.h only defines uintptr_t when
_INTTYPES_H is NOT defined, so it does nothing.
I assume that this is an error as I don't think this behavior is
reasonable. I worked around it by changing lisp.h to include
sys/inttypes.h and this did the trick. I will contact the IPv6 folks
at Compaq and see if there is a fix (or I may just do it myself).
Since so few people are likely to have IPv6 installed and since it
appears to clearly be a bug in the IPv6 supplied file, I don't see any
reason to "fix" anything, but a caveat might be in order. (Though I'm
not too sure it's worth even that.)
R. Kevin Oberman, Network Engineer
Energy Sciences Network (ESnet)
Ernest O. Lawrence Berkeley National Laboratory (Berkeley Lab)
E-mail: oberman(a)es.net Phone: +1 510 486-8634