#3 mingw32 compiler error

open
nobody
None
5
2003-09-15
2003-09-15
Anonymous
No

Hi

I tried compiling Satine on Python 2.3 with mingw32,
using the usual "python setup.py build -cmingw32", and
get the following error:

building 'satine.kernel' extension
C:\MinGW\bin\gcc.exe -mno-cygwin -mdll -O -Wall
-DEXPATLL_EXPORTS -Ic/kernel/exp
at -IC:\Python23\include -IC:\Python23\PC -c
c/kernel/expat/xmlrole.c -o build\t
emp.win32-2.3\Release\c\kernel\expat\xmlrole.o
c/kernel/expat/xmlrole.c:7: warning: `RCSId' defined
but not used
C:\MinGW\bin\gcc.exe -mno-cygwin -mdll -O -Wall
-DEXPATLL_EXPORTS -Ic/kernel/exp
at -IC:\Python23\include -IC:\Python23\PC -c
c/kernel/expat/xmltok.c -o build\te
mp.win32-2.3\Release\c\kernel\expat\xmltok.o
C:\MinGW\bin\gcc.exe -mno-cygwin -mdll -O -Wall
-DEXPATLL_EXPORTS -Ic/kernel/exp
at -IC:\Python23\include -IC:\Python23\PC -c
c/kernel/xiterobject.c -o build\tem
p.win32-2.3\Release\c\kernel\xiterobject.o
c/kernel/xiterobject.c:255: initializer element is not
constant
c/kernel/xiterobject.c:255: (near initialization for
`PyXIter_Type.tp_getattro')

error: command 'gcc' failed with exit status 1

Regards,
Frank Conradie
(frank at qfin dot net)

Discussion


Log in to post a comment.

Get latest updates about Open Source Projects, Conferences and News.

Sign up for the SourceForge newsletter:

JavaScript is required for this form.





No, thanks