[MacPorts] #25606: dsniff 2.3 build error

MacPorts noreply at macports.org
Fri Jul 9 13:40:37 PDT 2010


#25606: dsniff 2.3 build error
-----------------------------+----------------------------------------------
 Reporter:  vh3@…            |       Owner:  macports-tickets@…                   
     Type:  defect           |      Status:  new                                  
 Priority:  Normal           |   Milestone:                                       
Component:  ports            |     Version:  1.9.1                                
 Keywords:  dsniff arpspoof  |        Port:  dsniff                               
-----------------------------+----------------------------------------------
 Mac OS X 10.6.4
 Xcode 3.2.3

 i tried several installations, cleanups and tips mentioned in other
 Tickets (like cleaning /usr/local) but I always get the same error message
 shown in the following log. All dependent pgk´s are ok and up to date. No
 other Ports are installed. If you need any Information I´ll be glad to
 distribute it. Thanks in advance :-)

 {{{
 :info:configure creating Makefile
 :info:configure creating config.h
 :msg:configure --->  Building dsniff
 :debug:build build phase started at Fri Jul  9 21:53:25 CEST 2010
 :debug:build Executing org.macports.build (dsniff)
 :debug:build Environment: CPATH='/opt/local/include'
 CC_PRINT_OPTIONS_FILE='/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_net_dsniff/work/.CC_PRINT_OPTIONS'
 LIBRARY_PATH='/opt/local/lib' CC_PRINT_OPTIONS='YES'
 MACOSX_DEPLOYMENT_TARGET='10.6'
 :debug:build Assembled command: 'cd
 "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_net_dsniff/work/dsniff-2.3"
 && /usr/bin/make -j2 all'
 :info:build /usr/bin/gcc-4.2 -pipe -O2 -DBIND_8_COMPAT -arch x86_64
 -D_BSD_SOURCE -DHAVE_SOCKADDR_SA_LEN -DLIBNET_BSDISH_OS
 -DLIBNET_BSD_BYTE_SWAP -DDSNIFF_LIBDIR=\"/opt/local/lib/\" -I.
 -I/opt/local/include -I/opt/local/include -I/opt/local/include
 -I/opt/local/include  -I./missing -c ./missing/dummy.c
 :info:build /usr/bin/gcc-4.2 -pipe -O2 -DBIND_8_COMPAT -arch x86_64
 -D_BSD_SOURCE -DHAVE_SOCKADDR_SA_LEN -DLIBNET_BSDISH_OS
 -DLIBNET_BSD_BYTE_SWAP -DDSNIFF_LIBDIR=\"/opt/local/lib/\" -I.
 -I/opt/local/include -I/opt/local/include -I/opt/local/include
 -I/opt/local/include  -I./missing -c ./missing/md5.c
 :info:build /usr/bin/gcc-4.2 -pipe -O2 -DBIND_8_COMPAT -arch x86_64
 -D_BSD_SOURCE -DHAVE_SOCKADDR_SA_LEN -DLIBNET_BSDISH_OS
 -DLIBNET_BSD_BYTE_SWAP -DDSNIFF_LIBDIR=\"/opt/local/lib/\" -I.
 -I/opt/local/include -I/opt/local/include -I/opt/local/include
 -I/opt/local/include  -I./missing -c ./arpspoof.c
 :info:build ./arpspoof.c:25: warning: 'struct ether_addr' declared inside
 parameter list
 :info:build ./arpspoof.c:25: warning: its scope is only this definition or
 declaration, which is probably not what you want
 :info:build ./arpspoof.c:26: warning: 'struct ether_addr' declared inside
 parameter list
 :info:build ./arpspoof.c: In function 'arp_send':
 :info:build ./arpspoof.c:49: warning: passing argument 1 of
 'libnet_get_hwaddr' from incompatible pointer type
 :info:build ./arpspoof.c:49: error: too many arguments to function
 'libnet_get_hwaddr'
 :info:build ./arpspoof.c:60: warning: passing argument 6 of
 'libnet_build_ethernet' from incompatible pointer type
 :info:build ./arpspoof.c:60: error: too few arguments to function
 'libnet_build_ethernet'
 :info:build ./arpspoof.c:64: error: 'ETH_H' undeclared (first use in this
 function)
 :info:build ./arpspoof.c:64: error: (Each undeclared identifier is
 reported only once
 :info:build ./arpspoof.c:64: error: for each function it appears in.)
 :info:build ./arpspoof.c:64: error: too few arguments to function
 'libnet_build_arp'
 :info:build ./arpspoof.c:67: warning: passing argument 1 of 'ether_ntoa'
 from incompatible pointer type
 :info:build ./arpspoof.c:71: warning: passing argument 1 of 'ether_ntoa'
 from incompatible pointer type
 :info:build ./arpspoof.c:73: warning: format '%s' expects type 'char *',
 but argument 4 has type 'int'
 :info:build ./arpspoof.c:73: warning: format '%s' expects type 'char *',
 but argument 5 has type 'int'
 :info:build ./arpspoof.c:77: warning: passing argument 1 of 'ether_ntoa'
 from incompatible pointer type
 :info:build ./arpspoof.c:78: warning: format '%s' expects type 'char *',
 but argument 4 has type 'int'
 :info:build ./arpspoof.c:80: warning: passing argument 1 of 'ether_ntoa'
 from incompatible pointer type
 :info:build ./arpspoof.c: In function 'arp_find':
 :info:build ./arpspoof.c:114: warning: passing argument 2 of
 'arp_cache_lookup' from incompatible pointer type
 :info:build ./arpspoof.c: In function 'main':
 :info:build ./arpspoof.c:181: warning: assignment makes pointer from
 integer without a cast
 :info:build make: *** [arpspoof.o] Error 1
 :info:build make: *** Waiting for unfinished jobs....
 :info:build shell command " cd
 "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_net_dsniff/work/dsniff-2.3"
 && /usr/bin/make -j2 all " returned error 2
 :error:build Target org.macports.build returned: shell command failed
 :debug:build Backtrace: shell command failed
     while executing
 "command_exec build"
     (procedure "portbuild::build_main" line 8)
     invoked from within
 "$procedure $targetname"
 :info:build Warning: the following items did not execute (for dsniff):
 org.macports.activate org.macports.build org.macports.destroot
 org.macports.install
 :notice:build Log for dsniff is at:
 /opt/local/var/macports/logs/_opt_local_var_macports_sources_rsync.macports.org_release_ports_net_dsniff/main.log
  }}}

-- 
Ticket URL: <http://trac.macports.org/ticket/25606>
MacPorts <http://www.macports.org/>
Ports system for Mac OS


More information about the macports-tickets mailing list