[Lapackpp-devel] lapack++ compilation failure on linux
Status: Beta
Brought to you by:
cstim
From: Vincent A. <Vin...@in...> - 2005-10-06 13:53:39
|
Hi, I have a problem with the compilation of lapack++ on GNU/linux 2.6-10=20 using the compiler insure. It seems that the call of overloaded function are ambiguous (see below) Have you any idea ? Thanks insure -DHAVE_CONFIG_H -I. -I. -I../.. -I../../include -I../../include=20 -DLA_COMPLEX_SUPPORT -DHAVE_CONFIG_H -DLinux -g -O2 -Wall -MT blas1pp.lo=20 -MD -MP -MF .deps/blas1pp.Tpo -c blas1pp.cc -DPIC WARNING: optimization flag O2 discarded for Insure++ compile In file included from blas1pp.cc:30: ../../include/lavc.h: In member function `LaVectorComplex& LaVectorComplex::operator=3D(double)': ../../include/lavc.h:334: error: call of overloaded `complex(double&)' is ambiguous ../../include/lacomplex:578: error: candidates are: la::complex<double>::complex(const la::complex<double>&) ../../include/lacomplex:625: error: =20 la::complex<double>::complex(double) ../../include/lacomplex:649: error: =20 la::complex<double>::complex(const std::complex<double>&) ../../include/lacomplex:587: error: =20 la::complex<double>::complex(const la::complex<long double>&) ../../include/lacomplex:586: error: =20 la::complex<double>::complex(const la::complex<float>&) ../../include/lacomplex:641: error: =20 la::complex<double>::complex(double, double) Driver: error executing "Run -DHAVE_CONFIG_H -I. -I. -I../..=20 -I../../include -I../../include -DLA_COMPLEX_SUPPORT -DHAVE_CONFIG_H=20 -DLinux -g -O2 -Wall -MT blas1pp.lo -MD -MP -MF .deps/blas1pp.Tpo -c=20 blas1pp.cc -DPIC" make[3]: *** [blas1pp.lo] Erreur 1 make[3]: Leaving directory `/home/bipop/acary/src/lapackpp-2.4.0/blaspp/s= rc' make[2]: *** [all-recursive] Erreur 1 make[2]: Leaving directory `/home/bipop/acary/src/lapackpp-2.4.0/blaspp' make[1]: *** [all-recursive] Erreur 1 make[1]: Leaving directory `/home/bipop/acary/src/lapackpp-2.4.0' make: *** [all] Erreur 2 --=20 Vincent ACARY Charge de recherche INRIA Rh=F4ne-Alpes Equipe BIPOP http://www.inrialpes.fr/bipop/ ZIRST, 655 avenue de l'Europe, MONTBONNOT 38334 ST ISMIER Cedex, FRANCE=20 Bureau D118 tel:+33 (0)4 76 61 52 29 fax:+33 (0)4 76 61 54 77=20 |