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/



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