LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Software (https://www.linuxquestions.org/questions/linux-software-2/)
-   -   dsniff 'make' error (https://www.linuxquestions.org/questions/linux-software-2/dsniff-make-error-58338/)

heffdini 05-06-2003 02:51 AM

dsniff 'make' error
 
I'm having a problem with dsniff, i get the following errors when i run make.. i installed all of the libs fine.. any guesses?

---------
make
gcc -g -O2 -D_BSD_SOURCE -DDSNIFF_LIBDIR=\"/usr/local/lib/\" -I. -I/usr/local/i
nclude -I/usr/local/include -I/usr/local/BerkeleyDB.4.1/include -I/usr/X11R6/i
nclude -I./missing -c ./arpspoof.c
cc1: warning: changing search order for system directory "/usr/local/include"
cc1: warning: as it has already been specified as a non-system directory
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:49: warning: passing arg 1 of `libnet_get_hwaddr' from incompatible p
ointer type
arpspoof.c:49: too many arguments to function `libnet_get_hwaddr'
arpspoof.c:60: warning: passing arg 6 of `libnet_build_ethernet' from incompatib
le pointer type
arpspoof.c:60: too few arguments to function `libnet_build_ethernet'
arpspoof.c:64: `ETH_H' undeclared (first use in this function)
arpspoof.c:64: (Each undeclared identifier is reported only once
arpspoof.c:64: for each function it appears in.)
arpspoof.c:64: too few arguments to function `libnet_build_arp'
arpspoof.c:67: warning: passing arg 1 of `ether_ntoa' from incompatible pointer
type
arpspoof.c:71: warning: passing arg 1 of `ether_ntoa' from incompatible pointer
type
arpspoof.c:77: warning: passing arg 1 of `ether_ntoa' from incompatible pointer
type
arpspoof.c:80: warning: passing arg 1 of `ether_ntoa' from incompatible pointer
type
arpspoof.c: In function `arp_find':
arpspoof.c:114: warning: passing arg 2 of `arp_cache_lookup' from incompatible p
ointer type
arpspoof.c: In function `main':
arpspoof.c:181: warning: assignment makes pointer from integer without a cast
/usr/include/bits/socket.h: At top level:
arpspoof.c:29: storage size of `spoof_mac' isn't known
arpspoof.c:29: storage size of `target_mac' isn't known
make: *** [arpspoof.o] Error 1
-------------------

plepps 06-18-2003 11:11 AM

hi,

i have the same error on my redhat 7.3 box.
did you have found a solution for this error?

regards
thomas

jamil5454 01-20-2004 08:44 AM

I'm having the exact same problem on my slackware 9.1 box. I've been googling and havent come up with anything :( . I wish someone could help.


All times are GMT -5. The time now is 04:43 AM.