Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- 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./missing -c ./missing/dummy.c
- 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./missing -c ./missing/strlcpy.c
- 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./missing -c ./missing/strlcat.c
- 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./missing -c ./missing/md5.c
- ar -cr libmissing.a dummy.o strlcpy.o strlcat.o md5.o
- ranlib libmissing.a
- 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./missing -c ./arpspoof.c
- ./arpspoof.c: In function ‘arp_send’:
- ./arpspoof.c:49: warning: passing argument 1 of ‘libnet_get_hwaddr’ from incompatible pointer type
- ./arpspoof.c:49: error: too many arguments to function ‘libnet_get_hwaddr’
- ./arpspoof.c:60: warning: passing argument 6 of ‘libnet_build_ethernet’ from incompatible pointer type
- ./arpspoof.c:60: error: too few arguments to function ‘libnet_build_ethernet’
- ./arpspoof.c:64: error: ‘ETH_H’ undeclared (first use in this function)
- ./arpspoof.c:64: error: (Each undeclared identifier is reported only once
- ./arpspoof.c:64: error: for each function it appears in.)
- ./arpspoof.c:64: error: too few arguments to function ‘libnet_build_arp’
- ./arpspoof.c: In function ‘main’:
- ./arpspoof.c:181: warning: assignment makes pointer from integer without a cast
- make: *** [arpspoof.o] Error 1
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement