#111 Do not compile mingw 3.4.5

open
nobody
None
5
2014-08-14
2008-11-25
No

py2exe 0.6.9 rev683
g++ (GCC) 3.4.5 (mingw-vista special r3)

Command line and output:
F:\Lang\sf.net\svn\py2exe>setup.py build -cmingw32
running build
running build_py
creating build
creating build\lib.win32-2.5
copying zipextimporter.py -> build\lib.win32-2.5
creating build\lib.win32-2.5\py2exe
copying py2exe\boot_common.py -> build\lib.win32-2.5\py2exe
copying py2exe\boot_com_servers.py -> build\lib.win32-2.5\py2exe
copying py2exe\boot_ctypes_com_server.py -> build\lib.win32-2.5\py2exe
copying py2exe\boot_service.py -> build\lib.win32-2.5\py2exe
copying py2exe\build_exe.py -> build\lib.win32-2.5\py2exe
copying py2exe\mf.py -> build\lib.win32-2.5\py2exe
copying py2exe\__init__.py -> build\lib.win32-2.5\py2exe
creating build\lib.win32-2.5\py2exe\resources
copying py2exe\resources\StringTables.py -> build\lib.win32-2.5\py2exe\resources
copying py2exe\resources\VersionInfo.py -> build\lib.win32-2.5\py2exe\resources
copying py2exe\resources\__init__.py -> build\lib.win32-2.5\py2exe\resources
running build_ext
building '_memimporter' extension
creating build\temp.win32-2.5
creating build\temp.win32-2.5\Release
creating build\temp.win32-2.5\Release\source
C:\Lang\mingw\bin\gcc.exe -mno-cygwin -Wall -mthreads -O3 -Wno-strict-aliasing -DNDEBUG -mtune=pentium3 -march=pentium3 -DPYTHONDLL=\"PYTHON25.DLL\" -DPYTHONCOM=\"pythoncom25.dll\" -IC:\Lang\Python\25\include -IC:\Lang\Python\25\PC -c source/MemoryModule.c -o build\temp.win32-2.5\Release\source\memorymodule.o
source/MemoryModule.c:30: warning: ignoring #pragma warning
source/MemoryModule.c: In function `GetNameTable':
source/MemoryModule.c:610: warning: passing arg 4 of `qsort' from incompatible pointer type
source/MemoryModule.c: In function `MemoryGetProcAddress':
source/MemoryModule.c:637: warning: passing arg 5 of `bsearch' from incompatible pointer type
C:\Lang\mingw\bin\gcc.exe -mno-cygwin -Wall -mthreads -O3 -Wno-strict-aliasing -DNDEBUG -mtune=pentium3 -march=pentium3 -DPYTHONDLL=\"PYTHON25.DLL\" -DPYTHONCOM=\"pythoncom25.dll\" -IC:\Lang\Python\25\include -IC:\Lang\Python\25\PC -c source/_memimporter_module.c -o build\temp.win32-2.5\Release\source\_memimporter_module.o
In file included from source/_memimporter.c:8,
from source/_memimporter_module.c:2:
source/Python-version.h:13: error: redefinition of typedef 'Py_ssize_t'
C:/Lang/Python/25/include/pyport.h:115: error: previous declaration of 'Py_ssize_t' was here
error: command 'gcc' failed with exit status 1

Discussion

  • python 2.5.2

     
  • Florian Sening
    Florian Sening
    2012-09-05

    I get different errors but when I try to fix them I end up with the same error.
    I have no idea in what kind of environment this is supposed to be built.