Re: [MacPorts] #12197: BUG: dsniff-2.3 build error
#12197: BUG: dsniff-2.3 build error --------------------------------------------+------------------------------- Reporter: thomaslenoir@club-internet.fr | Owner: macports-tickets@lists.macosforge.org Type: defect | Status: new Priority: Normal | Milestone: Port Bugs Component: ports | Version: 1.4.42 Resolution: | Keywords: Port: dsniff | --------------------------------------------+------------------------------- Changes (by blb@macports.org): * port: => dsniff Old description:
Here's what I get when I try to install dsniff (same thing with 2.4b1) : (it's on a macbook with 10.4.10)
thepoisonapple:~ thomas$ sudo port install dsniff ---> Fetching dsniff ---> Attempting to fetch dsniff-2.3.tar.gz from http://monkey.org/~dugsong/dsniff/ ---> Verifying checksum(s) for dsniff ---> Extracting dsniff ---> Applying patches to dsniff ---> Configuring dsniff ---> Building dsniff with target all Error: Target com.apple.build returned: shell command " cd "/opt/local/var/db/dports/build/_opt_local_var_db_dports_sources_rsync.rsync.darwinports.org_dpupdate_dports_net_dsniff/work/dsniff-2.3" && make all " returned error 2 Command output: gcc -DBIND_8_COMPAT -O2 -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 ./missing/dummy.c gcc -DBIND_8_COMPAT -O2 -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 ./missing/md5.c ar -cr libmissing.a dummy.o md5.o ranlib: file: libmissing.a(dummy.o) has no symbols ranlib libmissing.a ranlib: file: libmissing.a(dummy.o) has no symbols gcc -DBIND_8_COMPAT -O2 -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: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 argument 1 of 'libnet_get_hwaddr' from incompatible pointer type ./arpspoof.c:49: error: too many arguments to function 'libnet_get_hwaddr' ./arpspoof.c:58: warning: pointer targets in assignment differ in signedness ./arpspoof.c:60: warning: passing argument 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 argument 1 of 'ether_ntoa' from incompatible pointer type ./arpspoof.c:71: warning: passing argument 1 of 'ether_ntoa' from incompatible pointer type ./arpspoof.c:77: warning: passing argument 1 of 'ether_ntoa' from incompatible pointer type ./arpspoof.c:80: warning: passing argument 1 of 'ether_ntoa' from incompatible pointer type ./arpspoof.c: In function 'arp_find': ./arpspoof.c:114: warning: passing argument 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 make: *** [arpspoof.o] Error 1
Error: Status 1 encountered during processing.
New description: Here's what I get when I try to install dsniff (same thing with 2.4b1) : (it's on a macbook with 10.4.10) {{{ thepoisonapple:~ thomas$ sudo port install dsniff ---> Fetching dsniff ---> Attempting to fetch dsniff-2.3.tar.gz from http://monkey.org/~dugsong/dsniff/ ---> Verifying checksum(s) for dsniff ---> Extracting dsniff ---> Applying patches to dsniff ---> Configuring dsniff ---> Building dsniff with target all Error: Target com.apple.build returned: shell command " cd "/opt/local/var/db/dports/build/_opt_local_var_db_dports_sources_rsync.rsync.darwinports.org_dpupdate_dports_net_dsniff/work/dsniff-2.3" && make all " returned error 2 Command output: gcc -DBIND_8_COMPAT -O2 -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 ./missing/dummy.c gcc -DBIND_8_COMPAT -O2 -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 ./missing/md5.c ar -cr libmissing.a dummy.o md5.o ranlib: file: libmissing.a(dummy.o) has no symbols ranlib libmissing.a ranlib: file: libmissing.a(dummy.o) has no symbols gcc -DBIND_8_COMPAT -O2 -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: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 argument 1 of 'libnet_get_hwaddr' from incompatible pointer type ./arpspoof.c:49: error: too many arguments to function 'libnet_get_hwaddr' ./arpspoof.c:58: warning: pointer targets in assignment differ in signedness ./arpspoof.c:60: warning: passing argument 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 argument 1 of 'ether_ntoa' from incompatible pointer type ./arpspoof.c:71: warning: passing argument 1 of 'ether_ntoa' from incompatible pointer type ./arpspoof.c:77: warning: passing argument 1 of 'ether_ntoa' from incompatible pointer type ./arpspoof.c:80: warning: passing argument 1 of 'ether_ntoa' from incompatible pointer type ./arpspoof.c: In function 'arp_find': ./arpspoof.c:114: warning: passing argument 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 make: *** [arpspoof.o] Error 1 Error: Status 1 encountered during processing. }}} -- -- Ticket URL: <http://trac.macports.org/ticket/12197#comment:5> MacPorts <http://www.macports.org/> Ports system for Mac OS
participants (1)
-
MacPorts