LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   error while recompiling Ns2 (https://www.linuxquestions.org/questions/linux-newbie-8/error-while-recompiling-ns2-904740/)

indumit18 09-24-2011 01:49 AM

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

corp769 09-24-2011 01:58 AM

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

knudfl 09-24-2011 02:32 AM

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.

.

corp769 09-24-2011 02:37 AM

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?

colucix 09-24-2011 04:28 AM

@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.

indumit18 10-14-2011 12:48 AM

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...?

paulsm4 10-14-2011 12:53 AM

indumit18 -

Quote:

this is the fourth thread you open about the same topic and you did not reply to any of the previous ones. Please follow discussion in one place and provide feedback to other users' replies.
If you're going to ask a question, please follow up on the replies you get.

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?

indumit18 10-14-2011 01:41 AM

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

corp769 10-14-2011 01:49 AM

So is this solved then?

indumit18 10-14-2011 01:57 AM

yes....

corp769 10-14-2011 02:08 AM

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.