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



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