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

[ns] some file under web-trace



Dear ns users and ns developers:
 when I installing ns-2.1b6, the version released in Jan, I got the error
msg:

c++ -c -O2 -I. -I/home/yyu/ns/tclcl-1.0b9 -I/home/yyu/ns/otcl-1.0a5
-I/home/yyu/ns/tk8.0.4/generic -I/home/yyu/ns/tcl8.0.4/generic -o
my-endian.o my-endian.cc
my-endian.cc: In function `void ToOtherEndian(TEntry *)':
my-endian.cc:42: conversion from `short unsigned int' to `enum method_t'
my-endian.cc:45: conversion from `u_4bytes' to `enum method_t'
my-endian.cc:48: conversion from `short unsigned int' to `enum protocol_t'
my-endian.cc:51: conversion from `u_4bytes' to `enum protocol_t'
make[1]: *** [my-endian.o] Error 1

my-endian.cc is in directory: ns-2.1b6/indep-utils/webtrace-conv/dec

also error msg:
c++ -c -O2 -I. -I/home/yyu/ns/tclcl-1.0b9 -I/home/yyu/ns/otcl-1.0a5
-I/home/yyu/ns/tk8.0.4/generic -I/home/yyu/ns/tcl8.0.4/generic -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

utils.cc is IN directory: ns-2.1b6/indep-utils/webtrace-conv/ucb

could someone please look into this problem??
Thanks a LOT!
yan