You are not logged in.

#1 2007-07-09 03:51:46

goether
Member
Registered: 2007-04-27
Posts: 8

Trouble compiling python-scipy-svn

Can somebody point me in the right direction?? here is the copy and paste from right before it errors out.


customize UnixCCompiler
customize UnixCCompiler using build_ext
customize Gnu95FCompiler
customize Gnu95FCompiler using build_ext
building 'scipy.sparse._sparsetools' extension
compiling C++ sources
C compiler: g++ -pthread -DNDEBUG -g -O3 -Wall -march=i686 -mtune=generic -O2 -pipe -fPIC

compile options: '-ILib/sparse/sparsetools -I/usr/lib/python2.5/site-packages/numpy/core/include -I/usr/include/python2.5 -c'
g++: Lib/sparse/sparsetools/sparsetools_wrap.cxx
Lib/sparse/sparsetools/sparsetools_wrap.cxx: In function 'int SWIG_Python_ConvertPtr(PyObject*, void**, swig_type_info*, int)':
Lib/sparse/sparsetools/sparsetools_wrap.cxx:1221: warning: dereferencing type-punned pointer will break strict-aliasing rules
Lib/sparse/sparsetools/sparsetools_wrap.cxx:1231: error: invalid conversion from 'const char*' to 'char*'
Lib/sparse/sparsetools/sparsetools_wrap.cxx: In function 'PyObject* SWIG_Python_NewPointerObj(void*, swig_type_info*, int)':
Lib/sparse/sparsetools/sparsetools_wrap.cxx:1329: warning: dereferencing type-punned pointer will break strict-aliasing rules
Lib/sparse/sparsetools/sparsetools_wrap.cxx: In function 'char* pytype_string(PyObject*)':
Lib/sparse/sparsetools/sparsetools_wrap.cxx:1492: warning: deprecated conversion from string constant to 'char*'
Lib/sparse/sparsetools/sparsetools_wrap.cxx:1493: warning: deprecated conversion from string constant to 'char*'
Lib/sparse/sparsetools/sparsetools_wrap.cxx:1494: warning: deprecated conversion from string constant to 'char*'
Lib/sparse/sparsetools/sparsetools_wrap.cxx:1495: warning: deprecated conversion from string constant to 'char*'
Lib/sparse/sparsetools/sparsetools_wrap.cxx:1496: warning: deprecated conversion from string constant to 'char*'
Lib/sparse/sparsetools/sparsetools_wrap.cxx:1497: warning: deprecated conversion from string constant to 'char*'
Lib/sparse/sparsetools/sparsetools_wrap.cxx:1498: warning: deprecated conversion from string constant to 'char*'
Lib/sparse/sparsetools/sparsetools_wrap.cxx:1499: warning: deprecated conversion from string constant to 'char*'
Lib/sparse/sparsetools/sparsetools_wrap.cxx:1500: warning: deprecated conversion from string constant to 'char*'
Lib/sparse/sparsetools/sparsetools_wrap.cxx:1501: warning: deprecated conversion from string constant to 'char*'
Lib/sparse/sparsetools/sparsetools_wrap.cxx:1502: warning: deprecated conversion from string constant to 'char*'
Lib/sparse/sparsetools/sparsetools_wrap.cxx:1504: warning: deprecated conversion from string constant to 'char*'
Lib/sparse/sparsetools/sparsetools_wrap.cxx: At global scope:
Lib/sparse/sparsetools/sparsetools_wrap.cxx:1512: warning: deprecated conversion from string constant to 'char*'
Lib/sparse/sparsetools/sparsetools_wrap.cxx:1512: warning: deprecated conversion from string constant to 'char*'
Lib/sparse/sparsetools/sparsetools_wrap.cxx:1512: warning: deprecated conversion from string constant to 'char*'
Lib/sparse/sparsetools/sparsetools_wrap.cxx:1512: warning: deprecated conversion from string constant to 'char*'
Lib/sparse/sparsetools/sparsetools_wrap.cxx:1512: warning: deprecated conversion from string constant to 'char*'
Lib/sparse/sparsetools/sparsetools_wrap.cxx:1512: warning: deprecated conversion from string constant to 'char*'
Lib/sparse/sparsetools/sparsetools_wrap.cxx:1512: warning: deprecated conversion from string constant to 'char*'
Lib/sparse/sparsetools/sparsetools_wrap.cxx:1512: warning: deprecated conversion from string constant to 'char*'
Lib/sparse/sparsetools/sparsetools_wrap.cxx:1512: warning: deprecated conversion from string constant to 'char*'
Lib/sparse/sparsetools/sparsetools_wrap.cxx:1512: warning: deprecated conversion from string constant to 'char*'
Lib/sparse/sparsetools/sparsetools_wrap.cxx:1512: warning: deprecated conversion from string constant to 'char*'
Lib/sparse/sparsetools/sparsetools_wrap.cxx:1512: warning: deprecated conversion from string constant to 'char*'
Lib/sparse/sparsetools/sparsetools_wrap.cxx:1512: warning: deprecated conversion from string constant to 'char*'
Lib/sparse/sparsetools/sparsetools_wrap.cxx:1512: warning: deprecated conversion from string constant to 'char*'
Lib/sparse/sparsetools/sparsetools_wrap.cxx:1512: warning: deprecated conversion from string constant to 'char*'
Lib/sparse/sparsetools/sparsetools_wrap.cxx: In function 'PyObject* _wrap_sort_csr_indices__SWIG_1(PyObject*, PyObject*)':
Lib/sparse/sparsetools/sparsetools_wrap.cxx:18786: warning: dereferencing type-punned pointer will break strict-aliasing rules
Lib/sparse/sparsetools/sparsetools_wrap.cxx: In function 'PyObject* _wrap_sort_csc_indices__SWIG_1(PyObject*, PyObject*)':
Lib/sparse/sparsetools/sparsetools_wrap.cxx:19295: warning: dereferencing type-punned pointer will break strict-aliasing rules
Lib/sparse/sparsetools/sparsetools_wrap.cxx:19297: warning: dereferencing type-punned pointer will break strict-aliasing rules
Lib/sparse/sparsetools/sparsetools_wrap.cxx: In function 'PyObject* _wrap_sort_csc_indices__SWIG_2(PyObject*, PyObject*)':
Lib/sparse/sparsetools/sparsetools_wrap.cxx:19347: warning: dereferencing type-punned pointer will break strict-aliasing rules
Lib/sparse/sparsetools/sparsetools_wrap.cxx: In function 'PyObject* _wrap_sort_csc_indices__SWIG_3(PyObject*, PyObject*)':
Lib/sparse/sparsetools/sparsetools_wrap.cxx:19402: warning: dereferencing type-punned pointer will break strict-aliasing rules
Lib/sparse/sparsetools/sparsetools_wrap.cxx: In function 'PyObject* _wrap_sort_csc_indices__SWIG_4(PyObject*, PyObject*)':
Lib/sparse/sparsetools/sparsetools_wrap.cxx:19457: warning: dereferencing type-punned pointer will break strict-aliasing rules
Lib/sparse/sparsetools/sparsetools_wrap.cxx: In function 'PyObject* _wrap_sort_csc_indices__SWIG_5(PyObject*, PyObject*)':
Lib/sparse/sparsetools/sparsetools_wrap.cxx:19512: warning: dereferencing type-punned pointer will break strict-aliasing rules
Lib/sparse/sparsetools/sparsetools_wrap.cxx: In function 'PyObject* _wrap_sort_csc_indices__SWIG_6(PyObject*, PyObject*)':
Lib/sparse/sparsetools/sparsetools_wrap.cxx:19567: warning: dereferencing type-punned pointer will break strict-aliasing rules
Lib/sparse/sparsetools/sparsetools_wrap.cxx: In function 'void SWIG_Python_FixMethods(PyMethodDef*, swig_const_info*, swig_type_info**, swig_type_info**)':
Lib/sparse/sparsetools/sparsetools_wrap.cxx:20206: error: invalid conversion from 'const char*' to 'char*'
Lib/sparse/sparsetools/sparsetools_wrap.cxx: In function 'int SWIG_Python_ConvertPtr(PyObject*, void**, swig_type_info*, int)':
Lib/sparse/sparsetools/sparsetools_wrap.cxx:1221: warning: dereferencing type-punned pointer will break strict-aliasing rules
Lib/sparse/sparsetools/sparsetools_wrap.cxx:1231: error: invalid conversion from 'const char*' to 'char*'
Lib/sparse/sparsetools/sparsetools_wrap.cxx: In function 'PyObject* SWIG_Python_NewPointerObj(void*, swig_type_info*, int)':
Lib/sparse/sparsetools/sparsetools_wrap.cxx:1329: warning: dereferencing type-punned pointer will break strict-aliasing rules
Lib/sparse/sparsetools/sparsetools_wrap.cxx: In function 'char* pytype_string(PyObject*)':
Lib/sparse/sparsetools/sparsetools_wrap.cxx:1492: warning: deprecated conversion from string constant to 'char*'
Lib/sparse/sparsetools/sparsetools_wrap.cxx:1493: warning: deprecated conversion from string constant to 'char*'
Lib/sparse/sparsetools/sparsetools_wrap.cxx:1494: warning: deprecated conversion from string constant to 'char*'
Lib/sparse/sparsetools/sparsetools_wrap.cxx:1495: warning: deprecated conversion from string constant to 'char*'
Lib/sparse/sparsetools/sparsetools_wrap.cxx:1496: warning: deprecated conversion from string constant to 'char*'
Lib/sparse/sparsetools/sparsetools_wrap.cxx:1497: warning: deprecated conversion from string constant to 'char*'
Lib/sparse/sparsetools/sparsetools_wrap.cxx:1498: warning: deprecated conversion from string constant to 'char*'
Lib/sparse/sparsetools/sparsetools_wrap.cxx:1499: warning: deprecated conversion from string constant to 'char*'
Lib/sparse/sparsetools/sparsetools_wrap.cxx:1500: warning: deprecated conversion from string constant to 'char*'
Lib/sparse/sparsetools/sparsetools_wrap.cxx:1501: warning: deprecated conversion from string constant to 'char*'
Lib/sparse/sparsetools/sparsetools_wrap.cxx:1502: warning: deprecated conversion from string constant to 'char*'
Lib/sparse/sparsetools/sparsetools_wrap.cxx:1504: warning: deprecated conversion from string constant to 'char*'
Lib/sparse/sparsetools/sparsetools_wrap.cxx: At global scope:
Lib/sparse/sparsetools/sparsetools_wrap.cxx:1512: warning: deprecated conversion from string constant to 'char*'
Lib/sparse/sparsetools/sparsetools_wrap.cxx:1512: warning: deprecated conversion from string constant to 'char*'
Lib/sparse/sparsetools/sparsetools_wrap.cxx:1512: warning: deprecated conversion from string constant to 'char*'
Lib/sparse/sparsetools/sparsetools_wrap.cxx:1512: warning: deprecated conversion from string constant to 'char*'
Lib/sparse/sparsetools/sparsetools_wrap.cxx:1512: warning: deprecated conversion from string constant to 'char*'
Lib/sparse/sparsetools/sparsetools_wrap.cxx:1512: warning: deprecated conversion from string constant to 'char*'
Lib/sparse/sparsetools/sparsetools_wrap.cxx:1512: warning: deprecated conversion from string constant to 'char*'
Lib/sparse/sparsetools/sparsetools_wrap.cxx:1512: warning: deprecated conversion from string constant to 'char*'
Lib/sparse/sparsetools/sparsetools_wrap.cxx:1512: warning: deprecated conversion from string constant to 'char*'
Lib/sparse/sparsetools/sparsetools_wrap.cxx:1512: warning: deprecated conversion from string constant to 'char*'
Lib/sparse/sparsetools/sparsetools_wrap.cxx:1512: warning: deprecated conversion from string constant to 'char*'
Lib/sparse/sparsetools/sparsetools_wrap.cxx:1512: warning: deprecated conversion from string constant to 'char*'
Lib/sparse/sparsetools/sparsetools_wrap.cxx:1512: warning: deprecated conversion from string constant to 'char*'
Lib/sparse/sparsetools/sparsetools_wrap.cxx:1512: warning: deprecated conversion from string constant to 'char*'
Lib/sparse/sparsetools/sparsetools_wrap.cxx:1512: warning: deprecated conversion from string constant to 'char*'
Lib/sparse/sparsetools/sparsetools_wrap.cxx: In function 'PyObject* _wrap_sort_csr_indices__SWIG_1(PyObject*, PyObject*)':
Lib/sparse/sparsetools/sparsetools_wrap.cxx:18786: warning: dereferencing type-punned pointer will break strict-aliasing rules
Lib/sparse/sparsetools/sparsetools_wrap.cxx: In function 'PyObject* _wrap_sort_csc_indices__SWIG_1(PyObject*, PyObject*)':
Lib/sparse/sparsetools/sparsetools_wrap.cxx:19295: warning: dereferencing type-punned pointer will break strict-aliasing rules
Lib/sparse/sparsetools/sparsetools_wrap.cxx:19297: warning: dereferencing type-punned pointer will break strict-aliasing rules
Lib/sparse/sparsetools/sparsetools_wrap.cxx: In function 'PyObject* _wrap_sort_csc_indices__SWIG_2(PyObject*, PyObject*)':
Lib/sparse/sparsetools/sparsetools_wrap.cxx:19347: warning: dereferencing type-punned pointer will break strict-aliasing rules
Lib/sparse/sparsetools/sparsetools_wrap.cxx: In function 'PyObject* _wrap_sort_csc_indices__SWIG_3(PyObject*, PyObject*)':
Lib/sparse/sparsetools/sparsetools_wrap.cxx:19402: warning: dereferencing type-punned pointer will break strict-aliasing rules
Lib/sparse/sparsetools/sparsetools_wrap.cxx: In function 'PyObject* _wrap_sort_csc_indices__SWIG_4(PyObject*, PyObject*)':
Lib/sparse/sparsetools/sparsetools_wrap.cxx:19457: warning: dereferencing type-punned pointer will break strict-aliasing rules
Lib/sparse/sparsetools/sparsetools_wrap.cxx: In function 'PyObject* _wrap_sort_csc_indices__SWIG_5(PyObject*, PyObject*)':
Lib/sparse/sparsetools/sparsetools_wrap.cxx:19512: warning: dereferencing type-punned pointer will break strict-aliasing rules
Lib/sparse/sparsetools/sparsetools_wrap.cxx: In function 'PyObject* _wrap_sort_csc_indices__SWIG_6(PyObject*, PyObject*)':
Lib/sparse/sparsetools/sparsetools_wrap.cxx:19567: warning: dereferencing type-punned pointer will break strict-aliasing rules
Lib/sparse/sparsetools/sparsetools_wrap.cxx: In function 'void SWIG_Python_FixMethods(PyMethodDef*, swig_const_info*, swig_type_info**, swig_type_info**)':
Lib/sparse/sparsetools/sparsetools_wrap.cxx:20206: error: invalid conversion from 'const char*' to 'char*'
error: Command "g++ -pthread -DNDEBUG -g -O3 -Wall -march=i686 -mtune=generic -O2 -pipe -fPIC -ILib/sparse/sparsetools -I/usr/lib/python2.5/site-packages/numpy/core/include -I/usr/include/python2.5 -c Lib/sparse/sparsetools/sparsetools_wrap.cxx -o build/temp.linux-i686-2.5/Lib/sparse/sparsetools/sparsetools_wrap.o" failed with exit status 1
==> ERROR: Build Failed.  Aborting...

Offline

Board footer

Powered by FluxBB