Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- root@chrubuntu:/home/user/Downloads/dsniff-2.3# make
- gcc -g -O2 -D_BSD_SOURCE -D_BSD_SOURCE -D__BSD_SOURCE -D__FAVOR_BSD -DHAVE_NET_ETHERNET_H -DDSNIFF_LIBDIR=\"/usr/local/lib/\" -I. -I/usr/include/pcap -I./missing -c ./arpspoof.c
- ./arpspoof.c: In function 'arp_send':
- ./arpspoof.c:49:6: warning: passing argument 1 of 'libnet_get_hwaddr' from incompatible pointer type [enabled by default]
- In file included from /usr/include/libnet.h:125:0,
- from ./arpspoof.c:20:
- /usr/include/./libnet/libnet-functions.h:1801:1: note: expected 'struct libnet_t *' but argument is of type 'struct libnet_link_int *'
- ./arpspoof.c:49:6: error: too many arguments to function 'libnet_get_hwaddr'
- In file included from /usr/include/libnet.h:125:0,
- from ./arpspoof.c:20:
- /usr/include/./libnet/libnet-functions.h:1801:1: note: declared here
- ./arpspoof.c:60:2: warning: passing argument 6 of 'libnet_build_ethernet' from incompatible pointer type [enabled by default]
- In file included from /usr/include/libnet.h:125:0,
- from ./arpspoof.c:20:
- /usr/include/./libnet/libnet-functions.h:490:1: note: expected 'struct libnet_t *' but argument is of type 'u_char *'
- ./arpspoof.c:60:2: error: too few arguments to function 'libnet_build_ethernet'
- In file included from /usr/include/libnet.h:125:0,
- from ./arpspoof.c:20:
- /usr/include/./libnet/libnet-functions.h:490:1: note: declared here
- ./arpspoof.c:64:20: error: 'ETH_H' undeclared (first use in this function)
- ./arpspoof.c:64:20: note: each undeclared identifier is reported only once for each function it appears in
- ./arpspoof.c:64:5: error: too few arguments to function 'libnet_build_arp'
- In file included from /usr/include/libnet.h:125:0,
- from ./arpspoof.c:20:
- /usr/include/./libnet/libnet-functions.h:564:1: note: declared here
- ./arpspoof.c:73:4: warning: format '%s' expects argument of type 'char *', but argument 4 has type 'int' [-Wformat]
- ./arpspoof.c:73:4: warning: format '%s' expects argument of type 'char *', but argument 5 has type 'int' [-Wformat]
- ./arpspoof.c:78:4: warning: format '%s' expects argument of type 'char *', but argument 4 has type 'int' [-Wformat]
- ./arpspoof.c: In function 'main':
- ./arpspoof.c:181:12: warning: assignment makes pointer from integer without a cast [enabled by default]
- make: *** [arpspoof.o] Error 1
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement