RE: DAST: Iperf - IPERF 2.0.2 not compiling under Solaris 8 - ewi ldman --at-- csc.com
I think I had the same problem. Google it if you're in a hurry. I'll search
my old email and post the solution when I find it.
Michael Kidwell
USA-ITA/NISO Performance Engineering
SETA Corp.
Room BE884
Pentagon, Washington D.C. 22130
703-693-5482
michael.kidwell --at-- hqda.army.mil
-----Original Message-----
From: owner-iperf-users --at-- dast.nlanr.net
[mailto:owner-iperf-users --at-- dast.nlanr.net] On Behalf Of Mitch Kutzko
Sent: Friday, July 08, 2005 8:47 AM
To: Iperf Users
Subject: DAST: Iperf - IPERF 2.0.2 not compiling under Solaris 8 - ewildman
--at-- csc.com
>Date: Fri, 8 Jul 2005 07:40:26 -0500
>To: ewildman --at-- csc.com
>Subject: DAST: Iperf - IPERF 2.0.2 not compiling under Solaris 8 -
ewildman --at-- csc.com
>
>
>Contacting DAST re: Bug report about Iperf
>From: Ellen Wildman <ewildman --at-- csc.com>
>
>Subject: IPERF 2.0.2 not compiling under Solaris 8
>
>Question/Comment:
>I work in a test lab. I was trying to compile IPERF 2.0.2 under
>Solaris 8
using the gcc compiler that comes with the Solaris 8 CDs and encountered a
problem preventing IPERF from compiling. It is the line "pthread_cancel
(oldTID);" in Thread.c. Solaris 8 has a system call for pthread_cancel (so
HAVE_POSIX_THREAD and HAVE_PTHREAD_CANCEL were defined). In
/usr/include/pthread.h, since standard C is being used, the Solaris 8 system
call definition is extern int pthread_cancel (pthread_t).
>
>In Thread.c "oldTID" is never defined or set so that causes a fatal
compile error. I could get IPERF to compile by changing the line
"pthread_cancel (oldTID);" to "pthread_cancel(thread->mTID);" but I don't
know if that is what the IPERF authors intended to do. I suppose I could
also comment out the line, but don't know what the side effects would be.
What do you suggest?
>
>We just want an IPERF that works and produces the same test results as
everyone else's IPERF. Is IPERF 2.0.2 ready for production use or should I
go back to IPERF 1.7.0?
>
>Thank you.
>
>
>
--
Mitch Kutzko | mitch --at-- dast.nlanr.net | mitch --at-- ncsa.uiuc.edu | 217-333-1199
http://hobbes.ncsa.uiuc.edu/