[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [ns] installation problem with ns-2.1b6 on linux Mandrake 8.0



add a line to tracedvar.cc before the code starts

#include<stdlib.h>

that will solve this problem

debo

On Tue, 5 Jun 2001, root wrote:

> I try to install the ns-2.1b6 on linux Mandrake 8.0 but i get the following 
> error:
> Can anyone help me?
> Do you know any patch that solve the problem? 
> 
> Thank you in advance!
> Alberto [email protected]
> 
> c++ -c -O2 -DNO_TK  -DNDEBUG -DUSE_SHM -DHAVE_LIBOTCL1_0A4 -DHAVE_OTCL_H 
> -DHAVE_LIBTK8_0 -DHAVE_TK_H -DHAVE_LIBTCL8_0 -DHAVE_TCL_H   -DSTDC_HEADERS=1 
> -DHAVE_STRING_H=1 -DHAVE_SNPRINTF=1 -DHAVE_STRTOQ=1 -DHAVE_STRTOLL=1 
> -DSIZEOF_LONG=4 -DHAVE_INT64=1 -DHAVE_TCL_H=1 -DHAVE_LIBTCL8_0=1 
> -DHAVE_TK_H=1 -DHAVE_LIBTK8_0=1 -DHAVE_OTCL_H=1 -DHAVE_LIBOTCL1_0A4=1  -I. 
> -I/ns-allinone-2.1b6/otcl-1.0a5 -I/ns-all
> inone-2.1b6/tkbox/include -I/ns-allinone-2.1b6/tclbox/include -o tracedvar.o 
> tracedvar.cc
> tracedvar.cc: In method `char *TracedInt::value (char *, int)':
> tracedvar.cc:102: `abort' undeclared (first use this function)
> tracedvar.cc:102: (Each undeclared identifier is reported only once for
> each function it appears in.)
> make: *** [tracedvar.o] Error 1
> tclcl-1.0b9 make failed! Exiting ...
> See http://www-mash.CS.Berkeley.EDU/ns/ns-problems.html for problems
> 
>