[問題] netperf 2.4.4安裝
這兩天在測新機器的網路效能,
找到了兩個軟體iperf 跟netperf,
安裝netperf 的時候 make 一直過不去.
請問是否有人知道他所欠缺的dependcy 是甚麼?
(netperf 算老牌的測試軟體,應該很好裝才對阿...)
環境是fedora 7 & 8
gcc -g -O2 -o netperf netperf.o netlib.o netsh.o nettest_bsd.o nettest_dlpi.o nettest_unix.o nettest_xti.o nettest_sctp.o nettest_sdp.o netcpu_procstat.o -lm
netlib.o: In function `alloc_sendfile_buf_ring':
/root/netperf-2.4.4/src/netlib.c:1545: warning: the use of `tmpnam' is dangerous, better use `mkstemp'
netlib.o: In function `bind_to_specific_processor':
netlib.c:(.text+0x294a): undefined reference to `__CPU_ZERO'
netlib.c:(.text+0x2956): undefined reference to `__CPU_SET'
collect2: ld 回傳 1
make[2]: *** [netperf] Error 1
make[2]: Leaving directory `/root/netperf-2.4.4/src'
make[1]: *** [install-recursive] Error 1
make[1]: Leaving directory `/root/netperf-2.4.4/src'
make: *** [install-recursive] Error 1
--
※ 發信站: 批踢踢實業坊(ptt.cc)
◆ From: 220.128.124.251