[SciPy-user] Build errors in supermatrix.h

Pearu Peterson pearu at scipy.org
Mon Dec 8 15:04:59 CST 2003



On Mon, 8 Dec 2003, Christopher Fonnesbeck wrote:

> After updating from CVS, building gives the following errors on OSX 
> that I have not seen before:

Has Lib/sparse/_zsuperlumodule.c compiled without errors before
you updated from CVS? There has been no changes in CVS that would
concern this file.

> In file included from Lib/sparse/SuperLU2.0/SRC/zsp_defs.h:23,
>                   from Lib/sparse/_zsuperlumodule.c:26:
> Lib/sparse/SuperLU2.0/SRC/supermatrix.h:19: error: parse error before 
> numeric constant
> In file included from Lib/sparse/_zsuperlumodule.c:27:
> Lib/sparse/SuperLU2.0/SRC/util.h:95: warning: function declaration 
> isn't a prototype
> Lib/sparse/SuperLU2.0/SRC/util.h:101: warning: function declaration 
> isn't a prototype
> Lib/sparse/_zsuperlumodule.c: In function `NRFormat_from_spMatrix':
> Lib/sparse/_zsuperlumodule.c:46: warning: implicit declaration of 
> function `zCreate_CompRow_Matrix'
> Lib/sparse/_zsuperlumodule.c: In function `Py_zgssv':
> Lib/sparse/_zsuperlumodule.c:164: warning: implicit declaration of 
> function `superlu_delete_allkeys'
> Lib/sparse/_zsuperlumodule.c: At top level:
> Lib/sparse/_zsuperlumodule.c:191: warning: function declaration isn't a 
> prototype
> Lib/sparse/_zsuperlumodule.c: In function `init_zsuperlu':
> Lib/sparse/_zsuperlumodule.c:192: warning: unused variable `d'
> error: command 'gcc' failed with exit status 1
> 
> Any ideas on a workaround?

Try compiling this particular file manually and find out why compiler
fails here. Or if you don't need scipy.sparse module then disable
it by adding 'sparse' to the ignore_packages list in setup.py file.

Pearu



More information about the SciPy-user mailing list