error while recompiling Ns2
I m getting following error while trying to print table in aodv in ns2 ....what s wrong n how to rectify
g++: trials/print: No such file or directory g++: rt/ns-allinone-2.34/tclcl-1.19: No such file or directory g++: trials/print: No such file or directory g++: rt/ns-allinone-2.34/otcl: No such file or directory g++: trials/print: No such file or directory g++: rt/ns-allinone-2.34/include: No such file or directory g++: trials/print: No such file or directory g++: rt/ns-allinone-2.34/include: No such file or directory g++: trials/print: No such file or directory g++: rt/ns-allinone-2.34/include: No such file or directory In file included from tools/random.cc:41: ./config.h:60:19: error: tclcl.h: No such file or directory tools/rng.h:106: error: expected class-name before ‘{’ token make: *** [tools/random.o] Error 1 |
Hello,
Looks like you have to install tclcl? Also, I am reporting this thread to be closed in favor of your other thread located here - https://www.linuxquestions.org/quest...ng-ns2-903327/ Please don't create new threads based on older threads and similar problems; I suggest you repost in your other thread, unless a completely different issue occurs. Thanks, Josh |
It's actually a new topic.
? Looks like you some way have made a Makefile with wrong paths and / or wrong locations ? Usually there's nothing like "rt/ns-allinone-2.34/otcl", "rt/ns-allinone-2.34/include", "trials/print", etc. . |
My bad then, same subjects, very similar issues (compiling ns2). It still is better off keeping similar topics and issues together IMO.
To the OP - Can I ask where are you running make from? |
@indumit18: this is the fourth thread you open about the same topic and you did not replay to any of the previous ones. Please follow discussion in one place and provide feedback to other users' replies. I'm going to close another thread that is an exact duplicate of this one. Nuff' said.
|
Editing trace file-ns2
I gone thro' forum members replies and rectified certain errors during make......now i want to print sample message(like "hello") or value in trace file generated while running tcl script...where to make changes and how to execute it...?
|
indumit18 -
Quote:
And please post back *what* the problem was, and *how* you diagnosed and resolved it. That way other people can learn from your experience :) Sound reasonable? |
ns2
i included function for printing routing table in aodv.cc and got error in makefile. as said in #3 i compiled from correct path and i got compiled
|
So is this solved then?
|
yes....
|
Ok, if you can, mark your thread as solved using the thread tools located at the top of the page, thanks!
Cheers, Josh |
All times are GMT -5. The time now is 08:27 PM. |