Package: arpack++
Version: 2.1-5
Severity: grave
Justification: renders package unusable

*** Please type your report below this line ***
I am trying to comple an example that is included in the
package. The
compiler fails with an error (see below).

What I did was:
1) Copied the
/usr/share/doc/arpack++/examples/areig/nonsym to a
temporary directory
2) Copied the /usr/share/doc/arpack++/Makefile.inc to the
same directory
3) Edited the Makefile.inc to have the following lines:
ARPACKPP_DIR = /usr/share/doc/arpack++
#ARPACKPP_INC = $(ARPACKPP_DIR)/include
ARPACKPP_INC = /usr/include/arpack++
4) Edited the Makefile to have the following lines
#include ../../../Makefile.inc
include Makefile.inc
5) And tried to compile the simple.cc program:
$> make simple
6) And compile had a problem with this error (full
compiler output is
given as PS):
/usr/include/arpack++/arlsnsym.h:144: error: no matching
function for
call to `
  ARluNonSymStdEig<double>::DefineParameters(int, int&,
  ARluNonSymMatrix<double>*, <unknown type>, char*&, int&,
double&,
  int&,
  double*&, bool&)'


Do I need to change something else too to make this
example program run?

Here are other relevant packages I am using:
ii  g++         3.3.5-1    The GNU C++ compiler
ii  arpack++    2.1-5      Object-oriented version of the
ARPACK package


Thanks,
->HS

PS. Full compiler output:
########################################################
$> make simple
g++ -O  -I/usr/include/arpack++ 
-I/usr/share/doc/arpack++/examples/areig
-I/usr/share/doc/arpack++/examples/matrices/nonsym
-I/usr/include/arpack++ -c simple.cc
In file included from /usr/include/arpack++/arlsmat.h:26,
                 from /usr/include/arpack++/arlspen.h:28,
                 from /usr/include/arpack++/arlsmat.h:18,
                 from areig.h:364,
                 from simple.cc:20:
/usr/include/arpack++/arhbmat.h:400:8: warning: extra
tokens at end of #endif directive
In file included from /usr/include/arpack++/arlgnsym.h:26,
                 from areig.h:369,
                 from simple.cc:20:
/usr/include/arpack++/argnsym.h:40: warning:
`ARNonSymGenEig<FLOAT, FOP,
   FB>::TypeBx' is implicitly a typename
/usr/include/arpack++/argnsym.h:40: warning: implicit
typename is deprecated,
   please see the documentation for details
In file included from areig.h:369,
                 from simple.cc:20:
/usr/include/arpack++/arlgnsym.h:132: error: default
argument given for
   parameter 2 of `void
ARluNonSymGenEig<FLOAT>::ChangeShift(FLOAT, FLOAT)'
/usr/include/arpack++/arlgnsym.h:54: error: after previous
specification in `
   virtual void
ARluNonSymGenEig<FLOAT>::ChangeShift(FLOAT, FLOAT)'
simple.cc: In function `int main()':
simple.cc:53: error: `cout' undeclared (first use this
function)
simple.cc:53: error: (Each undeclared identifier is
reported only once for each
   function it appears in.)
simple.cc:53: error: `endl' undeclared (first use this
function)
/usr/include/arpack++/arlsnsym.h: In constructor `
   ARluNonSymStdEig<FLOAT>::ARluNonSymStdEig(int,
ARluNonSymMatrix<TYPE>&,
   char*, int, FLOAT, int, FLOAT*, bool) [with FLOAT =
double]':
areig.h:628:   instantiated from `int AREig(FLOAT*,
FLOAT*, FLOAT*, int, int, FLOAT*, int*, int*, int, char*,
int, FLOAT, int, FLOAT*, bool) [with FLOAT = double]'
simple.cc:49:   instantiated from here
/usr/include/arpack++/arlsnsym.h:144: error: no matching
function for call to `
   ARluNonSymStdEig<double>::DefineParameters(int, int&,
   ARluNonSymMatrix<double>*, <unknown type>, char*&,
int&, double&, int&,
   double*&, bool&)'
/usr/include/arpack++/arseig.h:137: error: candidates are:
void ARStdEig<FLOAT,
   TYPE, FOP>::DefineParameters(int, int, FOP*, void
(FOP::*)(TYPE*, TYPE*),
   char*, int, FLOAT, int, TYPE*, bool) [with FLOAT =
double, TYPE = double,
   FOP = ARluNonSymMatrix<double>]
/usr/include/arpack++/arlnsmat.h: In member function `void
   ARluNonSymMatrix<TYPE>::ClearMem() [with TYPE =
double]':
/usr/include/arpack++/arlnsmat.h:116:   instantiated from
`ARluNonSymMatrix<TYPE>::~ARluNonSymMatrix() [with TYPE =
double]'
areig.h:623:   instantiated from `int AREig(FLOAT*,
FLOAT*, FLOAT*, int, int, FLOAT*, int*, int*, int, char*,
int, FLOAT, int, FLOAT*, bool) [with FLOAT = double]'
simple.cc:49:   instantiated from here
/usr/include/arpack++/arlnsmat.h:207: warning: deleting
`void*' is undefined
make: *** [simple.o] Error 1

########################################################

-- System Information:
Debian Release: 3.1
  APT prefers testing
  APT policy: (500, 'testing')
Architecture: i386 (i686)
Kernel: Linux 2.6.9.20041123.hs
Locale: LANG=en_GB.ISO-8859-15, LC_CTYPE=en_GB.ISO-8859-15
(charmap=ISO-8859-15)

Versions of packages arpack++ depends on:
ii  libarpack2-dev                2.1-8      Fortran77
subroutines to solve lar

-- no debconf information




                
__________________________________ 
Do you Yahoo!? 
Make Yahoo! your home page 
http://www.yahoo.com/r/hs


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Reply via email to