[SciPy-user] Sparse Compilation Issues (again)

Costas Malamas costasm at hotmail.com
Thu Dec 19 03:48:34 EST 2002


I've been trying to compile sparse on win32 to no avail.  I tried both 
mingw32 with pre-built ATLAS and LAPACK and Cygwin, both with the Scipy CVS. 
  Both setups work OK (well, cluster also fails on Cygwin, but I took it 
out), and they crash more-or-less with the same error ("parse error before 
numeric constant", below).  Extensive Googling shows that this means a 
numeric constant is already used somewhere else, but I got no solution to 
work around it...

Ideas?

Thanks,

Costas


gcc -shared -Wl,--enable-auto-image-base 
build/temp.cygwin-1.3.17-i686-2.2/convo
lve.o build/temp.cygwin-1.3.17-i686-2.2/fortranobject.o 
build/temp.cygwin-1.3.17
-i686-2.2/convolvemodule.o -Lbuild/temp.cygwin-1.3.17-i686-2.2 
-L/usr/lib/python
2.2/config -Lbuild/temp.cygwin-1.3.17-i686-2.2 -ldfftpack -lpython2.2 
-lc_misc -
lcephes -lrootfind -lsuperlu -lmyblas -lg2c -o 
build/lib.cygwin-1.3.17-i686-2.2/
scipy/fftpack/convolve.dll
building 'scipy.sparse._zsuperlu' extension
gcc -DNDEBUG -g -O3 -Wall -Wstrict-prototypes -DUSE_DL_IMPORT 
-I/usr/include/pyt
hon2.2 -c /d/Projects/scipy/scipy_cygwin/sparse/_zsuperlumodule.c -o 
build/temp.
cygwin-1.3.17-i686-2.2/_zsuperlumodule.o
In file included from 
/d/Projects/scipy/scipy_cygwin/sparse/SuperLU/SRC/zsp_defs
.h:23,
                 from 
/d/Projects/scipy/scipy_cygwin/sparse/_zsuperlumodule.c:26
:
/d/Projects/scipy/scipy_cygwin/sparse/SuperLU/SRC/supermatrix.h:19: parse 
error
before numeric constant
/d/Projects/scipy/scipy_cygwin/sparse/SuperLU/SRC/supermatrix.h:21: parse 
error
before numeric constant
In file included from 
/d/Projects/scipy/scipy_cygwin/sparse/_zsuperlumodule.c:27
:
/d/Projects/scipy/scipy_cygwin/sparse/SuperLU/SRC/util.h:95: warning: 
function d
eclaration isn't a prototype
/d/Projects/scipy/scipy_cygwin/sparse/SuperLU/SRC/util.h:101: warning: 
function
declaration isn't a prototype
/d/Projects/scipy/scipy_cygwin/sparse/_zsuperlumodule.c: In function 
`NRFormat_f
rom_spMatrix':
/d/Projects/scipy/scipy_cygwin/sparse/_zsuperlumodule.c:46: warning: 
implicit de
claration of function `zCreate_CompRow_Matrix'
/d/Projects/scipy/scipy_cygwin/sparse/_zsuperlumodule.c: In function 
`Py_zgssv':

/d/Projects/scipy/scipy_cygwin/sparse/_zsuperlumodule.c:163: warning: 
implicit d
eclaration of function `superlu_delete_allkeys'
/d/Projects/scipy/scipy_cygwin/sparse/_zsuperlumodule.c: At top level:
/d/Projects/scipy/scipy_cygwin/sparse/_zsuperlumodule.c:190: warning: 
function d
eclaration isn't a prototype
error: command 'gcc' failed with exit status 1


_________________________________________________________________
Add photos to your e-mail with MSN 8. Get 2 months FREE*. 
http://join.msn.com/?page=features/featuredemail




More information about the SciPy-User mailing list