Thank you for the help!
I followed the steps you suggested, but the build was, again, not successful. The error this time changed to:
============================================================
* Build OTcl-1.0a8
============================================================
No .configure file found in current directory
Continuing with default options...
checking build system type... i686-pc-none
checking host system type... i686-pc-none
checking target system type... i686-pc-none
checking for gcc... gcc34
checking for C compiler default output... configure: error: C compiler cannot create executables
otcl-1.0a8 configuration failed! Exiting ...
Please check
http://www.isi.edu/nsnam/ns/ns-problems.html
for common problems and bug fixes.
-------------------------------------------------------------------------------------------------------------
I am using the ubuntu version 16.04(LTS) and, I guess, that might be the cause of failure? as you mentioned about the contemporary version.
why ns-2.26?
Actually, I am working on my academic project in which I need to create a wireless network scenario which uses ZigBee routing protocol (tree). I was looking for suggestions over the internet and found
this page which says that it is supported by ns-2.26 and 2.27. So, I wanted to try it out on ns 2.26.
As per my understanding, Newer ns2 versions provide mac layer IEEE802.15.4 (wpan) implementation but not the (ZBR/ZTR) routing protocol.
Please correct me if I am wrong and kindly suggest what can be done here.
Thanks,