make command not working in NS 2.35

最后都变了- 提交于 2019-12-23 02:32:22

问题


I am trying to modify AODV routing protocol using NS 2.35. I have made some changes to the files aodv.cc and aodv.h. Now, to apply these changes I have run a make command inside ns-allinone-2.35/ns-2.35 folder and getting the following error message:

In file included from aodv/aodv_logs.cc:31:0:
./aodv/aodv.h:53:18: fatal error: list.h: No such file or directory
 #include <list.h>
              ^
compilation terminated.
make: *** [aodv/aodv_logs.o] Error 1

How will I solve this?


回答1:



#include <list.h> is ignored in a default ns2.

If changes are made, the non existing 'list.h' can sometimes be called.

You can comment it out : // #include <list.h>





回答2:


#include <list.h> 

add this code to aodv.cc



来源:https://stackoverflow.com/questions/33798689/make-command-not-working-in-ns-2-35

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!