[SciPy-dev] Compiling pysparse from the sandbox

Nils Wagner nwagner@iam.uni-stuttgart...
Wed Apr 18 09:38:04 CDT 2007


Neilen Marais wrote:
> Hi,
>
> I tried compiling pysparse from the sandbox in a recent svn SciPy, but I
> get the following compiler error:
>
> In file included from Lib/sandbox/pysparse/src/spmatrixmodule.c:17:
> Lib/sandbox/pysparse/src/ll_mat.c: In function ‘LLMat_matvec_transp’:
> Lib/sandbox/pysparse/src/ll_mat.c:760: error: ‘CONTIGUOUS’ undeclared (first use in this function)
> Lib/sandbox/pysparse/src/ll_mat.c:760: error: (Each undeclared identifier is reported only once
> Lib/sandbox/pysparse/src/ll_mat.c:760: error: for each function it appears in.)
> Lib/sandbox/pysparse/src/ll_mat.c: In function ‘LLMat_matvec’:
> Lib/sandbox/pysparse/src/ll_mat.c:797: error: ‘CONTIGUOUS’ undeclared (first use in this function)
> In file included from Lib/sandbox/pysparse/src/spmatrixmodule.c:18:
> Lib/sandbox/pysparse/src/csr_mat.c: In function ‘CSRMat_matvec_transp’:
> Lib/sandbox/pysparse/src/csr_mat.c:119: error: ‘CONTIGUOUS’ undeclared (first use in this function)
> Lib/sandbox/pysparse/src/csr_mat.c: In function ‘CSRMat_matvec’:
> Lib/sandbox/pysparse/src/csr_mat.c:146: error: ‘CONTIGUOUS’ undeclared (first use in this function)
> In file included from Lib/sandbox/pysparse/src/spmatrixmodule.c:19:
> Lib/sandbox/pysparse/src/sss_mat.c: In function ‘SSSMat_matvec’:
> Lib/sandbox/pysparse/src/sss_mat.c:83: error: ‘CONTIGUOUS’ undeclared (first use in this function)
> In file included from Lib/sandbox/pysparse/src/spmatrixmodule.c:17:
> Lib/sandbox/pysparse/src/ll_mat.c: In function ‘LLMat_matvec_transp’:
> Lib/sandbox/pysparse/src/ll_mat.c:760: error: ‘CONTIGUOUS’ undeclared (first use in this function)
> Lib/sandbox/pysparse/src/ll_mat.c:760: error: (Each undeclared identifier is reported only once
> Lib/sandbox/pysparse/src/ll_mat.c:760: error: for each function it appears in.)
> Lib/sandbox/pysparse/src/ll_mat.c: In function ‘LLMat_matvec’:
> Lib/sandbox/pysparse/src/ll_mat.c:797: error: ‘CONTIGUOUS’ undeclared (first use in this function)
> In file included from Lib/sandbox/pysparse/src/spmatrixmodule.c:18:
> Lib/sandbox/pysparse/src/csr_mat.c: In function ‘CSRMat_matvec_transp’:
> Lib/sandbox/pysparse/src/csr_mat.c:119: error: ‘CONTIGUOUS’ undeclared (first use in this function)
> Lib/sandbox/pysparse/src/csr_mat.c: In function ‘CSRMat_matvec’:
> Lib/sandbox/pysparse/src/csr_mat.c:146: error: ‘CONTIGUOUS’ undeclared (first use in this function)
> In file included from Lib/sandbox/pysparse/src/spmatrixmodule.c:19:
> Lib/sandbox/pysparse/src/sss_mat.c: In function ‘SSSMat_matvec’:
> Lib/sandbox/pysparse/src/sss_mat.c:83: error: ‘CONTIGUOUS’ undeclared (first use in this function)
> error: Command "gcc -pthread -fno-strict-aliasing -DNDEBUG -g -O2 -Wall -fPIC -ILib/sandbox/pysparse/include/ -I/usr/lib/python2.4/site-packages/numpy/core/include -I/usr/include/python2.4 -c Lib/sandbox/pysparse/src/spmatrixmodule.c -o build/temp.linux-x86_64-2.4/Lib/sandbox/pysparse/src/spmatrixmodule.o" failed with exit status 1
>
> Is this a known problem, or have I forgotten to install some development
> library?  I'm running Ubuntu Edgy AMD64.
>
> Thanks 
> Neilen
>
>   
Hi Neilen,

I just tried to install pysparse from the sandox.
I can only confirm the failure.

           Nils
 


More information about the Scipy-dev mailing list