compiling python 2.2 on QNX 4.25

francesco f.jatta at itia.cnr.it
Thu Jun 19 08:54:17 CEST 2003


Hi there,
I installed  Python 2.2 binaries on a QNX4.25 machine with Watcom 10.6
compiler.
At a first glance everything seems to work just fine
but the simple assignment: 

f=100.0 

gives a segmentation fault (SIGSEGV) error.  I heard that this could
be
fixed by changing tha stacksize when compiling with LDFLAGS = -N 48k
in the Makefile. However, when trying to compile (./configure was done
like this: configure --verbose --without-gcc --with-libm=""
--with-cxx=cc)

I get the following errors:

//1/openqnx/Python-2.2/Include/pythonrun.h(45): Error! E415: (col 66)
type cannot be defined or declared in a return type
//1/openqnx/Python-2.2/Include/pythonrun.h(45): Note! N393: (col 66)
included from //1/openqnx/Python-2.2/Include/Python.h(101)
//1/openqnx/Python-2.2/Include/pythonrun.h(45): Note! N393: (col 66)
included from //1//openqnx/Python-2.2/Modules/ccpython.cc(4)
//1/openqnx/Python-2.2/Include/pythonrun.h(65): Error! E415: (col 68)
type cannot be defined or declared in a return type
cc: /usr/watcom/10.6/bin/wpp386 exited 2
make: *** [Modules/ccpython.o] Error 2


Anybody knows how to recompile Python on QNX4 in order to solve the
stack
problem?

thanks in advance
Francesco




More information about the Python-list mailing list