[Python/getargs.o] Error 1

twasnotme qle at iinet.com.au
Fri Sep 14 10:21:29 EDT 2001


Hi,
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
Modules/Setup configured to include syslog and gdbm modules

TIA

Lee.

------ last few lines of compile run before error -----------
gcc -c -g -O2 -Wall -Wstrict-prototypes -I. -I./Include -DHAVE_CONFIG_H  -o
Python/getargs.o Python/getargs.c
In file included from Include/Python.h:54,
                 from Python/getargs.c:9:
Include/pyport.h:240: warning: `struct winsize' declared inside parameter
list
Include/pyport.h:240: warning: its scope is only this definition or
declaration, which is probably not what you want.
Include/pyport.h:241: warning: `struct winsize' declared inside parameter
list
Python/getargs.c: In function `convertsimple1':
Python/getargs.c:400: `UCHAR_MAX' undeclared (first use in this function)
Python/getargs.c:400: (Each undeclared identifier is reported only once
Python/getargs.c:400: for each function it appears in.)
Python/getargs.c:416: `SCHAR_MIN' undeclared (first use in this function)
Python/getargs.c:437: `SHRT_MIN' undeclared (first use in this function)
Python/getargs.c:442: `SHRT_MAX' undeclared (first use in this function)
Python/getargs.c:463: `USHRT_MAX' undeclared (first use in this function)
Python/getargs.c:484: `INT_MIN' undeclared (first use in this function)
make: *** [Python/getargs.o] Error 1







More information about the Python-list mailing list