see attached build.log and patch
Created attachment 248056 [details] /tmp/dsniff-2.4_beta1-build.log
Created attachment 248058 [details] /home/ohnobinki/gentoo-x86-cvs/net-analyzer/dsniff/files/dsniff-2.4_beta1-makefile-parallel.patch
Couldn't reproduce it, but it looks good.
It's in -r5.
>>> Compiling source in /var/tmp/portage/net-analyzer/dsniff-2.4_beta1-r5/work/dsniff-2.4 ... make -j10 CC=i686-pc-linux-gnu-gcc i686-pc-linux-gnu-gcc -O2 -pipe -Wall -ggdb -march=athlon-xp -D_BSD_SOURCE -D_BSD_SOURCE -D__BSD_SOURCE -D__FAVOR_BSD -DHAVE_NET_ETHERNET_H -I. -I./missing -c ./arpspoof.c i686-pc-linux-gnu-gcc -O2 -pipe -Wall -ggdb -march=athlon-xp -D_BSD_SOURCE -D_BSD_SOURCE -D__BSD_SOURCE -D__FAVOR_BSD -DHAVE_NET_ETHERNET_H -I. -I./missing -c ./arp.c i686-pc-linux-gnu-gcc -O2 -pipe -Wall -ggdb -march=athlon-xp -D_BSD_SOURCE -D_BSD_SOURCE -D__BSD_SOURCE -D__FAVOR_BSD -DHAVE_NET_ETHERNET_H -I. -I./missing -c ./missing/dummy.c i686-pc-linux-gnu-gcc -O2 -pipe -Wall -ggdb -march=athlon-xp -D_BSD_SOURCE -D_BSD_SOURCE -D__BSD_SOURCE -D__FAVOR_BSD -DHAVE_NET_ETHERNET_H -I. -I./missing -c ./missing/strlcpy.c i686-pc-linux-gnu-gcc -O2 -pipe -Wall -ggdb -march=athlon-xp -D_BSD_SOURCE -D_BSD_SOURCE -D__BSD_SOURCE -D__FAVOR_BSD -DHAVE_NET_ETHERNET_H -I. -I./missing -c ./missing/strlcat.c i686-pc-linux-gnu-gcc -O2 -pipe -Wall -ggdb -march=athlon-xp -D_BSD_SOURCE -D_BSD_SOURCE -D__BSD_SOURCE -D__FAVOR_BSD -DHAVE_NET_ETHERNET_H -I. -I./missing -c ./missing/md5.c i686-pc-linux-gnu-gcc -O2 -pipe -Wall -ggdb -march=athlon-xp -D_BSD_SOURCE -D_BSD_SOURCE -D__BSD_SOURCE -D__FAVOR_BSD -DHAVE_NET_ETHERNET_H -I. -I./missing -c ./dnsspoof.c make: *** No rule to make target `mount.h', needed by `pcaputil.o'. Stop. make: *** Waiting for unfinished jobs.... ./arp.c: In function ‘arp_cache_lookup’: ./arp.c:107: warning: dereferencing pointer ‘sin’ does break strict-aliasing rules ./arp.c:106: warning: dereferencing pointer ‘sin’ does break strict-aliasing rules ./arp.c:105: note: initialized from here ./arpspoof.c: In function ‘arp_send’: ./arpspoof.c:58: warning: pointer targets in assignment differ in signedness ./dnsspoof.c: In function ‘dns_spoof’: ./dnsspoof.c:227: warning: pointer targets in assignment differ in signedness ./dnsspoof.c:231: warning: pointer targets in passing argument 1 of ‘__dn_comp’ differ in signedness /usr/include/resolv.h:353: note: expected ‘const char *’ but argument is of type ‘u_char *’ emake failed * ERROR: net-analyzer/dsniff-2.4_beta1-r5 failed: * emake failed
SRCS = [...] pcaputil.c [...] GEN = mount.h [...] <-- mount.h OBJS = $(SRCS:.c=.o) <-- pcaputil.o $(OBJS): $(GEN)
Created attachment 248211 [details] files/2.4_beta1-make.patch Fixes the original bug and the new problem introduced by my first patch.
Fixed again.
*** Bug 338254 has been marked as a duplicate of this bug. ***
(In reply to comment #8) > Fixed again. Very sorry, but it seems my last commit failed somehow - the commit did succeed just now so the fix should be on a mirror near you in around an hour from now.