DAST: Iperf - compile and link questions - tcoon --at-- cup.hp.com
>Date: Thu, 3 Nov 2005 12:00:12 -0600
>To: tcoon --at-- cup.hp.com
>Subject: DAST: Iperf - compile and link questions - tcoon --at-- cup.hp.com
>
>Contacting DAST re: Request for information about Iperf
>From: Tony Coon <tcoon --at-- cup.hp.com>
>
>Subject: compile and link questions
>
>Question/Comment:
>I am trying to install iperf on a number of platforms including Linux,
freeBSD and HP-UX. Linux and freeBSD are no-brainers. HP-UX compiles and
links have been inconsistent. There seem to be two problems.
>
>First, in compat/Thread.c is pthread_cancel(oldTID), where oldTID is not
declared. I tried a suggestion on the net and it seemed to work, but I am
wary about hacking performance tools. Is there a sanctioned fix for this?
>
>Second, even though I see PTHREAD_LIBS = -lpthread in the main Makefile,
the binary does not have it linked in. Again, I hacked the src/Makefile
and appended it to the iperf compile/link. Is this a known problem? If
so, what is the fix?
>
>The HP-UX version is 11i v2 (11.23) although I am building on the
unreleased 11.31 as well. Compilers are HP ANSI-C and ANSI CPP.
>
>Any help or pointers appreciated.
>
>cheers,
>tony
>
>
--
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