"no matching function for call to" and templates and old code

H

H. S.

Hi,

I am trying to compile the examples in arpack++ library on x86 Linux
(flavor of Red Hat) running 2.4.24 kernel and g++ (3.2 20020903 version).


Here is part of the compiler error I am getting. If needed, I can give
complete error output:
#----------------------------------------
/home/red/include/arpack++/include/arlsnsym.h: In constructor
`ARluNonSymStdEig<FLOAT>::ARluNonSymStdEig(int,
ARluNonSymMatrix<TYPE>&,
char*, int, FLOAT, int, FLOAT*, bool) [with FLOAT = double]':
/home/red/include/arpack++/examples/areig/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:50: instantiated from here
/home/red/include/arpack++/include/arlsnsym.h:145: no matching
function for call to
`ARluNonSymStdEig<double>::DefineParameters(int, int&,
ARluNonSymMatrix<double>*, <unknown type>, char*&, int&, double&, int&,
double*&, bool&)'
/home/red/include/arpack++/include/arseig.h:139: candidates are:
void ARStdEig<FLOAT, TYPE, FOP>::DefineParameters(int, int, FOP*, void
(FOP::*)(TYPE*, TYPE*), char* = "LM", int = 0, FLOAT =
0x0000000000000000000000000000000000000000, int = 0, TYPE* = 0, bool
= true)
[with FLOAT = double, TYPE = double, FOP = ARluNonSymMatrix<double>]
#----------------------------------------

I am trying to see what could be going wrong in the source code library
(which dates to 1997!). Any idea where I should start looking in the
source code? Or is there a probably cause g++ is failing?

Thanks a ton,
->HS
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

No members online now.

Forum statistics

Threads
473,766
Messages
2,569,569
Members
45,042
Latest member
icassiem

Latest Threads

Top