Currently I get a -pthread error looking like this during compilation:

g++ -Wall -O2    -o iperf -O2  -D_REENTRANT -pthread  -DHAVE_CONFIG_H Client.o 
Extractor.o  Launch.o List.o Listener.o  Locale.o PerfSocket.o ReportCSV.o  
ReportDefault.o Reporter.o Server.o  Settings.o SocketAddr.o gnu_getopt.o  
gnu_getopt_long.o main.o service.o  sockets.o stdio.o tcp_window_size.o 
../compat/libcompat.a -lsocket -lnsl
g++: unrecognized option `-pthread'
Undefined                       first referenced
 symbol                             in file
sched_yield                         ../compat/libcompat.a(Thread.o)
ld: fatal: Symbol referencing errors. No output written to iperf
collect2: ld returned 1 exit status
*** Error code 1
make: Fatal error: Command failed for target `iperf'


I'm guessing there might be something wrong with proper pthreads detection for 
this particular solaris10+bundled GCC in the configure script?

Thanks
- Phillip

----- Original Message ----
> From: Jon Dugan <[EMAIL PROTECTED]>
> To: Phillip Ross <[EMAIL PROTECTED]>
> Cc: iperf-users <iperf-users@lists.sourceforge.net>
> Sent: Saturday, May 10, 2008 1:12:00 AM
> Subject: Re: [Iperf-users] compiling on solaris10?
> 
> Excerpts from Phillip Ross's message of Fri May 09 20:32:22 -0700 2008:
> > Hi all...  anyone have any luck compiling iperf 2.0.4 on solaris10 w/ the 
> > gcc
> > that is included with solaris10?  Any help or insight would be greatly
> > appreciated :)
> 
> Hello Phillip,
> 
> Can you please provide what error messages you are seeing.  I am afraid I
> don't have an up to date Solaris box to test on.  
> 
> Thanks,
> 
> Jon
> 
> -- 
> Jon M. Dugan           | GTalk: jdugan.esnet
> ESnet Network Engineering Group       | http://www.es.net
> Lawrence Berkeley National Laboratory | http://www.lbl.gov/


-------------------------------------------------------------------------
This SF.net email is sponsored by the 2008 JavaOne(SM) Conference 
Don't miss this year's exciting event. There's still time to save $100. 
Use priority code J8TL2D2. 
http://ad.doubleclick.net/clk;198757673;13503038;p?http://java.sun.com/javaone
_______________________________________________
Iperf-users mailing list
Iperf-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/iperf-users

Reply via email to