Hi, again. I'm trying to make a package, and all goes well until:

const [with T = Float]'
csr.cc:545: instantiated from here
../../include/rheolef/macros.h:42: error: `isinf' undeclared (first use this
function)
../../include/rheolef/macros.h:42: error: (Each undeclared identifier is
reported only once for each function it appears in.)
make[3]: *** [csr.lo] Error 1
make[2]: *** [all] Error 2
make[1]: *** [all-recursive] Error 1
make: *** [all-recursive] Error 1


I have a functional math.h in /usr/include, but my configure script says:

for ac_header in cmath
do
as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
if eval "test \"\${$as_ac_Header+set}\" = set"; then
echo "$as_me:$LINENO: checking for $ac_header" >&5
echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
if eval "test \"\${$as_ac_Header+set}\" = set"; then
echo $ECHO_N "(cached) $ECHO_C" >&6

I've seen some comments around that undeclared isinf can be remedied by replacing cmath with math.h. Is this true, or is there a better fix? And would I go about it by changing the configure script, or changing something else?

Thanks!
Becks
----------------------------------------------------------------------------------------------
Rebecca Bendick, Ph.D.
Bullard Laboratories
University of Cambridge
Madingley Road
CAMBRIDGE
CB3 0EZ
United Kingdom<x-tad-bigger>

[EMAIL PROTECTED]</x-tad-bigger>

Reply via email to