New submission from dellair jie:
Dear all,
I am compiling Python 3.4 on Cygwin 1.7.17.
The following has been done in order to reach the point where _struct module
failed.
A clean Python 3.4
Applied patches:
cygwin_si_band.patch in Issue21085
0001-CYGWIN-issue13756-Python-make-fail-on-cygwin.patch in issue13756
0019-MINGW-export-_PyNode_SizeOf-as-PyAPI-for-parser-modu.patch in issue186373
configure + make
The issue happened during make:
building '_struct' extension
gcc -Wno-unused-result -Werror=declaration-after-statement -DNDEBUG -g -fwrapv
-O3 -Wall -Wstrict-prototypes -I./Include -I. -IInclude
-I/cygdrive/c/temp/Python-3.4.0/Include -I/cygdrive/c/temp/Python-3.4.0 -c
/cygdrive/c/temp/Python-3.4.0/Modules/_struct.c -o
build/temp.cygwin-1.7.17-i686-3.4/cygdrive/c/temp/Python-3.4.0/Modules/_struct.o
/cygdrive/c/temp/Python-3.4.0/Modules/_struct.c:1630:5: error: initializer
element is not constant
/cygdrive/c/temp/Python-3.4.0/Modules/_struct.c:1630:5: error: (near
initialization for ‘unpackiter_type.ob_base.ob_base.ob_type’)
Please feel free to find the build.log and the output of _struct.c.txt (gcc
with -dD -E -DPy_BUILD_core) for more information.
Thanks in advance,
Br,
Dellair
--
files: _struct.c.txt
messages: 215320
nosy: dellair.jie
priority: normal
severity: normal
status: open
title: Compilation error on _struct module on Python 3.4
versions: Python 3.4
Added file: http://bugs.python.org/file34694/_struct.c.txt
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue21123
___
___
Python-bugs-list mailing list
Unsubscribe:
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com