[Python/getargs.o] Error 1

Martin von Loewis loewis at informatik.hu-berlin.de
Mon Sep 17 10:18:27 CEST 2001


"twasnotme" <qle at iinet.com.au> writes:

> i am having lots of trouble compiling Python-2.0.1 and also tried
> Python-2.1.1 i get the same errors 'make' ing both version (see
> below)
>
> OS is Linux Slackware 8.0 - kernel 2.4.9
[...]
> Python/getargs.c:400: `UCHAR_MAX' undeclared (first use in this function)

What kind of C library do you have on your system? Is there a
definition for UCHAR_MAX in gcc's limits.h
(i.e. /usr/lib/gcc-lib/<arch>/<version>/include/limits.h)? If so, why
is this not used?

If you can figure it out, please submit a patch to
sf.net/projects/python. If you can't figure it out, please submit a
bug report. However, it seems that your C library/compiler is quite
broken, so unless somebody who understands all this also has access to
a Slackware installation, no solution might be forthcoming.

Regards,
Martin




More information about the Python-list mailing list