[Lugge] Re: compilazione e UNDECLARED

  • From: asettico <asettico@xxxxxxxxxxxxxxx>
  • To: LUGGe <lugge@xxxxxxxxx>
  • Date: Wed, 03 Aug 2005 10:13:50 +0200

Marco Bertorello wrote:

root@cippalippa:/home/marcob/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/local/include -I/usr/local/include -I/usr/local/include -I./missing -c ./arpspoof.c ./arpspoof.c:25: warning: `struct
ether_addr' declared inside parameter list ./arpspoof.c:25: warning: its
scope is only this definition or declaration, which is probably not what
you want. ./arpspoof.c:26: warning: `struct ether_addr' declared inside
parameter list ./arpspoof.c: In function `arp_send':
./arpspoof.c:60: `ETHERTYPE_ARP' undeclared (first use in this function)

Così a naso, direi che manca un pacchetto di sviluppo che ha a che fare con la rete (indirizzi ed altro).
O forse qualche include del kernel stesso.
Scusa per la vaghezza... :-(
--
,= ,-_-. =. asettico ~ [ http://rossomaltese.it/ ]
((_/)o o(\_)) OpenPGP ~~ [ 1024D/1CB926BA 2003-11-29 ]
`-'(. .)`-'
\_/ http://keyserver.linux.it/pks/lookup?exact=on&search=asettico


Other related posts: