>>>> "Heiko" == Heiko Muenkel
<muenkel(a)tnt.uni-hannover.de> writes:
>>>> "Jan" == Jan Vroonhof
<vroonhof(a)math.ethz.ch> writes:
Jan> Heiko Muenkel
<muenkel(a)tnt.uni-hannover.de> writes:
>> /prog/xemacs/src/xemacs-21.0/lwlib/xlwmenu.c:260:
`ULONG_MAX'
>> undeclared (first use this function)
>> /prog/xemacs/src/xemacs-21.0/lwlib/xlwmenu.c:260: (Each
>> undeclared identifier is reported only once
Jan> This is probably a configure failure.
Jan> --with-gif --with-xpm --with-xface --with-ncurses --with-gpm
Jan> all of these should be unnecessary as they are
Jan> autodetected. Try finding out why configure does not do so
Jan> and your problem is probably solved.
Jan> Golden rule of configure: Never --with-anything=yes that is
Jan> on by default. Forcing it just hides the problem and causes
Jan> other problems to appear.
Jan> Jan
Heiko> Ok. I've tried it now with the following configure options and 21.0/b57:
Heiko> ../configure --prefix=/prog/xemacs/21.0
Heiko> --exec-prefix=/prog/xemacs/21.0/$CONFIG --with-pop --with-site-lisp
Heiko> --with-sound=both --error-checking=none
Heiko> --site-libraries=${LD_LIBRARY_PATH} --site-includes=${C_INCLUDE_PATH}
Does your C_INCLUDE_PATH point to /usr/include/linux ? If so, why?
Does a very simple `./configure; make' work?
Heiko> and got the same problem. I've found out, that ULONG_MAX will be
Heiko> defined in /usr/include/limits.h only, if the C-compiler isn't the gcc
Heiko> version greater 2 (__GNUC__ >= 2). A gcc 2.x will read instead
Heiko> /usr/include/linux/limits.h, but in this file there's no definition of
Heiko> ULONG_MAX.
With the wrong limits.h, MANY things will stop working.
Martin