Re: iperf 2.0.2 compile on FreeBSD 4.10
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
Jim Mozley wrote:
> 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.
Are you trying to build it from the port? There is a patch included
with the port that looks like it might address your issue. Take a
look at /usr/ports/benchmarks/iperf/, and especially
/usr/ports/benchmarks/iperf/files/patch-include-headers.h
The port will build version 2.02:
dart --at-- localhost /usr/ports/benchmarks/iperf >> grep VERSION Makefile
PORTVERSION= 2.0.2
dart --at-- localhost /usr/ports/benchmarks/iperf >>
--eli
>
> 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
>
- --
- -------------------------------------------------------------------
Eli Dart Office: (510) 495-2999
NERSC Center Networking and Security Group Cell: (510) 703-4508
Lawrence Berkeley National Laboratory Fax: (510) 486-4316
PGP Fingerprint = C970 F8D3 CFDD 8FFF 5486 343A 2D31 4478 5F82 B2B3
- -------------------------------------------------------------------
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.0 (MingW32)
Comment: Using GnuPG with Thunderbird - http://enigmail.mozdev.org
iD8DBQFCy9bOLTFEeF+CsrMRAhEVAKDGmHl3bYOrqwKyqbrQOr+9bV6/OwCfcxQc
tlJTna8ka/ztqsEsksX4u6o=
=KmBX
-----END PGP SIGNATURE-----