[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: help with octave-3.3.53 Sparse problem
From: |
sibu xolo |
Subject: |
Re: help with octave-3.3.53 Sparse problem |
Date: |
Wed, 17 Nov 2010 03:29:57 +0000 |
User-agent: |
KMail/1.13.5 (Linux/2.6.34.0nbf9aDRIm; KDE/4.4.5; x86_64; ; ) |
On Tuesday 16 November 2010 14:09:02 sibu xolo wrote:
> Greetings,
>
> I am attempting to compile octave-3.3.53 on a computer with these:-
> --cpu amd64 2 cores
> --o/s cblfs linux S4-bit gcc-4.4.2 kernel-2.6.32, SuiteSsparse-3.4.9 with
> SPQR installed
>
> No errors were reported when running the configure script ( I had set
> CPPFLAGS="-I/path/SparseSuite/includes")
> and make failed referring to what seemed as references to SPQR
> headers. I then disabled the CPPFLAGS envar and ran make again .
>
>
>
> ############### But make AGAIN ended as shown below:-
>
>
> In file included from DLD-FUNCTIONS/dmperm.cc:37:
> ../liboctave/SparseQR.h:72: error: ISO C++ forbids declaration of 'cs_dis'
> with no type
> ../liboctave/SparseQR.h:72: error: expected ';' before '*' token
> ../liboctave/SparseQR.h:74: error: ISO C++ forbids declaration of 'cs_din'
> with no type
> ../liboctave/SparseQR.h:74: error: expected ';' before '*' token
> ../liboctave/SparseQR.h:136: error: ISO C++ forbids declaration of 'cs_dis'
> with no type
> ../liboctave/SparseQR.h:136: error: expected ';' before '*' token
> ../liboctave/SparseQR.h:138: error: expected ';' before 'cs_din'
> ../liboctave/SparseQR.h:138: error: ISO C++ forbids declaration of 'cs_din'
> with no type
> ../liboctave/SparseQR.h:138: error: expected ';' before '*' token
> ../liboctave/SparseQR.h:140: error: expected ';' before '}' token
> ../liboctave/SparseQR.h: In member function 'bool
> SparseQR::SparseQR_rep::ok() const':
> ../liboctave/SparseQR.h:52: error: 'N' was not declared in this scope
> ../liboctave/SparseQR.h:52: error: 'S' was not declared in this scope
> In file included from DLD-FUNCTIONS/dmperm.cc:38:
> ../liboctave/SparseCmplxQR.h: At global scope:
> ../liboctave/SparseCmplxQR.h:72: error: ISO C++ forbids declaration of
> 'cs_cis' with no type
> ../liboctave/SparseCmplxQR.h:72: error: expected ';' before '*' token
> ../liboctave/SparseCmplxQR.h:74: error: ISO C++ forbids declaration of
> 'cs_cin' with no type
> ../liboctave/SparseCmplxQR.h:74: error: expected ';' before '*' token
> ../liboctave/SparseCmplxQR.h:140: error: ISO C++ forbids declaration of
> 'cs_cis' with no type
> ../liboctave/SparseCmplxQR.h:140: error: expected ';' before '*' token
> ../liboctave/SparseCmplxQR.h:142: error: expected ';' before 'cs_cin'
> ../liboctave/SparseCmplxQR.h:142: error: ISO C++ forbids declaration of
> 'cs_cin' with no type
> ../liboctave/SparseCmplxQR.h:142: error: expected ';' before '*' token
> ../liboctave/SparseCmplxQR.h:144: error: expected ';' before '}' token
> ../liboctave/SparseCmplxQR.h: In member function 'bool
> SparseComplexQR::SparseComplexQR_rep::ok() const':
> ../liboctave/SparseCmplxQR.h:52: error: 'N' was not declared in this scope
> ../liboctave/SparseCmplxQR.h:52: error: 'S' was not declared in this scope
> DLD-FUNCTIONS/dmperm.cc: In function 'octave_value_list
> dmperm_internal(bool, octave_value, int)':
> DLD-FUNCTIONS/dmperm.cc:64: error: 'cs_di' was not declared in this scope
> DLD-FUNCTIONS/dmperm.cc:64: error: expected ';' before 'csm'
> DLD-FUNCTIONS/dmperm.cc:65: error: 'csm' was not declared in this scope
> DLD-FUNCTIONS/dmperm.cc:90: error: 'cs_di_maxtrans' was not declared in
> this scope
> DLD-FUNCTIONS/dmperm.cc:104: error: 'cs_di_free' was not declared in this
> scope
> DLD-FUNCTIONS/dmperm.cc:109: error: 'cs_did' was not declared in this scope
> DLD-FUNCTIONS/dmperm.cc:109: error: 'dm' was not declared in this scope
> DLD-FUNCTIONS/dmperm.cc:109: error: 'cs_di_dmperm' was not declared in this
> scope
> DLD-FUNCTIONS/dmperm.cc:127: error: 'cs_di_dfree' was not declared in this
> scope
> make[3]: *** [DLD-FUNCTIONS/DLD_FUNCTIONS_dmperm_la-dmperm.lo] Error 1
> make[3]: Leaving directory `$SOURCES/octave-3.3.53/src'
> make[2]: *** [all] Error 2
> make[2]: Leaving directory `$SOURCES/octave-3.3.53/src'
> make[1]: *** [all-recursive] Error 1
> make[1]: Leaving directory `$SOURCES/octave-3.3.53'
> make: *** [all] Error 2
>
I have fixed the problem. It was due to the wrong cs.h (for CSparse instead
of CXSparse) being installed