Hi All,
I am getting following error while compiling ruby on redhat 9.0, simics
3.0 & gcc 3.2 version.
Please help me with solution.
Regards,
Anup
***************************************************************
simics/util
In file included from system/CacheMemory.h:78,
from generated/MOSI_SMP_bcast/Types.h:51,
from generated/MOSI_SMP_bcast/Chip.h:9,
from generated/MOSI_SMP_bcast/Chip.C:3:
system/PseudoLRUPolicy.h: In constructor
`PseudoLRUPolicy::PseudoLRUPolicy(long
long int, long long int)':
system/PseudoLRUPolicy.h:58: call of overloaded `pow(int, unsigned int&)' is
ambiguous
/usr/include/bits/mathcalls.h:154: candidates are: double pow(double, double)
/usr/include/c++/3.2.2/cmath:427: long double std::pow(long
double, int)
/usr/include/c++/3.2.2/cmath:423: float std::pow(float, int)
/usr/include/c++/3.2.2/cmath:419: double std::pow(double,
int)
/usr/include/c++/3.2.2/cmath:410: long double std::pow(long
double, long double)
/usr/include/c++/3.2.2/cmath:401: float std::pow(float,
float)
make[1]: *** [x86-linux/generated/MOSI_SMP_bcast/obj/Chip.o] Error 1
make[1]: Leaving directory `/home/anup/workspace/gems-2.0/ruby'
make: *** [all] Error 2
************************************************************
|