I encountered errors when compling hping2 on my solaris x86 box. I spent some time to find out what's the matter and finally got it solved.
libpcap_stuff.c
net/bpf.h not found.
To work around: just remove "#include <net/bpf.h>", 'cos it is changed to pcap-bpf.h and included by pcap.h
ars.h
error: parse error before "u_int8_t"
To work around: just add these to ars.h:
#define u_int8_t unsigned char
#define u_int16_t unsigned short
#define u_int32_t unsigned int
See also: hping open bugs
0 Comments so far