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
Attachment:" align="left" border="0"> iperf-2.0.4-aix.diff
Install iperf on Solaris8
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment