Opened 19 years ago

Closed 19 years ago

#4671 closed defect (fixed)

BUG: dsniff fails to compile

Reported by: bahamat@… Owned by: macports-tickets@…
Priority: Normal Milestone:
Component: ports Version: 1.0
Keywords: Cc: ryan@…
Port:

Description

Output follows:

$ sudo port install dsniff ---> Fetching 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/ file._opt_local_var_db_dports_sources_rsync.rsync.opendarwin.org_dpupdate_dports_net_dsniff/work/ dsniff-2.3" && make all" returned error 2 Command output: ./sshcrypto.c:156: error: dereferencing pointer to incomplete type ./sshcrypto.c:157: error: dereferencing pointer to incomplete type ./sshcrypto.c:160: error: dereferencing pointer to incomplete type ./sshcrypto.c:162: error: dereferencing pointer to incomplete type ./sshcrypto.c:164: error: dereferencing pointer to incomplete type ./sshcrypto.c:165: error: dereferencing pointer to incomplete type ./sshcrypto.c:166: error: dereferencing pointer to incomplete type ./sshcrypto.c: In function 'des3_encrypt': ./sshcrypto.c:176: error: dereferencing pointer to incomplete type ./sshcrypto.c:176: error: dereferencing pointer to incomplete type ./sshcrypto.c:178: error: dereferencing pointer to incomplete type ./sshcrypto.c:178: error: dereferencing pointer to incomplete type ./sshcrypto.c:178: error: 'DES_ENCRYPT' undeclared (first use in this function) ./sshcrypto.c:179: error: dereferencing pointer to incomplete type ./sshcrypto.c:179: error: dereferencing pointer to incomplete type ./sshcrypto.c:179: error: 'DES_DECRYPT' undeclared (first use in this function) ./sshcrypto.c:180: error: dereferencing pointer to incomplete type ./sshcrypto.c:180: error: dereferencing pointer to incomplete type ./sshcrypto.c: In function 'des3_decrypt': ./sshcrypto.c:189: error: dereferencing pointer to incomplete type ./sshcrypto.c:189: error: dereferencing pointer to incomplete type ./sshcrypto.c:191: error: dereferencing pointer to incomplete type ./sshcrypto.c:191: error: dereferencing pointer to incomplete type ./sshcrypto.c:191: error: 'DES_DECRYPT' undeclared (first use in this function) ./sshcrypto.c:192: error: dereferencing pointer to incomplete type ./sshcrypto.c:192: error: dereferencing pointer to incomplete type ./sshcrypto.c:192: error: 'DES_ENCRYPT' undeclared (first use in this function) ./sshcrypto.c:193: error: dereferencing pointer to incomplete type ./sshcrypto.c:193: error: dereferencing pointer to incomplete type make: * [sshcrypto.o] Error 1

Attachments (2)

dsniff-error.txt (59.4 KB) - added by ryan@… 19 years ago.
My debug output for a similar-looking build problem
dsniff.patch (926 bytes) - added by bahamat@… 19 years ago.
Patch to correct linking problems in sshcrypto.c

Download all attachments as: .zip

Change History (12)

comment:1 Changed 19 years ago by toby@…

Please do 'port -d install dsniff' and report your results.

comment:2 Changed 19 years ago by bahamat@…

As requested:

$ sudo port clean dsniff ---> Cleaning dsniff $ sudo port sync $ sudo port -d install dsniff DEBUG: Found port in file:///opt/local/var/db/dports/sources/ rsync.rsync.opendarwin.org_dpupdate_dports/net/dsniff DEBUG: Changing to port directory: /opt/local/var/db/dports/sources/ rsync.rsync.opendarwin.org_dpupdate_dports/net/dsniff DEBUG: Requested variant powerpc is not provided by port dsniff. DEBUG: Requested variant darwin is not provided by port dsniff. DEBUG: Requested variant macosx is not provided by port dsniff. DEBUG: Executing variant darwin_8 provides darwin_8 DEBUG: Found port in file:///opt/local/var/db/dports/sources/ rsync.rsync.opendarwin.org_dpupdate_dports/net/libpcap DEBUG: Changing to port directory: /opt/local/var/db/dports/sources/ rsync.rsync.opendarwin.org_dpupdate_dports/net/libpcap DEBUG: Searching for dependency: libpcap DEBUG: Found Dependency: receipt exists for libpcap DEBUG: Found port in file:///opt/local/var/db/dports/sources/ rsync.rsync.opendarwin.org_dpupdate_dports/net/libnet DEBUG: Changing to port directory: /opt/local/var/db/dports/sources/ rsync.rsync.opendarwin.org_dpupdate_dports/net/libnet DEBUG: Searching for dependency: libnet DEBUG: Found Dependency: receipt exists for libnet DEBUG: Found port in file:///opt/local/var/db/dports/sources/ rsync.rsync.opendarwin.org_dpupdate_dports/net/libnids DEBUG: Changing to port directory: /opt/local/var/db/dports/sources/ rsync.rsync.opendarwin.org_dpupdate_dports/net/libnids DEBUG: Searching for dependency: libnids DEBUG: Found Dependency: receipt exists for libnids DEBUG: Executing com.apple.main (dsniff) DEBUG: No TGZ archive: /opt/local/var/db/dports/packages/darwin/powerpc/dsniff-2.3_1 +darwin_8.powerpc.tgz DEBUG: Skipping unarchive (dsniff) since no archive found DEBUG: Skipping completed com.apple.unarchive (dsniff) ---> Fetching dsniff DEBUG: Executing com.apple.fetch (dsniff) ---> Verifying checksum(s) for dsniff DEBUG: Executing com.apple.checksum (dsniff) ---> Checksumming dsniff-2.3.tar.gz DEBUG: Correct (md5) checksum for dsniff-2.3.tar.gz ---> Extracting dsniff DEBUG: Executing com.apple.extract (dsniff) ---> Extracting dsniff-2.3.tar.gz DEBUG: setting option extract.args to /opt/local/var/db/dports/distfiles/dsniff/dsniff-2.3.tar.gz DEBUG: Assembled command: 'cd "/opt/local/var/db/dports/build/ file._opt_local_var_db_dports_sources_rsync.rsync.opendarwin.org_dpupdate_dports_net_dsniff/work" && gzip -dc /opt/local/var/db/dports/distfiles/dsniff/dsniff-2.3.tar.gz | gnutar --no-same-owner -xf -' DEBUG: Executing com.apple.patch (dsniff) ---> Applying patches to dsniff ---> Applying /opt/local/var/db/dports/sources/rsync.rsync.opendarwin.org_dpupdate_dports/net/ dsniff/files/patch-pcaputil.c DEBUG: Assembled command: 'cd "/opt/local/var/db/dports/build/ file._opt_local_var_db_dports_sources_rsync.rsync.opendarwin.org_dpupdate_dports_net_dsniff/work/ dsniff-2.3" && patch -p0' patching file pcaputil.c ---> Configuring dsniff DEBUG: Executing com.apple.configure (dsniff) DEBUG: Assembled command: 'cd "/opt/local/var/db/dports/build/ file._opt_local_var_db_dports_sources_rsync.rsync.opendarwin.org_dpupdate_dports_net_dsniff/work/ dsniff-2.3" && CFLAGS="-DBIND_8_COMPAT" ./configure --prefix=/opt/local --mandir=/opt/local/ share/man' creating cache ./config.cache checking for gcc... gcc checking whether the C compiler (gcc -DBIND_8_COMPAT ) works... yes checking whether the C compiler (gcc -DBIND_8_COMPAT ) is a cross-compiler... no checking whether we are using GNU C... yes checking whether gcc accepts -g... yes checking for a BSD compatible install... /usr/bin/install -c checking for ranlib... ranlib checking how to run the C preprocessor... gcc -E checking for X... libraries /usr/X11R6/lib, headers /usr/X11R6/include checking for dnet_ntoa in -ldnet... no checking for dnet_ntoa in -ldnet_stub... no checking for gethostbyname... yes checking for connect... yes checking for remove... yes checking for shmat... yes checking for IceConnectionNumber in -lICE... yes checking for ANSI C header files... yes checking for err.h... yes checking for fcntl.h... yes checking for sys/ioctl.h... yes checking for sys/queue.h... yes checking for unistd.h... yes checking for libgen.h... yes checking for net/if_tun.h... no checking for MIN and MAX in sys/param.h... yes checking for working const... yes checking for size_t... yes checking whether struct tm is in sys/time.h or time.h... time.h checking for u_int32_t... yes checking for u_int64_t... yes checking for in_addr_t... yes checking whether gcc needs -traditional... no checking for 8-bit clean memcmp... yes checking return type of signal handlers... void checking for strftime... yes checking for gethostname... yes checking for socket... yes checking for strdup... yes checking for strstr... yes checking for xdr_fhstatus in -lrpcsvc... no checking for socket in -lsocket... no checking for gethostbyname in -lnsl... no checking for dn_expand in -lresolv... yes checking for dirname... yes checking for strlcpy... yes checking for strlcat... yes checking for strsep... yes checking for MD5Update... no checking for warnx... yes checking for ether_ntoa... yes checking for Berkeley DB with 1.85 compatibility... yes checking for libpcap... yes checking for libnet... yes checking for libnids... yes checking whether libnids version is good... yes checking for OpenSSL... yes updating cache ./config.cache creating ./config.status creating Makefile creating config.h ---> Building dsniff with target all DEBUG: Executing com.apple.build (dsniff) DEBUG: Assembled command: 'cd "/opt/local/var/db/dports/build/ file._opt_local_var_db_dports_sources_rsync.rsync.opendarwin.org_dpupdate_dports_net_dsniff/work/ dsniff-2.3" && make all' gcc -DBIND_8_COMPAT -D_BSD_SOURCE -DLIBNET_BIG_ENDIAN -DDSNIFF_LIBDIR=\"/opt/local/lib/\" -

  1. -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 -D_BSD_SOURCE -DLIBNET_BIG_ENDIAN -DDSNIFF_LIBDIR=\"/opt/local/lib/\" -

  1. -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 -D_BSD_SOURCE -DLIBNET_BIG_ENDIAN -DDSNIFF_LIBDIR=\"/opt/local/lib/\" -

  1. -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: In function 'arp_send': ./arpspoof.c:58: warning: pointer targets in assignment differ in signedness ./arpspoof.c: In function 'main': ./arpspoof.c:162: warning: pointer targets in passing argument 1 of 'libnet_name_resolve' differ in signedness ./arpspoof.c:175: warning: pointer targets in passing argument 1 of 'libnet_name_resolve' differ in signedness gcc -DBIND_8_COMPAT -D_BSD_SOURCE -DLIBNET_BIG_ENDIAN -DDSNIFF_LIBDIR=\"/opt/local/lib/\" -

  1. -I/opt/local/include -I/opt/local/include -I/opt/local/include -I/opt/local/include -I/usr/X11R6/

