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

Re: [ns] NSE



download a ns snapshot. I've fixed it a couple of weeks ago.

On Mon, 9 Oct 2000, Daniel Belz wrote:

> i try to make the nse, but i have one problem, with UDPIPNetwork. What
> is this? How i solve this?
> ps: is use freebsd 4.1 and ns allinone 2.1b6 (i try with 2.1b5 but with
> same problem).
> 
> 
> emulate/net-ip.cc:188: redefinition of `UDPIPNetwork::UDPIPNetwork()'
> emulate/net-ip.cc:158: `UDPIPNetwork::UDPIPNetwork()' previously defined
> here
> emulate/net-ip.cc: In method `int UDPIPNetwork::recv(u_char *, int,
> struct
> socka
> ddr &, double &)':
> emulate/net-ip.cc:282: warning: passing `int *' as argument 6 of
> `recvfrom(int,
> void *, size_t, int, sockaddr *, socklen_t *)' changes signedness
> emulate/net-ip.cc: In method `int IPNetwork::recv(u_char *, int, struct
> sockaddr
>  &, double &)':
> emulate/net-ip.cc:554: warning: passing `int *' as argument 6 of
> `recvfrom(int,
> void *, size_t, int, sockaddr *, socklen_t *)' changes signedness
> make: *** [emulate/net-ip.o] Error 1
>