hi satemadura i have the same project and i succeed after lot of tries and help from people here to patch ns2.33 with gpsr protocol
see this it's helpful
http://www.linuxquestions.org/questi...-a-4175448663/
and this
http://www.linuxquestions.org/questi...rs-4175500212/
if you succed to patch another protocol tell me
i can give you some advices i get from people and other members of this forum:
-No 64 bits with ns it's better to work in 32 bits os(linux)
-try to follow sharpely indications in hls readme file.
-when you'll try to run ns with the patched protocol (after successful installation ./install ) ensure to be in the directory containing the code xxx.tcl to run for hls it's ns-allinone.2.xx/ns2.xx/hls/utils/xyz.tcl
good coding