And, another one with conflicts on math.h

This time, the gr-iqbal module is blowing up for the same reason:

– Build files have been written to: /home/mleech/gr-iqbal/build
Scanning dependencies of target gnuradio-iqbalance
[ 5%] Building CXX object
lib/CMakeFiles/gnuradio-iqbalance.dir/iqbalance_fix_cc.cc.o
In file included from /usr/local/include/gnuradio/math.h:30:0,
from
/usr/lib/gcc/x86_64-redhat-linux/4.5.1/…/…/…/…/include/c++/4.5.1/cmath:46,
from
/usr/lib/gcc/x86_64-redhat-linux/4.5.1/…/…/…/…/include/c++/4.5.1/complex:46,
from /usr/local/include/gnuradio/gr_complex.h:26,
from /usr/local/include/gnuradio/gr_types.h:31,
from /usr/local/include/gnuradio/gr_runtime_types.h:27,
from /usr/local/include/gnuradio/gr_io_signature.h:27,
from /home/mleech/gr-iqbal/lib/iqbalance_fix_cc.cc:25:
/usr/lib/gcc/x86_64-redhat-linux/4.5.1/…/…/…/…/include/c++/4.5.1/cmath:111:11:
error: ::acos has not been declared
/usr/lib/gcc/x86_64-redhat-linux/4.5.1/…/…/…/…/include/c++/4.5.1/cmath:127:11:
error: ::asin has not been declared
/usr/lib/gcc/x86_64-redhat-linux/4.5.1/…/…/…/…/include/c++/4.5.1/cmath:143:11:
error: ::atan has not been declared
/usr/lib/gcc/x86_64-redhat-linux/4.5.1/…/…/…/…/include/c++/4.5.1/cmath:159:11:
error: ::atan2 has not been declared
/usr/lib/gcc/x86_64-redhat-linux/4.5.1/…/…/…/…/include/c++/4.5.1/cmath:181:11:
error: ::ceil has not been declared
/usr/lib/gcc/x86_64-redhat-linux/4.5.1/…/…/…/…/include/c++/4.5.1/cmath:197:11:
error: ::cos has not been declared
/usr/lib/gcc/x86_64-redhat-linux/4.5.1/…/…/…/…/include/c++/4.5.1/cmath:213:11:
error: ::cosh has not been declared
/usr/lib/gcc/x86_64-redhat-linux/4.5.1/…/…/…/…/include/c++/4.5.1/cmath:229:11:
error: ::exp has not been declared
/usr/lib/gcc/x86_64-redhat-linux/4.5.1/…/…/…/…/include/c++/4.5.1/cmath:245:11:
error: ::fabs has not been declared
/usr/lib/gcc/x86_64-redhat-linux/4.5.1/…/…/…/…/include/c++/4.5.1/cmath:261:11:
error: ::floor has not been declared
/usr/lib/gcc/x86_64-redhat-linux/4.5.1/…/…/…/…/include/c++/4.5.1/cmath:277:11:
error: ::fmod has not been declared
/usr/lib/gcc/x86_64-redhat-linux/4.5.1/…/…/…/…/include/c++/4.5.1/cmath:287:11:
error: ::frexp has not been declared
/usr/lib/gcc/x86_64-redhat-linux/4.5.1/…/…/…/…/include/c++/4.5.1/cmath:303:11:
error: ::ldexp has not been declared
/usr/lib/gcc/x86_64-redhat-linux/4.5.1/…/…/…/…/include/c++/4.5.1/cmath:319:11:
error: ::log has not been declared
/usr/lib/gcc/x86_64-redhat-linux/4.5.1/…/…/…/…/include/c++/4.5.1/cmath:335:11:
error: ::log10 has not been declared
/usr/lib/gcc/x86_64-redhat-linux/4.5.1/…/…/…/…/include/c++/4.5.1/cmath:351:11:
error: ::modf has not been declared
/usr/lib/gcc/x86_64-redhat-linux/4.5.1/…/…/…/…/include/c++/4.5.1/cmath:361:11:
error: ::pow has not been declared
/usr/lib/gcc/x86_64-redhat-linux/4.5.1/…/…/…/…/include/c++/4.5.1/cmath:399:11:
error: ::sin has not been declared
/usr/lib/gcc/x86_64-redhat-linux/4.5.1/…/…/…/…/include/c++/4.5.1/cmath:415:11:
error: ::sinh has not been declared
/usr/lib/gcc/x86_64-redhat-linux/4.5.1/…/…/…/…/include/c++/4.5.1/cmath:431:11:
error: ::sqrt has not been declared
/usr/lib/gcc/x86_64-redhat-linux/4.5.1/…/…/…/…/include/c++/4.5.1/cmath:447:11:
error: ::tan has not been declared
/usr/lib/gcc/x86_64-redhat-linux/4.5.1/…/…/…/…/include/c++/4.5.1/cmath:463:11:
error: ::tanh has not been declared
In file included from /usr/local/include/gnuradio/math.h:30:0,
from
/usr/lib/gcc/x86_64-redhat-linux/4.5.1/…/…/…/…/include/c++/4.5.1/cmath:46,
from
/usr/lib/gcc/x86_64-redhat-linux/4.5.1/…/…/…/…/include/c++/4.5.1/complex:46,
from /usr/local/include/gnuradio/gr_complex.h:26,
from /usr/local/include/gnuradio/gr_types.h:31,
from /usr/local/include/gnuradio/gr_runtime_types.h:27,
from /usr/local/include/gnuradio/gr_io_signature.h:27,
from /home/mleech/gr-iqbal/lib/iqbalance_fix_cc.cc:25:
/usr/lib/gcc/x86_64-redhat-linux/4.5.1/…/…/…/…/include/c++/4.5.1/cmath:
In function typename
__gnu_cxx::__enable_if<std::__is_arithmetic<_Tp>::__value, int>::__type
std::fpclassify(_Tp):
/usr/lib/gcc/x86_64-redhat-linux/4.5.1/…/…/…/…/include/c++/4.5.1/cmath:506:35:
error: FP_NAN was not declared in this scope
/usr/lib/gcc/x86_64-redhat-linux/4.5.1/…/…/…/…/include/c++/4.5.1/cmath:506:43:
error: FP_INFINITE was not declared in this scope
/usr/lib/gcc/x86_64-redhat-linux/4.5.1/…/…/…/…/include/c++/4.5.1/cmath:506:56:
error: FP_NORMAL was not declared in this scope
/usr/lib/gcc/x86_64-redhat-linux/4.5.1/…/…/…/…/include/c++/4.5.1/cmath:507:7:
error: FP_SUBNORMAL was not declared in this scope
/usr/lib/gcc/x86_64-redhat-linux/4.5.1/…/…/…/…/include/c++/4.5.1/cmath:507:21:
error: FP_ZERO was not declared in this scope
In file included from
/usr/lib/gcc/x86_64-redhat-linux/4.5.1/…/…/…/…/include/c++/4.5.1/cmath:46:0,
from
/usr/lib/gcc/x86_64-redhat-linux/4.5.1/…/…/…/…/include/c++/4.5.1/complex:46,
from /usr/local/include/gnuradio/gr_complex.h:26,
from /usr/local/include/gnuradio/gr_types.h:31,
from /usr/local/include/gnuradio/gr_runtime_types.h:27,
from /usr/local/include/gnuradio/gr_io_signature.h:27,
from /home/mleech/gr-iqbal/lib/iqbalance_fix_cc.cc:25:
/usr/local/include/gnuradio/math.h: At global scope:
/usr/local/include/gnuradio/math.h:61:15: error: gr::fast_atan2f
declared as an inline variable
/usr/local/include/gnuradio/math.h:61:15: error: float gr::fast_atan2f
redeclared as different kind of symbol
/usr/local/include/gnuradio/math.h:58:48: error: previous declaration of
float gr::fast_atan2f(float, float)
/usr/local/include/gnuradio/math.h:61:15: error: gr_complex was not
declared in this scope
/usr/local/include/gnuradio/math.h: In function float
gr::branchless_clip(float, float):
/usr/local/include/gnuradio/math.h:70:28: error: fabsf was not
declared in this scope
/usr/local/include/gnuradio/math.h: In function unsigned int
gr::quad_0deg_slicer(float, float):
/usr/local/include/gnuradio/math.h:116:15: error: fabsf was not
declared in this scope
/usr/local/include/gnuradio/math.h: At global scope:
/usr/local/include/gnuradio/math.h:133:21: error:
gr::quad_45deg_slicer declared as an inline variable
/usr/local/include/gnuradio/math.h:133:21: error: unsigned int
gr::quad_45deg_slicer redeclared as different kind of symbol
/usr/local/include/gnuradio/math.h:98:3: error: previous declaration of
unsigned int gr::quad_45deg_slicer(float, float)
/usr/local/include/gnuradio/math.h:133:21: error: gr_complex was not
declared in this scope
/usr/local/include/gnuradio/math.h:139:20: error: gr::quad_0deg_slicer
declared as an inline variable
/usr/local/include/gnuradio/math.h:139:20: error: unsigned int
gr::quad_0deg_slicer redeclared as different kind of symbol
/usr/local/include/gnuradio/math.h:113:3: error: previous declaration of
unsigned int gr::quad_0deg_slicer(float, float)
/usr/local/include/gnuradio/math.h:139:20: error: gr_complex was not
declared in this scope
/usr/local/include/gnuradio/math.h: In function unsigned int
gr::branchless_quad_0deg_slicer(float, float):
/usr/local/include/gnuradio/math.h:155:19: error: fabsf was not
declared in this scope
/usr/local/include/gnuradio/math.h: At global scope:
/usr/local/include/gnuradio/math.h:162:31: error:
gr::branchless_quad_0deg_slicer declared as an inline variable
/usr/local/include/gnuradio/math.h:162:31: error: unsigned int
gr::branchless_quad_0deg_slicer redeclared as different kind of symbol
/usr/local/include/gnuradio/math.h:152:3: error: previous declaration of
unsigned int gr::branchless_quad_0deg_slicer(float, float)
/usr/local/include/gnuradio/math.h:162:31: error: gr_complex was not
declared in this scope
/usr/local/include/gnuradio/math.h:176:32: error:
gr::branchless_quad_45deg_slicer declared as an inline variable
/usr/local/include/gnuradio/math.h:176:32: error: unsigned int
gr::branchless_quad_45deg_slicer redeclared as different kind of symbol
/usr/local/include/gnuradio/math.h:168:3: error: previous declaration of
unsigned int gr::branchless_quad_45deg_slicer(float, float)
/usr/local/include/gnuradio/math.h:176:32: error: gr_complex was not
declared in this scope
make[2]: ***
[lib/CMakeFiles/gnuradio-iqbalance.dir/iqbalance_fix_cc.cc.o] Error 1
make[1]: *** [lib/CMakeFiles/gnuradio-iqbalance.dir/all] Error 2
make: *** [all] Error 2
gr-iqbal build apparently failed
Exiting gr-iqbal build


Marcus L.
Principal Investigator
Shirleys Bay Radio Astronomy Consortium