LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   NS2: error using MAKE command (https://www.linuxquestions.org/questions/linux-newbie-8/ns2-error-using-make-command-4175521432/)

preethisingh 10-08-2014 07:32 AM

NS2: error using MAKE command
 
im adding a new packet type to ns2.
1. I included new_packet.h and new_packet.cc files in ns 2.35/apps.
2. then I made entries in packet.h, ns-default.tcl, ns-packet.tcl
3.then in makefile.in I included OBJ.cc =
apps/new_packet.o
4.then ./configure
5.Then after MAKE command
IM GETTING ERROR AS new_packet.cc 20 6 ,new_packet.h :fatal error:no such file or directory
can u please help me solve this? thnx

knudfl 10-08-2014 08:32 AM

Welcome to LQ.

Don't know. Happens sometimes that new files.h are not found.
Solution : Copy `new_packet.h´ to ns-2.35/common/


-


All times are GMT -5. The time now is 06:14 AM.