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

[ns] NS2.1b6-allinone install problems with web-trace



Hi all,

I am getting the following error when I try to install NS2.1b6 allinone.  I have looked at the ns-users list, but the errors with webtrace are not the same with mine.

Thanks,

Ty

for i in indep-utils/cmu-scen-gen/setdest  indep-utils/webtrace-conv/dec  indep-utils/webtrace-conv/epa  indep-utils/webtrace-conv/nlanr  indep-utils/webtrace-conv/ucb; do ( cd $i; make all; ) done
c++ -c  -I. -I/tools3/ns2/ns-allinone-2.1b6/tclcl-1.0b9 -I/tools3/ns2/ns-allinone-2.1b6/otcl-1.0a5 -I/tools3/ns2/ns-allinone-2.1b6/tkbox/include -I/tools3/ns2/ns-allinone-2.1b6/tclbox/include -o utils.o utils.cc
utils.cc: In function `const char * strcasestr(const char *, const char *)':
utils.cc:74: warning: implicit declaration of function `int strncasecmp(...)'
utils.cc: At top level:
utils.cc:174: parameter `t1' has incomplete type
utils.cc:174: parameter `t2' has incomplete type
utils.cc: In function `struct timespec ts_timeadd(struct timespec, struct timespec)':
utils.cc:174: return-type `struct timespec' is an incomplete type
utils.cc:174: new declaration `void ts_timeadd(struct timespec, struct timespec)'
utils.h:77: ambiguates old declaration `struct timespec ts_timeadd(struct timespec, struct timespec)'
utils.cc: In function `void ts_timeadd(struct timespec, struct timespec)':
utils.cc:175: aggregate `struct timespec ret' has incomplete type and cannot be initialized
utils.cc:184: confused by earlier errors, bailing out
*** Error code 1
make: Fatal error: Command failed for target `utils.o'
Current working directory /tools3/ns2/ns-allinone-2.1b6/ns-2.1b6/indep-utils/webtrace-conv/ucb
*** Error code 1
make: Fatal error: Command failed for target `all-recursive'
Ns make failed!
See http://www-mash.CS.Berkeley.EDU/ns/ns-problems.html for problems

sun2:/tools3/ns2/ns-allinone-2.1b6 
%