On Montag 17 August 2009, Christian Quaia wrote: > Hi. > I've been trying to install pycuda on my centos 5.3 box, but I haven't had > much success. I managed to install boost (1.39) as per instructions, but > when I build pycuda I get the following error: > > building '_driver' extension > gcc -pthread -fno-strict-aliasing -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 > -fexceptions -fstack-protector --param=ssp-buffer-size=4 -m64 > -mtune=generic -D_GNU_SOURCE -fPIC -O3 -DNDEBUG -fPIC -Isrc/cpp > -I/usr/include/boost-1_39 -I/usr/local/cuda/include > -I/usr/lib64/python2.4/site-packages/numpy/core/include > -I/usr/include/python2.4 -c src/wrapper/wrap_cudadrv.cpp -o > build/temp.linux-x86_64-2.4/src/wrapper/wrap_cudadrv.o > > src/wrapper/wrap_cudadrv.cpp: In function > ‘int<unnamed>::function_get_lmem(const cuda::function&)’: > src/wrapper/wrap_cudadrv.cpp:165: error: ‘PyErr_WarnEx’ was not > declared in this scope > ... > error: command 'gcc' failed with exit status 1 > > > I looked around for a solution, but I couldn't find any. I'm using > Python 2.4.3, > and my default gcc version is 4.1.2 (although I had to compile boost > using gcc43)
Try the git version, PyErr_WarnEx is not referenced any more. Andreas
signature.asc
Description: This is a digitally signed message part.
_______________________________________________ PyCUDA mailing list [email protected] http://tiker.net/mailman/listinfo/pycuda_tiker.net
