Skip Menu |

This queue is for tickets about the Inline-Python CPAN distribution.

Report information
The Basics
Id: 17779
Status: new
Priority: 0/
Queue: Inline-Python

People
Owner: Nobody in particular
Requestors: mattr [...] telebody.com
Cc:
AdminCc:

Bug Information
Severity: Critical
Broken in: 0.22
Fixed in: (no value)



Subject: Cygwin fails due to pointer size
Some errors. With perl 5.8.7, Python 2.4 on latest Cygwin as of Feb. 21, 2006 (CYGWIN_NT-5.1 1.5.19). Basic cygwin install on XP, using their prebuilt python and default make responses. tkk16@tkk16 ~/.cpan/build/Inline-Python-0.22 $ make cp Python.pm blib/lib/Inline/Python.pm cp Python.pod blib/lib/Inline/Python.pod /usr/bin/perl.exe /usr/lib/perl5/5.8/ExtUtils/xsubpp - typemap /usr/lib/perl5/5. 8/ExtUtils/typemap Python.xs > Python.xsc && mv Python.xsc Python.c gcc -c -I/usr/include/python2.4 -DPERL_USE_SAFE_PUTENV -fno-strict- aliasing -pi pe -I/usr/local/include -DUSEIMPORTLIB -O3 -DVERSION=\"0.22\" - DXS_VERSION=\"0 .22\" "-I/usr/lib/perl5/5.8/cygwin/CORE" -DEXPOSE_PERL - DCREATE_PYTHON -UCREAT E_PERL Python.c Python.xs: In function `XS_Inline__Python_py_call_method': Python.xs:284: warning: cast to pointer from integer of different size Python.xs: In function `XS_Inline__Python__Object_DESTROY': Python.xs:373: warning: cast to pointer from integer of different size gcc -c -I/usr/include/python2.4 -DPERL_USE_SAFE_PUTENV -fno-strict- aliasing -pi pe -I/usr/local/include -DUSEIMPORTLIB -O3 -DVERSION=\"0.22\" - DXS_VERSION=\"0 .22\" "-I/usr/lib/perl5/5.8/cygwin/CORE" -DEXPOSE_PERL - DCREATE_PYTHON -UCREAT E_PERL py2pl.c py2pl.c: In function `Py2Pl': py2pl.c:100: warning: cast from pointer to integer of different size py2pl.c: In function `Pl2Py': py2pl.c:223: warning: cast to pointer from integer of different size gcc -c -I/usr/include/python2.4 -DPERL_USE_SAFE_PUTENV -fno-strict- aliasing -pi pe -I/usr/local/include -DUSEIMPORTLIB -O3 -DVERSION=\"0.22\" - DXS_VERSION=\"0 .22\" "-I/usr/lib/perl5/5.8/cygwin/CORE" -DEXPOSE_PERL - DCREATE_PYTHON -UCREAT E_PERL perlmodule.c perlmodule.c:159: warning: inconsistent dll linkage for 'PerlPkg_type', dllexpor t assumed. perlmodule.c:160: error: initializer element is not constant perlmodule.c:160: error: (near initialization for `PerlPkg_type.ob_type') perlmodule.c:254: warning: inconsistent dll linkage for 'PerlObj_type', dllexpor t assumed. perlmodule.c:255: error: initializer element is not constant perlmodule.c:255: error: (near initialization for `PerlObj_type.ob_type') perlmodule.c:517: warning: inconsistent dll linkage for 'PerlSub_type', dllexpor t assumed. perlmodule.c:518: error: initializer element is not constant perlmodule.c:518: error: (near initialization for `PerlSub_type.ob_type') make: *** [perlmodule.o] Error 1