[1501/2551] Compiling src/config-store/model/config-store.cc
[1502/2551] Compiling src/click/examples/nsclick-defines.cc
[1503/2551] Compiling src/click/examples/nsclick-udp-client-server-wifi.cc
[1580/2551] Compiling src/click/model/ipv4-click-routing.cc
../src/click/model/ipv4-click-routing.cc: In function ‘int simclick_sim_command(simclick_node_t*, int, …)’:
../src/click/model/ipv4-click-routing.cc:632:63: error: ‘SIMCLICK_GET_DEFINES’ was not declared in this scope
../src/click/model/ipv4-click-routing.cc:765:10: error: ‘SIMCLICK_GET_RANDOM_INT’ was not declared in this scope
../src/click/model/ipv4-click-routing.cc:776:10: error: ‘SIMCLICK_GET_DEFINES’ was not declared in this scope
Waf: Leaving directory `/home/cqq/repos/bake/dce/source/ns-3.24/build’
Build failed
-> task in ‘ns3-click’ failed (exit status 1):
搜错误信息发现这是click某个旧版本的bug
https://www.nsnam.org/bugzilla/show_bug.cgi?id=1581
于是按照这个说的提示,得到click的官方GitHub仓库clone最新代码, 再编译。
https://github.com/kohler/click
然而速度其慢。