Hi Satyaveer thanks a lot.
Hi Knudfl thank you very much. I have downloaded nam-1.14 for 64-bit as my laptop architecture x86_64. I have run the nam file out.nam using that and it is working. Now I have to analyse the trace file. If I need then I will ask you for further help. Thank you once again for your help. |
Quote:
There are various bin directories. Also plz tell how to start a new thread in this discussion, as i m new to it. Thanks. |
Quote:
Quote:
|
# 17, @fabe856
Fedora : Please use these commands ... 1) su <password> 2) cp nam /usr/local/bin Starting a new thread : http://www.linuxquestions.org/questi...ux-software-2/ >>> New Thread . |
can anybody tell location of "handler.h" file in ns2.35 hierachy, thank you
@knudfl
I got similar problem to that was faced by masju,, but knudfl suggestion has done the job for me. but i am not able to find location fo 'handler.h' include file in ns2.35 header files hierachy,,, if anybody can guide, thank you ,,, prayers... i am working on implementing a new energy aware routing protocol in ns2.35 using fedora 16 platform... ilyas Quote:
|
# 20, @ilyas3169 : Welcome to LQ.
Quote:
./tclcl-1.20/iohandler.h ./ns-2.35/common/timer-handler.h ...... No "handler.h" in any ns-allinone-2.xx. Is it common/timer-handler.h , that you want to use ? ? . |
attached please find the snapshot of compilation errrors that I get!!
@knudfl,,
thank you Quote:
|
Quote:
Hi Monikagoyal, I am new to ns2 and also want to do some modify work on the gpsr protocl. However, I can not find the source code and hard to begin. Could you please send the source code of grsr to me? Thank you. My email address is: jamesjiangqian@gmail.com Thank you again. |
I am getting same error as in #1 of this thread.
Person who opened this thread had got the solution but didn't tell us how, what exactly she did, what was causing this problem. If anybody could let me know what to do for this error, it'll be great help. Thanks. |
# 24 .
Quite simple. The wrong location is being used for applying the patch. Please show 1) your location : That's the 'pwd' command. 2) The patch command that you used. Note. For the #1 referred GPSR-hls, please see post # 23 here http://www.linuxquestions.org/questi...526/page2.html >>> cd ns-allinone-2.33/ns-2.33/ && patch -p1 < ns-2.33-hls.patch - |
I don't think I am in wrong directory..
I'm using it as shown below, please let me know what wrong step am I doing here!? 'pwd' gave the following path : /usr/src/ns-allinone-2.33/ns-2.33 (patch file, 'ns-2.33-hls.patch' is present at this location.) and I am using the command, "patch -p1 < ns-2.33-hls.patch" which is giving the following error output, Code:
"patch: **** rejecting target file name with ".." component: ../ns-2.33-hls_working/ns-2.33/common/agent.h" Code:
patch: **** rejecting target file name with ".." component: ../ns-2.33-hls_working/ns-2.33/Makefile |
# 26 : Which OS are you using ?
Anyway, it's a well known fact that this patch fails on some OS. Hence the package "hls-files-ns233.tar.gz" → #23 → http://www.linuxquestions.org/questi...526/page2.html >>> https://docs.google.com/open?id=0B7S...alV2SGhJdk1hQQ So you can just do : $ tar xvf hls-files-ns233.tar.gz, which will put all the edited/patched files into the right locations. - |
#27
I am running NS2.33 on Fedora17. As you said this patch is not working on some OS, not working on Fedora17 but working on older version of fedora. (Fedora7) I have used the "hls-files-ns233.tar.gz" as you suggested, did not work for me. I get same kind of error. Anyway, I could run it on fedora7. Thanks for your timely replies. |
# 28.
Quote:
Quote:
cd ns-allinone-2.33/ && export CC=gcc34 CXX=g++34 && ./install If you reconfigure in ns-allinone-2.33/ns-2.33/, the command is : export CC=gcc34 CXX=g++34 && ./configure && make clean && make - |
I have installed ns-2.33 on ubuntu 12.04 and while applying the gpsr patch with it this error is coming. I think it is because of 64 bit machine. Please tell me how to make gpsr run on 64 bit ubuntu 12.04. Its very urgent. Please help
In file included from locservices/locservice.h:22:0, from locservices/ls_queued_timer.cc:23: ./mobile/god.h: In member function ‘void DHeap::copy(DHeap*)’: ./mobile/god.h:196:26: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] locservices/ls_queued_timer.cc: In member function ‘void QueuedTimer::printQueue()’: locservices/ls_queued_timer.cc:307:86: error: cast from ‘void*’ to ‘int’ loses precision [-fpermissive] locservices/ls_queued_timer.cc: In member function ‘void TimerHeap::removeElem(int)’: locservices/ls_queued_timer.cc:373:12: warning: statement has no effect [-Wunused-value] locservices/ls_queued_timer.cc: In member function ‘void TimerHeap::printTable()’: locservices/ls_queued_timer.cc:472:69: error: cast from ‘void*’ to ‘int’ loses precision [-fpermissive] make: *** [locservices/ls_queued_timer.o] Error 1 |
All times are GMT -5. The time now is 08:14 PM. |