Python 2.2.2 and 2.3a2 compile problems on Mingw32

Andreas KLostermann bluetigger at web.de
Tue Apr 22 10:57:01 CEST 2003


I wanted to compile Python on Mingw32. That's a GNU C++ Compiler for Windows and it can configure...  The "make" process begins promissing, but fails at "posixmodule.c"...
This Problem is the same for 2.2.2 and 2.3a2.
Can someone help me?

Output:

$ make
gcc -DNDEBUG -g -O3 -Wall -Wstrict-prototypes -I. -I./Include -DHAVE_CONFIG_H                   -c ./Modules/posixmodule.c -o Modules/posixmodule.o
Modules/posixmodule.c:278: warning: function declaration isn't a prototype
Modules/posixmodule.c: In function `posix_ttyname':
Modules/posixmodule.c:777: warning: implicit declaration of function `ttyname'
Modules/posixmodule.c:777: warning: assignment makes pointer from integer withou                t a cast
Modules/posixmodule.c: In function `posix_mkdir':
Modules/posixmodule.c:1230: too many arguments to function `mkdir'
Modules/posixmodule.c: In function `posix_utime':
Modules/posixmodule.c:1429: warning: implicit declaration of function `utime'
Modules/posixmodule.c: In function `posix_fork':
Modules/posixmodule.c:1902: warning: implicit declaration of function `fork'
Modules/posixmodule.c: In function `posix_getegid':
Modules/posixmodule.c:1988: warning: implicit declaration of function `getegid'
Modules/posixmodule.c: In function `posix_geteuid':
Modules/posixmodule.c:2003: warning: implicit declaration of function `geteuid'
Modules/posixmodule.c: In function `posix_getgid':
Modules/posixmodule.c:2018: warning: implicit declaration of function `getgid'
Modules/posixmodule.c: In function `posix_getppid':
Modules/posixmodule.c:2131: warning: implicit declaration of function `getppid'
Modules/posixmodule.c: In function `posix_getuid':
Modules/posixmodule.c:2177: warning: implicit declaration of function `getuid'
Modules/posixmodule.c: In function `posix_kill':
Modules/posixmodule.c:2207: warning: implicit declaration of function `kill'
Modules/posixmodule.c: In function `posix_wait':
Modules/posixmodule.c:3364: warning: implicit declaration of function `wait'
Modules/posixmodule.c: In function `posix_pipe':
Modules/posixmodule.c:3867: warning: implicit declaration of function `pipe'
make: *** [Modules/posixmodule.o] Error 1

______________________________________________________________________________
UNICEF bittet um Spenden für die Kinder im Irak! Hier online an
UNICEF spenden: https://spenden.web.de/unicef/special/?mc=021101






More information about the Python-list mailing list