Created
May 13, 2014 11:21
-
-
Save lubosz/d41142333decf433a2da to your computer and use it in GitHub Desktop.
python 3 build error on mingw (windows)
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
$ make | |
x86_64-w64-mingw32-gcc -c -Wno-unused-result -DNDEBUG -g -fwrapv -O3 -Wall -Wstrict-prototypes -Wall -g -O2 -DWINVER=0x0501 -D_WIN32_WINNT=0x0501 -Wall -g -O2 -DWINVER=0x0501 -D_WIN32_WINNT=0x0501 -I. -IInclude -I./Include -DPy_BUILD_CORE -o Modules/python.o ./Modules/python.c | |
In file included from Include/Python.h:50:0, | |
from ./Modules/python.c:3: | |
Include/pyport.h:223:5: error: #error "Python doesn't support sizeof(pid_t) > sizeof(long)" | |
Include/pyport.h:258:9: error: #error "This platform's pyconfig.h needs to define PY_FORMAT_SIZE_T" | |
make: *** [Modules/python.o] Error 1 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
How have you resolved this issue? I'm getting a similar error.