help-octave
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: help needed with csparse and octave-compile problem


From: Jaroslav Hajek
Subject: Re: help needed with csparse and octave-compile problem
Date: Wed, 4 Aug 2010 07:44:25 +0200

On Tue, Aug 3, 2010 at 11:33 PM, sibu xolo <address@hidden> wrote:
> Dear All
>
> I am new to this list.
>
> I have been trying to compile octave  (versions 3.2.2, 3.2.4 and 3.3.52
> recently.  The computer uses AMD64 2-core CPU, with Linux  (64-bit
> only//gcc-4.4.2 kernel2.6.34)
> On each  occasion  I seem to arrive at the same make failure  of
> octave:
>
> ########   compiling  octave-3.2.2 (~line 19100  of compiler output)
>
> In file included from CSparse.cc:51:
> SparseCmplxQR.h:72: error: ISO C++ forbids declaration of 'cs_cis' with
> no type
> SparseCmplxQR.h:72: error: expected ';' before '*' token
> SparseCmplxQR.h:74: error: ISO C++ forbids declaration of 'cs_cin' with
> no type
> SparseCmplxQR.h:74: error: expected ';' before '*' token
> SparseCmplxQR.h:140: error: ISO C++ forbids declaration of 'cs_cis'
> with no type
> SparseCmplxQR.h:140: error: expected ';' before '*' token
> SparseCmplxQR.h:142: error: expected ';' before 'cs_cin'
> SparseCmplxQR.h:142: error: ISO C++ forbids declaration of 'cs_cin'
> with no type
> SparseCmplxQR.h:142: error: expected ';' before '*' token
> SparseCmplxQR.h:144: error: expected ';' before '}' token
> SparseCmplxQR.h: In member function 'bool
> SparseComplexQR::SparseComplexQR_rep::ok() const':
> SparseCmplxQR.h:52: error: 'N' was not declared in this scope
> SparseCmplxQR.h:52: error: 'S' was not declared in this scope
> In file included from sparse-dmsolve.cc:31,
>                 from CSparse.cc:61:
>
>
> ####compiling octave-3.2.4  ~line  16000  of compiler output
>
> In file included from sparse-dmsolve.cc:31,
>                 from CSparse.cc:61:
> SparseQR.h: At global scope:
> SparseQR.h:72: error: ISO C++ forbids declaration of 'cs_dis' with no
> type
> SparseQR.h:72: error: expected ';' before '*' token
> SparseQR.h:74: error: ISO C++ forbids declaration of 'cs_din' with no
> type
> SparseQR.h:74: error: expected ';' before '*' token
> SparseQR.h:136: error: ISO C++ forbids declaration of 'cs_dis' with no
> type
> SparseQR.h:136: error: expected ';' before '*' token
> SparseQR.h:138: error: expected ';' before 'cs_din'
> SparseQR.h:138: error: ISO C++ forbids declaration of 'cs_din' with no
> type
> SparseQR.h:138: error: expected ';' before '*' token
> SparseQR.h:140: error: expected ';' before '}' token
> SparseQR.h: In member function 'bool SparseQR::SparseQR_rep::ok()
> const':
> SparseQR.h:52: error: 'N' was not declared in this scope
> SparseQR.h:52: error: 'S' was not declared in this scope
>
>
> ####### compiling-octave-3.5.2  ~line  7200 of compiler output
>
> In file included from CSparse.cc:52:
> SparseCmplxQR.h:72: error: ISO C++ forbids declaration of 'cs_cis' with
> no type
> SparseCmplxQR.h:72: error: expected ';' before '*' token
> SparseCmplxQR.h:74: error: ISO C++ forbids declaration of 'cs_cin' with
> no type
> SparseCmplxQR.h:74: error: expected ';' before '*' token
> SparseCmplxQR.h:140: error: ISO C++ forbids declaration of 'cs_cis'
> with no type
> SparseCmplxQR.h:140: error: expected ';' before '*' token
> SparseCmplxQR.h:142: error: expected ';' before 'cs_cin'
> SparseCmplxQR.h:142: error: ISO C++ forbids declaration of 'cs_cin'
> with no type
> SparseCmplxQR.h:142: error: expected ';' before '*' token
> SparseCmplxQR.h:144: error: expected ';' before '}' token
> SparseCmplxQR.h: In member function 'bool
> SparseComplexQR::SparseComplexQR_rep::ok() const':
> SparseCmplxQR.h:52: error: 'N' was not declared in this scope
> SparseCmplxQR.h:52: error: 'S' was not declared in this scope
> In file included from sparse-dmsolve.cc:31,
>                 from CSparse.cc:63:
>
>
> #########  I have csparse.a  static library  installed:- ls -l
> /usr/local/numerics  yields:-
> total 6548
> -rw-r--r-- 1 root root  592288 Jul 17 16:25 lapack_matgen.a
> -rw-r--r-- 1 root root   80752 Jul 17 16:25 libamd.a
> -rw-r--r-- 1 root root   15382 Jul 17 16:25 libbtf.a
> -rw-r--r-- 1 root root   80246 Jul 17 16:25 libcamd.a
> -rw-r--r-- 1 root root   60712 Jul 17 16:25 libccolamd.a
> -rw-r--r-- 1 root root    1468 Jul 17 16:25 libcerbla.a
> -rw-r--r-- 1 root root 1829248 Jul 17 16:25 libcholmod.a
> -rw-r--r-- 1 root root   45260 Jul 17 16:25 libcolamd.a
> -rw-r--r-- 1 root root  117082 Jul 17 16:25 libcsparse.a
> -rw-r--r-- 1 root root  548658 Jul 17 16:25 libcxsparse.a
> -rw-r--r-- 1 root root  639186 Jul 17 16:25 libf77refblas.a
> -rw-r--r-- 1 root root  417512 Jul 17 16:25 libklu.a
> -rw-r--r-- 1 root root    9558 Jul 17 16:25 libldl.a
> -rw-r--r-- 1 root root  412640 Jul 17 16:25 libspqr.a
> -rw-r--r-- 1 root root 1781876 Jul 17 16:25 libumfpack.a
> sx [ ~ ]#
>
> ------------------------
> the latter were compiled   with gfortran -m64  etc etc on the same
> machine as descrined above.
>
> If there is something wrong with the host setup or something wrong with
> octave and csparse
> I would be grateful for some guidance.
>
> sincerely
> sx

What is your CXSparse version? How did you install it? If you compiled
it yourself, please verify that you installed all header files.

hth
-- 
RNDr. Jaroslav Hajek, PhD
computing expert & GNU Octave developer
Aeronautical Research and Test Institute (VZLU)
Prague, Czech Republic
url: www.highegg.matfyz.cz



reply via email to

[Prev in Thread] Current Thread [Next in Thread]