Open GoogleCodeExporter opened 8 years ago
dude have you got any solution ??? because even i am doing the same project and
i am also stucked with the same problem :(
Original comment by svsanand...@gmail.com
on 25 Sep 2012 at 9:57
[deleted comment]
dear i have solved the problem but i used ns-2.33 instead of ns-2.44
Original comment by cool.tau...@gmail.com
on 25 Sep 2012 at 11:57
dude can you brief me the procedure of patching LTE with ns2.33 version even i
have taken a project on LTE please help me out.
The problem i am facing is i am using NS2.34 version on UBUNTU 11.04 i tried in
lot many procedures to patch it but each n every time i am getting some or the
other error so now i want to try with your suggestion. so kindly brief me the
procedure
Thanking YOu.
Original comment by svsanand...@gmail.com
on 30 Oct 2012 at 11:24
Sir ,
please give a reply to this comment ASAP.
Original comment by svsanand...@gmail.com
on 31 Oct 2012 at 6:24
hiii,
You can try by following the steps described in the attached file.. I have
followed the same...and ALL THE BEST..
Original comment by cool.tau...@gmail.com
on 1 Nov 2012 at 5:46
Attachments:
Thank You sir thanks a lot :) hope this time it works :)
Original comment by svsanand...@gmail.com
on 2 Nov 2012 at 4:33
sir if you dun mind can you share me the installation steps of NS2.33 also ???
as i am getting some error with my process of installation.
Thanking You.
Original comment by svsanand...@gmail.com
on 2 Nov 2012 at 5:00
find the attachment and follow the steps...
Original comment by cool.tau...@gmail.com
on 2 Nov 2012 at 5:16
Attachments:
Thank You for making your time out for me and sharing these :) thank You sir :)
Original comment by svsanand...@gmail.com
on 2 Nov 2012 at 5:23
Finally able to resolve the 3 ERRORS which i was facing Thank u sir . Now i am
done with ns2.33 installation.
now going with the LTE patch this is the 1st problem i am facing
asmaitha@ubuntu:~/ns-allinone-2.33/tk8.4.18$ patch -p0 < tk-8.4-lastevent.patch
(Stripping trailing CRs from patch.)
patching file generic/tk.h
patch unexpectedly ends in middle of line
Reversed (or previously applied) patch detected! Assume -R? [n] n
Apply anyway? [n] n
Skipping patch.
1 out of 1 hunk ignored -- saving rejects to file generic/tk.h.rej
asmaitha@ubuntu:~/ns-allinone-2.33/tk8.4.18$
i have ignored this and went for the next step in patching as in one of the
blog i have seen that this can be ignored. is that correct ???
have you faced this problem ??
Thanks in advance sir
Original comment by svsanand...@gmail.com
on 2 Nov 2012 at 9:37
asmaitha@ubuntu:~/ns-allinone-2.33/tk8.4.18$ patch -p0 < tk-8.4-lastevent.patch
(Stripping trailing CRs from patch.)
patching file generic/tk.h
patch unexpectedly ends in middle of line
Reversed (or previously applied) patch detected! Assume -R? [n] n
Apply anyway? [n] n
Skipping patch.
1 out of 1 hunk ignored -- saving rejects to file generic/tk.h.rej
asmaitha@ubuntu:~/ns-allinone-2.33/tk8.4.18$
Please put
/home/asmaitha/ns-allinone-2.33/bin:/home/asmaitha/ns-allinone-2.33/tcl8.4.18/un
ix:/home/asmaitha/ns-allinone-2.33/tk8.4.18/unix
into your PATH environment; so that you'll be able to run itm/tclsh/wish/xgraph.
IMPORTANT NOTICES:
(1) You MUST put /home/asmaitha/ns-allinone-2.33/otcl-1.13,
/home/asmaitha/ns-allinone-2.33/lib,
into your LD_LIBRARY_PATH environment variable.
If it complains about X libraries, add path to your X libraries
into LD_LIBRARY_PATH.
If you are using csh, you can set it like:
setenv LD_LIBRARY_PATH <paths>
If you are using sh, you can set it like:
export LD_LIBRARY_PATH=<paths>
(2) You MUST put /home/asmaitha/ns-allinone-2.33/tcl8.4.18/library into your
TCL_LIBRARY environmental
variable. Otherwise ns/nam will complain during startup.
After these steps, you can now run the ns validation suite with
cd ns-2.33; ./validate
This is one more ERROR i am facing but i have added this path to the ENV
variables and did the ./validate step then i got that all test got passed
Apart from this i between i have seen an error like
[nam] : make failed ERROR 1
for to overcome these bugs what should i do sir ??
Thanking You
Original comment by svsanand...@gmail.com
on 2 Nov 2012 at 9:52
[deleted comment]
Sir,
In the LTEpatch file which you have uploaded having
Edit the new Makefile , lines 41, 67, 82 to actual location in
ns-allinone-2.33/ns-2.33/ (at line.no 26)
This line is not clear to me sir
my doubt regarding this is are we supposed to change the path which is already
present to (( ns-allinone-2.33/ns-2.33/ )) and do the MAKE ???
Original comment by svsanand...@gmail.com
on 2 Nov 2012 at 11:14
This is what the error i am getting :( please help me out ASAP
asmaitha@ubuntu:~/ns-allinone-2.33/ns-2.33$ make
g++ -c -Wall -g -DTCP_DELAY_BIND_ALL -DNO_TK -DTCLCL_CLASSINSTVAR -DNDEBUG
-DLINUX_TCP_HEADER -DUSE_SHM -DHAVE_LIBTCLCL -DHAVE_TCLCL_H -DHAVE_LIBOTCL1_13
-DHAVE_OTCL_H -DHAVE_LIBTK8_4 -DHAVE_TK_H -DHAVE_LIBTCL8_4 -DHAVE_TCL_H
-DHAVE_CONFIG_H -DNS_DIFFUSION -DSMAC_NO_SYNC -DCPP_NAMESPACE=std
-DUSE_SINGLE_ADDRESS_SPACE -Drng_test -I. -I.
-I/root/ns-allinone-2.33/tclcl-1.19 -I/root/ns-allinone-2.33/otcl-1.13
-I/root/ns-allinone-2.33/include -I/root/ns-allinone-2.33/include
-I/usr/include/pcap -I./tcp -I./sctp -I./common -I./link -I./queue -I./adc
-I./apps -I./mac -I./mobile -I./trace -I./routing -I./tools -I./classifier
-I./mcast -I./diffusion3/lib/main -I./diffusion3/lib -I./project -I./tcp/linux
-I./tcp/linux/src -I./diffusion3/lib/nr -I./diffusion3/ns
-I./diffusion3/filter_core -I./asim/ -I./qs -I./diffserv -I./satellite -I./wpan
-o tools/random.o tools/random.cc
cc1plus: error: /root/ns-allinone-2.33/tclcl-1.19: Permission denied
cc1plus: error: /root/ns-allinone-2.33/otcl-1.13: Permission denied
cc1plus: error: /root/ns-allinone-2.33/include: Permission denied
cc1plus: error: /root/ns-allinone-2.33/include: Permission denied
make: *** [tools/random.o] Error 1
Original comment by svsanand...@gmail.com
on 2 Nov 2012 at 11:28
Sir, once check with my comment number 14 tell me what to edit in that MAKE
file i am not clear with that line sir.
Original comment by svsanand...@gmail.com
on 3 Nov 2012 at 5:10
Have you checked your NS is installed correctly???
Whether Path given is correct or not??
Original comment by cool.tau...@gmail.com
on 3 Nov 2012 at 5:50
Please put
/home/asmaitha/ns-allinone-2.33/bin:/home/asmaitha/ns-allinone-2.33/tcl8.4.18/un
ix:/home/asmaitha/ns-allinone-2.33/tk8.4.18/unix
into your PATH environment; so that you'll be able to run itm/tclsh/wish/xgraph.
IMPORTANT NOTICES:
(1) You MUST put /home/asmaitha/ns-allinone-2.33/otcl-1.13,
/home/asmaitha/ns-allinone-2.33/lib,
into your LD_LIBRARY_PATH environment variable.
If it complains about X libraries, add path to your X libraries
into LD_LIBRARY_PATH.
If you are using csh, you can set it like:
setenv LD_LIBRARY_PATH <paths>
If you are using sh, you can set it like:
export LD_LIBRARY_PATH=<paths>
(2) You MUST put /home/asmaitha/ns-allinone-2.33/tcl8.4.18/library into your
TCL_LIBRARY environmental
variable. Otherwise ns/nam will complain during startup.
After these steps, you can now run the ns validation suite with
cd ns-2.33; ./validate
For trouble shooting, please first read ns problems page
http://www.isi.edu/nsnam/ns/ns-problems.html. Also search the ns mailing list
archive
for related posts.
i did these changes in bashrc file and apart from this i have set the path what
it was asking me even though i am getting the same error.
and when i did the ./validate then i got
all test passed
here is the validate file also
Thank you in advance.
Original comment by svsanand...@gmail.com
on 3 Nov 2012 at 7:51
Attachments:
Original issue reported on code.google.com by
cool.tau...@gmail.com
on 16 Aug 2012 at 6:33