dsniff and Suse 9.2

From: Xao (te_at_ivorypetal.com)
Date: 11/10/04


Date: 10 Nov 2004 05:55:10 -0800

Has anyone been able to get dsniff v2.3 to compile under Suse 9.2?

I'm getting the following compile error:

linux:/home/tcogan/dloads/dsniff-2.3 # make
gcc -g -O2 -D_BSD_SOURCE -DLIBNET_LIL_ENDIAN -D_BSD_SOURCE
-D__BSD_SOURCE -D__FAVOR_BSD -DHAVE_NET_ETHERNET_H
-DDSNIFF_LIBDIR=\"/usr/local/lib/\" -I. -I/usr/X11R6/include
-I./missing -c ./missing/dummy.c
gcc -g -O2 -D_BSD_SOURCE -DLIBNET_LIL_ENDIAN -D_BSD_SOURCE
-D__BSD_SOURCE -D__FAVOR_BSD -DHAVE_NET_ETHERNET_H
-DDSNIFF_LIBDIR=\"/usr/local/lib/\" -I. -I/usr/X11R6/include
-I./missing -c ./missing/strlcpy.c
gcc -g -O2 -D_BSD_SOURCE -DLIBNET_LIL_ENDIAN -D_BSD_SOURCE
-D__BSD_SOURCE -D__FAVOR_BSD -DHAVE_NET_ETHERNET_H
-DDSNIFF_LIBDIR=\"/usr/local/lib/\" -I. -I/usr/X11R6/include
-I./missing -c ./missing/strlcat.c
gcc -g -O2 -D_BSD_SOURCE -DLIBNET_LIL_ENDIAN -D_BSD_SOURCE
-D__BSD_SOURCE -D__FAVOR_BSD -DHAVE_NET_ETHERNET_H
-DDSNIFF_LIBDIR=\"/usr/local/lib/\" -I. -I/usr/X11R6/include
-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 -DLIBNET_LIL_ENDIAN -D_BSD_SOURCE
-D__BSD_SOURCE -D__FAVOR_BSD -DHAVE_NET_ETHERNET_H
-DDSNIFF_LIBDIR=\"/usr/local/lib/\" -I. -I/usr/X11R6/include
-I./missing -c ./arpspoof.c
arpspoof.c: In function `arp_send':
arpspoof.c:49: warning: passing arg 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 arg 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
linux:/home/tcogan/dloads/dsniff-2.3 #



Relevant Pages

  • dsniff and Suse 9.2
    ... I'm getting the following compile error: ... arpspoof.c:60: warning: passing arg 6 of `libnet_build_ethernet' from ... arpspoof.c:64: error: (Each undeclared identifier is reported only ...
    (alt.os.linux.suse)
  • dsniff compile error on FC2
    ... arpspoof.c:60: warning: passing arg 6 of `libnet_build_ethernet' from incompatible pointer type ... arpspoof.c:64: error: (Each undeclared identifier is reported only once ...
    (Fedora)
  • Re: A basic device driver problem!
    ... CharDriver.c:22: warning: initialization from incompatible pointer type ... CharDriver.c:50: (Each undeclared identifier is reported only once ...
    (linux.redhat)
  • wireless problem using linux driver
    ... browsing around the web to find the windows driver, ... iwlist wlan0 [parameters] ... warning: assignment from incompatible pointer type ...
    (Ubuntu)
  • wireless linux driver problems
    ... browsing around the web to find the windows driver, ... iwlist wlan0 [parameters] ... warning: assignment from incompatible pointer type ...
    (Ubuntu)