A corrupt package / patch ?
I found the patch here
http://www.filesmeethere.com/File/ammedggco8dpg
> prerelease041707.tgz > src-prerelease-041707/ ( > patch-ns-2.31-041707 )
The patched files are also included in prerelease041707.tgz : "src-prerelease-041707/".
An easy way to use the files : 1) cp src-prerelease-041707/ ns-2.31
2) tar -cf wimax802.16-ns231-patch.tar ns-2.31/
3) tar xvf ns-allinone-2.31.tar.gz
4) cd ns-allinone-2.31/
5) tar xvf wimax802.16-ns231-patch.tar
6) ./install ( If the right compilers are set with the export command.)
7) Make a backup: cd ns-2.31/ ; cp ns ns-wimax802.16
8) cd tcl/wimax/
9) ns wimax1.tcl : OK.
10) bash test-be : OK too.
-