[Twisted-Python] Twisted 1.0.0rc3 on WinNT / Cygwin
Moshe Zadka
twisted at moshez.org
Mon Oct 21 02:07:56 MDT 2002
On Mon, 21 Oct 2002, jml at mumak.net (Jonathan M. Lange) wrote:
> gcc -g -O2 -Wall -Wstrict-prototypes -DUSE_DL_IMPORT
> -I/usr/include/python2.1 -c twisted/internet/cReactor/cReactor.c -o
> build/temp.cygwin-1.3.3-i686-2.1/cReactor.o
> twisted/internet/cReactor/cReactor.c: In function
> `iterate_internal_finalize':
> twisted/internet/cReactor/cReactor.c:696: warning: implicit declaration
> of function `PyEval_ReleaseLock'
> twisted/internet/cReactor/cReactor.c:715: warning: implicit declaration
> of function `PyEval_AcquireLock'
> twisted/internet/cReactor/cReactor.c: At top level:
> twisted/internet/cReactor/cReactor.c:1238: initializer element is not
> constant
> twisted/internet/cReactor/cReactor.c:1238: (near initialization for
> `cReactorType.ob_type')
> error: command 'gcc' failed with exit status 1
This is indeed a bug in Twisted: cReactorType is initialized with
Py_HEADINIT(&PyTypeType) instead of being initilalized to NULL and being
set in some init routine. I suggest that in the mean time, we disable cReactor's
build on cygwin.
More information about the Twisted-Python
mailing list