[ns] NS-2.27 make failed

Maryam Kashanaki m.kashanaki at gmail.com
Sat Jun 11 08:05:00 PDT 2011


Hi Friends,

I'm trying to install ns-allinone-2.27 on Fedora Core 10. The GCC 
compiler which is already installed on this version of Fedora is 4.3.2, 
so I've installed gcc 3.2.3 to be able to compile ns-2.27. I've 
installed ns-allinone-2.33 and ns-allinone-2.28 with no problem. But for 
2.27 i got this error msg:

make: *** No rule to make target 'VERSION', needed by 'gen/version.c'. Stop.

Ns make failed!

I've tracked the installation process, it can install everything 
successfully (TCL, TK, TCLC, ...), but when it comes to build ns-2.27, 
this error occurs. I've downloaded ns-allinone-2.27.tar.gz from 
http://www.isi.edu/nsnam/dist/ and I've extracted it with Linux command 
(tar zxvf ....). The directory "gen" includes the file version.c but 
it's empty. I've checked the same directory on ns-2.28 and the file 
contains "char version_string[] = "2.28"; ", so i also tried the same 
line of code as "char version_string[] = "2.27";" but the error still 
exists.


I need to install ns-2.27 to compile a specific packet.

Any help would be highly appreciated.

Thank you,
Maryam




More information about the Ns-users mailing list