i have given below the error occured while making
can any one help me out please?
make[1]: Leaving directory `/ns2/ns-allinone-2.1b6/ns-2.1b6/indep-utils/cmu-scen-gen/setdest'
make[1]: Entering directory `/ns2/ns-allinone-2.1b6/ns-2.1b6/indep-utils/webtrace-conv/dec'
c++ -c -O2 -I. -I/ns2/ns-allinone-2.1b6/tclcl-1.0b9 -I/ns2/ns-allinone-2.1b6/otcl-1.0a5 -I/ns2/ns-allinone-2.1b6/tkbox/include -I/ns2/ns-allinone-2.1b6/tclbox/include -o proxytrace.o proxytrace.cc
proxytrace.cc: In function `size_t ReadHeader (FILE *, void *)':
proxytrace.cc:86: `exit' undeclared (first use this function)proxytrace.cc:86: (Each undeclared identifier is reported only once for
each function it appears in.)
make[1]: *** [proxytrace.o] Error 1
.............................................
......................................
....................................
......................................
make[1]: Leaving directory `/ns2/ns-allinone-2.1b6/ns-2.1b6/indep-utils/webtrace-conv/nlanr'
make[1]: Entering directory `/ns2/ns-allinone-2.1!
! b6/ns-2.1b6/indep-utils/webtrace-conv/ucb'
c++ -c -O2 -I. -I/ns2/ns-allinone-2.1b6/tclcl-1.0b9 -I/ns2/ns-allinone-2.1b6/otcl-1.0a5 -I/ns2/ns-allinone-2.1b6/tkbox/include -I/ns2/ns-allinone-2.1b6/tclbox/include -o tr-stat.o tr-stat.cc
c++ -c -O2 -I. -I/ns2/ns-allinone-2.1b6/tclcl-1.0b9 -I/ns2/ns-allinone-2.1b6/otcl-1.0a5 -I/ns2/ns-allinone-2.1b6/tkbox/include -I/ns2/ns-allinone-2.1b6/tclbox/include -o logparse.o logparse.cc
c++ -c -O2 -I. -I/ns2/ns-allinone-2.1b6/tclcl-1.0b9 -I/ns2/ns-allinone-2.1b6/otcl-1.0a5 -I/ns2/ns-allinone-2.1b6/tkbox/include -I/ns2/ns-allinone-2.1b6/tclbox/include -o utils.o utils.cc
utils.cc: In function `int saccept (int)':
utils.cc:358: cannot convert `int *' to `socklen_t *' for argument `3'
to `accept (int, sockaddr *, socklen_t *)'
utils.cc: In function `int sportnum (int)':
utils.cc:469: cannot convert `int *' to `socklen_t *' for argument `3'
to `getsockname (int, sockaddr *, socklen_t *)'
make[1]: *** [utils.o] !
Er! ror 1
make[1]: Leaving directory `/ns2/ns-allinone-2.1b6/ns-2.1b6/indep-utils/webtrace-conv/ucb'
make: *** [all-recursive] Error 2
Ns make failed!
P. JayaChanthar,