Excerpts from Ivan Novick's message of Wed Sep 08 12:47:00 -0500 2010:
> 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?

The changes to the autoconf goo that I made a few months ago were supposed to
fix this but apparently they didn't.  Unfortunately I don't have a Solaris box
to test this out on.

Are you using gcc or Sun's C compiler?  I'm guessing that you're using the Sun
compiler and that's causing the heartburn.

Thanks for the report,

Jon
-- 
Jon M. Dugan <jdu...@es.net>
ESnet Network Engineering Group
Lawrence Berkeley National Laboratory

------------------------------------------------------------------------------
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