sudo port -v install dsniff-devel ---> Building dsniff-devel with target all gcc -O2 -D_BSD_SOURCE -DLIBNET_LIL_ENDIAN -DDSNIFF_LIBDIR=\"/opt/local/lib/\" -I. -I/opt/local/include -I/opt/local/include -I/opt/local/include -I/opt/local/include -I/usr/X11/include -I./missing -c ./dnsspoof.c ./dnsspoof.c: In function 'dns_spoof': ./dnsspoof.c:185: error: 'HEADER' undeclared (first use in this function) ./dnsspoof.c:185: error: (Each undeclared identifier is reported only once ./dnsspoof.c:185: error: for each function it appears in.) ./dnsspoof.c:185: error: 'dns' undeclared (first use in this function) ./dnsspoof.c:194: error: syntax error before ')' token ./dnsspoof.c:201: error: 'QUERY' undeclared (first use in this function) ./dnsspoof.c:212: error: 'C_IN' undeclared (first use in this function) ./dnsspoof.c:217: error: 'T_A' undeclared (first use in this function) ./dnsspoof.c:226: error: 'T_PTR' undeclared (first use in this function) ./dnsspoof.c:227: warning: pointer targets in assignment differ in signedness ./dnsspoof.c:231: warning: pointer targets in passing argument 1 of 'res_9_dn_comp' differ in signedness ./dnsspoof.c:247: error: syntax error before ')' token make: *** [dnsspoof.o] Error 1 Error: Target org.macports.build returned: shell command " cd "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_net_dsniff-devel/work/dsniff-2.4" && make all " returned error 2 Command output: gcc -O2 -D_BSD_SOURCE -DLIBNET_LIL_ENDIAN -DDSNIFF_LIBDIR=\"/opt/local/lib/\" -I. -I/opt/local/include -I/opt/local/include -I/opt/local/include -I/opt/local/include -I/usr/X11/include -I./missing -c ./dnsspoof.c ./dnsspoof.c: In function 'dns_spoof': ./dnsspoof.c:185: error: 'HEADER' undeclared (first use in this function) ./dnsspoof.c:185: error: (Each undeclared identifier is reported only once ./dnsspoof.c:185: error: for each function it appears in.) ./dnsspoof.c:185: error: 'dns' undeclared (first use in this function) ./dnsspoof.c:194: error: syntax error before ')' token ./dnsspoof.c:201: error: 'QUERY' undeclared (first use in this function) ./dnsspoof.c:212: error: 'C_IN' undeclared (first use in this function) ./dnsspoof.c:217: error: 'T_A' undeclared (first use in this function) ./dnsspoof.c:226: error: 'T_PTR' undeclared (first use in this function) ./dnsspoof.c:227: warning: pointer targets in assignment differ in signedness ./dnsspoof.c:231: warning: pointer targets in passing argument 1 of 'res_9_dn_comp' differ in signedness ./dnsspoof.c:247: error: syntax error before ')' token make: *** [dnsspoof.o] Error 1 Warning: the following items did not execute (for dsniff-devel): org.macports.activate org.macports.build org.macports.destroot org.macports.install Error: Status 1 encountered during processing.