[SciPy-user] sparsetools involvement? (was -lf77compat build failure)

Phil Forrest forrest@physics.Auburn....
Thu Jul 17 15:53:35 CDT 2008


Hey Guys,

After reviewing the compilation failures, Robert Kern suggested I post the
following error messages to this list. Again, the original problem has to do
with no "f77 compatibility" library included with Sun Studio 12 (8.3) - at
least on Sun Solaris x86. The lack of this library caused the scipy build to
fail.

Below is a portion of the error messages from building scipy with
"f77compat" REMOVED from sun.py in the numpy tree/build.

Thanks,
Phil

> building 'scipy.sparse._sparsetools' extension compiling C++ sources C 
> compiler: /usr/lib/python2.4/pyCC -DNDEBUG
>
> compile options: '-Iscipy/sparse/sparsetools 
> -I/usr/lib/python2.4/site-packages/numpy/core/include
> -I/usr/include/python2.4 -c'
> pyCC: scipy/sparse/sparsetools/sparsetools_wrap.cxx
>
"/usr/lib/python2.4/site-packages/numpy/core/include/numpy/__multiarray_api.
> h", line 960: Warning: String literal converted to char* in formal 
> argument name in call to PyImport_ImportModule(char*).
>
"/usr/lib/python2.4/site-packages/numpy/core/include/numpy/__multiarray_api.
> h", line 963: Warning: String literal converted to char* in formal 
> argument
> 2 in call to PyObject_GetAttrString(_object*, char*).
> "scipy/sparse/sparsetools/sparsetools_wrap.cxx", line 2602: Warning: 
> String literal converted to char* in initialization.
> "scipy/sparse/sparsetools/sparsetools_wrap.cxx", line 2603: Warning: 
> String literal converted to char* in initialization.
> "scipy/sparse/sparsetools/sparsetools_wrap.cxx", line 2604: Warning: 
> String literal converted to char* in initialization.
> "scipy/sparse/sparsetools/sparsetools_wrap.cxx", line 2605: Warning: 
> String literal converted to char* in initialization.
> "scipy/sparse/sparsetools/sparsetools_wrap.cxx", line 2606: Warning: 
> String literal converted to char* in initialization.
> "scipy/sparse/sparsetools/sparsetools_wrap.cxx", line 2607: Warning: 
> String literal converted to char* in initialization.
> "scipy/sparse/sparsetools/sparsetools_wrap.cxx", line 2608: Warning: 
> String literal converted to char* in initialization.
> "scipy/sparse/sparsetools/sparsetools_wrap.cxx", line 2609: Warning: 
> String literal converted to char* in initialization.
> "scipy/sparse/sparsetools/sparsetools_wrap.cxx", line 2610: Warning: 
> String literal converted to char* in initialization.
> "scipy/sparse/sparsetools/sparsetools_wrap.cxx", line 2611: Warning: 
> String literal converted to char* in initialization.
> "scipy/sparse/sparsetools/sparsetools_wrap.cxx", line 2612: Warning: 
> String literal converted to char* in initialization.
> "scipy/sparse/sparsetools/sparsetools_wrap.cxx", line 2614: Warning: 
> String literal converted to char* in initialization.
> "scipy/sparse/sparsetools/sparsetools.h", line 409: Error: multiplies 
> is not a member of std.
> "scipy/sparse/sparsetools/sparsetools_wrap.cxx", line 15087:     Where:
> While instantiating "csr_elmul_csr<int, int>(const int, const int, 
> const int*, const int*, const int*, const int*, const int*, const 
> int*, std::vector<int>*, std::vector<int>*, std::vector<int>*)".
> "scipy/sparse/sparsetools/sparsetools_wrap.cxx", line 15087:     Where:
> Instantiated from non-template code.
> "scipy/sparse/sparsetools/sparsetools.h", line 409: Error: Unexpected 
> type name "T" encountered.
> "scipy/sparse/sparsetools/sparsetools_wrap.cxx", line 15087:     Where:
> While instantiating "csr_elmul_csr<int, int>(const int, const int, 
> const int*, const int*, const int*, const int*, const int*, const 
> int*, std::vector<int>*, std::vector<int>*, std::vector<int>*)".
> "scipy/sparse/sparsetools/sparsetools_wrap.cxx", line 15087:     Where:
> Instantiated from non-template code.
> "scipy/sparse/sparsetools/sparsetools.h", line 409: Error: Operand 
> expected instead of ")".
> "scipy/sparse/sparsetools/sparsetools_wrap.cxx", line 15087:     Where:
> While instantiating "csr_elmul_csr<int, int>(const int, const int, 
> const int*, const int*, const int*, const int*, const int*, const 
> int*, std::vector<int>*, std::vector<int>*, std::vector<int>*)".
> "scipy/sparse/sparsetools/sparsetools_wrap.cxx", line 15087:     Where:
> Instantiated from non-template code.
> 3 Error(s) and 14 Warning(s) detected.
>
"/usr/lib/python2.4/site-packages/numpy/core/include/numpy/__multiarray_api.
> h", line 960: Warning: String literal converted to char* in formal 
> argument name in call to PyImport_ImportModule(char*).
>
"/usr/lib/python2.4/site-packages/numpy/core/include/numpy/__multiarray_api.
> h", line 963: Warning: String literal converted to char* in formal 
> argument
> 2 in call to PyObject_GetAttrString(_object*, char*).
> "scipy/sparse/sparsetools/sparsetools_wrap.cxx", line 2602: Warning: 
> String literal converted to char* in initialization.
> "scipy/sparse/sparsetools/sparsetools_wrap.cxx", line 2603: Warning: 
> String literal converted to char* in initialization.
> "scipy/sparse/sparsetools/sparsetools_wrap.cxx", line 2604: Warning: 
> String literal converted to char* in initialization.
> "scipy/sparse/sparsetools/sparsetools_wrap.cxx", line 2605: Warning: 
> String literal converted to char* in initialization.
> "scipy/sparse/sparsetools/sparsetools_wrap.cxx", line 2606: Warning: 
> String literal converted to char* in initialization.
> "scipy/sparse/sparsetools/sparsetools_wrap.cxx", line 2607: Warning: 
> String literal converted to char* in initialization.
> "scipy/sparse/sparsetools/sparsetools_wrap.cxx", line 2608: Warning: 
> String literal converted to char* in initialization.
> "scipy/sparse/sparsetools/sparsetools_wrap.cxx", line 2609: Warning: 
> String literal converted to char* in initialization.
> "scipy/sparse/sparsetools/sparsetools_wrap.cxx", line 2610: Warning: 
> String literal converted to char* in initialization.
> "scipy/sparse/sparsetools/sparsetools_wrap.cxx", line 2611: Warning: 
> String literal converted to char* in initialization.
> "scipy/sparse/sparsetools/sparsetools_wrap.cxx", line 2612: Warning: 
> String literal converted to char* in initialization.
> "scipy/sparse/sparsetools/sparsetools_wrap.cxx", line 2614: Warning: 
> String literal converted to char* in initialization.
> "scipy/sparse/sparsetools/sparsetools.h", line 409: Error: multiplies 
> is not a member of std.
> "scipy/sparse/sparsetools/sparsetools_wrap.cxx", line 15087:     Where:
> While instantiating "csr_elmul_csr<int, int>(const int, const int, 
> const int*, const int*, const int*, const int*, const int*, const 
> int*, std::vector<int>*, std::vector<int>*, std::vector<int>*)".
> "scipy/sparse/sparsetools/sparsetools_wrap.cxx", line 15087:     Where:
> Instantiated from non-template code.
> "scipy/sparse/sparsetools/sparsetools.h", line 409: Error: Unexpected 
> type name "T" encountered.
> "scipy/sparse/sparsetools/sparsetools_wrap.cxx", line 15087:     Where:
> While instantiating "csr_elmul_csr<int, int>(const int, const int, 
> const int*, const int*, const int*, const int*, const int*, const 
> int*, std::vector<int>*, std::vector<int>*, std::vector<int>*)".
> "scipy/sparse/sparsetools/sparsetools_wrap.cxx", line 15087:     Where:
> Instantiated from non-template code.
> "scipy/sparse/sparsetools/sparsetools.h", line 409: Error: Operand 
> expected instead of ")".
> "scipy/sparse/sparsetools/sparsetools_wrap.cxx", line 15087:     Where:
> While instantiating "csr_elmul_csr<int, int>(const int, const int, 
> const int*, const int*, const int*, const int*, const int*, const 
> int*, std::vector<int>*, std::vector<int>*, std::vector<int>*)".
> "scipy/sparse/sparsetools/sparsetools_wrap.cxx", line 15087:     Where:
> Instantiated from non-template code.
> 3 Error(s) and 14 Warning(s) detected.
> error: Command "/usr/lib/python2.4/pyCC -DNDEBUG 
> -Iscipy/sparse/sparsetools 
> -I/usr/lib/python2.4/site-packages/numpy/core/include
> -I/usr/include/python2.4 -c 
> scipy/sparse/sparsetools/sparsetools_wrap.cxx -o
build/temp.solaris-2.10-i86pc-2.4/scipy/sparse/sparsetools/sparsetools_wrap.
> o" failed with exit status 3
> #




More information about the SciPy-user mailing list