Linux - SoftwareThis forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
i am installing Manasim on Ns2.34 and getting one error
wpan -o mannasim/leach/mac/leach-wireless-phy.o mannasim/leach/mac/leach-wireless-phy.cc
mannasim/leach/mac/leach-wireless-phy.cc: In member function ‘virtual int LeachWirelessPhy::sendUp(Packet*)’:
mannasim/leach/mac/leach-wireless-phy.cc:54: error: ‘hdr_rca’ was not declared in this scope
mannasim/leach/mac/leach-wireless-phy.cc:54: error: ‘rca_hdr’ was not declared in this scope
mannasim/leach/mac/leach-wireless-phy.cc:54: error: ‘HDR_RCA’ cannot be used as a function
mannasim/leach/mac/leach-wireless-phy.cc:53: warning: unused variable ‘ch’
mannasim/leach/mac/leach-wireless-phy.cc: In member function ‘virtual void LeachWirelessPhy::sendDown(Packet*)’:
mannasim/leach/mac/leach-wireless-phy.cc:122: error: ‘hdr_rca’ was not declared in this scope
mannasim/leach/mac/leach-wireless-phy.cc:122: error: ‘rca_hdr’ was not declared in this scope
mannasim/leach/mac/leach-wireless-phy.cc:122: error: ‘HDR_RCA’ cannot be used as a function
make: *** [mannasim/leach/mac/leach-wireless-phy.o] Error 1
Please Help me and thanks in advance.............
Last edited by jschiwal; 09-02-2012 at 09:12 PM.
Reason: ed by mod. deleted duplicate before moving
Which "Linux OS" are you using ? ? ... Like Ubuntu 12.04.
This command will show : cat/etc/release/
And which architecture ? ( The 'uname -m' command.)
Help me same problem after the modification in packet.h file
In file included from common/scheduler.cc:48:
common/packet.h: In static member function ‘static Packet* Packet::alloc()’:
common/packet.h:727: error: ‘HDR_RCA’ was not declared in this scope
common/packet.h: In member function ‘Packet* Packet::copy() const’:
common/packet.h:802: error: ‘HDR_RCA’ was not declared in this scope
common/packet.h: In static member function ‘static void Packet::PrintRcHeader(Packet*, char*)’:
common/packet.h:835: error: ‘HDR_RCA’ was not declared in this scope
make: *** [common/scheduler.o] Error 1
Dear knudfl
i have installed the Mannasim on ns2.3 as per your link provided by me.
now i am facing one more problem that when i am executing the TCL script generated by Mannasim. i am facing this error
ns:
[code omitted because of length]
: invalid command name "Agent/TCP/Newreno/QS"
while executing
"Agent/TCP/Newreno/QS set rbp_scale_ 0.75"
Please help me. Thaks in advance
Please don't use such a title. It says nothing about your problem.
NS2 is a software simulator. I'm moving it to the Linux Software forum were it will get better exposure.
i am installing Manasim on Ns2.34 and getting one error
wpan -o mannasim/leach/mac/leach-wireless-phy.o mannasim/leach/mac/leach-wireless-phy.cc
mannasim/leach/mac/leach-wireless-phy.cc: In member function ‘virtual int LeachWirelessPhy::sendUp(Packet*)’:
mannasim/leach/mac/leach-wireless-phy.cc:54: error: ‘hdr_rca’ was not declared in this scope
mannasim/leach/mac/leach-wireless-phy.cc:54: error: ‘rca_hdr’ was not declared in this scope
mannasim/leach/mac/leach-wireless-phy.cc:54: error: ‘HDR_RCA’ cannot be used as a function
mannasim/leach/mac/leach-wireless-phy.cc:53: warning: unused variable ‘ch’
mannasim/leach/mac/leach-wireless-phy.cc: In member function ‘virtual void LeachWirelessPhy::sendDown(Packet*)’:
mannasim/leach/mac/leach-wireless-phy.cc:122: error: ‘hdr_rca’ was not declared in this scope
mannasim/leach/mac/leach-wireless-phy.cc:122: error: ‘rca_hdr’ was not declared in this scope
mannasim/leach/mac/leach-wireless-phy.cc:122: error: ‘HDR_RCA’ cannot be used as a function
make: *** [mannasim/leach/mac/leach-wireless-phy.o] Error 1
Please Help me and thanks in advance.............
hello i am facing same problem. but i am using ns2.29 instead of ns2.34 on ubuntu 10.04
if you have a solution for any 2.34 or 2.29 ,plz provide me
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.