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

[ns] still problems on compiling



Hello
I got the "daily update" this morning (Central Europe Time)
and the make complains the following error:

make[1]: Entering directory
`/opt/EBBO/ns-allinone-2.1b6/ns-2.1b7/indep-utils/webtrace-conv/ucb'
c++ -c -O2 -I. -I/opt/EBBO/ns-allinone-2.1b6/tclcl-1.0b9
-I/opt/EBBO/ns-allinone-2.1b6/otcl-1.0a5
-I/opt/EBBO/ns-allinone-2.1b6/tkbox/include
-I/opt/EBBO/ns-allinone-2.1b6/tclbox/include -o utils.o utils.cc
utils.cc: In function `int saccept(int)':
utils.cc:358: passing `int *' as argument 3 of `accept(int, sockaddr *,
socklen_t *)' changes signedness
utils.cc: In function `int sportnum(int)':
utils.cc:469: passing `int *' as argument 3 of `getsockname(int,
sockaddr *, socklen_t *)' changes signedness
make[1]: *** [utils.o] Error 1
make[1]: Leaving directory
`/opt/EBBO/ns-allinone-2.1b6/ns-2.1b7/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

Does somebody know how to go on?
I put a comment on the ns configure call in the install script and the
installation procedure reach the end. I miss the ns compiling "only"...

Thanks in advance
/Umberto

PS I've commented the line 443 in the file ns-2.1b7/node.cc otherwise I
got an error