Re: Version 2.0.2 compilation


I just got the same compilation error on Mac OS X and discovered the problem:

There is a missing declaration of the variable "oldTID" in the file compat/thread.c

At line 178, enter the following:
        nthread_t oldTID;
 
This declaration was in the iperf 2.0.b release  and was removed from the 2.0.2 release.

Cheers

Laurie

_________________________________

        Laurence Kirchmeier

     Senior Engineer, Networking R&D

Merit Network Inc.    Tel. 734 936 9703

Email: laurie --at-- merit.edu    Fax. 734 647 3185

_________________________________




On May 6, 2005, at 10:58 AM, 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





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