[ns] NS-2 allinone on cygwin installation problems...

Nick Elton nicholas.elton at gmail.com
Mon Jun 5 14:58:02 PDT 2006


I am having difficulty installing NS-2 and I was hoping someone may be able
to assist me...

 

I've downloaded the ns-allinone-2.2.9.3 tar file from Sourceforge and have
successfully completed installation of the latest version of cygwin.  I've
begun building ns-2 and all of the prerequisite checks have come back okay
(i.e. gcc, make, patch, perl, etc.).  Installation progresses for several
minutes until if gets to the point where it is trying to build tclcl-1.17
and I keep getting the same error message...

 

In file included from Tcl.cc:51:

tclcl-internal.h:36: error: declaration of C function 'int snprintf(char*,
int, const char*, ...)' conflicts with

/usr/include/stdio.h:237: error: previous declaration 'int snprintf(char*,
size_t, const char*, ...)' here

make: *** [Tcl.o] Error 1

tclcl-1.17 make failed! Exiting ...

See http://www.isi.edu/nsnam/ns/ns-problems.html for problems

 

I've tried downloading the latest version of Tclcl 1.17 from sourceforge,
but that just changed the error type to something else.  

 

I've seen that other people have had a similar problem with their
installation but I couldn't find anything that said how to correct this and
complete installation.  Any assistance anyone could provide would be greatly
appreciated.  

 

Thanks!

Nick

 



More information about the Ns-users mailing list