Hi,
I'm packaging iperf-2.* in Fedora, and since rawhide switched to gcc
6.0 I'm getting an error during build:
...
gcc -DHAVE_CONFIG_H -I. -I.. -I../include -I../include -Wall -O2 -g
-pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2
-fexceptions -fstack-protector-strong --param=ssp-buffer-size=4
-grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1
-m64 -mtune=generic -c string.c
In file included from /usr/include/c++/6.0.0/cmath:42:0,
from /usr/include/c++/6.0.0/math.h:36,
from ../include/headers.h:85,
from ../include/Timestamp.hpp:63,
from delay.cpp:55:
/usr/include/c++/6.0.0/bits/cpp_type_traits.h:205:12: error:
redefinition of 'struct std::__is_integer<int>'
struct __is_integer<int>
^~~~~~~~~~~~~~~~~
In file included from /usr/include/c++/6.0.0/cmath:42:0,
from /usr/include/c++/6.0.0/math.h:36,
from ../include/headers.h:85,
from ../include/Timestamp.hpp:63,
from delay.cpp:55:
/usr/include/c++/6.0.0/bits/cpp_type_traits.h:138:12: error: previous
definition of 'struct std::__is_integer<int>'
struct __is_integer<bool>
Makefile:386: recipe for target 'delay.o' failed
make[2]: *** [delay.o] Error 1
make[2]: *** Waiting for unfinished jobs....
make[2]: Leaving directory '/builddir/build/BUILD/iperf-2.0.8/compat'
Makefile:377: recipe for target 'all-recursive' failed
make[1]: Leaving directory '/builddir/build/BUILD/iperf-2.0.8'
make[1]: *** [all-recursive] Error 1
make: *** [all] Error 2
Makefile:317: recipe for target 'all' failed
Any clue about how this might be worked around would be much
appreciated !
Thanks much,
--Gabriel
------------------------------------------------------------------------------
Site24x7 APM Insight: Get Deep Visibility into Application Performance
APM + Mobile APM + RUM: Monitor 3 App instances at just $35/Month
Monitor end-to-end web transactions and take corrective actions now
Troubleshoot faster and improve end-user experience. Signup Now!
http://pubads.g.doubleclick.net/gampad/clk?id=272487151&iu=/4140
_______________________________________________
Iperf-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/iperf-users