在尝试在sdx12上增加iperf3编译时,遇到' does not appear to contain CMakeLists.txt.'错误。原因是iperf3不依赖cmake进行构建。解决方法是修改iperf.bb文件,将'inherit cmake autotools'改为'inherit autotools',移除cmake配置,然后重新编译。
摘要由CSDN通过智能技术生成
iperf3指令
/ # iperf3 [J
iperf3: parameter error - must either be a client (-c) or server (-s)
Usage: iperf3 [-s|-c host] [options]
iperf3 [-h|--help] [-v|--version]
Server or Client:
-p, --port # server port to listen on/connect to
-f, --format [kmgKMG] format to report: Kbits, Mbits, KBytes, MBytes
-i, --interval # seconds between periodic bandwidth reports
-F, --file name xmit/recv the specified file
-A, --affinity n/n,m set CPU affinity
-B, --bind <host> bind to a specific interface
-V, --verbose more detailed output
-J, --json output in JSON format
--logfile f send output to a log file
--forceflush force flushing output at every i