BlackHat root # CFLAGS="-mcpu=i686" MAKEOPTS="-j2" emerge nemesis Calculating dependencies ...done! >>> emerge (1 of 1) net-misc/nemesis-1.32 to / >>> md5 src_uri ;-) nemesis-1.32.tar.gz >>> Unpacking source... >>> Unpacking nemesis-1.32.tar.gz to /var/tmp/portage/nemesis-1.32/work patching file Makefile.in >>> Source unpacked. creating cache ./config.cache checking host system type... i686-pc-linux-gnu checking target system type... i686-pc-linux-gnu checking build system type... i686-pc-linux-gnu checking for gcc... gcc checking whether the C compiler (gcc -mcpu=i686 ) works... yes checking whether the C compiler (gcc -mcpu=i686 ) is a cross-compiler... no checking whether we are using GNU C... yes checking whether gcc accepts -g... yes checking how to run the C preprocessor... gcc -E checking for a BSD compatible install... /bin/install -c checking to see if we can add '-Wall' to CFLAGS... yes checking for libnet_build_ip in -lnet... no checking for pcap_open_live in -lpcap... yes checking for ANSI C header files... yes checking for sys/file.h... yes checking for sys/ioctl.h... yes checking for sys/time.h... yes checking for syslog.h... yes checking for unistd.h... yes checking for libnet.h... yes checking for pcap.h... yes checking for net/bpf.h... yes checking for working const... yes checking whether gcc needs -traditional... no checking for socket... yes checking for strdup... yes checking for strerror... yes updating cache ./config.cache creating ./config.status creating Makefile gcc -Wall -mcpu=i686 -I/usr/include -DLINUX -D_BSD_SOURCE -D__FAVOR_BSD `libnet-config --defines` -c nemesis-arp.c -o nemesis-arp.o gcc -Wall -mcpu=i686 -I/usr/include -DLINUX -D_BSD_SOURCE -D__FAVOR_BSD `libnet-config --defines` -c nemesis-proto_arp.c -o nemesis-proto_arp.o nemesis-proto_arp.c: In function `buildarp': nemesis-proto_arp.c:40: warning: implicit declaration of function `libnet_open_link_interface' nemesis-proto_arp.c:40: warning: assignment makes pointer from integer without a cast nemesis-proto_arp.c:49: warning: implicit declaration of function `libnet_open_raw_sock' nemesis-proto_arp.c:60: warning: implicit declaration of function `libnet_init_packet' nemesis-proto_arp.c:70: warning: passing arg 6 of `libnet_build_ethernet' from incompatible pointer type nemesis-proto_arp.c:70: error: too few arguments to function `libnet_build_ethernet' nemesis-proto_arp.c:89: warning: passing arg 12 of `libnet_build_arp' from incompatible pointer type nemesis-proto_arp.c:89: error: too few arguments to function `libnet_build_arp' nemesis-proto_arp.c:107: warning: passing arg 12 of `libnet_build_arp' from incompatible pointer type nemesis-proto_arp.c:107: error: too few arguments to function `libnet_build_arp' nemesis-proto_arp.c:109: warning: implicit declaration of function `libnet_write_link_layer' nemesis-proto_arp.c:118: error: dereferencing pointer to incomplete type nemesis-proto_arp.c:121: error: dereferencing pointer to incomplete type nemesis-proto_arp.c:124: warning: implicit declaration of function `libnet_destroy_packet' nemesis-proto_arp.c:125: warning: implicit declaration of function `libnet_close_raw_sock' make: *** [nemesis-proto_arp.o] Error 1 make: *** Waiting for unfinished jobs.... nemesis-arp.c: In function `main': nemesis-arp.c:76: warning: implicit declaration of function `libnet_name_resolve' nemesis-arp.c:141: warning: comparison between pointer and integer nemesis-arp.c:142: warning: passing arg 1 of `libnet_get_hwaddr' from incompatible pointer type nemesis-arp.c:142: error: too many arguments to function `libnet_get_hwaddr' nemesis-arp.c:142: warning: assignment from incompatible pointer type nemesis-arp.c: In function `defaults': nemesis-arp.c:250: warning: assignment makes integer from pointer without a cast nemesis-arp.c:251: warning: assignment makes integer from pointer without a cast nemesis-arp.c:252: warning: assignment makes integer from pointer without a cast nemesis-arp.c:253: warning: assignment makes integer from pointer without a cast nemesis-arp.c:254: warning: assignment makes integer from pointer without a cast nemesis-arp.c:255: warning: assignment makes integer from pointer without a cast make: *** [nemesis-arp.o] Error 1 !!! ERROR: net-misc/nemesis-1.32 failed. !!! Function src_compile, Line 27, Exitcode 2 !!! compile problem