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

[ns] nse compiling



Hi,
I tried to compile nse for emulation support but I received the following
errors

emulate/net-ip.cc: In method `int UDPIPNetwork::recv(unsigned char *, int,
sockaddr &, double &)':
emulate/net-ip.cc:284: `socklen_t' undeclared (first use this function)
emulate/net-ip.cc:284: (Each undeclared identifier is reported only once
emulate/net-ip.cc:284: for each function it appears in.)
emulate/net-ip.cc:284: parse error before `)'
emulate/net-ip.cc: In method `int IPNetwork::recv(unsigned char *, int,
sockaddr &, double &)':
emulate/net-ip.cc:556: parse error before `)'
emulate/net-ip.cc: In method `int IPNetwork::open(int)':
emulate/net-ip.cc:710: passing `int *' as argument 4 of `setsockopt(int,
int, int, const char *, int)'
emulate/net-ip.cc: In method `int IPNetwork::setmloop(int, int)':
emulate/net-ip.cc:885: passing `unsigned char *' as argument 4 of
`setsockopt(int, int, int, const char *, int)' changes signedness
make: *** [emulate/net-ip.o] Error 1

where can I find the right source code for net-ip.cc ?
Thanks

F
_____________________________________________