RE: DAST: Iperf - Latest version of Iperf on Solaris... - jerrodw --at-- slac.stanford.edu


Regarding FreeBSD, it compiles fine for me on 5.4-RELEASE; looking at the 
error output you sent, it appears that during compilation the file

iperf-*/include/iperf-int.h

is not being found. This file is generated by running ./configure; it is 
included by headers.h and defines max_size_t and other.

So, first step, check that after doing ./configure, the file exists; 
second, it's included by headers.h as "#include <iperf-int.h>" (which 
_strictly_ speaking should be "iperf-int.h", though this shouldn't matter 
as said include directory is added to the path), so check the path.

Let me know, and I'll help sort it out. Thanks!!


On Fri, 24 Mar 2006, Mitch Kutzko wrote:

> >Subject: RE: DAST: Iperf - Latest version of Iperf on Solaris... - jerrodw
>  --at-- slac.stanford.edu
> >Date: Fri, 24 Mar 2006 09:04:04 -0800
> >From: "Williams, Jerrod" <jerrodw --at-- slac.stanford.edu>
> >To: <owner-iperf-users --at-- dast.nlanr.net>
> >Cc: "Cottrell, Les" <cottrell --at-- slac.stanford.edu>
> >
> > Is there a similar fix for FreeBSD?
> >
> >rainbow:iperf-2.0.2 {120} make
> >make  all-recursive
> >Making all in compat
> >source='Thread.c' object='Thread.o' libtool=no  DEPDIR=.deps depmode=gcc
> /bin/sh ../depcomp  gcc -DHA
> >VE_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
> >
> >Stop in /home/cottrell/iperf-2.0.2/compat.
> >*** Error code 1
> >
> >Stop in /home/cottrell/iperf-2.0.2 (line 264 of Makefile).
> >*** Error code 1
> >
> >Stop in /home/cottrell/iperf-2.0.2 (line 180 of Makefile).
> >
> >
> >Jerrod D. Williams, Programmer
> >Stanford Linear Accelerator Center-Stanford University
> >Networking Group
> >SLAC Computing Services
> >
> >Office 650.926.3545
> >Pager jerrodw --at-- myairmail.com
> >Fax 650.926.3329 
> >-----Original Message-----
> >From: Williams, Jerrod 
> >Sent: Friday, March 24, 2006 8:39 AM
> >To: 'owner-iperf-users --at-- dast.nlanr.net'
> >Cc: Cottrell, Les
> >Subject: RE: DAST: Iperf - Latest version of Iperf on Solaris... - jerrodw
> --at-- slac.stanford.edu
> >
> > THANKS!!! That worked.
> >
> >
> >Jerrod D. Williams, Programmer
> >Stanford Linear Accelerator Center-Stanford University Networking Group
> SLAC Computing Services
> >
> >Office 650.926.3545
> >Pager jerrodw --at-- myairmail.com
> >Fax 650.926.3329
> >-----Original Message-----
> >From: Cottrell, Les
> >Sent: Thursday, March 23, 2006 4:54 PM
> >To: Williams, Jerrod
> >Subject: FW: DAST: Iperf - Latest version of Iperf on Solaris... - jerrodw
> --at-- slac.stanford.edu
> >
> > 
> >
> >-----Original Message-----
> >From: owner-iperf-users --at-- dast.nlanr.net
> [mailto:owner-iperf-users --at-- dast.nlanr.net] On Behalf Of John S. Estabrook
> >Sent: Thursday, March 23, 2006 1:08 PM
> >To: Iperf Users
> >Subject: Re: DAST: Iperf - Latest version of Iperf on Solaris... - jerrodw
> --at-- slac.stanford.edu
> >
> >
> >Jerrod, there is a known typo which affects Solaris:
> >
> >In Thread.c, around line 205, the line should read:
> >
> >#ifdef HAVE_PTHREAD_CANCEL
> >            pthread_cancel( thread->mTID ); #endif
> >
> >NOT, same with "oldTID". Apologies for the confusion. I'm interested in
> the warnings, but will have to take a closer look; it _should_ compile and
> run fine with the above fix; please let the list know of any further
> problems; thanks.
> >
> >
> >On Thu, 23 Mar 2006, Mitch Kutzko wrote:
> >
> >> >Date: Thu, 23 Mar 2006 12:44:18 -0600
> >> >To: jerrodw --at-- slac.stanford.edu
> >> >Subject: DAST: Iperf - Latest version of Iperf on Solaris... - 
> >> >jerrodw
> >> --at-- slac.stanford.edu
> >> >
> >> >
> >> >Contacting DAST re: Bug report about Iperf
> >> >From: Jerrod Williams <jerrodw --at-- slac.stanford.edu>
> >> >
> >> >Subject: Latest version of Iperf on Solaris...
> >> >
> >> >Question/Comment:
> >> >I have several systems that I test iperf measurements to daily.  I
> >> recently upgraded to version 2.0.2 of iperf to all of these machines.  
> >> I noticed that I was able to get it to compile on all of my linux 
> >> boxes but they failed to compile on solaris.  Today I gave up on 
> >> trying to complile the new version and downloaded 1.7.0 for solaris, 
> >> compiled and made it perfectly.  Is there a known conflict between
> >> 2.0.2 and Solaris or any ideas as to why I cannot get it to compile?
> >> >
> >> >I can execute ./configure just fine but 'make' returns the following:
> >> >
> >> >multivac (7) % make
> >> >make  all-recursive
> >> >Making all in compat
> >> >source='Thread.c' object='Thread.o' libtool=no \ DEPDIR=.deps 
> >> >depmode=gcc /bin/bash ../depcomp \
> >> >gcc -DHAVE_CONFIG_H -I. -I. -I..  -I../include  -I../include    -O2 -c
> >> Thread.c
> >> >In file included from ../include/headers.h:182,
> >> >                 from Thread.c:71:
> >> >../include/iperf-int.h:330: warning: `INT64_MIN' redefined
> >> >/usr/include/sys/int_limits.h:141: warning: this is the location of 
> >> >the
> >> previous
> >> > definition
> >> >../include/iperf-int.h:335: warning: `INT64_MAX' redefined
> >> >/usr/include/sys/int_limits.h:76: warning: this is the location of 
> >> >the
> >> previous
> >> >definition
> >> >../include/iperf-int.h:338: warning: `UINT8_MAX' redefined
> >> >/usr/include/sys/int_limits.h:79: warning: this is the location of 
> >> >the
> >> previous
> >> >definition
> >> >../include/iperf-int.h:339: warning: `UINT16_MAX' redefined
> >> >/usr/include/sys/int_limits.h:80: warning: this is the location of 
> >> >the
> >> previous
> >> >definition
> >> >../include/iperf-int.h:341: warning: `UINT64_MAX' redefined
> >> >/usr/include/sys/int_limits.h:83: warning: this is the location of 
> >> >the
> >> previous
> >> >definition
> >> >Thread.c: In function `thread_stop':
> >> >Thread.c:205: `oldTID' undeclared (first use in this function)
> >> >Thread.c:205: (Each undeclared identifier is reported only once
> >> >Thread.c:205: for each function it appears in.)
> >> >*** Error code 1
> >> >make: Fatal error: Command failed for target `Thread.o'
> >> >Current working directory /users/u4/cottrell/iperf-2.0.2/compat
> >> >*** Error code 1
> >> >make: Fatal error: Command failed for target `all-recursive'
> >> >Current working directory /users/u4/cottrell/iperf-2.0.2
> >> >*** Error code 1
> >> >make: Fatal error: Command failed for target `all'
> >> >multivac (8) %
> >> >
> >> >
> >> --
> >> Mitch Kutzko | mitch --at-- dast.nlanr.net | mitch --at-- ncsa.uiuc.edu |
> >> 217-333-1199
> >> Project: http://dast.nlanr.net  |  Personal: 
> >> http://hobbes.ncsa.uiuc.edu
> >> 
> >
> >--
> >John S. Estabrook
> >jestabro --at-- ncsa.uiuc.edu
> >jestabro --at-- dast.nlanr.net
> >
> >
> --
> Mitch Kutzko | mitch --at-- dast.nlanr.net | mitch --at-- ncsa.uiuc.edu | 217-333-1199
> Project: http://dast.nlanr.net  |  Personal: http://hobbes.ncsa.uiuc.edu 
> 

-- 
John S. Estabrook
jestabro --at-- ncsa.uiuc.edu
jestabro --at-- dast.nlanr.net



Other Mailing lists | Author Index | Date Index | Subject Index | Thread Index