[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[ns] ns-allinone-2.1b6 Problem
Hello !
******
I need to install ns-2.1b6 under Linux.
I use SuSE Linux 7.1 (Kernel 2.4.0). I always get
the following error. I have already patched the file tclPosixStr.c
and geog.c. Can anyone please help me ?
------------------------------------------------------------------------------
c++ -c -O2 -I. -I/home/nshaw/ns-allinone-2.1b6/tclcl-1.0b9
-I/home/nshaw/ns-allinone-2.1b6/otcl-1.0a5
-I/home/nshaw/ns-allinone-2.1b6/tkbox/include
-I/home/nshaw/ns-allinone-2.1b6/tclbox/include -o utils.o utils.cc
utils.cc: In function nt saccept(int)':
utils.cc:358: passing nt *' as argument 3 of ccept(int, sockaddr *,
socklen_t *)' changes signedness
utils.cc: In function nt sportnum(int)':
utils.cc:469: passing nt *' as argument 3 of etsockname(int, sockaddr
*,
socklen_t *)' changes signedness
make[1]: *** [utils.o] Error 1
make[1]: Leaving directory
/home/nshaw/ns-allinone-2.1b6/ns-2.1b6/indep-utils/webtrace-conv/ucb'
make: *** [all-recursive] Error 2
Ns make failed!
See http://www-mash.CS.Berkeley.EDU/ns/ns-problems.html for problems
------------------------------------------------------------------------------------------
sincerely yours
Andreas Huber