LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Home Forums Tutorials Articles Register
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, 10: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, 12:16 PM   #2
knudfl
LQ 5k Club
 
Registered: Jan 2008
Location: Copenhagen DK
Distribution: PCLinuxOS2023 Fedora38 + 50+ other Linux OS, for test only.
Posts: 17,513

Rep: Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641
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

Tags
ns2



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

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 03:16 AM.

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
Open Source Consulting | Domain Registration