gEDA-dev: Icarus Verilog build error
Stuart Brorson
sdb at cloud9.net
Sat Dec 9 21:06:19 EST 2006
Hi --
I'm building the latest Icarus Verilog snapshot (20051209) for
inclusion into the next gEDA Suite CD. However, I am getting the
follwing build error:
---------------- <spew> ----------------------
for dir in vvp vpi tgt-stub tgt-null tgt-vvp libveriuser cadpli; do
(cd $dir ; make all); done
make[1]: Entering directory
`/home/sdb/geda-sources-20061212/icarus/verilog-20061209/vvp'
g++ -DHAVE_CVS_IDENT=1 -I. -I.. -I . -I./.. -DHAVE_CONFIG_H
-DMODULE_DIR1=\"/home/sdb/geda-install-20061212/lib/ivl/.\" -Wall -g
-O2 -MD -c vvp_net.cc -o vvp_net.o
vvp_net.cc: In function `bool vector4_to_value(const vvp_vector4_t&,
double&,
bool)':
vvp_net.cc:614: error: call of overloaded `pow(double, unsigned int&)'
is
ambiguous
/usr/include/bits/mathcalls.h:154: error: candidates are: double
pow(double,
double)
/usr/include/c++/3.3.2/cmath:512: error: long double
std::pow(long double, int)
/usr/include/c++/3.3.2/cmath:508: error: float
std::pow(float,
int)
/usr/include/c++/3.3.2/cmath:504: error: double
std::pow(double, int)
/usr/include/c++/3.3.2/cmath:495: error: long double
std::pow(long double, long double)
/usr/include/c++/3.3.2/cmath:486: error: float
std::pow(float,
float)
vvp_net.cc:627: error: call of overloaded `pow(double, unsigned int&)'
is
ambiguous
/usr/include/bits/mathcalls.h:154: error: candidates are: double
pow(double,
double)
/usr/include/c++/3.3.2/cmath:512: error: long double
std::pow(long double, int)
/usr/include/c++/3.3.2/cmath:508: error: float
std::pow(float,
int)
/usr/include/c++/3.3.2/cmath:504: error: double
std::pow(double, int)
/usr/include/c++/3.3.2/cmath:495: error: long double
std::pow(long double, long double)
/usr/include/c++/3.3.2/cmath:486: error: float
std::pow(float,
float)
make[1]: *** [vvp_net.o] Error 1
make[1]: Leaving directory
`/home/sdb/geda-sources-20061212/icarus/verilog-20061209/vvp'
---------------- </spew> ----------------------
Any ideas? I haven't looked at the source yet, but thought I'd ask
before tearing into it.
FWIW, I am building on FC1 (!!!) with
[sdb at localhost geda-installer]$ gcc --version
gcc (GCC) 3.3.2 20031022 (Red Hat Linux 3.3.2-1)
Thanks for any suggestions,
Stuart
More information about the geda-dev
mailing list