LinuxQuestions.org
Review your favorite Linux distribution.
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 03-18-2013, 11:47 AM   #1
Lambor
LQ Newbie
 
Registered: Feb 2013
Posts: 1

Rep: Reputation: Disabled
Smile Installing ns 2.34


While installing ns 2.34 in Ubuntu 12.04, I get the following error. I have made the necessary changes in cmu-trace.cc, however the error is not resolved.

Need help.

mit/rca/rcagent.cc: In constructor ‘RCAgent::RCAgent()’:
mit/rca/rcagent.cc:34: error: ‘PT_RCA’ was not declared in this scope
mit/rca/rcagent.cc: In member function ‘void RCAgent::sendmsg(int, const char*, int, int, double, int)’:
mit/rca/rcagent.cc:137: error: ‘hdr_rca’ was not declared in this scope
mit/rca/rcagent.cc:137: error: ‘rca_hdr’ was not declared in this scope
mit/rca/rcagent.cc:137: error: ‘HDR_RCA’ was not declared in this scope
mit/rca/rcagent.cc: In member function ‘virtual void RCAgent::recv(Packet*, Handler*)’:
mit/rca/rcagent.cc:163: error: ‘hdr_rca’ was not declared in this scope
mit/rca/rcagent.cc:163: error: ‘rca_hdr’ was not declared in this scope
mit/rca/rcagent.cc:163: error: ‘HDR_RCA’ was not declared in this scope
make: *** [mit/rca/rcagent.o] Error 1
Ns make failed!
 
Old 03-18-2013, 01:16 PM   #2
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
Welcome to LQ.

Please use gcc / g++ version 4.1.2 for ns-allinone-2.34 :
Post #17 here, the "Note" ..
http://www.linuxquestions.org/questi...ml#post4913902

Probably start from scratch, with $ tar xvf ns-allinone-2.34.tar.gz,
or do a 'make clean' + delete all Makefile here :
tcl8*/unix/, tk8*/unix/, otcl*/, tclcl*/, ns-2.34/.

-
 
  


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
Black screen while booting, after installing installing AMD Catalyst™ 12.8 Proprietar agmegharaj Linux - Laptop and Netbook 1 09-27-2012 02:14 PM
Toshiba Satellite 110CS installing pdf reader, installing linux nappy501 Linux - Laptop and Netbook 3 10-11-2008 11:45 AM
Installing individual OpenOffice apps without installing the entire suite? roystonlodge DamnSmallLinux 3 06-06-2008 02:14 PM
Installing the nvidia driver off the web site and installing rpm in ubuntu? darkhatter Ubuntu 3 02-19-2006 03:44 PM
Installing Mandriva 2006 - Hangs installing hard drive controller nvidia mcp04 sata DanielJPayne Mandriva 7 01-19-2006 03:15 AM


All times are GMT -5. The time now is 01:53 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