Install iperf on Solaris8

Here is  a quick hack to compile iperf 2.0.4 on AIX. This patch includes:

- rename a conflicted function from thread_init() to thread_initialize().
- add compat/malloc.c for AC_FUNC_MALLOC.
- add @PTHREAD_LIBS@ into iperf_LDFLAGS in Makefile.
In addition, after applying this patch, I can compile iperf 2.0.4 on Solaris 8:
$ PTHREAD_LIBS="-lpthreads -lrt" ./configure
$ make
=====
steps to do:
1. gpatch -p1 > ../iperf-2.0.4-aix.diff
2. PTHREAD_LIBS="-lpthreads -lrt" ./configure
3. make

<span class=Attachment:" align="left" border="0"> iperf-2.0.4-aix.diff

No comments:

Post a Comment

Related Posts Plugin for WordPress, Blogger...