#36 Compile 2.0.4 on Solaris problem

open
nobody
None
5
2010-04-09
2010-04-09
Anonymous
No

Problem compiling iperf 2.0.4 on Solaris 8. Appears to be improper detection of PTHREADS library.

I successfully compiled with: PTHREAD_CFLAGS="-D_REENTRANT -lpthread -lrt" ./configure

If I just run ./configure, I get PTHREAD_CFLAGS = -D_REENTRANT -pthread

I had bigger problems earlier with an older gcc install so I installed the SUN Freeware gcc-3.4.6-sol8-sparc-local, so that is what I succeeded with,
if I overrode the PTHREAD_CFLAGS.

Discussion