netperf 2.4.4安裝 - Linux

By Linda
at 2008-07-23T10:25
at 2008-07-23T10:25
Table of Contents
這兩天在測新機器的網路效能,
找到了兩個軟體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
--
找到了兩個軟體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
--
Tags:
Linux
All Comments
Related Posts
如何設定查詢quota時不要查某些地方呢?

By Connor
at 2008-07-23T07:53
at 2008-07-23T07:53
如何讓ATA硬碟正確顯示成hdx而非sdx

By Olga
at 2008-07-22T22:07
at 2008-07-22T22:07
關於DNS架設問題

By Lily
at 2008-07-22T18:21
at 2008-07-22T18:21
關於DNS架設問題

By Andrew
at 2008-07-22T17:07
at 2008-07-22T17:07
SElinux 及iptables 的問題

By Skylar DavisLinda
at 2008-07-22T16:35
at 2008-07-22T16:35