Message: CLHEP make check error Not Logged In (login)
 Next-in-Thread Next-in-Thread
 Next-in-Forum Next-in-Forum

Question CLHEP make check error 

Forum: Installation and Configuration
Date: 18 Dec, 2009
From: Neoh <Neoh>

Hi,

I'm installing the latest CLHEP 2.0.4.5 into Fedora 12 i386 machine. I did the following:
1)./configure
2)make
3)make check

When I make check, it comes out with following:

testBug58950.cc: In function ‘int main()’:
testBug58950.cc:105: error: call of overloaded ‘abs(long int&)’ is ambiguous
/usr/lib/gcc/i686-redhat-linux/4.4.2/../../../../include/c++/4.4.2/cmath:94: note: candidates are: double std::abs(double)
/usr/lib/gcc/i686-redhat-linux/4.4.2/../../../../include/c++/4.4.2/cmath:98: note: float std::abs(float)
/usr/lib/gcc/i686-redhat-linux/4.4.2/../../../../include/c++/4.4.2/cmath:102: note: long double std::abs(long double)
testBug58950.cc:106: error: call of overloaded ‘abs(long int&)’ is ambiguous
/usr/lib/gcc/i686-redhat-linux/4.4.2/../../../../include/c++/4.4.2/cmath:94: note: candidates are: double std::abs(double)
/usr/lib/gcc/i686-redhat-linux/4.4.2/../../../../include/c++/4.4.2/cmath:98: note: float std::abs(float)
/usr/lib/gcc/i686-redhat-linux/4.4.2/../../../../include/c++/4.4.2/cmath:102: note: long double std::abs(long double)
testBug58950.cc:125: error: call of overloaded ‘abs(int)’ is ambiguous
/usr/lib/gcc/i686-redhat-linux/4.4.2/../../../../include/c++/4.4.2/cmath:94: note: candidates are: double std::abs(double)
/usr/lib/gcc/i686-redhat-linux/4.4.2/../../../../include/c++/4.4.2/cmath:98: note: float std::abs(float)
/usr/lib/gcc/i686-redhat-linux/4.4.2/../../../../include/c++/4.4.2/cmath:102: note: long double std::abs(long double)
testBug58950.cc:126: error: call of overloaded ‘abs(int)’ is ambiguous
/usr/lib/gcc/i686-redhat-linux/4.4.2/../../../../include/c++/4.4.2/cmath:94: note: candidates are: double std::abs(double)
/usr/lib/gcc/i686-redhat-linux/4.4.2/../../../../include/c++/4.4.2/cmath:98: note: float std::abs(float)
/usr/lib/gcc/i686-redhat-linux/4.4.2/../../../../include/c++/4.4.2/cmath:102: note: long double std::abs(long double)
testBug58950.cc:149: error: call of overloaded ‘abs(long int&)’ is ambiguous
/usr/lib/gcc/i686-redhat-linux/4.4.2/../../../../include/c++/4.4.2/cmath:94: note: candidates are: double std::abs(double)
/usr/lib/gcc/i686-redhat-linux/4.4.2/../../../../include/c++/4.4.2/cmath:98: note: float std::abs(float)
/usr/lib/gcc/i686-redhat-linux/4.4.2/../../../../include/c++/4.4.2/cmath:102: note: long double std::abs(long double)
testBug58950.cc:150: error: call of overloaded ‘abs(long int&)’ is ambiguous
/usr/lib/gcc/i686-redhat-linux/4.4.2/../../../../include/c++/4.4.2/cmath:94: note: candidates are: double std::abs(double)
/usr/lib/gcc/i686-redhat-linux/4.4.2/../../../../include/c++/4.4.2/cmath:98: note: float std::abs(float)
/usr/lib/gcc/i686-redhat-linux/4.4.2/../../../../include/c++/4.4.2/cmath:102: note: long double std::abs(long double)
make[3]: *** [testBug58950.o] Error 1
make[3]: Leaving directory `/home/neohys/geant4/CLHEP-2.0.4.5/Random/test'
make[2]: *** [check-am] Error 2
make[2]: Leaving directory `/home/neohys/geant4/CLHEP-2.0.4.5/Random/test'
make[1]: *** [check-recursive] Error 1
make[1]: Leaving directory `/home/neohys/geant4/CLHEP-2.0.4.5/Random'
make: *** [check-recursive] Error 1

Although I still manage to make install, I wonder if there is something I can do to eliminate those errors, as I certainly don't wish it to be affecting geant4 installation. Thanks!


Neoh

Inline Depth:
 1 1
 All All
Outline Depth:
 1 1
 2 2
 All All
Add message: (add)

1 More: Re: CLHEP make check error   (Gabriele Cosmo - 18 Dec, 2009)
 Add Message Add Message
to: "CLHEP make check error"

 Subscribe Subscribe

This site runs SLAC HyperNews version 1.11-slac-98, derived from the original HyperNews


[ Geant 4 Home | Geant 4 HyperNews | Search | Request New Forum | Feedback ]