Hello,
With your guidance, I have installed ns2.27 on ubuntu10.04 successfully.
HOwever, I get the following message.
>Please compile your xgraph separately.
>Please compile your gt-itm & sgb2ns separately.
[1]How can i compile the xgraph, gt-itm & sgb2ns spearately?
[2]And my main aim is to patch the hcca on ns2.27
I follow this link for hcca patch:
http://cng1.iet.unipi.it/wiki/index.php/Ns2hcca
But patching is not successful yet. I encountered the following message,
chithra@ubuntu:~/ns-allinone-2.27$ gzip -dc ns2hcca-2.27-060823.patch.gz | patch -Np1
patching file mac/Doxyfile
patching file mac/hccasched/mac-hccasched.cc
patching file mac/hccasched/mac-hccasched.h
patching file mac/hccasched/mac-hccasched_map.cc
patching file mac/hccasched/mac-hccasched_map.h
patching file mac/hccasched/mac-hccasched_map_ref.cc
patching file mac/hccasched/mac-hccasched_map_ref.h
patching file mac/hccasched/mac-hccasched_oneflow.cc
patching file mac/hccasched/mac-hccasched_oneflow.h
patching file mac/hccasched/mac-hccasched_par.cc
patching file mac/hccasched/mac-hccasched_par.h
patching file mac/hccasched/mac-hccasched_periodic.cc
patching file mac/hccasched/mac-hccasched_periodic.h
patching file mac/ll.cc
Hunk #1 FAILED at 34.
Hunk #2 FAILED at 44.
Hunk #3 FAILED at 67.
Hunk #4 FAILED at 224.
Hunk #5 FAILED at 241.
5 out of 5 hunks FAILED -- saving rejects to file mac/ll.cc.rej
patching file mac/ll.h
Hunk #1 FAILED at 36.
Hunk #2 FAILED at 46.
Hunk #3 FAILED at 113.
3 out of 3 hunks FAILED -- saving rejects to file mac/ll.h.rej
patching file mac/mac-802_11.cc
Hunk #1 FAILED at 36.
Hunk #2 FAILED at 160.
Hunk #3 FAILED at 283.
Hunk #4 FAILED at 378.
Hunk #5 FAILED at 453.
Hunk #6 FAILED at 715.
Hunk #7 FAILED at 772.
Hunk #8 FAILED at 810.
Hunk #9 FAILED at 885.
Hunk #10 FAILED at 1066.
Hunk #11 FAILED at 1164.
Hunk #12 FAILED at 1436.
Hunk #13 FAILED at 1506.
Hunk #14 FAILED at 1612.
Hunk #15 FAILED at 1700.
Hunk #16 FAILED at 1728.
Hunk #17 FAILED at 2169.
Hunk #18 FAILED at 2188.
Hunk #19 FAILED at 2216.
Hunk #20 FAILED at 2228.
20 out of 20 hunks FAILED -- saving rejects to file mac/mac-802_11.cc.rej
patching file mac/mac-802_11.h
Hunk #1 FAILED at 37.
Hunk #2 FAILED at 46.
Hunk #3 FAILED at 63.
Hunk #4 FAILED at 88.
Hunk #5 FAILED at 152.
Hunk #6 FAILED at 212.
Hunk #7 FAILED at 232.
Hunk #8 FAILED at 244.
Hunk #9 FAILED at 261.
Hunk #10 FAILED at 341.
Hunk #11 FAILED at 351.
Hunk #12 FAILED at 363.
Hunk #13 FAILED at 399.
Hunk #14 FAILED at 450.
Hunk #15 FAILED at 512.
Hunk #16 FAILED at 568.
Hunk #17 FAILED at 578.
17 out of 17 hunks FAILED -- saving rejects to file mac/mac-802_11.h.rej
patching file mac/mac-802_11e.cc
patching file mac/mac-802_11e.h
patching file mac/mac-classifier.cc
patching file mac/mac-classifier.h
patching file mac/mac-timers.cc
Hunk #1 FAILED at 33.
Hunk #2 FAILED at 46.
Hunk #3 FAILED at 68.
Hunk #4 FAILED at 85.
Hunk #5 FAILED at 123.
Hunk #6 FAILED at 219.
Hunk #7 FAILED at 249.
Hunk #8 FAILED at 299.
Hunk #9 FAILED at 324.
9 out of 9 hunks FAILED -- saving rejects to file mac/mac-timers.cc.rej
patching file mac/mac-timers.h
Hunk #1 FAILED at 33.
Hunk #2 FAILED at 40.
Hunk #3 FAILED at 138.
3 out of 3 hunks FAILED -- saving rejects to file mac/mac-timers.h.rej
patching file common/packet.h
Hunk #1 FAILED at 47.
Hunk #2 FAILED at 54.
Hunk #3 FAILED at 472.
Hunk #4 FAILED at 538.
4 out of 4 hunks FAILED -- saving rejects to file common/packet.h.rej
patching file common/simulator.cc
Hunk #1 FAILED at 21.
Hunk #2 FAILED at 33.
Hunk #3 FAILED at 65.
3 out of 3 hunks FAILED -- saving rejects to file common/simulator.cc.rej
patching file common/simulator.h
Hunk #1 FAILED at 25.
Hunk #2 FAILED at 47.
Hunk #3 FAILED at 55.
3 out of 3 hunks FAILED -- saving rejects to file common/simulator.h.rej
patching file common/stat.cc
patching file common/stat.h
patching file common/statconf.h
patching file noah/noah.cc
patching file noah/noah.h
patching file tcl/ex/hcca/analyze.pl
patching file tcl/ex/hcca/example.tcl
patching file tcl/ex/hcca/header
patching file tcl/lib/ns-agent.tcl
Hunk #1 FAILED at 192.
1 out of 1 hunk FAILED -- saving rejects to file tcl/lib/ns-agent.tcl.rej
patching file tcl/lib/ns-lib.tcl
Hunk #1 FAILED at 193.
Hunk #2 FAILED at 604.
Hunk #3 FAILED at 766.
Hunk #4 FAILED at 2194.
4 out of 4 hunks FAILED -- saving rejects to file tcl/lib/ns-lib.tcl.rej
patching file tcl/lib/ns-mobilenode.tcl
Hunk #1 FAILED at 451.
Hunk #2 FAILED at 468.
Hunk #3 FAILED at 622.
3 out of 3 hunks FAILED -- saving rejects to file tcl/lib/ns-mobilenode.tcl.rej
patching file tcl/mobility/noah.tcl
patching file tools/e2em.h
patching file tools/e2em.cc
patching file tools/e2et.h
patching file tools/e2et.cc
patching file tools/timestamper.cc
patching file tools/rng.cc
Hunk #1 FAILED at 34.
Hunk #2 FAILED at 68.
Hunk #3 FAILED at 258.
Hunk #4 FAILED at 278.
Hunk #5 FAILED at 461.
Hunk #6 FAILED at 801.
6 out of 6 hunks FAILED -- saving rejects to file tools/rng.cc.rej
patching file Makefile.in
Hunk #1 FAILED at 57.
Hunk #2 FAILED at 69.
Hunk #3 FAILED at 147.
Hunk #4 FAILED at 293.
Hunk #5 FAILED at 348.
5 out of 5 hunks FAILED -- saving rejects to file Makefile.in.rej
patching file tcl/lib/ns-default.tcl
Hunk #1 FAILED at 438.
Hunk #2 FAILED at 467.
Hunk #3 FAILED at 606.
Hunk #4 FAILED at 1270.
4 out of 4 hunks FAILED -- saving rejects to file tcl/lib/ns-default.tcl.rej
Can you please kindly help me out how to resolve this issue??
KIndly let me know your suggestion.
Thanks for your consistent support!