# 240 .
Latest build example, GPSR-hls : Post #5 here ... http://www.linuxquestions.org/questi...-4175498876/#5 All GPSR-hls : http://www.linuxquestions.org/questions/tags/gpsr-hls/ - |
Dear Knudfl,
According to your post #96 which is also in accordance with #5 as specified in this thread I have executed the commands.But it is giving cservice.o locservices/gridlocservice.cc locservices/gridlocservice.cc: In member function ‘void GridLocService::evaluateLocation(Packet*)’: locservices/gridlocservice.cc:249: error: ‘HDR_GPSR’ was not declared in this scope locservices/gridlocservice.cc:253: error: ‘PT_GPSR’ was not declared in this scope locservices/gridlocservice.cc: In member function ‘Packet* GridLocService::newReply(Packet*, nodelocation*)’: locservices/gridlocservice.cc:747: error: ‘HDR_GPSR’ was not declared in this scope locservices/gridlocservice.cc: In member function ‘Packet* GridLocService::newRequest(nsaddr_t)’: locservices/gridlocservice.cc:794: error: ‘HDR_GPSR’ was not declared in this scope locservices/gridlocservice.cc: In member function ‘Packet* GridLocService::newUpdate(nodelocation*)’: locservices/gridlocservice.cc:830: error: ‘HDR_GPSR’ was not declared in this scope locservices/gridlocservice.cc: In member function ‘Packet* GridLocService::newUpdAck(Packet*, nodelocation*)’: locservices/gridlocservice.cc:890: error: ‘HDR_GPSR’ was not declared in this scope locservices/gridlocservice.cc: In member function ‘Packet* GridLocService::newNotify(nodelocation*)’: locservices/gridlocservice.cc:939: error: ‘HDR_GPSR’ was not declared in this scope locservices/gridlocservice.cc: In member function ‘virtual int GridLocService::hdr_size(Packet*)’: locservices/gridlocservice.cc:1385: error: ‘PT_GPSR’ was not declared in this scope make: *** [locservices/gridlocservice.o] Error 1 Ns make failed! See http://www.isi.edu/nsnam/ns/ns-problems.html for problems Please suggest a way out. With thanks. |
# 242 .
No. Post #96 is $ patch -p1 < ns-2.33-hls.patch && tar xvf hls-files-ns233.tar.gz The safe way is $ tar xvf gpsr-hls-ns233-patching.tar.bz2 Please read http://www.linuxquestions.org/questi...-4175498876/#5 ( But then again, I don't know why you can have any errors.) * Ubuntu is not getting better at handling dubious patches like ns-2.33-hls.patch. Which OS are you using now ? a) uname -m b) cat /etc/issue * And which compiler are you using ? ? Remark : You can add the OS {Name, version, architecture} to your profile. - |
# 242.
Dear knudfl, Well, again by your help it took clean install. Now what about path?...I am already having KeLiu-GPSR. And validation. *And finally the most important how to check and run the gpsr. Where are the default tcl scripts? ->One interesting thing : it has formed a ns-2.33 directory within the ns-allinone-2.33/ns-2.33/ ->The gpsr dir is not within ns-allinone-2.33/ns-2.33/, rather within ns-allinone-2.33/ns-2.33/ns-2.33, and that to with no object file [i.e gpsr.o] Could you please explain? many thanks for your consistent support and help! |
# 244 .
Quote:
It clearly says : $ cd ns-allinone-2.33/ $ tar xvf gpsr-hls-ns233-patching.tar.bz2 $ export CC=gcc41 CXX=g++41 && ./install ... If you do it different, you will of course fail with the build. Quote:
$ cd ns-allinone-2.34/ns-2.34/ $ cp ns ns-gpsr-keliu ( Or whatever name you like.) $ sudo cp ns-gpsr-keliu /usr/local/bin/ .. And when you have done the ns-2.33 + GPSR-hls build : $ cd ns-allinone-2.33/ns-2.33/ $ cp ns ns-hls $ sudo cp ns-hls /usr/local/bin/ *** All simulations can then be run with $ ns-<new-name> file.tcl All the above has been mentioned numerous times, e.g. here : http://www.linuxquestions.org/questions/tags/gpsr-hls/ - |
Dear Knudfl,
Reinstalled it ! I recognized the fault from post #245. Installation and validation is done. Great help !! Analyzing the code. Thanking you for all !! with a request for your mail-id. |
# 246 .
Email : Please use "Send email to knudfl" : http://www.linuxquestions.org/questi...ember&u=386037 |
Dear knudfl,
When I run ns-hls hls.tcl after: Quote:
Quote:
Please suggest the way out. Though trace is formed!! Unable to comprehend format of these sections from trace: Especially the bolded sections. Quote:
Please suggest. Awaiting your reply. With thanks. |
#246
Quote:
Please give some other means. And please reply to #248. With thanks. |
# 248 .
GPSR-hls : An OS <not-one-of-the-later-versions> will work for the build. You can read http://www.linuxquestions.org/questions/tags/gpsr-hls/ .. to know which versions that were used with success. If you have a 32bits OS, just install the package, gpsr-hls-2.33-ubuntu10_i386.deb https://drive.google.com/file/d/0B7S...it?usp=sharing The package was built with (the now unsupported) Ubuntu 10.10 for best performance. If you want to build your own version of GPSR-hls : The safe choice of a supported OS is CentOS 6.5 - i686/i386. - |
Dear Knudfl,
Cannot understand what you mean by: Quote:
And, YES... it is working now!:) Please reply with reference to: Quote:
WITH THANKS. |
# 251 → #248.
Please read all files in /hls/utils/ : run.tcl README_HLS README.txt etc. The documentation "Kiess2003b.pdf" is available as ``10.1.1.73.963.pdf´´ from http://citeseerx.ist.psu.edu/viewdoc...=rep1&type=pdf ... then you may find an explanation for the {HLS_REQ , TESTQ , VEPM } lines. The error ""--- Classfier::no-slot{} default handler (tcl/lib/ns-lib.tcl) ---"" .. appears when you are building ns-2.33 + GPSR-hls in an updated / current version of an OS. ( Ubuntu 13.10 .. 14.04 ? ). * How did you solve the error ? About email : All technical discussions are supposed to take place in the Forums, .. then everybody else can benefit from the solutions. The option "Send email to <name> is available. ( Option "Send email to Chakraborty" is also present, in all your posts.) - |
Dear knudfl,
Both KeLiu and HLS is using 802.11. I need to incorporate SMAC in hls, as it is highly energy efficient, as my work is cross-layer. But, whenever I am using it, it is giving "Couldn't schedule timer". What could be the problem ? What more is to be added to wireless-gpsr.tcl & hls.tcl Analysed the code. Some of the things seems to be in comprehensible !! I have the Smac paper, which is proving not sufficient enough to comprehend the working of Smac function-by-function, in terms of code. Could you please help how to get the detailed documentation of Smac. In short, how to get it working and analyse its working w.r.t code. #252 Quote:
Thanking you for all above.:) |
# 253 .
Quote:
1) hls.tcl (smac_hls.tcl) 2) ssoumayaa.tcl (smac_ssoumayaa.tcl) : set val(mac) Mac/SMAC .... No issues by using the old executable 'ns-hls' from Ubuntu 10.10 : $ ns-hls <file>.tcl Testing "smac_wireless-gpsr.tcl" : set val(mac) Mac/SMAC .. No issues with the executable 'ns-gpsr-k' from Ubuntu 10.10 : $ ns-gpsr-k smac_wireless-gpsr.tcl - |
Dear Knudfl,
W.ref.t #254 Quote:
What other necessary files needed? Could you please upload it? Already renamed the respective ns' Will give a try a/c to #254 Working with 12.04. So, w.ref.t Quote:
There must be some other way!! My entire work is amidst, and and that to, in 12.04. Please suggest. With thanks. |
All times are GMT -5. The time now is 12:02 PM. |