LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 09-24-2011, 02:49 AM   #1
indumit18
LQ Newbie
 
Registered: Sep 2011
Posts: 12

Rep: Reputation: Disabled
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
 
Click here to see the post LQ members have rated as the most helpful post in this thread.
Old 09-24-2011, 02:58 AM   #2
corp769
LQ Guru
 
Registered: Apr 2005
Posts: 5,817

Rep: Reputation: 1002Reputation: 1002Reputation: 1002Reputation: 1002Reputation: 1002Reputation: 1002Reputation: 1002Reputation: 1002
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
 
Old 09-24-2011, 03:32 AM   #3
knudfl
LQ 5k Club
 
Registered: Jan 2008
Location: Copenhagen, DK
Distribution: pclos2016, Slack14.1 Deb Jessie, + 50+ other Linux OS, for test only.
Posts: 16,276

Rep: Reputation: 3153Reputation: 3153Reputation: 3153Reputation: 3153Reputation: 3153Reputation: 3153Reputation: 3153Reputation: 3153Reputation: 3153Reputation: 3153Reputation: 3153
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.

.
 
Old 09-24-2011, 03:37 AM   #4
corp769
LQ Guru
 
Registered: Apr 2005
Posts: 5,817

Rep: Reputation: 1002Reputation: 1002Reputation: 1002Reputation: 1002Reputation: 1002Reputation: 1002Reputation: 1002Reputation: 1002
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?
 
Old 09-24-2011, 05:28 AM   #5
colucix
LQ Guru
 
Registered: Sep 2003
Location: Bologna
Distribution: CentOS 6.5 OpenSuSE 12.3
Posts: 10,509

Rep: Reputation: 1976Reputation: 1976Reputation: 1976Reputation: 1976Reputation: 1976Reputation: 1976Reputation: 1976Reputation: 1976Reputation: 1976Reputation: 1976Reputation: 1976
@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.
 
4 members found this post helpful.
Old 10-14-2011, 01:48 AM   #6
indumit18
LQ Newbie
 
Registered: Sep 2011
Posts: 12

Original Poster
Rep: Reputation: Disabled
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...?
 
Old 10-14-2011, 01:53 AM   #7
paulsm4
LQ Guru
 
Registered: Mar 2004
Distribution: SusE 8.2
Posts: 5,863
Blog Entries: 1

Rep: Reputation: Disabled
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?
 
Old 10-14-2011, 02:41 AM   #8
indumit18
LQ Newbie
 
Registered: Sep 2011
Posts: 12

Original Poster
Rep: Reputation: Disabled
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
 
Old 10-14-2011, 02:49 AM   #9
corp769
LQ Guru
 
Registered: Apr 2005
Posts: 5,817

Rep: Reputation: 1002Reputation: 1002Reputation: 1002Reputation: 1002Reputation: 1002Reputation: 1002Reputation: 1002Reputation: 1002
So is this solved then?
 
Old 10-14-2011, 02:57 AM   #10
indumit18
LQ Newbie
 
Registered: Sep 2011
Posts: 12

Original Poster
Rep: Reputation: Disabled
yes....
 
1 members found this post helpful.
Old 10-14-2011, 03:08 AM   #11
corp769
LQ Guru
 
Registered: Apr 2005
Posts: 5,817

Rep: Reputation: 1002Reputation: 1002Reputation: 1002Reputation: 1002Reputation: 1002Reputation: 1002Reputation: 1002Reputation: 1002
Ok, if you can, mark your thread as solved using the thread tools located at the top of the page, thanks!

Cheers,

Josh
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
[SOLVED] error while recompiling Ns2 makefile.in indumit18 Linux - Software 37 12-21-2014 05:07 PM
error while recompiling ns2 indumit18 Linux - Software 1 09-16-2011 09:14 AM
error recompiling php BCarey Slackware 4 03-01-2008 07:56 PM
error in recompiling the code ravindra1103 Linux - Kernel 1 04-06-2007 05:35 AM
Lilo error after recompiling xp1o1d5 Linux - General 12 07-26-2006 11:50 AM


All times are GMT -5. The time now is 10:28 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration