Hello,

When i try compiling iperf-2.0.5 on solaris 10, it fails with error
can't link symbol nanosleep.

Following the instructions I found on the web i modified src/Makefile

~/src/Makefile:

 195  iperf_LDFLAGS =  -O2  -D_REENTRANT -pthread  -DHAVE_CONFIG_H

to:

 195  iperf_LDFLAGS =  -O2  -D_REENTRANT -lpthread -lrt -DHAVE_CONFIG_H


Is this required or is there a cleaner way to build on Solaris?

Cheers,
Ivan

------------------------------------------------------------------------------
This SF.net Dev2Dev email is sponsored by:

Show off your parallel programming skills.
Enter the Intel(R) Threading Challenge 2010.
http://p.sf.net/sfu/intel-thread-sfd
_______________________________________________
Iperf-users mailing list
Iperf-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/iperf-users

Reply via email to