RE: Version 2.0.2 compilation


Title: RE: Version 2.0.2 compilation

John,

Thanks for the quick response. Actually my cohort googled and found from a previous post regarding version 2.0.1 the following:

In order to compile iperf-2.0.1, I had to change line 205 from:
>205:            pthread_cancel( oldTID );
>to:
>205:            pthread_cancel( thread->mTID );
>in this file Thread.c:
>iperf-2.0.1/compat/Thread.c
 
And this seems to work. -- Mike

-----Original Message-----
From: John S. Estabrook [mailto:jestabro --at-- ncsa.uiuc.edu]
Sent: Friday, May 06, 2005 11:43 AM
To: iperf-users --at-- dast.nlanr.net
Subject: Re: Version 2.0.2 compilation


Michael, indeed, we have been unable to test on Solaris, for lack of resources, though I hope to have a Solaris box up again next week. Looking at the error, I can see the problem, and well send a patch once I can test it.

As several contributions to the list recently have mentioned other Solaris matters, perhaps a current user could supply a patch in the interim.

Thanks for the report, and we'll try to resolve this before the next
(micro-version) update in the first week of June. Thanks again.

On Fri, 6 May 2005, Kidwell, Michael Mr NISO/Lockheed Martin wrote:

> Is this source only for linux. I got it to compile correctly on linux,
> but it fails repeatedly on solaris.
>
> SunOS  5.8 Generic_117000-03 sun4u sparc SUNW,Sun-Fire-V210
>
> Are there any instructions? Thanks in advance.
>
>
>
> /usr/include/sys/int_limits.h:83:1: warning: this is the location of
> the previous definition
> Thread.c: In function `thread_stop':
> Thread.c:205: error: `oldTID' undeclared (first use in this function)
> Thread.c:205: error: (Each undeclared identifier is reported only once
> Thread.c:205: error: for each function it appears in.)
> make[2]: *** [Thread.o] Error 1
> make[2]: Leaving directory `/usr/local/src/iperf-2.0.2/compat'
> make[1]: *** [all-recursive] Error 1
> make[1]: Leaving directory `/usr/local/src/iperf-2.0.2'
> make: *** [all] Error 2
>
>
>

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



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