Advertisement
Guest User

Untitled

a guest
Jul 17th, 2013
153
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 2.34 KB | None | 0 0
  1. root@chrubuntu:/home/user/Downloads/dsniff-2.3# make
  2. 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
  3. ./arpspoof.c: In function 'arp_send':
  4. ./arpspoof.c:49:6: warning: passing argument 1 of 'libnet_get_hwaddr' from incompatible pointer type [enabled by default]
  5. In file included from /usr/include/libnet.h:125:0,
  6. from ./arpspoof.c:20:
  7. /usr/include/./libnet/libnet-functions.h:1801:1: note: expected 'struct libnet_t *' but argument is of type 'struct libnet_link_int *'
  8. ./arpspoof.c:49:6: error: too many arguments to function 'libnet_get_hwaddr'
  9. In file included from /usr/include/libnet.h:125:0,
  10. from ./arpspoof.c:20:
  11. /usr/include/./libnet/libnet-functions.h:1801:1: note: declared here
  12. ./arpspoof.c:60:2: warning: passing argument 6 of 'libnet_build_ethernet' from incompatible pointer type [enabled by default]
  13. In file included from /usr/include/libnet.h:125:0,
  14. from ./arpspoof.c:20:
  15. /usr/include/./libnet/libnet-functions.h:490:1: note: expected 'struct libnet_t *' but argument is of type 'u_char *'
  16. ./arpspoof.c:60:2: error: too few arguments to function 'libnet_build_ethernet'
  17. In file included from /usr/include/libnet.h:125:0,
  18. from ./arpspoof.c:20:
  19. /usr/include/./libnet/libnet-functions.h:490:1: note: declared here
  20. ./arpspoof.c:64:20: error: 'ETH_H' undeclared (first use in this function)
  21. ./arpspoof.c:64:20: note: each undeclared identifier is reported only once for each function it appears in
  22. ./arpspoof.c:64:5: error: too few arguments to function 'libnet_build_arp'
  23. In file included from /usr/include/libnet.h:125:0,
  24. from ./arpspoof.c:20:
  25. /usr/include/./libnet/libnet-functions.h:564:1: note: declared here
  26. ./arpspoof.c:73:4: warning: format '%s' expects argument of type 'char *', but argument 4 has type 'int' [-Wformat]
  27. ./arpspoof.c:73:4: warning: format '%s' expects argument of type 'char *', but argument 5 has type 'int' [-Wformat]
  28. ./arpspoof.c:78:4: warning: format '%s' expects argument of type 'char *', but argument 4 has type 'int' [-Wformat]
  29. ./arpspoof.c: In function 'main':
  30. ./arpspoof.c:181:12: warning: assignment makes pointer from integer without a cast [enabled by default]
  31. make: *** [arpspoof.o] Error 1
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement