Opened 20 years ago

Closed 20 years ago

Last modified 19 years ago

#2491 closed defect (duplicate)

BUG: dsniff 2.3

Reported by: anita@… Owned by: tobypeterson
Priority: Normal Milestone:
Component: ports Version: 1.0
Keywords: Cc:
Port:

Description

dsniff fails to build:

---> Building dsniff with target all Error: Target com.apple.build returned: shell command "cd "/usr/local/src/darwinports/darwinports/ dports/net/dsniff/work/dsniff-2.3" && make all" returned error 2 Command output: gcc -DBIND_8_COMPAT -D_BSD_SOURCE -DDSNIFF_LIBDIR=\"/opt/local/lib/\" -I. -I/opt/local/include -I/opt/local/include -I/opt/local/include -I/opt/local/include -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: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 pointer type arpspoof.c: In function `main': arpspoof.c:181: warning: assignment makes pointer from integer without a cast arpspoof.c: At top level: arpspoof.c:29: error: storage size of `spoof_mac' isn't known arpspoof.c:29: error: storage size of `target_mac' isn't known make: * [arpspoof.o] Error 1

Change History (2)

comment:1 Changed 20 years ago by toby@…

Resolution: duplicate
Status: newclosed

* This bug has been marked as a duplicate of 2427 *

comment:2 Changed 19 years ago by snu@…

op_sys: All
Note: See TracTickets for help on using tickets.