[PD] py compilation error

Michael Iber music at chemie.fu-berlin.de
Mon Mar 19 14:55:31 CET 2007


Hi Thomas,
I just installed a new linux-system with python 2.5.
Compiling the py-external I get the following error. What can I do?
Thanks and all the best, Michael


is7:/pub/install/pure-data/externals/grill/py # sh ../flext/build.sh pd gcc
make -f ../flext/buildsys/gnumake-sub.mak PLATFORM=lnx RTSYS=pd
COMPILER=gcc BUILDPATH=../flext/buildsys/ PKGINFO=package.txt
BUILDCLASS=ext USRCONFIG=config.txt USRMAKE=build/gnumake-lnx-gcc.inc
TARGETMODE=release TARGETTYPE=multi THREADED=1 _build_
make[1]: Entering directory `/pub/install/pure-data/externals/grill/py'
mkdir -p pd-linux/release-multi/
g++ -c -msse -mfpmath=sse -ffast-math -O3 -march=pentium4   -pthread
-fPIC -DPY_EXPORTS -DPY_NUMPY -DPY_USE_GIL -DNDEBUG -DFLEXT_THREADS
-DFLEXT_SYS=2 -DPD -I/usr/include/python2.5 -I/usr/local/src/pd/src
-I/usr/local/include/STK -I/usr/local/include/sndobj
-I/usr/local/include/flext source/pybuffer.cpp -o
pd-linux/release-multi/pybuffer.opp
source/pybuffer.cpp:222: error: invalid conversion from 'int
(*)(PyObject*, int, const char**)' to 'Py_ssize_t (*)(PyObject*,
Py_ssize_t, char**)'
source/pybuffer.cpp:440: warning: 'intargfunc' is deprecated (declared
at /usr/include/python2.5/object.h:133)
source/pybuffer.cpp:441: warning: 'intargfunc' is deprecated (declared
at /usr/include/python2.5/object.h:133)
source/pybuffer.cpp:442: warning: 'intintargfunc' is deprecated
(declared at /usr/include/python2.5/object.h:134)
make[1]: *** [pd-linux/release-multi/pybuffer.opp] Fehler 1
make[1]: Leaving directory `/pub/install/pure-data/externals/grill/py'
make: *** [build-release-multi] Fehler 2














-- 

--- ?Michael Iber          ---
--- mail at michael-iber.de  ---
--- www.michael-iber.de   ---




More information about the Pd-list mailing list