=> Building net/ssldump Started : Monday, 23 JUL 2018 at 01:26:32 UTC Platform: 5.3-DEVELOPMENT DragonFly v5.3.0.242.g757c0-DEVELOPMENT #30: Tue May 8 14:06:27 PDT 2018 root@pkgbox64.dragonflybsd.org:/usr/obj/usr/src/sys/X86_64_GENERIC x86_64 -------------------------------------------------- -- Environment -------------------------------------------------- UNAME_r=5.2-SYNTH UNAME_m=x86_64 UNAME_p=x86_64 UNAME_v=DragonFly 5.2-SYNTH UNAME_s=DragonFly PATH=/sbin:/bin:/usr/sbin:/usr/bin:/usr/local/sbin:/usr/local/bin SSL_NO_VERIFY_PEER=1 TERM=dumb PKG_CACHEDIR=/var/cache/pkg8 PKG_DBDIR=/var/db/pkg8 PORTSDIR=/xports LANG=C HOME=/root USER=root -------------------------------------------------- -- Options -------------------------------------------------- ===> The following configuration options are available for ssldump-0.9b3_5: AES=off: Enable AES support from CVS (EXPERIMENTAL) ===> Use 'make config' to modify these settings -------------------------------------------------- -- CONFIGURE_ENV -------------------------------------------------- XDG_DATA_HOME=/construction/net/ssldump XDG_CONFIG_HOME=/construction/net/ssldump HOME=/construction/net/ssldump TMPDIR="/tmp" PATH=/construction/net/ssldump/.bin:/sbin:/bin:/usr/sbin:/usr/bin:/usr/local/sbin:/usr/local/bin SHELL=/bin/sh CONFIG_SHELL=/bin/sh CCVER=gcc50 CONFIG_SITE=/xports/Templates/config.site lt_cv_sys_max_cmd_len=262144 -------------------------------------------------- -- CONFIGURE_ARGS -------------------------------------------------- --with-openssl=/usr/local --sbindir=/usr/local/bin --prefix=/usr/local ${_LATE_CONFIGURE_ARGS} -------------------------------------------------- -- MAKE_ENV -------------------------------------------------- OPENSSLBASE=/usr/local OPENSSLDIR=/usr/local/openssl OPENSSLINC=/usr/local/include OPENSSLLIB=/usr/local/lib OPENSSLRPATH=/usr/local/lib XDG_DATA_HOME=/construction/net/ssldump XDG_CONFIG_HOME=/construction/net/ssldump HOME=/construction/net/ssldump TMPDIR="/tmp" PATH=/construction/net/ssldump/.bin:/sbin:/bin:/usr/sbin:/usr/bin:/usr/local/sbin:/usr/local/bin NO_PIE=yes MK_DEBUG_FILES=no MK_KERNEL_SYMBOLS=no SHELL=/bin/sh NO_LINT=YES CCVER=gcc50 PREFIX=/usr/local LOCALBASE=/usr/local NOPROFILE=1 CC="cc" CFLAGS="-pipe -O2 -fno-strict-aliasing" CPP="cpp" CPPFLAGS="" LDFLAGS=" -Wl,-rpath,/usr/local/lib" LIBS="" CXX="c++" CXXFLAGS=" -pipe -O2 -fno-strict-aliasing" MANPREFIX="/usr/local" BSD_INSTALL_PROGRAM="install -s -m 555" BSD_INSTALL_LIB="install -s -m 0644" BSD_INSTALL_SCRIPT="install -m 555" BSD_INSTALL_DATA="install -m 0644" BSD_INSTALL_MAN="install -m 444" -------------------------------------------------- -- MAKE_ARGS -------------------------------------------------- DESTDIR=/construction/net/ssldump/stage -------------------------------------------------- -- PLIST_SUB -------------------------------------------------- PORTDOCS="" PORTEXAMPLES="" OSREL=5.2 PREFIX=%D LOCALBASE=/usr/local RESETPREFIX=/usr/local LIB32DIR=lib PROFILE="@comment " DOCSDIR="share/doc/ssldump" EXAMPLESDIR="share/examples/ssldump" DATADIR="share/ssldump" WWWDIR="www/ssldump" ETCDIR="etc/ssldump" -------------------------------------------------- -- SUB_LIST -------------------------------------------------- PREFIX=/usr/local LOCALBASE=/usr/local DATADIR=/usr/local/share/ssldump DOCSDIR=/usr/local/share/doc/ssldump EXAMPLESDIR=/usr/local/share/examples/ssldump WWWDIR=/usr/local/www/ssldump ETCDIR=/usr/local/etc/ssldump -------------------------------------------------- -- /etc/make.conf -------------------------------------------------- SYNTHPROFILE=Release-5.2 USE_PACKAGE_DEPENDS_ONLY=yes PACKAGE_BUILDING=yes BATCH=yes PKG_CREATE_VERBOSE=yes PORTSDIR=/xports DISTDIR=/distfiles WRKDIRPREFIX=/construction PORT_DBDIR=/options PACKAGES=/packages MAKE_JOBS_NUMBER_LIMIT=5 LICENSES_ACCEPTED= NONE HAVE_COMPAT_IA32_KERN= CONFIGURE_MAX_CMD_LEN=262144 _PERL5_FROM_BIN=5.26.1 _ALTCCVERSION_921dbbb2=none _OBJC_ALTCCVERSION_921dbbb2=none _SMP_CPUS=8 UID=0 ARCH=x86_64 OPSYS=DragonFly DFLYVERSION=500200 OSVERSION=9999999 OSREL=5.2 _OSRELEASE=5.2-SYNTH PYTHONBASE=/usr/local _PKG_CHECKED=1 -------------------------------------------------------------------------------- -- Phase: check-sanity -------------------------------------------------------------------------------- -------------------------------------------------------------------------------- -- Phase: pkg-depends -------------------------------------------------------------------------------- ===> ssldump-0.9b3_5 depends on file: /usr/local/sbin/pkg - not found ===> Installing existing package /packages/All/pkg-1.10.5_1.txz Installing pkg-1.10.5_1... Extracting pkg-1.10.5_1: .......... done ===> ssldump-0.9b3_5 depends on file: /usr/local/sbin/pkg - found ===> Returning to build of ssldump-0.9b3_5 -------------------------------------------------------------------------------- -- Phase: fetch-depends -------------------------------------------------------------------------------- -------------------------------------------------------------------------------- -- Phase: fetch -------------------------------------------------------------------------------- ===> Fetching all distfiles required by ssldump-0.9b3_5 for building -------------------------------------------------------------------------------- -- Phase: checksum -------------------------------------------------------------------------------- ===> Fetching all distfiles required by ssldump-0.9b3_5 for building => SHA256 Checksum OK for ssldump-0.9b3.tar.gz. => SHA256 Checksum OK for 2-ssldump-tls12.diff. -------------------------------------------------------------------------------- -- Phase: extract-depends -------------------------------------------------------------------------------- -------------------------------------------------------------------------------- -- Phase: extract -------------------------------------------------------------------------------- ===> Fetching all distfiles required by ssldump-0.9b3_5 for building ===> Extracting for ssldump-0.9b3_5 => SHA256 Checksum OK for ssldump-0.9b3.tar.gz. => SHA256 Checksum OK for 2-ssldump-tls12.diff. -------------------------------------------------------------------------------- -- Phase: patch-depends -------------------------------------------------------------------------------- -------------------------------------------------------------------------------- -- Phase: patch -------------------------------------------------------------------------------- ===> Patching for ssldump-0.9b3_5 ===> Applying distribution patches for ssldump-0.9b3_5 ===> Applying ports patches for ssldump-0.9b3_5 -------------------------------------------------------------------------------- -- Phase: build-depends -------------------------------------------------------------------------------- ===> ssldump-0.9b3_5 depends on file: /usr/local/lib/libcrypto.so.43 - not found ===> Installing existing package /packages/All/libressl-2.7.4.txz Installing libressl-2.7.4... Extracting libressl-2.7.4: .......... done ===> ssldump-0.9b3_5 depends on file: /usr/local/lib/libcrypto.so.43 - found ===> Returning to build of ssldump-0.9b3_5 -------------------------------------------------------------------------------- -- Phase: lib-depends -------------------------------------------------------------------------------- -------------------------------------------------------------------------------- -- Phase: configure -------------------------------------------------------------------------------- ===> Configuring for ssldump-0.9b3_5 configure: warning: x86_64-portbld-dragonfly5.2: invalid host type loading site script /xports/Templates/config.site creating cache ./config.cache checking host system type... x86_64-portbld-dragonfly5.2 checking target system type... x86_64-portbld-dragonfly5.2 checking build system type... x86_64-portbld-dragonfly5.2 checking for gcc... cc checking whether the C compiler (cc -pipe -O2 -fno-strict-aliasing -Wl,-rpath,/usr/local/lib) works... yes checking whether the C compiler (cc -pipe -O2 -fno-strict-aliasing -Wl,-rpath,/usr/local/lib) is a cross-compiler... no checking whether we are using GNU C... yes checking whether cc accepts -g... yes checking whether make sets ${MAKE}... yes checking for ranlib... ranlib checking for a BSD compatible install... /usr/bin/install -c configuring for dragonfly5.2 checking for pow in -lm... yes checking for PCAP include files... found in /usr/include checking for PCAP library... found in /usr/lib checking for OpenSSL include files... found in /usr/local/include checking for OpenSSL libraries... found in /usr/local/lib checking for pcap_open in -lpcap... no checking how to run the C preprocessor... cpp checking for sys/time.h... (cached) yes checking for ANSI C header files... (cached) yes checking for working const... yes checking whether time.h and sys/time.h may both be included... yes checking size of unsigned short... 2 checking size of unsigned int... 4 checking size of unsigned long... 8 checking size of unsigned long long... 8 checking for 8-bit clean memcmp... yes checking return type of signal handlers... void checking for vprintf... (cached) yes checking for strdup... (cached) yes updating cache ./config.cache creating ./config.status creating Makefile -------------------------------------------------------------------------------- -- Phase: build -------------------------------------------------------------------------------- ===> Building for ssldump-0.9b3_5 --- debug.o --- --- r_assoc.o --- --- r_bitfield.o --- --- r_data.o --- --- r_errors.o --- --- debug.o --- cc -pipe -O2 -fno-strict-aliasing -pipe -O2 -fno-strict-aliasing -DHAVE_LIBM=1 -DHAVE_SYS_TIME_H=1 -DSTDC_HEADERS=1 -DTIME_WITH_SYS_TIME=1 -DSIZEOF_UNSIGNED_SHORT=2 -DSIZEOF_UNSIGNED_INT=4 -DSIZEOF_UNSIGNED_LONG=8 -DSIZEOF_UNSIGNED_LONG_LONG=8 -DRETSIGTYPE=void -DHAVE_VPRINTF=1 -DHAVE_STRDUP=1 -c -o debug.o common/lib/debug.c -DOPENSSL -I./base/ -I./null/ -I./ssl/ -Icommon/include/ -I./null/ -I./ssl/ -I/usr/local/include --- r_assoc.o --- cc -pipe -O2 -fno-strict-aliasing -pipe -O2 -fno-strict-aliasing -DHAVE_LIBM=1 -DHAVE_SYS_TIME_H=1 -DSTDC_HEADERS=1 -DTIME_WITH_SYS_TIME=1 -DSIZEOF_UNSIGNED_SHORT=2 -DSIZEOF_UNSIGNED_INT=4 -DSIZEOF_UNSIGNED_LONG=8 -DSIZEOF_UNSIGNED_LONG_LONG=8 -DRETSIGTYPE=void -DHAVE_VPRINTF=1 -DHAVE_STRDUP=1 -c -o r_assoc.o common/lib/r_assoc.c -DOPENSSL -I./base/ -I./null/ -I./ssl/ -Icommon/include/ -I./null/ -I./ssl/ -I/usr/local/include --- r_bitfield.o --- cc -pipe -O2 -fno-strict-aliasing -pipe -O2 -fno-strict-aliasing -DHAVE_LIBM=1 -DHAVE_SYS_TIME_H=1 -DSTDC_HEADERS=1 -DTIME_WITH_SYS_TIME=1 -DSIZEOF_UNSIGNED_SHORT=2 -DSIZEOF_UNSIGNED_INT=4 -DSIZEOF_UNSIGNED_LONG=8 -DSIZEOF_UNSIGNED_LONG_LONG=8 -DRETSIGTYPE=void -DHAVE_VPRINTF=1 -DHAVE_STRDUP=1 -c -o r_bitfield.o common/lib/r_bitfield.c -DOPENSSL -I./base/ -I./null/ -I./ssl/ -Icommon/include/ -I./null/ -I./ssl/ -I/usr/local/include --- r_data.o --- cc -pipe -O2 -fno-strict-aliasing -pipe -O2 -fno-strict-aliasing -DHAVE_LIBM=1 -DHAVE_SYS_TIME_H=1 -DSTDC_HEADERS=1 -DTIME_WITH_SYS_TIME=1 -DSIZEOF_UNSIGNED_SHORT=2 -DSIZEOF_UNSIGNED_INT=4 -DSIZEOF_UNSIGNED_LONG=8 -DSIZEOF_UNSIGNED_LONG_LONG=8 -DRETSIGTYPE=void -DHAVE_VPRINTF=1 -DHAVE_STRDUP=1 -c -o r_data.o common/lib/r_data.c -DOPENSSL -I./base/ -I./null/ -I./ssl/ -Icommon/include/ -I./null/ -I./ssl/ -I/usr/local/include --- r_errors.o --- cc -pipe -O2 -fno-strict-aliasing -pipe -O2 -fno-strict-aliasing -DHAVE_LIBM=1 -DHAVE_SYS_TIME_H=1 -DSTDC_HEADERS=1 -DTIME_WITH_SYS_TIME=1 -DSIZEOF_UNSIGNED_SHORT=2 -DSIZEOF_UNSIGNED_INT=4 -DSIZEOF_UNSIGNED_LONG=8 -DSIZEOF_UNSIGNED_LONG_LONG=8 -DRETSIGTYPE=void -DHAVE_VPRINTF=1 -DHAVE_STRDUP=1 -c -o r_errors.o common/lib/r_errors.c -DOPENSSL -I./base/ -I./null/ -I./ssl/ -Icommon/include/ -I./null/ -I./ssl/ -I/usr/local/include --- r_assoc.o --- common/lib/r_assoc.c: In function 'copy_assoc_chain': common/lib/r_assoc.c:185:7: warning: implicit declaration of function 'memcpy' [-Wimplicit-function-declaration] memcpy(ptr->key,old->key,ptr->key_len=old->key_len); ^ common/lib/r_assoc.c:185:7: warning: incompatible implicit declaration of built-in function 'memcpy' common/lib/r_assoc.c:185:7: note: include '' or provide a declaration of 'memcpy' common/lib/r_assoc.c: In function 'r_assoc_fetch_bucket': common/lib/r_assoc.c:210:37: warning: implicit declaration of function 'memcmp' [-Wimplicit-function-declaration] if(bucket->key_len == len && !memcmp(bucket->key,key,len)){ ^ common/lib/r_assoc.c: In function 'r_assoc_insert': common/lib/r_assoc.c:262:7: warning: incompatible implicit declaration of built-in function 'memcpy' memcpy(new_bucket->key,key,len); ^ common/lib/r_assoc.c:262:7: note: include '' or provide a declaration of 'memcpy' --- r_bitfield.o --- common/lib/r_bitfield.c: In function 'r_bitfield_create': common/lib/r_bitfield.c:29:5: warning: implicit declaration of function 'memset' [-Wimplicit-function-declaration] memset(set->data,0,4*num_words); ^ common/lib/r_bitfield.c:29:5: warning: incompatible implicit declaration of built-in function 'memset' common/lib/r_bitfield.c:29:5: note: include '' or provide a declaration of 'memset' common/lib/r_bitfield.c: In function 'r_bitfield_set': common/lib/r_bitfield.c:80:7: warning: implicit declaration of function 'memcpy' [-Wimplicit-function-declaration] memcpy(tmp,set->data,set->len*4); ^ common/lib/r_bitfield.c:80:7: warning: incompatible implicit declaration of built-in function 'memcpy' common/lib/r_bitfield.c:80:7: note: include '' or provide a declaration of 'memcpy' common/lib/r_bitfield.c:81:7: warning: incompatible implicit declaration of built-in function 'memset' memset(tmp+set->len*4,0,(newlen-set->len)*4); ^ common/lib/r_bitfield.c:81:7: note: include '' or provide a declaration of 'memset' --- r_data.o --- common/lib/r_data.c: In function 'r_data_create': common/lib/r_data.c:65:5: warning: implicit declaration of function 'memcpy' [-Wimplicit-function-declaration] memcpy(d_->data,d,l); ^ common/lib/r_data.c:65:5: warning: incompatible implicit declaration of built-in function 'memcpy' common/lib/r_data.c:65:5: note: include '' or provide a declaration of 'memcpy' common/lib/r_data.c: In function 'r_data_make': common/lib/r_data.c:109:5: warning: incompatible implicit declaration of built-in function 'memcpy' memcpy(dp->data,d,l); ^ common/lib/r_data.c:109:5: note: include '' or provide a declaration of 'memcpy' common/lib/r_data.c: In function 'r_data_copy': common/lib/r_data.c:136:5: warning: incompatible implicit declaration of built-in function 'memcpy' memcpy(dst->data,src->data,dst->len=src->len); ^ common/lib/r_data.c:136:5: note: include '' or provide a declaration of 'memcpy' common/lib/r_data.c: In function 'r_data_zfree': common/lib/r_data.c:147:5: warning: implicit declaration of function 'memset' [-Wimplicit-function-declaration] memset(d->data,0,d->len); ^ common/lib/r_data.c:147:5: warning: incompatible implicit declaration of built-in function 'memset' common/lib/r_data.c:147:5: note: include '' or provide a declaration of 'memset' common/lib/r_data.c: In function 'r_data_compare': common/lib/r_data.c:160:12: warning: implicit declaration of function 'memcmp' [-Wimplicit-function-declaration] return(memcmp(d1->data,d2->data,d1->len)); ^ --- r_list.o --- cc -pipe -O2 -fno-strict-aliasing -pipe -O2 -fno-strict-aliasing -DHAVE_LIBM=1 -DHAVE_SYS_TIME_H=1 -DSTDC_HEADERS=1 -DTIME_WITH_SYS_TIME=1 -DSIZEOF_UNSIGNED_SHORT=2 -DSIZEOF_UNSIGNED_INT=4 -DSIZEOF_UNSIGNED_LONG=8 -DSIZEOF_UNSIGNED_LONG_LONG=8 -DRETSIGTYPE=void -DHAVE_VPRINTF=1 -DHAVE_STRDUP=1 -c -o r_list.o common/lib/r_list.c -DOPENSSL -I./base/ -I./null/ -I./ssl/ -Icommon/include/ -I./null/ -I./ssl/ -I/usr/local/include --- r_replace.o --- cc -pipe -O2 -fno-strict-aliasing -pipe -O2 -fno-strict-aliasing -DHAVE_LIBM=1 -DHAVE_SYS_TIME_H=1 -DSTDC_HEADERS=1 -DTIME_WITH_SYS_TIME=1 -DSIZEOF_UNSIGNED_SHORT=2 -DSIZEOF_UNSIGNED_INT=4 -DSIZEOF_UNSIGNED_LONG=8 -DSIZEOF_UNSIGNED_LONG_LONG=8 -DRETSIGTYPE=void -DHAVE_VPRINTF=1 -DHAVE_STRDUP=1 -c -o r_replace.o common/lib/r_replace.c -DOPENSSL -I./base/ -I./null/ -I./ssl/ -Icommon/include/ -I./null/ -I./ssl/ -I/usr/local/include --- r_time.o --- cc -pipe -O2 -fno-strict-aliasing -pipe -O2 -fno-strict-aliasing -DHAVE_LIBM=1 -DHAVE_SYS_TIME_H=1 -DSTDC_HEADERS=1 -DTIME_WITH_SYS_TIME=1 -DSIZEOF_UNSIGNED_SHORT=2 -DSIZEOF_UNSIGNED_INT=4 -DSIZEOF_UNSIGNED_LONG=8 -DSIZEOF_UNSIGNED_LONG_LONG=8 -DRETSIGTYPE=void -DHAVE_VPRINTF=1 -DHAVE_STRDUP=1 -c -o r_time.o common/lib/r_time.c -DOPENSSL -I./base/ -I./null/ -I./ssl/ -Icommon/include/ -I./null/ -I./ssl/ -I/usr/local/include --- network.o --- cc -pipe -O2 -fno-strict-aliasing -pipe -O2 -fno-strict-aliasing -DHAVE_LIBM=1 -DHAVE_SYS_TIME_H=1 -DSTDC_HEADERS=1 -DTIME_WITH_SYS_TIME=1 -DSIZEOF_UNSIGNED_SHORT=2 -DSIZEOF_UNSIGNED_INT=4 -DSIZEOF_UNSIGNED_LONG=8 -DSIZEOF_UNSIGNED_LONG_LONG=8 -DRETSIGTYPE=void -DHAVE_VPRINTF=1 -DHAVE_STRDUP=1 -c -o network.o ./base/network.c -DOPENSSL -I./base/ -I./null/ -I./ssl/ -Icommon/include/ -I./null/ -I./ssl/ -I/usr/local/include --- pcap-snoop.o --- cc -pipe -O2 -fno-strict-aliasing -pipe -O2 -fno-strict-aliasing -DHAVE_LIBM=1 -DHAVE_SYS_TIME_H=1 -DSTDC_HEADERS=1 -DTIME_WITH_SYS_TIME=1 -DSIZEOF_UNSIGNED_SHORT=2 -DSIZEOF_UNSIGNED_INT=4 -DSIZEOF_UNSIGNED_LONG=8 -DSIZEOF_UNSIGNED_LONG_LONG=8 -DRETSIGTYPE=void -DHAVE_VPRINTF=1 -DHAVE_STRDUP=1 -c -o pcap-snoop.o ./base/pcap-snoop.c -DOPENSSL -I./base/ -I./null/ -I./ssl/ -Icommon/include/ -I./null/ -I./ssl/ -I/usr/local/include --- proto_mod.o --- cc -pipe -O2 -fno-strict-aliasing -pipe -O2 -fno-strict-aliasing -DHAVE_LIBM=1 -DHAVE_SYS_TIME_H=1 -DSTDC_HEADERS=1 -DTIME_WITH_SYS_TIME=1 -DSIZEOF_UNSIGNED_SHORT=2 -DSIZEOF_UNSIGNED_INT=4 -DSIZEOF_UNSIGNED_LONG=8 -DSIZEOF_UNSIGNED_LONG_LONG=8 -DRETSIGTYPE=void -DHAVE_VPRINTF=1 -DHAVE_STRDUP=1 -c -o proto_mod.o ./base/proto_mod.c -DOPENSSL -I./base/ -I./null/ -I./ssl/ -Icommon/include/ -I./null/ -I./ssl/ -I/usr/local/include --- pcap-snoop.o --- In file included from ./base/pcap-snoop.c:52:0: /usr/include/net/bpf.h:78:8: error: redefinition of 'struct bpf_program' struct bpf_program { ^ In file included from /usr/include/pcap/pcap.h:51:0, from /usr/include/pcap.h:43, from ./base/pcap-snoop.c:50: /usr/include/pcap/bpf.h:108:8: note: originally defined here struct bpf_program { ^ In file included from ./base/pcap-snoop.c:52:0: /usr/include/net/bpf.h:217:8: error: redefinition of 'struct bpf_insn' struct bpf_insn { ^ In file included from /usr/include/pcap/pcap.h:51:0, from /usr/include/pcap.h:43, from ./base/pcap-snoop.c:50: /usr/include/pcap/bpf.h:110:9: note: originally defined here struct bpf_insn *bf_insns; ^ ./base/pcap-snoop.c: In function 'main': ./base/pcap-snoop.c:207:19: warning: passing argument 2 of 'signal' from incompatible pointer type [-Wincompatible-pointer-types] signal(SIGINT,sig_handler); ^ In file included from /usr/include/sys/select.h:39:0, from /usr/include/sys/time.h:45, from /usr/include/pcap/pcap.h:47, from /usr/include/pcap.h:43, from ./base/pcap-snoop.c:50: /usr/include/sys/signal.h:414:17: note: expected 'void (*)(int)' but argument is of type 'void (*)(void)' __sighandler_t *signal (int, __sighandler_t *); ^ ./base/pcap-snoop.c:314:25: warning: passing argument 2 of 'pcap_compile' from incompatible pointer type [-Wincompatible-pointer-types] if(pcap_compile(p,&fp,filter,0,netmask)<0) ^ In file included from /usr/include/pcap.h:43:0, from ./base/pcap-snoop.c:50: /usr/include/pcap/pcap.h:393:14: note: expected 'struct bpf_program *' but argument is of type 'struct bpf_program *' PCAP_API int pcap_compile(pcap_t *, struct bpf_program *, const char *, int, ^ ./base/pcap-snoop.c:317:27: warning: passing argument 2 of 'pcap_setfilter' from incompatible pointer type [-Wincompatible-pointer-types] if(pcap_setfilter(p,&fp)<0) ^ In file included from /usr/include/pcap.h:43:0, from ./base/pcap-snoop.c:50: /usr/include/pcap/pcap.h:383:14: note: expected 'struct bpf_program *' but argument is of type 'struct bpf_program *' PCAP_API int pcap_setfilter(pcap_t *, struct bpf_program *); ^ ./base/pcap-snoop.c:329:20: warning: passing argument 3 of 'pcap_loop' from incompatible pointer type [-Wincompatible-pointer-types] pcap_loop(p,-1,pcap_cb,(u_char *)n); ^ In file included from /usr/include/pcap.h:43:0, from ./base/pcap-snoop.c:50: /usr/include/pcap/pcap.h:377:14: note: expected 'pcap_handler {aka void (*)(unsigned char *, const struct pcap_pkthdr *, const unsigned char *)}' but argument is of type 'void (*)(u_char *, struct pcap_pkthdr *, u_char *) {aka void (*)(unsigned char *, struct pcap_pkthdr *, unsigned char *)}' PCAP_API int pcap_loop(pcap_t *, int, pcap_handler, u_char *); ^ *** [pcap-snoop.o] Error code 1 make[1]: stopped in /construction/net/ssldump/ssldump-0.9b3 1 error make[1]: stopped in /construction/net/ssldump/ssldump-0.9b3 ===> Compilation failed unexpectedly. Try to set MAKE_JOBS_UNSAFE=yes and rebuild before reporting the failure to the maintainer. *** Error code 1 Stop. make: stopped in /xports/net/ssldump -------------------------------------------------- -- Termination -------------------------------------------------- Finished: Monday, 23 JUL 2018 at 01:26:40 UTC Duration: 00:00:07