How to compile communications-1.0.9 with octave 3.1.53?
David Bateman
dbateman at dbateman.org
Thu May 14 17:04:43 CDT 2009
子鳴 wrote:
> Hi, can someone tell me how to deal with the follow error? Thanks!
>
> Compiling galois.o
> g++ -c -I/mnt/septem/math/include/ -fPIC
> -I/mnt/septem/math/include/octave-3.1.55
> -I/mnt/septem/math/include/octave-3.1.55/octave -I/mnt/septem/math/include
> -I/usr/include/freetype2 -D H5_USE_16_API -Wall -O2 -g -mtune=athlon64 -m64
> -fPIC -pipe -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-all
> --param=ssp-buffer-size=4 -DHAVE_OCTAVE_31 -DGALOIS_DISP_PRIVATES galois.cc
> -o galois.o
> In file included from galois.cc:27:
> galois.h:134: error: wrong number of template arguments (4, should be 1)
> /mnt/septem/math/include/octave-3.1.55/octave/base-lu.h:32: error: provided
> for ‘template<class lu_type> class base_lu’
> galois.h: In constructor ‘LU::LU()’:
> galois.h:144: error: wrong number of template arguments (4, should be 1)
> /mnt/septem/math/include/octave-3.1.55/octave/base-lu.h:32: error: provided
> for ‘template<class lu_type> class base_lu’
> galois.h: In copy constructor ‘LU::LU(const LU&)’:
> galois.h:150: error: wrong number of template arguments (4, should be 1)
> /mnt/septem/math/include/octave-3.1.55/octave/base-lu.h:32: error: provided
> for ‘template<class lu_type> class base_lu’
> galois.h: In member function ‘LU& LU::operator=(const LU&)’:
> galois.h:155: error: wrong number of template arguments (4, should be 1)
> /mnt/septem/math/include/octave-3.1.55/octave/base-lu.h:32: error: provided
> for ‘template<class lu_type> class base_lu’
> galois.cc: In member function ‘boolMatrix galois::all(int) const’:
> galois.cc:712: error: ‘MX_ALL_OP’ was not declared in this scope
> galois.cc: In member function ‘boolMatrix galois::any(int) const’:
> galois.cc:718: error: ‘MX_ANY_OP’ was not declared in this scope
> galois.cc: At global scope:
> galois.cc:880: error: wrong number of template arguments (4, should be 1)
> /mnt/septem/math/include/octave-3.1.55/octave/base-lu.h:32: error: provided
> for ‘template<class lu_type> class base_lu’
> galois.cc: In member function ‘void LU::factor(const galois&, const
> LU::pivot_type&)’:
> galois.cc:891: error: ‘ipvt’ was not declared in this scope
> galois.cc:893: error: ‘a_fact’ was not declared in this scope
> galois.cc: In member function ‘galois LU::L() const’:
> galois.cc:965: error: ‘a_fact’ was not declared in this scope
> galois.cc: In member function ‘galois LU::U() const’:
> galois.cc:984: error: ‘a_fact’ was not declared in this scope
> galois.cc: In member function ‘Matrix LU::P() const’:
> galois.cc:999: error: ‘a_fact’ was not declared in this scope
> galois.cc:1008: error: ‘ipvt’ was not declared in this scope
> galois.cc: In member function ‘Array<int> LU::IP() const’:
> galois.cc:1031: error: ‘ipvt’ was not declared in this scope
> galois.cc: In member function ‘galois LU::A() const’:
> galois.cc:1037: error: ‘a_fact’ was not declared in this scope
>
>
>
>
The LU class was refactored in 3.1.x and this is an effect.. Ok, I've
converted the galois field code in the codes package to be compatible
with the 3.1.x way of doing things and committed the code to the
repository. The patch against the repository is attached..
D.
--
David Bateman dbateman at dbateman.org
35 rue Gambetta +33 1 46 04 02 18 (Home)
92100 Boulogne-Billancourt FRANCE +33 6 72 01 06 33 (Mob)
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: patch
Url: https://www-old.cae.wisc.edu/pipermail/help-octave/attachments/20090515/b952b31b/attachment-0001.ksh
More information about the Help-octave
mailing list