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

ns make error in



Hi

I downloaded today's (Oct. 12th) snapshot of ns. After configure, when I
tried to 'make' it, I get  the following error:

c++ -c -g -Wall -DNO_TK -DTCLCL_CLASSINSTVAR  -fsigned-char -fno-inline -mv8 -msupersparc -D__svr4__ -DUSE_SHM -DHAVE_LIBTCLCL1_0B8 -DHAVE_TCLCL_H -DHAVE_LIBOTCL1_0A4 -DHAVE_OTCL_H -DHAVE_LIBTK8_0 -DHAVE_TK_H -DHAVE_LIBTCL8_0 -DHAVE_TCL_H  -DHAVE_CONFIG_H -I.   -I/csproject/qosperf/ns/tclcl-1.0b8-current -I/csproject/qosperf/ns/otcl-1.0a4 -I/csproject/qosperf/ns/tk8.0.4/generic -I/csproject/qosperf/ns/tcl8.0.4/generic -o aodv/aodv_logs.o aodv/aodv_logs.cc
In file included from aodv/aodv_logs.cc:6:
aodv/aodv.h: In method `int AODV::initialized()':
aodv/aodv.h:261: return to `int' from `NsObject *' lacks a cast
*** Error code 1
make: Fatal error: Command failed for target `aodv/aodv_logs.o'


How to fix this error. Please let me know the modifications.

thanks in advance. 

with Regards
Anurag,
---------------------------------------------
Computer Science Department, HKUST, Hong Kong
Lab. # 4204, Phone: + (852) 2358 8832 (Lab.)
             FAX  : + (852) 2358 1477 (Dept. off.)