include -I./missing -c ./arp.c ./arp.c: In function 'arp_cache_lookup': ./arp.c:74: warning: incompatible implicit declaration of built-in function 'memcpy' gcc -o arpspoof arpspoof.o arp.o -lresolv -L. -lmissing -L/opt/local/lib -lpcap -L/opt/local/lib -lnet /usr/bin/ld: warning prebinding not disabled because (PAGEZERO segment (address = 0x0 size = 0x1000) of arpspoof overlaps with TEXT segment (address = 0x0 size = 0x1e000) of /opt/local/lib/ libpcap.DP.dylib /usr/bin/ld: warning prebinding not disabled because (TEXT segment (address = 0x1000 size = 0x4000) of arpspoof overlaps with TEXT segment (address = 0x0 size = 0x1e000) of /opt/local/lib/ libpcap.DP.dylib /usr/bin/ld: warning prebinding not disabled because (DATA segment (address = 0x5000 size = 0x1000) of arpspoof overlaps with TEXT segment (address = 0x0 size = 0x1e000) of /opt/local/lib/ libpcap.DP.dylib /usr/bin/ld: warning prebinding not disabled because (LINKEDIT segment (address = 0x6000 size = 0x2000) of arpspoof overlaps with TEXT segment (address = 0x0 size = 0x1e000) of /opt/local/lib/ libpcap.DP.dylib gcc -DBIND_8_COMPAT -D_BSD_SOURCE -DLIBNET_BIG_ENDIAN -DDSNIFF_LIBDIR=\"/opt/local/lib/\" -

  1. -I/opt/local/include -I/opt/local/include -I/opt/local/include -I/opt/local/include -I/usr/X11R6/

include -I./missing -c ./dnsspoof.c ./dnsspoof.c: In function 'dns_spoof': ./dnsspoof.c:225: warning: pointer targets in assignment differ in signedness ./dnsspoof.c:229: warning: pointer targets in passing argument 1 of 'dn_comp' differ in signedness gcc -DBIND_8_COMPAT -D_BSD_SOURCE -DLIBNET_BIG_ENDIAN -DDSNIFF_LIBDIR=\"/opt/local/lib/\" -

  1. -I/opt/local/include -I/opt/local/include -I/opt/local/include -I/opt/local/include -I/usr/X11R6/

include -I./missing -c ./pcaputil.c gcc -o dnsspoof dnsspoof.o pcaputil.o -lresolv -L. -lmissing -L/opt/local/lib -lpcap -L/opt/local/lib -lnet /usr/bin/ld: warning prebinding not disabled because (PAGEZERO segment (address = 0x0 size = 0x1000) of dnsspoof overlaps with TEXT segment (address = 0x0 size = 0x1e000) of /opt/local/lib/ libpcap.DP.dylib /usr/bin/ld: warning prebinding not disabled because (TEXT segment (address = 0x1000 size = 0x6000) of dnsspoof overlaps with TEXT segment (address = 0x0 size = 0x1e000) of /opt/local/lib/ libpcap.DP.dylib /usr/bin/ld: warning prebinding not disabled because (DATA segment (address = 0x7000 size = 0x1000) of dnsspoof overlaps with TEXT segment (address = 0x0 size = 0x1e000) of /opt/local/lib/ libpcap.DP.dylib /usr/bin/ld: warning prebinding not disabled because (LINKEDIT segment (address = 0x8000 size = 0x3000) of dnsspoof overlaps with TEXT segment (address = 0x0 size = 0x1e000) of /opt/local/lib/ libpcap.DP.dylib rpcgen -h mount.x -o mount.h rpcgen -c mount.x -o mount.c gcc -DBIND_8_COMPAT -D_BSD_SOURCE -DLIBNET_BIG_ENDIAN -DDSNIFF_LIBDIR=\"/opt/local/lib/\" -

  1. -I/opt/local/include -I/opt/local/include -I/opt/local/include -I/opt/local/include -I/usr/X11R6/

include -I./missing -c ./asn1.c gcc -DBIND_8_COMPAT -D_BSD_SOURCE -DLIBNET_BIG_ENDIAN -DDSNIFF_LIBDIR=\"/opt/local/lib/\" -

  1. -I/opt/local/include -I/opt/local/include -I/opt/local/include -I/opt/local/include -I/usr/X11R6/

include -I./missing -c ./base64.c gcc -DBIND_8_COMPAT -D_BSD_SOURCE -DLIBNET_BIG_ENDIAN -DDSNIFF_LIBDIR=\"/opt/local/lib/\" -

  1. -I/opt/local/include -I/opt/local/include -I/opt/local/include -I/opt/local/include -I/usr/X11R6/

include -I./missing -c ./buf.c ./buf.c: In function 'buf_put': ./buf.c:96: warning: incompatible implicit declaration of built-in function 'memcpy' ./buf.c: In function 'buf_putf': ./buf.c:110: warning: pointer targets in passing argument 1 of 'vsnprintf' differ in signedness ./buf.c: In function 'buf_strdup': ./buf.c:243: warning: incompatible implicit declaration of built-in function 'memcpy' gcc -DBIND_8_COMPAT -D_BSD_SOURCE -DLIBNET_BIG_ENDIAN -DDSNIFF_LIBDIR=\"/opt/local/lib/\" -

  1. -I/opt/local/include -I/opt/local/include -I/opt/local/include -I/opt/local/include -I/usr/X11R6/

include -I./missing -c ./hex.c gcc -DBIND_8_COMPAT -D_BSD_SOURCE -DLIBNET_BIG_ENDIAN -DDSNIFF_LIBDIR=\"/opt/local/lib/\" -

  1. -I/opt/local/include -I/opt/local/include -I/opt/local/include -I/opt/local/include -I/usr/X11R6/

include -I./missing -c ./magic.c gcc -DBIND_8_COMPAT -D_BSD_SOURCE -DLIBNET_BIG_ENDIAN -DDSNIFF_LIBDIR=\"/opt/local/lib/\" -

  1. -I/opt/local/include -I/opt/local/include -I/opt/local/include -I/opt/local/include -I/usr/X11R6/

include -I./missing -c ./mount.c gcc -DBIND_8_COMPAT -D_BSD_SOURCE -DLIBNET_BIG_ENDIAN -DDSNIFF_LIBDIR=\"/opt/local/lib/\" -

  1. -I/opt/local/include -I/opt/local/include -I/opt/local/include -I/opt/local/include -I/usr/X11R6/

include -I./missing -c ./rpc.c ./rpc.c: In function 'rpc_decode': ./rpc.c:110: warning: pointer targets in passing argument 2 of 'xdrmem_create' differ in signedness ./rpc.c:119: warning: pointer targets in passing argument 2 of 'xdrmem_create' differ in signedness gcc -DBIND_8_COMPAT -D_BSD_SOURCE -DLIBNET_BIG_ENDIAN -DDSNIFF_LIBDIR=\"/opt/local/lib/\" -

  1. -I/opt/local/include -I/opt/local/include -I/opt/local/include -I/opt/local/include -I/usr/X11R6/

include -I./missing -c ./tcp_raw.c gcc -DBIND_8_COMPAT -D_BSD_SOURCE -DLIBNET_BIG_ENDIAN -DDSNIFF_LIBDIR=\"/opt/local/lib/\" -

  1. -I/opt/local/include -I/opt/local/include -I/opt/local/include -I/opt/local/include -I/usr/X11R6/

include -I./missing -c ./trigger.c ./trigger.c: In function 'trigger_ip': ./trigger.c:297: warning: pointer targets in passing argument 3 of 't->decode->dc_func' differ in signedness ./trigger.c:299: warning: pointer targets in passing argument 7 of 'record' differ in signedness ./trigger.c: In function 'trigger_udp': ./trigger.c:343: warning: pointer targets in passing argument 3 of 't->decode->dc_func' differ in signedness ./trigger.c:346: warning: pointer targets in passing argument 7 of 'record' differ in signedness ./trigger.c: In function 'trigger_tcp_half': ./trigger.c:357: warning: pointer targets in assignment differ in signedness ./trigger.c:375: warning: pointer targets in passing argument 3 of 't->decode->dc_func' differ in signedness ./trigger.c:378: warning: pointer targets in passing argument 7 of 'record' differ in signedness ./trigger.c: In function 'trigger_tcp_raw': ./trigger.c:475: warning: pointer targets in passing argument 3 of 't->decode->dc_func' differ in signedness ./trigger.c:481: warning: pointer targets in passing argument 7 of 'record' differ in signedness ./trigger.c: In function 'trigger_tcp_raw_callback': ./trigger.c:509: warning: pointer targets in passing argument 3 of 't->decode->dc_func' differ in signedness ./trigger.c:511: warning: pointer targets in passing argument 7 of 'record' differ in signedness gcc -DBIND_8_COMPAT -D_BSD_SOURCE -DLIBNET_BIG_ENDIAN -DDSNIFF_LIBDIR=\"/opt/local/lib/\" -

  1. -I/opt/local/include -I/opt/local/include -I/opt/local/include -I/opt/local/include -I/usr/X11R6/

include -I./missing -c ./record.c ./record.c: In function 'record_print': ./record.c:65: warning: pointer targets in assignment differ in signedness ./record.c:66: warning: pointer targets in assignment differ in signedness ./record.c: In function 'record_hash': ./record.c:101: warning: pointer targets in passing argument 2 of 'MD5Update' differ in signedness ./record.c:102: warning: pointer targets in passing argument 2 of 'MD5Update' differ in signedness ./record.c: In function 'record_save': ./record.c:118: warning: pointer targets in passing argument 2 of 'xdrmem_create' differ in signedness ./record.c: In function 'record': ./record.c:192: warning: pointer targets in assignment differ in signedness gcc -DBIND_8_COMPAT -D_BSD_SOURCE -DLIBNET_BIG_ENDIAN -DDSNIFF_LIBDIR=\"/opt/local/lib/\" -

  1. -I/opt/local/include -I/opt/local/include -I/opt/local/include -I/opt/local/include -I/usr/X11R6/

include -I./missing -c ./dsniff.c gcc -DBIND_8_COMPAT -D_BSD_SOURCE -DLIBNET_BIG_ENDIAN -DDSNIFF_LIBDIR=\"/opt/local/lib/\" -

  1. -I/opt/local/include -I/opt/local/include -I/opt/local/include -I/opt/local/include -I/usr/X11R6/

include -I./missing -c ./decode.c ./decode.c: In function 'strip_telopts': ./decode.c:120: warning: pointer targets in assignment differ in signedness ./decode.c:121: warning: pointer targets in passing argument 1 of 'bufbuf' differ in signedness ./decode.c:121: warning: pointer targets in passing argument 3 of 'bufbuf' differ in signedness ./decode.c:121: warning: pointer targets in assignment differ in signedness ./decode.c:124: warning: pointer targets in passing argument 1 of 'bufbuf' differ in signedness ./decode.c:124: warning: pointer targets in passing argument 3 of 'bufbuf' differ in signedness ./decode.c:124: warning: pointer targets in assignment differ in signedness gcc -DBIND_8_COMPAT -D_BSD_SOURCE -DLIBNET_BIG_ENDIAN -DDSNIFF_LIBDIR=\"/opt/local/lib/\" -

  1. -I/opt/local/include -I/opt/local/include -I/opt/local/include -I/opt/local/include -I/usr/X11R6/

include -I./missing -c ./decode_aim.c ./decode_aim.c: In function 'decode_aim': ./decode_aim.c:64: warning: pointer targets in passing argument 1 of 'strcspn' differ in signedness ./decode_aim.c:67: warning: pointer targets in passing argument 1 of 'strtok' differ in signedness ./decode_aim.c:72: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness ./decode_aim.c:73: warning: pointer targets in passing argument 1 of 'hex_decode' differ in signedness gcc -DBIND_8_COMPAT -D_BSD_SOURCE -DLIBNET_BIG_ENDIAN -DDSNIFF_LIBDIR=\"/opt/local/lib/\" -

  1. -I/opt/local/include -I/opt/local/include -I/opt/local/include -I/opt/local/include -I/usr/X11R6/

include -I./missing -c ./decode_citrix.c gcc -DBIND_8_COMPAT -D_BSD_SOURCE -DLIBNET_BIG_ENDIAN -DDSNIFF_LIBDIR=\"/opt/local/lib/\" -

  1. -I/opt/local/include -I/opt/local/include -I/opt/local/include -I/opt/local/include -I/usr/X11R6/

include -I./missing -c ./decode_cvs.c gcc -DBIND_8_COMPAT -D_BSD_SOURCE -DLIBNET_BIG_ENDIAN -DDSNIFF_LIBDIR=\"/opt/local/lib/\" -

  1. -I/opt/local/include -I/opt/local/include -I/opt/local/include -I/opt/local/include -I/usr/X11R6/

include -I./missing -c ./decode_ftp.c ./decode_ftp.c: In function 'decode_ftp': ./decode_ftp.c:45: warning: pointer targets in passing argument 1 of 'strncasecmp' differ in signedness ./decode_ftp.c:46: warning: pointer targets in passing argument 1 of 'strncasecmp' differ in signedness ./decode_ftp.c:47: warning: pointer targets in passing argument 1 of 'strncasecmp' differ in signedness gcc -DBIND_8_COMPAT -D_BSD_SOURCE -DLIBNET_BIG_ENDIAN -DDSNIFF_LIBDIR=\"/opt/local/lib/\" -

  1. -I/opt/local/include -I/opt/local/include -I/opt/local/include -I/opt/local/include -I/usr/X11R6/

include -I./missing -c ./decode_hex.c gcc -DBIND_8_COMPAT -D_BSD_SOURCE -DLIBNET_BIG_ENDIAN -DDSNIFF_LIBDIR=\"/opt/local/lib/\" -

  1. -I/opt/local/include -I/opt/local/include -I/opt/local/include -I/opt/local/include -I/usr/X11R6/

include -I./missing -c ./decode_http.c ./decode_http.c: In function 'decode_http': ./decode_http.c:117: warning: pointer targets in passing argument 1 of 'strtok' differ in signedness ./decode_http.c:155: warning: pointer targets in assignment differ in signedness ./decode_http.c:174: warning: pointer targets in passing argument 2 of 'base64_pton' differ in signedness ./decode_http.c:181: warning: pointer targets in passing argument 2 of 'base64_pton' differ in signedness gcc -DBIND_8_COMPAT -D_BSD_SOURCE -DLIBNET_BIG_ENDIAN -DDSNIFF_LIBDIR=\"/opt/local/lib/\" -

  1. -I/opt/local/include -I/opt/local/include -I/opt/local/include -I/opt/local/include -I/usr/X11R6/

include -I./missing -c ./decode_icq.c gcc -DBIND_8_COMPAT -D_BSD_SOURCE -DLIBNET_BIG_ENDIAN -DDSNIFF_LIBDIR=\"/opt/local/lib/\" -

  1. -I/opt/local/include -I/opt/local/include -I/opt/local/include -I/opt/local/include -I/usr/X11R6/

include -I./missing -c ./decode_imap.c gcc -DBIND_8_COMPAT -D_BSD_SOURCE -DLIBNET_BIG_ENDIAN -DDSNIFF_LIBDIR=\"/opt/local/lib/\" -

  1. -I/opt/local/include -I/opt/local/include -I/opt/local/include -I/opt/local/include -I/usr/X11R6/

include -I./missing -c ./decode_irc.c gcc -DBIND_8_COMPAT -D_BSD_SOURCE -DLIBNET_BIG_ENDIAN -DDSNIFF_LIBDIR=\"/opt/local/lib/\" -

  1. -I/opt/local/include -I/opt/local/include -I/opt/local/include -I/opt/local/include -I/usr/X11R6/

include -I./missing -c ./decode_ldap.c gcc -DBIND_8_COMPAT -D_BSD_SOURCE -DLIBNET_BIG_ENDIAN -DDSNIFF_LIBDIR=\"/opt/local/lib/\" -

  1. -I/opt/local/include -I/opt/local/include -I/opt/local/include -I/opt/local/include -I/usr/X11R6/

include -I./missing -c ./decode_mmxp.c ./decode_mmxp.c:28: warning: pointer targets in initialization differ in signedness gcc -DBIND_8_COMPAT -D_BSD_SOURCE -DLIBNET_BIG_ENDIAN -DDSNIFF_LIBDIR=\"/opt/local/lib/\" -

  1. -I/opt/local/include -I/opt/local/include -I/opt/local/include -I/opt/local/include -I/usr/X11R6/

include -I./missing -c ./decode_mountd.c ./decode_mountd.c: In function 'decode_mountd': ./decode_mountd.c:45: warning: pointer targets in passing argument 2 of 'xdrmem_create' differ in signedness ./decode_mountd.c:58: warning: pointer targets in passing argument 2 of 'xdrmem_create' differ in signedness gcc -DBIND_8_COMPAT -D_BSD_SOURCE -DLIBNET_BIG_ENDIAN -DDSNIFF_LIBDIR=\"/opt/local/lib/\" -

  1. -I/opt/local/include -I/opt/local/include -I/opt/local/include -I/opt/local/include -I/usr/X11R6/

include -I./missing -c ./decode_napster.c gcc -DBIND_8_COMPAT -D_BSD_SOURCE -DLIBNET_BIG_ENDIAN -DDSNIFF_LIBDIR=\"/opt/local/lib/\" -

  1. -I/opt/local/include -I/opt/local/include -I/opt/local/include -I/opt/local/include -I/usr/X11R6/

include -I./missing -c ./decode_nntp.c ./decode_nntp.c: In function 'decode_nntp': ./decode_nntp.c:29: warning: pointer targets in passing argument 1 of 'strtok' differ in signedness ./decode_nntp.c:31: warning: pointer targets in passing argument 1 of 'strlcat' differ in signedness ./decode_nntp.c:32: warning: pointer targets in passing argument 1 of 'strlcat' differ in signedness ./decode_nntp.c:36: warning: pointer targets in passing argument 1 of 'strlcat' differ in signedness ./decode_nntp.c:47: warning: pointer targets in passing argument 2 of 'base64_pton' differ in signedness ./decode_nntp.c:49: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness ./decode_nntp.c:51: warning: pointer targets in passing argument 1 of 'snprintf' differ in signedness ./decode_nntp.c:54: warning: pointer targets in passing argument 1 of 'strlcat' differ in signedness ./decode_nntp.c:57: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness gcc -DBIND_8_COMPAT -D_BSD_SOURCE -DLIBNET_BIG_ENDIAN -DDSNIFF_LIBDIR=\"/opt/local/lib/\" -

  1. -I/opt/local/include -I/opt/local/include -I/opt/local/include -I/opt/local/include -I/usr/X11R6/

include -I./missing -c ./decode_oracle.c ./decode_oracle.c: In function 'decode_oracle': ./decode_oracle.c:40: warning: pointer targets in passing argument 1 of 'snprintf' differ in signedness ./decode_oracle.c:44: warning: pointer targets in passing argument 3 of 'bufbuf' differ in signedness ./decode_oracle.c:64: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness ./decode_oracle.c:65: warning: pointer targets in passing argument 1 of 'snprintf' differ in signedness ./decode_oracle.c:68: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness gcc -DBIND_8_COMPAT -D_BSD_SOURCE -DLIBNET_BIG_ENDIAN -DDSNIFF_LIBDIR=\"/opt/local/lib/\" -

  1. -I/opt/local/include -I/opt/local/include -I/opt/local/include -I/opt/local/include -I/usr/X11R6/

include -I./missing -c ./decode_ospf.c ./decode_ospf.c: In function 'decode_ospf': ./decode_ospf.c:29: warning: pointer targets in passing argument 1 of 'snprintf' differ in signedness gcc -DBIND_8_COMPAT -D_BSD_SOURCE -DLIBNET_BIG_ENDIAN -DDSNIFF_LIBDIR=\"/opt/local/lib/\" -

  1. -I/opt/local/include -I/opt/local/include -I/opt/local/include -I/opt/local/include -I/usr/X11R6/

include -I./missing -c ./decode_pcanywhere.c gcc -DBIND_8_COMPAT -D_BSD_SOURCE -DLIBNET_BIG_ENDIAN -DDSNIFF_LIBDIR=\"/opt/local/lib/\" -

  1. -I/opt/local/include -I/opt/local/include -I/opt/local/include -I/opt/local/include -I/usr/X11R6/

include -I./missing -c ./decode_pop.c ./decode_pop.c: In function 'decode_poppass': ./decode_pop.c:27: warning: pointer targets in passing argument 1 of 'strtok' differ in signedness ./decode_pop.c:31: warning: pointer targets in passing argument 1 of 'strlcat' differ in signedness ./decode_pop.c:32: warning: pointer targets in passing argument 1 of 'strlcat' differ in signedness ./decode_pop.c:35: warning: pointer targets in passing argument 1 of 'strip_lines' differ in signedness ./decode_pop.c:38: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness ./decode_pop.c: In function 'decode_pop': ./decode_pop.c:49: warning: pointer targets in passing argument 1 of 'strtok' differ in signedness ./decode_pop.c:52: warning: pointer targets in passing argument 1 of 'strlcat' differ in signedness ./decode_pop.c:53: warning: pointer targets in passing argument 1 of 'strlcat' differ in signedness ./decode_pop.c:57: warning: pointer targets in passing argument 1 of 'strlcat' differ in signedness ./decode_pop.c:58: warning: pointer targets in passing argument 2 of 'base64_pton' differ in signedness ./decode_pop.c:60: warning: pointer targets in passing argument 1 of 'strlcat' differ in signedness ./decode_pop.c:61: warning: pointer targets in passing argument 1 of 'strlcat' differ in signedness ./decode_pop.c:62: warning: pointer targets in passing argument 1 of 'strlcat' differ in signedness ./decode_pop.c:69: warning: pointer targets in passing argument 1 of 'strlcat' differ in signedness ./decode_pop.c:70: warning: pointer targets in passing argument 1 of 'strlcat' differ in signedness ./decode_pop.c:73: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness gcc -DBIND_8_COMPAT -D_BSD_SOURCE -DLIBNET_BIG_ENDIAN -DDSNIFF_LIBDIR=\"/opt/local/lib/\" -

  1. -I/opt/local/include -I/opt/local/include -I/opt/local/include -I/opt/local/include -I/usr/X11R6/

include -I./missing -c ./decode_portmap.c ./decode_portmap.c: In function 'decode_portmap': ./decode_portmap.c:39: warning: pointer targets in passing argument 2 of 'xdrmem_create' differ in signedness ./decode_portmap.c:55: warning: pointer targets in passing argument 2 of 'xdrmem_create' differ in signedness gcc -DBIND_8_COMPAT -D_BSD_SOURCE -DLIBNET_BIG_ENDIAN -DDSNIFF_LIBDIR=\"/opt/local/lib/\" -

  1. -I/opt/local/include -I/opt/local/include -I/opt/local/include -I/opt/local/include -I/usr/X11R6/

include -I./missing -c ./decode_postgresql.c ./decode_postgresql.c: In function 'decode_postgresql': ./decode_postgresql.c:44: warning: pointer targets in assignment differ in signedness ./decode_postgresql.c:50: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness ./decode_postgresql.c:51: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness ./decode_postgresql.c:52: warning: pointer targets in passing argument 1 of 'snprintf' differ in signedness ./decode_postgresql.c:58: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness gcc -DBIND_8_COMPAT -D_BSD_SOURCE -DLIBNET_BIG_ENDIAN -DDSNIFF_LIBDIR=\"/opt/local/lib/\" -

  1. -I/opt/local/include -I/opt/local/include -I/opt/local/include -I/opt/local/include -I/usr/X11R6/

include -I./missing -c ./decode_pptp.c ./decode_pptp.c: In function 'decode_pptp': ./decode_pptp.c:184: warning: pointer targets in passing argument 1 of 'strchr' differ in signedness ./decode_pptp.c:184: warning: pointer targets in assignment differ in signedness ./decode_pptp.c:190: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness gcc -DBIND_8_COMPAT -D_BSD_SOURCE -DLIBNET_BIG_ENDIAN -DDSNIFF_LIBDIR=\"/opt/local/lib/\" -

  1. -I/opt/local/include -I/opt/local/include -I/opt/local/include -I/opt/local/include -I/usr/X11R6/

include -I./missing -c ./decode_rip.c ./decode_rip.c: In function 'decode_rip': ./decode_rip.c:30: warning: pointer targets in passing argument 1 of 'snprintf' differ in signedness gcc -DBIND_8_COMPAT -D_BSD_SOURCE -DLIBNET_BIG_ENDIAN -DDSNIFF_LIBDIR=\"/opt/local/lib/\" -

  1. -I/opt/local/include -I/opt/local/include -I/opt/local/include -I/opt/local/include -I/usr/X11R6/

include -I./missing -c ./decode_rlogin.c ./decode_rlogin.c: In function 'decode_rlogin': ./decode_rlogin.c:28: warning: pointer targets in passing argument 1 of 'strlcpy' differ in signedness ./decode_rlogin.c:29: warning: pointer targets in passing argument 1 of 'strlcat' differ in signedness ./decode_rlogin.c:29: warning: pointer targets in passing argument 2 of 'strlcat' differ in signedness ./decode_rlogin.c:30: warning: pointer targets in passing argument 1 of 'strlcat' differ in signedness ./decode_rlogin.c:31: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness ./decode_rlogin.c:33: warning: pointer targets in passing argument 1 of 'strlcat' differ in signedness ./decode_rlogin.c:33: warning: pointer targets in passing argument 2 of 'strlcat' differ in signedness ./decode_rlogin.c:34: warning: pointer targets in passing argument 1 of 'strlcat' differ in signedness ./decode_rlogin.c:35: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness ./decode_rlogin.c:37: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness ./decode_rlogin.c:39: warning: pointer targets in passing argument 1 of 'strstr' differ in signedness ./decode_rlogin.c:39: warning: pointer targets in assignment differ in signedness ./decode_rlogin.c:42: warning: pointer targets in passing argument 1 of 'strtok' differ in signedness ./decode_rlogin.c:42: warning: pointer targets in assignment differ in signedness ./decode_rlogin.c:42: warning: pointer targets in assignment differ in signedness ./decode_rlogin.c:43: warning: pointer targets in passing argument 1 of 'strlcat' differ in signedness ./decode_rlogin.c:43: warning: pointer targets in passing argument 2 of 'strlcat' differ in signedness ./decode_rlogin.c:44: warning: pointer targets in passing argument 1 of 'strlcat' differ in signedness ./decode_rlogin.c:46: warning: pointer targets in passing argument 1 of 'strip_lines' differ in signedness ./decode_rlogin.c:49: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness gcc -DBIND_8_COMPAT -D_BSD_SOURCE -DLIBNET_BIG_ENDIAN -DDSNIFF_LIBDIR=\"/opt/local/lib/\" -

  1. -I/opt/local/include -I/opt/local/include -I/opt/local/include -I/opt/local/include -I/usr/X11R6/

include -I./missing -c ./decode_smb.c ./decode_smb.c: In function 'decode_smb': ./decode_smb.c:64: warning: pointer targets in assignment differ in signedness ./decode_smb.c:72: warning: pointer targets in assignment differ in signedness ./decode_smb.c:80: warning: pointer targets in passing argument 1 of 'strlcat' differ in signedness ./decode_smb.c:81: warning: pointer targets in passing argument 1 of 'strlcat' differ in signedness ./decode_smb.c:82: warning: pointer targets in passing argument 1 of 'strlcat' differ in signedness ./decode_smb.c:83: warning: pointer targets in passing argument 1 of 'strlcat' differ in signedness ./decode_smb.c:86: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness gcc -DBIND_8_COMPAT -D_BSD_SOURCE -DLIBNET_BIG_ENDIAN -DDSNIFF_LIBDIR=\"/opt/local/lib/\" -

  1. -I/opt/local/include -I/opt/local/include -I/opt/local/include -I/opt/local/include -I/usr/X11R6/

include -I./missing -c ./decode_smtp.c ./decode_smtp.c: In function 'decode_smtp': ./decode_smtp.c:28: warning: pointer targets in passing argument 1 of 'strtok' differ in signedness ./decode_smtp.c:30: warning: pointer targets in passing argument 1 of 'strlcat' differ in signedness ./decode_smtp.c:31: warning: pointer targets in passing argument 2 of 'base64_pton' differ in signedness ./decode_smtp.c:33: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness ./decode_smtp.c:34: warning: pointer targets in passing argument 1 of 'snprintf' differ in signedness ./decode_smtp.c:38: warning: pointer targets in passing argument 1 of 'strlcat' differ in signedness ./decode_smtp.c:40: warning: pointer targets in passing argument 2 of 'base64_pton' differ in signedness ./decode_smtp.c:42: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness ./decode_smtp.c:43: warning: pointer targets in passing argument 1 of 'snprintf' differ in signedness ./decode_smtp.c:52: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness gcc -DBIND_8_COMPAT -D_BSD_SOURCE -DLIBNET_BIG_ENDIAN -DDSNIFF_LIBDIR=\"/opt/local/lib/\" -

  1. -I/opt/local/include -I/opt/local/include -I/opt/local/include -I/opt/local/include -I/usr/X11R6/

include -I./missing -c ./decode_sniffer.c ./decode_sniffer.c: In function 'decode_sniffer': ./decode_sniffer.c:32: warning: pointer targets in passing argument 1 of 'strlcpy' differ in signedness ./decode_sniffer.c:36: warning: pointer targets in passing argument 1 of 'strlcpy' differ in signedness ./decode_sniffer.c:40: warning: pointer targets in passing argument 1 of 'strtok' differ in signedness ./decode_sniffer.c:41: warning: pointer targets in passing argument 1 of 'snprintf' differ in signedness ./decode_sniffer.c:42: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness ./decode_sniffer.c:43: warning: pointer targets in passing argument 1 of 'base64_pton' differ in signedness ./decode_sniffer.c:45: warning: pointer targets in passing argument 1 of 'strlcat' differ in signedness ./decode_sniffer.c:47: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness gcc -DBIND_8_COMPAT -D_BSD_SOURCE -DLIBNET_BIG_ENDIAN -DDSNIFF_LIBDIR=\"/opt/local/lib/\" -

  1. -I/opt/local/include -I/opt/local/include -I/opt/local/include -I/opt/local/include -I/usr/X11R6/

include -I./missing -c ./decode_snmp.c ./decode_snmp.c: In function 'decode_snmp': ./decode_snmp.c:45: warning: pointer targets in assignment differ in signedness gcc -DBIND_8_COMPAT -D_BSD_SOURCE -DLIBNET_BIG_ENDIAN -DDSNIFF_LIBDIR=\"/opt/local/lib/\" -

  1. -I/opt/local/include -I/opt/local/include -I/opt/local/include -I/opt/local/include -I/usr/X11R6/

include -I./missing -c ./decode_socks.c ./decode_socks.c: In function 'decode_socks': ./decode_socks.c:45: warning: pointer targets in passing argument 1 of 'snprintf' differ in signedness ./decode_socks.c:53: warning: pointer targets in passing argument 1 of 'strlcat' differ in signedness ./decode_socks.c:53: warning: pointer targets in passing argument 2 of 'strlcat' differ in signedness ./decode_socks.c:54: warning: pointer targets in passing argument 1 of 'strlcat' differ in signedness ./decode_socks.c:56: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness gcc -DBIND_8_COMPAT -D_BSD_SOURCE -DLIBNET_BIG_ENDIAN -DDSNIFF_LIBDIR=\"/opt/local/lib/\" -

  1. -I/opt/local/include -I/opt/local/include -I/opt/local/include -I/opt/local/include -I/usr/X11R6/

include -I./missing -c ./decode_tds.c ./decode_tds.c: In function 'decode_tds': ./decode_tds.c:152: warning: pointer targets in passing argument 1 of 'strlcat' differ in signedness ./decode_tds.c:153: warning: pointer targets in passing argument 1 of 'strlcat' differ in signedness ./decode_tds.c:159: warning: pointer targets in passing argument 1 of 'strlcat' differ in signedness ./decode_tds.c:160: warning: pointer targets in passing argument 1 of 'strlcat' differ in signedness ./decode_tds.c:186: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness ./decode_tds.c:187: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness ./decode_tds.c:188: warning: pointer targets in passing argument 1 of 'snprintf' differ in signedness ./decode_tds.c:191: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness gcc -DBIND_8_COMPAT -D_BSD_SOURCE -DLIBNET_BIG_ENDIAN -DDSNIFF_LIBDIR=\"/opt/local/lib/\" -

  1. -I/opt/local/include -I/opt/local/include -I/opt/local/include -I/opt/local/include -I/usr/X11R6/

include -I./missing -c ./decode_telnet.c ./decode_telnet.c: In function 'decode_telnet': ./decode_telnet.c:25: warning: pointer targets in passing argument 1 of 'is_ascii_string' differ in signedness ./decode_telnet.c:28: warning: pointer targets in passing argument 1 of 'strip_lines' differ in signedness ./decode_telnet.c:31: warning: pointer targets in passing argument 1 of 'strlcpy' differ in signedness ./decode_telnet.c:31: warning: pointer targets in passing argument 2 of 'strlcpy' differ in signedness ./decode_telnet.c:33: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness gcc -DBIND_8_COMPAT -D_BSD_SOURCE -DLIBNET_BIG_ENDIAN -DDSNIFF_LIBDIR=\"/opt/local/lib/\" -

  1. -I/opt/local/include -I/opt/local/include -I/opt/local/include -I/opt/local/include -I/usr/X11R6/

include -I./missing -c ./decode_vrrp.c gcc -DBIND_8_COMPAT -D_BSD_SOURCE -DLIBNET_BIG_ENDIAN -DDSNIFF_LIBDIR=\"/opt/local/lib/\" -

  1. -I/opt/local/include -I/opt/local/include -I/opt/local/include -I/opt/local/include -I/usr/X11R6/

include -I./missing -c ./decode_yp.c ./decode_yp.c: In function 'decode_yppasswd': ./decode_yp.c:84: warning: pointer targets in passing argument 2 of 'xdrmem_create' differ in signedness ./decode_yp.c:91: warning: pointer targets in passing argument 1 of 'snprintf' differ in signedness ./decode_yp.c:95: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness ./decode_yp.c: In function 'decode_ypserv': ./decode_yp.c:116: warning: pointer targets in passing argument 2 of 'xdrmem_create' differ in signedness ./decode_yp.c:130: warning: pointer targets in passing argument 2 of 'xdrmem_create' differ in signedness ./decode_yp.c:134: warning: pointer targets in passing argument 1 of 'snprintf' differ in signedness ./decode_yp.c:141: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness gcc -DBIND_8_COMPAT -D_BSD_SOURCE -DLIBNET_BIG_ENDIAN -DDSNIFF_LIBDIR=\"/opt/local/lib/\" -

  1. -I/opt/local/include -I/opt/local/include -I/opt/local/include -I/opt/local/include -I/usr/X11R6/

include -I./missing -c ./decode_x11.c ./decode_x11.c: In function 'decode_x11': ./decode_x11.c:24: warning: pointer targets in assignment differ in signedness ./decode_x11.c:29: warning: pointer targets in passing argument 1 of 'strlcpy' differ in signedness ./decode_x11.c:33: warning: pointer targets in assignment differ in signedness ./decode_x11.c:37: warning: pointer targets in passing argument 1 of 'strlcat' differ in signedness ./decode_x11.c:39: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness gcc -o dsniff asn1.o base64.o buf.o hex.o magic.o mount.o pcaputil.o rpc.o tcp_raw.o trigger.o record.o dsniff.o decode.o decode_aim.o decode_citrix.o decode_cvs.o decode_ftp.o decode_hex.o decode_http.o decode_icq.o decode_imap.o decode_irc.o decode_ldap.o decode_mmxp.o decode_mountd.o decode_napster.o decode_nntp.o decode_oracle.o decode_ospf.o decode_pcanywhere.o decode_pop.o decode_portmap.o decode_postgresql.o decode_pptp.o decode_rip.o decode_rlogin.o decode_smb.o decode_smtp.o decode_sniffer.o decode_snmp.o decode_socks.o decode_tds.o decode_telnet.o decode_vrrp.o decode_yp.o decode_x11.o -lresolv -L. - lmissing -L/opt/local/lib -lnids -L/opt/local/lib -lpcap -L/opt/local/lib -lnet -L/opt/local/lib -lssl - lcrypto /usr/bin/ld: warning prebinding not disabled because (PAGEZERO segment (address = 0x0 size = 0x1000) of dsniff overlaps with TEXT segment (address = 0x0 size = 0x1e000) of /opt/local/lib/ libpcap.DP.dylib /usr/bin/ld: warning prebinding not disabled because (PAGEZERO segment (address = 0x0 size = 0x1000) of dsniff overlaps with TEXT segment (address = 0x0 size = 0x39000) of /opt/local/lib/ libssl.0.9.8.dylib /usr/bin/ld: warning prebinding not disabled because (PAGEZERO segment (address = 0x0 size = 0x1000) of dsniff overlaps with TEXT segment (address = 0x0 size = 0xf1000) of /opt/local/lib/ libcrypto.0.9.8.dylib /usr/bin/ld: warning prebinding not disabled because (TEXT segment (address = 0x1000 size = 0x1c000) of dsniff overlaps with TEXT segment (address = 0x0 size = 0x1e000) of /opt/local/lib/ libpcap.DP.dylib /usr/bin/ld: warning prebinding not disabled because (TEXT segment (address = 0x1000 size = 0x1c000) of dsniff overlaps with TEXT segment (address = 0x0 size = 0x39000) of /opt/local/lib/ libssl.0.9.8.dylib /usr/bin/ld: warning prebinding not disabled because (TEXT segment (address = 0x1000 size = 0x1c000) of dsniff overlaps with TEXT segment (address = 0x0 size = 0xf1000) of /opt/local/lib/ libcrypto.0.9.8.dylib /usr/bin/ld: warning prebinding not disabled because (DATA segment (address = 0x1d000 size = 0x19000) of dsniff overlaps with TEXT segment (address = 0x0 size = 0x1e000) of /opt/local/lib/ libpcap.DP.dylib /usr/bin/ld: warning prebinding not disabled because (DATA segment (address = 0x1d000 size = 0x19000) of dsniff overlaps with DATA segment (address = 0x1e000 size = 0x1000) of /opt/local/ lib/libpcap.DP.dylib /usr/bin/ld: warning prebinding not disabled because (DATA segment (address = 0x1d000 size = 0x19000) of dsniff overlaps with LINKEDIT segment (address = 0x1f000 size = 0x4000) of /opt/ local/lib/libpcap.DP.dylib /usr/bin/ld: warning prebinding not disabled because (DATA segment (address = 0x1d000 size = 0x19000) of dsniff overlaps with TEXT segment (address = 0x0 size = 0x39000) of /opt/local/lib/ libssl.0.9.8.dylib /usr/bin/ld: warning prebinding not disabled because (DATA segment (address = 0x1d000 size = 0x19000) of dsniff overlaps with TEXT segment (address = 0x0 size = 0xf1000) of /opt/local/lib/ libcrypto.0.9.8.dylib /usr/bin/ld: warning prebinding not disabled because (LINKEDIT segment (address = 0x36000 size = 0x10000) of dsniff overlaps with TEXT segment (address = 0x0 size = 0x39000) of /opt/local/lib/ libssl.0.9.8.dylib /usr/bin/ld: warning prebinding not disabled because (LINKEDIT segment (address = 0x36000 size = 0x10000) of dsniff overlaps with DATA segment (address = 0x39000 size = 0x4000) of /opt/local/ lib/libssl.0.9.8.dylib /usr/bin/ld: warning prebinding not disabled because (LINKEDIT segment (address = 0x36000 size = 0x10000) of dsniff overlaps with LINKEDIT segment (address = 0x3d000 size = 0x10000) of /opt/ local/lib/libssl.0.9.8.dylib /usr/bin/ld: warning prebinding not disabled because (LINKEDIT segment (address = 0x36000 size = 0x10000) of dsniff overlaps with TEXT segment (address = 0x0 size = 0xf1000) of /opt/local/lib/ libcrypto.0.9.8.dylib /usr/bin/ld: warning prebinding not disabled because (TEXT segment (address = 0x0 size = 0x1e000) of /opt/local/lib/libpcap.DP.dylib overlaps with TEXT segment (address = 0x0 size = 0x39000) of /opt/local/lib/libssl.0.9.8.dylib /usr/bin/ld: warning prebinding not disabled because (TEXT segment (address = 0x0 size = 0x1e000) of /opt/local/lib/libpcap.DP.dylib overlaps with TEXT segment (address = 0x0 size = 0xf1000) of /opt/local/lib/libcrypto.0.9.8.dylib /usr/bin/ld: warning prebinding not disabled because (DATA segment (address = 0x1e000 size = 0x1000) of /opt/local/lib/libpcap.DP.dylib overlaps with TEXT segment (address = 0x0 size = 0x39000) of /opt/local/lib/libssl.0.9.8.dylib /usr/bin/ld: warning prebinding not disabled because (DATA segment (address = 0x1e000 size = 0x1000) of /opt/local/lib/libpcap.DP.dylib overlaps with TEXT segment (address = 0x0 size = 0xf1000) of /opt/local/lib/libcrypto.0.9.8.dylib /usr/bin/ld: warning prebinding not disabled because (LINKEDIT segment (address = 0x1f000 size = 0x4000) of /opt/local/lib/libpcap.DP.dylib overlaps with TEXT segment (address = 0x0 size = 0x39000) of /opt/local/lib/libssl.0.9.8.dylib /usr/bin/ld: warning prebinding not disabled because (LINKEDIT segment (address = 0x1f000 size = 0x4000) of /opt/local/lib/libpcap.DP.dylib overlaps with TEXT segment (address = 0x0 size = 0xf1000) of /opt/local/lib/libcrypto.0.9.8.dylib /usr/bin/ld: warning prebinding not disabled because (TEXT segment (address = 0x0 size = 0x39000) of /opt/local/lib/libssl.0.9.8.dylib overlaps with TEXT segment (address = 0x0 size = 0xf1000) of /opt/local/lib/libcrypto.0.9.8.dylib /usr/bin/ld: warning prebinding not disabled because (DATA segment (address = 0x39000 size = 0x4000) of /opt/local/lib/libssl.0.9.8.dylib overlaps with TEXT segment (address = 0x0 size = 0xf1000) of /opt/local/lib/libcrypto.0.9.8.dylib /usr/bin/ld: warning prebinding not disabled because (LINKEDIT segment (address = 0x3d000 size = 0x10000) of /opt/local/lib/libssl.0.9.8.dylib overlaps with TEXT segment (address = 0x0 size = 0xf1000) of /opt/local/lib/libcrypto.0.9.8.dylib rpcgen -h nfs_prot.x -o nfs_prot.h rpcgen -c nfs_prot.x -o nfs_prot.c gcc -DBIND_8_COMPAT -D_BSD_SOURCE -DLIBNET_BIG_ENDIAN -DDSNIFF_LIBDIR=\"/opt/local/lib/\" -

  1. -I/opt/local/include -I/opt/local/include -I/opt/local/include -I/opt/local/include -I/usr/X11R6/

include -I./missing -c ./nfs_prot.c gcc -DBIND_8_COMPAT -D_BSD_SOURCE -DLIBNET_BIG_ENDIAN -DDSNIFF_LIBDIR=\"/opt/local/lib/\" -

  1. -I/opt/local/include -I/opt/local/include -I/opt/local/include -I/opt/local/include -I/usr/X11R6/

include -I./missing -c ./filesnarf.c ./filesnarf.c: In function 'nfs2_call': ./filesnarf.c:161: warning: pointer targets in passing argument 2 of 'xdrmem_create' differ in signedness ./filesnarf.c:174: warning: pointer targets in passing argument 2 of 'xdrmem_create' differ in signedness ./filesnarf.c:177: warning: pointer targets in passing argument 1 of 'fh_map_find' differ in signedness ./filesnarf.c: In function 'nfs2_reply': ./filesnarf.c:205: warning: pointer targets in passing argument 2 of 'xdrmem_create' differ in signedness ./filesnarf.c:212: warning: pointer targets in passing argument 2 of 'fh_map_add' differ in signedness ./filesnarf.c:218: warning: pointer targets in passing argument 2 of 'xdrmem_create' differ in signedness ./filesnarf.c:225: warning: pointer targets in passing argument 3 of 'nfs_save' differ in signedness ./filesnarf.c: In function 'nfs3_call': ./filesnarf.c:246: warning: pointer targets in passing argument 2 of 'xdrmem_create' differ in signedness ./filesnarf.c:259: warning: pointer targets in passing argument 2 of 'xdrmem_create' differ in signedness ./filesnarf.c:263: warning: pointer targets in passing argument 1 of 'fh_map_find' differ in signedness ./filesnarf.c: In function 'nfs3_reply': ./filesnarf.c:290: warning: pointer targets in passing argument 2 of 'xdrmem_create' differ in signedness ./filesnarf.c:297: warning: pointer targets in passing argument 2 of 'fh_map_add' differ in signedness ./filesnarf.c:304: warning: pointer targets in passing argument 2 of 'xdrmem_create' differ in signedness ./filesnarf.c:311: warning: pointer targets in passing argument 3 of 'nfs_save' differ in signedness ./filesnarf.c: In function 'decode_tcp_nfs_half': ./filesnarf.c:395: warning: pointer targets in assignment differ in signedness gcc -o filesnarf filesnarf.o nfs_prot.o pcaputil.o rpc.o -lresolv -L. -lmissing -L/opt/local/lib -lnids -L/ opt/local/lib -lpcap -L/opt/local/lib -lnet /usr/bin/ld: warning multiple definitions of symbol _xdr_int64_t filesnarf.o definition of _xdr_int64_t in section (TEXT,text) /usr/lib/gcc/powerpc-apple-darwin8/4.0.0/../../../libSystem.dylib(xdr.o) definition of _xdr_int64_t /usr/bin/ld: warning multiple definitions of symbol _xdr_u_int64_t filesnarf.o definition of _xdr_u_int64_t in section (TEXT,text) /usr/lib/gcc/powerpc-apple-darwin8/4.0.0/../../../libSystem.dylib(xdr.o) definition of _xdr_u_int64_t /usr/bin/ld: warning prebinding not disabled because (PAGEZERO segment (address = 0x0 size = 0x1000) of filesnarf overlaps with TEXT segment (address = 0x0 size = 0x1e000) of /opt/local/lib/ libpcap.DP.dylib /usr/bin/ld: warning prebinding not disabled because (TEXT segment (address = 0x1000 size = 0xd000) of filesnarf overlaps with TEXT segment (address = 0x0 size = 0x1e000) of /opt/local/lib/ libpcap.DP.dylib /usr/bin/ld: warning prebinding not disabled because (DATA segment (address = 0xe000 size = 0x3000) of filesnarf overlaps with TEXT segment (address = 0x0 size = 0x1e000) of /opt/local/lib/ libpcap.DP.dylib /usr/bin/ld: warning prebinding not disabled because (LINKEDIT segment (address = 0x11000 size = 0xf000) of filesnarf overlaps with TEXT segment (address = 0x0 size = 0x1e000) of /opt/local/lib/ libpcap.DP.dylib /usr/bin/ld: warning prebinding not disabled because (LINKEDIT segment (address = 0x11000 size = 0xf000) of filesnarf overlaps with DATA segment (address = 0x1e000 size = 0x1000) of /opt/local/ lib/libpcap.DP.dylib /usr/bin/ld: warning prebinding not disabled because (LINKEDIT segment (address = 0x11000 size = 0xf000) of filesnarf overlaps with LINKEDIT segment (address = 0x1f000 size = 0x4000) of /opt/ local/lib/libpcap.DP.dylib gcc -DBIND_8_COMPAT -D_BSD_SOURCE -DLIBNET_BIG_ENDIAN -DDSNIFF_LIBDIR=\"/opt/local/lib/\" -

  1. -I/opt/local/include -I/opt/local/include -I/opt/local/include -I/opt/local/include -I/usr/X11R6/

include -I./missing -c ./macof.c ./macof.c: In function 'main': ./macof.c:70: warning: pointer targets in passing argument 1 of 'libnet_name_resolve' differ in signedness ./macof.c:73: warning: pointer targets in passing argument 1 of 'libnet_name_resolve' differ in signedness gcc -o macof macof.o -lresolv -L. -lmissing -L/opt/local/lib -lpcap -L/opt/local/lib -lnet /usr/bin/ld: warning prebinding not disabled because (PAGEZERO segment (address = 0x0 size = 0x1000) of macof overlaps with TEXT segment (address = 0x0 size = 0x1e000) of /opt/local/lib/ libpcap.DP.dylib /usr/bin/ld: warning prebinding not disabled because (TEXT segment (address = 0x1000 size = 0x4000) of macof overlaps with TEXT segment (address = 0x0 size = 0x1e000) of /opt/local/lib/ libpcap.DP.dylib /usr/bin/ld: warning prebinding not disabled because (DATA segment (address = 0x5000 size = 0x1000) of macof overlaps with TEXT segment (address = 0x0 size = 0x1e000) of /opt/local/lib/ libpcap.DP.dylib /usr/bin/ld: warning prebinding not disabled because (LINKEDIT segment (address = 0x6000 size = 0x2000) of macof overlaps with TEXT segment (address = 0x0 size = 0x1e000) of /opt/local/lib/ libpcap.DP.dylib gcc -DBIND_8_COMPAT -D_BSD_SOURCE -DLIBNET_BIG_ENDIAN -DDSNIFF_LIBDIR=\"/opt/local/lib/\" -

  1. -I/opt/local/include -I/opt/local/include -I/opt/local/include -I/opt/local/include -I/usr/X11R6/

include -I./missing -c ./mailsnarf.c ./mailsnarf.c: In function 'process_pop_client': ./mailsnarf.c:116: warning: pointer targets in passing argument 2 of 'buf_init' differ in signedness ./mailsnarf.c:122: warning: pointer targets in passing argument 1 of 'strncasecmp' differ in signedness ./mailsnarf.c: In function 'process_pop_server': ./mailsnarf.c:136: warning: pointer targets in passing argument 2 of 'buf_init' differ in signedness ./mailsnarf.c:158: warning: pointer targets in passing argument 1 of 'regex_match' differ in signedness ./mailsnarf.c:159: warning: pointer targets in passing argument 2 of 'print_mbox_msg' differ in signedness ./mailsnarf.c: In function 'process_smtp_client': ./mailsnarf.c:174: warning: pointer targets in passing argument 2 of 'buf_init' differ in signedness ./mailsnarf.c:180: warning: pointer targets in assignment differ in signedness ./mailsnarf.c:214: warning: pointer targets in passing argument 1 of 'regex_match' differ in signedness ./mailsnarf.c:215: warning: pointer targets in passing argument 2 of 'print_mbox_msg' differ in signedness gcc -o mailsnarf mailsnarf.o buf.o pcaputil.o -lresolv -L. -lmissing -L/opt/local/lib -lnids -L/opt/ local/lib -lpcap -L/opt/local/lib -lnet /usr/bin/ld: warning prebinding not disabled because (PAGEZERO segment (address = 0x0 size = 0x1000) of mailsnarf overlaps with TEXT segment (address = 0x0 size = 0x1e000) of /opt/local/lib/ libpcap.DP.dylib /usr/bin/ld: warning prebinding not disabled because (TEXT segment (address = 0x1000 size = 0xa000) of mailsnarf overlaps with TEXT segment (address = 0x0 size = 0x1e000) of /opt/local/lib/ libpcap.DP.dylib /usr/bin/ld: warning prebinding not disabled because (DATA segment (address = 0xb000 size = 0x1000) of mailsnarf overlaps with TEXT segment (address = 0x0 size = 0x1e000) of /opt/local/lib/ libpcap.DP.dylib /usr/bin/ld: warning prebinding not disabled because (LINKEDIT segment (address = 0xc000 size = 0xf000) of mailsnarf overlaps with TEXT segment (address = 0x0 size = 0x1e000) of /opt/local/lib/ libpcap.DP.dylib gcc -DBIND_8_COMPAT -D_BSD_SOURCE -DLIBNET_BIG_ENDIAN -DDSNIFF_LIBDIR=\"/opt/local/lib/\" -

  1. -I/opt/local/include -I/opt/local/include -I/opt/local/include -I/opt/local/include -I/usr/X11R6/

include -I./missing -c ./msgsnarf.c ./msgsnarf.c: In function 'process_aim': ./msgsnarf.c:142: warning: pointer targets in assignment differ in signedness ./msgsnarf.c:144: warning: pointer targets in passing argument 1 of 'regex_match' differ in signedness ./msgsnarf.c:158: warning: pointer targets in assignment differ in signedness ./msgsnarf.c:160: warning: pointer targets in passing argument 1 of 'regex_match' differ in signedness ./msgsnarf.c:194: warning: pointer targets in assignment differ in signedness ./msgsnarf.c:196: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness ./msgsnarf.c:196: warning: pointer targets in passing argument 1 of 'regex_match' differ in signedness ./msgsnarf.c: In function 'sniff_msgs': ./msgsnarf.c:595: warning: pointer targets in passing argument 2 of 'process_msgs' differ in signedness ./msgsnarf.c:600: warning: pointer targets in passing argument 2 of 'process_msgs' differ in signedness ./msgsnarf.c:611: warning: pointer targets in passing argument 2 of 'process_msgs' differ in signedness ./msgsnarf.c:614: warning: pointer targets in passing argument 2 of 'process_msgs' differ in signedness gcc -o msgsnarf msgsnarf.o buf.o pcaputil.o -lresolv -L. -lmissing -L/opt/local/lib -lnids -L/opt/ local/lib -lpcap -L/opt/local/lib -lnet /usr/bin/ld: warning prebinding not disabled because (PAGEZERO segment (address = 0x0 size = 0x1000) of msgsnarf overlaps with TEXT segment (address = 0x0 size = 0x1e000) of /opt/local/lib/ libpcap.DP.dylib /usr/bin/ld: warning prebinding not disabled because (TEXT segment (address = 0x1000 size = 0xb000) of msgsnarf overlaps with TEXT segment (address = 0x0 size = 0x1e000) of /opt/local/lib/ libpcap.DP.dylib /usr/bin/ld: warning prebinding not disabled because (DATA segment (address = 0xc000 size = 0x1000) of msgsnarf overlaps with TEXT segment (address = 0x0 size = 0x1e000) of /opt/local/lib/ libpcap.DP.dylib /usr/bin/ld: warning prebinding not disabled because (LINKEDIT segment (address = 0xd000 size = 0xf000) of msgsnarf overlaps with TEXT segment (address = 0x0 size = 0x1e000) of /opt/local/lib/ libpcap.DP.dylib gcc -DBIND_8_COMPAT -D_BSD_SOURCE -DLIBNET_BIG_ENDIAN -DDSNIFF_LIBDIR=\"/opt/local/lib/\" -

  1. -I/opt/local/include -I/opt/local/include -I/opt/local/include -I/opt/local/include -I/usr/X11R6/

include -I./missing -c ./sshmitm.c ./sshmitm.c:44: warning: built-in function 'csin' declared as non-function ./sshmitm.c: In function 'mitm_child': ./sshmitm.c:201: warning: pointer targets in passing argument 3 of 'ssh_strlcat' differ in signedness ./sshmitm.c:234: warning: pointer targets in passing argument 3 of 'ssh_strlcat' differ in signedness ./sshmitm.c:245: warning: pointer targets in passing argument 7 of 'record' differ in signedness ./sshmitm.c: In function 'mitm_run': ./sshmitm.c:339: warning: pointer targets in passing argument 3 of 'accept' differ in signedness ./sshmitm.c: In function 'main': ./sshmitm.c:390: warning: pointer targets in passing argument 1 of 'libnet_name_resolve' differ in signedness gcc -DBIND_8_COMPAT -D_BSD_SOURCE -DLIBNET_BIG_ENDIAN -DDSNIFF_LIBDIR=\"/opt/local/lib/\" -

  1. -I/opt/local/include -I/opt/local/include -I/opt/local/include -I/opt/local/include -I/usr/X11R6/

include -I./missing -c ./ssh.c gcc -DBIND_8_COMPAT -D_BSD_SOURCE -DLIBNET_BIG_ENDIAN -DDSNIFF_LIBDIR=\"/opt/local/lib/\" -

  1. -I/opt/local/include -I/opt/local/include -I/opt/local/include -I/opt/local/include -I/usr/X11R6/

include -I./missing -c ./sshcrypto.c ./sshcrypto.c:25: error: field 'key' has incomplete type ./sshcrypto.c:30: error: parse error before 'des_key_schedule' ./sshcrypto.c:30: warning: no semicolon at end of struct or union ./sshcrypto.c:31: warning: data definition has no type or storage class ./sshcrypto.c:32: error: parse error before '}' token ./sshcrypto.c: In function 'blowfish_encrypt': ./sshcrypto.c:131: error: 'BF_ENCRYPT' undeclared (first use in this function) ./sshcrypto.c:131: error: (Each undeclared identifier is reported only once ./sshcrypto.c:131: error: for each function it appears in.) ./sshcrypto.c: In function 'blowfish_decrypt': ./sshcrypto.c:143: error: 'BF_DECRYPT' undeclared (first use in this function) ./sshcrypto.c: In function 'des3_init': ./sshcrypto.c:153: error: dereferencing pointer to incomplete type ./sshcrypto.c:156: error: dereferencing pointer to incomplete type ./sshcrypto.c:157: error: dereferencing pointer to incomplete type ./sshcrypto.c:160: error: dereferencing pointer to incomplete type ./sshcrypto.c:162: error: dereferencing pointer to incomplete type ./sshcrypto.c:164: error: dereferencing pointer to incomplete type ./sshcrypto.c:165: error: dereferencing pointer to incomplete type ./sshcrypto.c:166: error: dereferencing pointer to incomplete type ./sshcrypto.c: In function 'des3_encrypt': ./sshcrypto.c:176: error: dereferencing pointer to incomplete type ./sshcrypto.c:176: error: dereferencing pointer to incomplete type ./sshcrypto.c:178: error: dereferencing pointer to incomplete type ./sshcrypto.c:178: error: dereferencing pointer to incomplete type ./sshcrypto.c:178: error: 'DES_ENCRYPT' undeclared (first use in this function) ./sshcrypto.c:179: error: dereferencing pointer to incomplete type ./sshcrypto.c:179: error: dereferencing pointer to incomplete type ./sshcrypto.c:179: error: 'DES_DECRYPT' undeclared (first use in this function) ./sshcrypto.c:180: error: dereferencing pointer to incomplete type ./sshcrypto.c:180: error: dereferencing pointer to incomplete type ./sshcrypto.c: In function 'des3_decrypt': ./sshcrypto.c:189: error: dereferencing pointer to incomplete type ./sshcrypto.c:189: error: dereferencing pointer to incomplete type ./sshcrypto.c:191: error: dereferencing pointer to incomplete type ./sshcrypto.c:191: error: dereferencing pointer to incomplete type ./sshcrypto.c:191: error: 'DES_DECRYPT' undeclared (first use in this function) ./sshcrypto.c:192: error: dereferencing pointer to incomplete type ./sshcrypto.c:192: error: dereferencing pointer to incomplete type ./sshcrypto.c:192: error: 'DES_ENCRYPT' undeclared (first use in this function) ./sshcrypto.c:193: error: dereferencing pointer to incomplete type ./sshcrypto.c:193: error: dereferencing pointer to incomplete type make: * [sshcrypto.o] Error 1 Error: Target com.apple.build returned: shell command "cd "/opt/local/var/db/dports/build/ file._opt_local_var_db_dports_sources_rsync.rsync.opendarwin.org_dpupdate_dports_net_dsniff/work/ dsniff-2.3" && make all" returned error 2 Command output: ./sshcrypto.c:156: error: dereferencing pointer to incomplete type ./sshcrypto.c:157: error: dereferencing pointer to incomplete type ./sshcrypto.c:160: error: dereferencing pointer to incomplete type ./sshcrypto.c:162: error: dereferencing pointer to incomplete type ./sshcrypto.c:164: error: dereferencing pointer to incomplete type ./sshcrypto.c:165: error: dereferencing pointer to incomplete type ./sshcrypto.c:166: error: dereferencing pointer to incomplete type ./sshcrypto.c: In function 'des3_encrypt': ./sshcrypto.c:176: error: dereferencing pointer to incomplete type ./sshcrypto.c:176: error: dereferencing pointer to incomplete type ./sshcrypto.c:178: error: dereferencing pointer to incomplete type ./sshcrypto.c:178: error: dereferencing pointer to incomplete type ./sshcrypto.c:178: error: 'DES_ENCRYPT' undeclared (first use in this function) ./sshcrypto.c:179: error: dereferencing pointer to incomplete type ./sshcrypto.c:179: error: dereferencing pointer to incomplete type ./sshcrypto.c:179: error: 'DES_DECRYPT' undeclared (first use in this function) ./sshcrypto.c:180: error: dereferencing pointer to incomplete type ./sshcrypto.c:180: error: dereferencing pointer to incomplete type ./sshcrypto.c: In function 'des3_decrypt': ./sshcrypto.c:189: error: dereferencing pointer to incomplete type ./sshcrypto.c:189: error: dereferencing pointer to incomplete type ./sshcrypto.c:191: error: dereferencing pointer to incomplete type ./sshcrypto.c:191: error: dereferencing pointer to incomplete type ./sshcrypto.c:191: error: 'DES_DECRYPT' undeclared (first use in this function) ./sshcrypto.c:192: error: dereferencing pointer to incomplete type ./sshcrypto.c:192: error: dereferencing pointer to incomplete type ./sshcrypto.c:192: error: 'DES_ENCRYPT' undeclared (first use in this function) ./sshcrypto.c:193: error: dereferencing pointer to incomplete type ./sshcrypto.c:193: error: dereferencing pointer to incomplete type make: * [sshcrypto.o] Error 1

Warning: the following items did not execute (for dsniff): com.apple.activate com.apple.build com.apple.destroot com.apple.archive com.apple.install

comment:3 Changed 19 years ago by toby@…

Summary: BUG: dnsiff fails to compileBUG: dsniff fails to compile

comment:4 Changed 19 years ago by ryan@…

Cc: ryan@… added

Changed 19 years ago by ryan@…

Attachment: dsniff-error.txt added

My debug output for a similar-looking build problem

comment:5 Changed 19 years ago by ryan@…

Adding a couple of #includes to sshcrypto.c seems to let me build at least.

#include <openssl/blowfish.h> #include <openssl/des.h>

I'm not much of a C programmer, so I don't know if that's the best fix, or if I'm putting the fix in the right location. My 5-second test seems to indicate that dsniff runs afterwards, at least.

Changed 19 years ago by bahamat@…

Attachment: dsniff.patch added

Patch to correct linking problems in sshcrypto.c

comment:6 Changed 19 years ago by toby@…

Status: newassigned

This is not a good fix; there's a problem with the OpenSSL port, where it sometimes fails to install certain headers (such as blowfish.)

comment:7 Changed 19 years ago by ryan@…

There may also be a problem with OpenSSL where it fails to install headers on disk. That wasn't the problem in my case. On my system, the headers were all there. OpenSSL 0.9.8, installed via darwinports. Simply making sshcrypto.c reference the headers as shown so it could get the missing structs fixed it.

I had assumed that something had changed with OpenSSL at some point since dsniff was written that meant you had to explictly include those headers now. Is there a problem with OpenSSL that causes blowfish.h and des.h to not get pulled in when you include ssl.h? Are they supposed to?

comment:8 Changed 19 years ago by toby@…

Right, but including them explicitly from within dsniff isn't the fix. If the headers get installed, they'll be automatically included when you include <openssl/ssl.h> or whatever.

comment:9 Changed 19 years ago by ryan@…

My question was whether these were intentionally removed in OpenSSL 0.9.8. For example, I'm looking at this changelist item:

Reduced header interdepencies by declaring more opaque objects in

ossl_typ.h. As a consequence, including some headers (eg. engine.h) will give fewer recursive includes, which could break lazy source code - so this change is covered by the OPENSSL_NO_DEPRECATED symbol. As always, developers should define this symbol when building and using openssl to ensure they track the recommended behaviour, interfaces, [etc], but backwards-compatible behaviour prevails when this isn't defined. [Geoff Thorpe]

Is this a known problem with the current OpenSSL darwinports? Is there an existing bug on this, or a mailing list discussion or something so I can educate myself? Apologies for pestering, I'd like to learn.

comment:10 Changed 19 years ago by toby@…

Resolution: fixed
Status: assignedclosed

Yes, it looks like 0.9.8 no longer automatically gives you blowfish.h or des.h when you include ssl.h. However, it was also failing to even install the headers on case-insensitive filesystems. I've committed a fix for that, along with your patch, and dsniff builds for me now.

Note: See TracTickets for help on using tickets.