#12197 closed defect (worksforme)
BUG: dsniff-2.3 build error
Reported by: | thomaslenoir@… | Owned by: | macports-tickets@… |
---|---|---|---|
Priority: | Normal | Milestone: | |
Component: | ports | Version: | 1.4.42 |
Keywords: | Cc: | thomaslenoir@…, phirince@… | |
Port: | dsniff |
Description (last modified by blb@…)
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.
Attachments (1)
Change History (8)
comment:1 Changed 17 years ago by pmq@…
Changed 17 years ago by adammoon@…
Attachment: | dsniff-install-debug.txt added |
---|
Output of port -d install dsniff
comment:2 Changed 17 years ago by adammoon@…
Hi
I have tried to install dsniff on my mac using port -d install dsniff. I have attached the out of the command. I have removed the libnet11 just in case it could conflict with libnet which is required by dsniff, but that did not help with this issue.
This is my machine
Machine Name: PowerBook G4 15"
Machine Model: PowerBook5,6 CPU Type: PowerPC G4 (1.2) Number Of CPUs: 1 CPU Speed: 1.67 GHz L2 Cache (per CPU): 512 KB Memory: 2 GB Bus Speed: 167 MHz Boot ROM Version: 4.9.1f3
The following ports are currently installed:
atk @1.18.0_0 (active) cairo @1.4.10_0 (active) expat @2.0.1_0 (active) fontconfig @2.4.2_0+macosx (active) freetype @2.3.5_0 (active) gettext @0.16.1_0 (active) glib2 @2.14.0_0 (active) gtk2 @2.10.14_0 (active) hping3 @20051105_0 (active) john @1.7.0.2_0 (active) jpeg @6b_2 (active) libiconv @1.11_4+darwin_8 (active) libnet @1.0.2a_3+darwin_8 libnids @1.20_0 (active) libpcap @0.9.5_1 (active) libpng @1.2.18_0+darwin_8 (active) netcat @1.10_2 (active) nmap @4.20_0 (active) openssl @0.9.8e_0+darwin_8 (active) pango @1.16.5_0 (active) pcre @7.3_0 (active) pkgconfig @0.22_0 (active) render @0.9_0 (active) tcl @8.4.15_0 (active) tiff @3.8.2_0+darwin_8 (active) wireshark @0.99.6_0+darwin_8 (active) Xft2 @2.1.12_0 (active) xorg-util-macros @1.1.5_0 (active) xorg-xproto @7.0.10_0 (active) xrender @0.9.0_0+darwin_8 (active) zlib @1.2.3_1 (active)
Thanks
comment:3 Changed 16 years ago by phirince@…
Seems like libnet port was not install properly. /opt/local/include/libnet.h does not exist.
Can you see if the file really exists and if so, what the permission of the file is?
If it doesn't exist, maybe you should try reinstalling port libnet.
-Phirince
comment:5 Changed 16 years ago by blb@…
Description: | modified (diff) |
---|---|
Port: | dsniff added |
comment:6 Changed 16 years ago by blb@…
Resolution: | → worksforme |
---|---|
Status: | new → closed |
Closing, lack of response (and works here).
Could you attach a build log, don't paste it inline. Thanks!