iperf 2.0.2 compile on FreeBSD 4.10
I'm trying to compile iperf 2.0.2 on FreeBSD 4.10 with no success. I've
tried setting environment variables as per the INSTALL file and also
tried using configure --disable-threads. In between attempts I have been
using make distclean.
I see the following errors whatever I seem to do:
make all-recursive
Making all in compat
source='Thread.c' object='Thread.o' libtool=no DEPDIR=.deps depmode=gcc
/bin/sh ../depcomp /usr/bin/cc -DHAVE_CONFIG_H -I. -I. -I..
-I../include -I../include -O2 -c Thread.c
In file included from Thread.c:71:
../include/headers.h:183: syntax error before `max_size_t'
../include/headers.h:183: warning: data definition has no type or
storage class
In file included from ../include/Condition.h:59,
from ../include/Thread.h:99,
from Thread.c:73:
../include/util.h:166: syntax error before `byte_atoi'
../include/util.h:166: warning: data definition has no type or storage class
In file included from ../include/Settings.hpp:97,
from ../include/Thread.h:100,
from Thread.c:73:
../include/Reporter.h:100: syntax error before `max_size_t'
../include/Reporter.h:151: syntax error before `max_size_t'
In file included from ../include/Thread.h:100,
from Thread.c:73:
../include/Settings.hpp:156: syntax error before `max_size_t'
*** Error code 1
Can anyone help with this?
Compiler is gcc 2.95.4, the one installed with FreeBSD 4.10.
Regards,
Jim