=>> Building net/mopd build started at Thu Apr 4 00:27:46 BST 2024 port directory: /usr/ports/net/mopd package name: mopd-2.5.3_3 building for: FreeBSD pkg-builder.dan.net.uk 13.2-RELEASE-p10 FreeBSD 13.2-RELEASE-p10 amd64 maintained by: ports@FreeBSD.org Makefile datestamp: -rw-r--r-- 1 root wheel 754 Mar 16 09:21 /usr/ports/net/mopd/Makefile Ports top last git commit: c2c35d895e Ports top unclean checkout: yes Port dir last git commit: 5c00cf3d35 Port dir unclean checkout: no Poudriere version: poudriere-git-3.4.99.20240122_1 Host OSVERSION: 1400097 Jail OSVERSION: 1302001 Job Id: 08 ---Begin Environment--- SHELL=/bin/csh OSVERSION=1302001 UNAME_v=FreeBSD 13.2-RELEASE-p10 UNAME_r=13.2-RELEASE-p10 BLOCKSIZE=K MAIL=/var/mail/root MM_CHARSET=UTF-8 LANG=C.UTF-8 STATUS=1 HOME=/root PATH=/sbin:/bin:/usr/sbin:/usr/bin:/usr/local/sbin:/usr/local/bin:/root/bin MAKE_OBJDIR_CHECK_WRITABLE=0 LOCALBASE=/usr/local USER=root POUDRIERE_NAME=poudriere-git LIBEXECPREFIX=/usr/local/libexec/poudriere POUDRIERE_VERSION=3.4.99.20240122_1 MASTERMNT=/usr/local/poudriere/data/.m/13-amd64-default-dan/ref LC_COLLATE=C POUDRIERE_BUILD_TYPE=bulk PACKAGE_BUILDING=yes SAVED_TERM=screen OUTPUT_REDIRECTED_STDERR=4 OUTPUT_REDIRECTED=1 PWD=/usr/local/poudriere/data/.m/13-amd64-default-dan/08/.p OUTPUT_REDIRECTED_STDOUT=3 P_PORTS_FEATURES=FLAVORS SUBPACKAGES SELECTED_OPTIONS MASTERNAME=13-amd64-default-dan SCRIPTPREFIX=/usr/local/share/poudriere SCRIPTNAME=bulk.sh OLDPWD=/usr/local/poudriere/data/.m/13-amd64-default-dan/ref/.p/pool POUDRIERE_PKGNAME=poudriere-git-3.4.99.20240122_1 SCRIPTPATH=/usr/local/share/poudriere/bulk.sh POUDRIEREPATH=/usr/local/bin/poudriere ---End Environment--- ---Begin Poudriere Port Flags/Env--- PORT_FLAGS= PKGENV= FLAVOR= MAKE_ARGS= ---End Poudriere Port Flags/Env--- ---Begin OPTIONS List--- ===> The following configuration options are available for mopd-2.5.3_3: DOCS=on: Build and/or install documentation ===> Use 'make config' to modify these settings ---End OPTIONS List--- --MAINTAINER-- ports@FreeBSD.org --End MAINTAINER-- --CONFIGURE_ARGS-- --End CONFIGURE_ARGS-- --CONFIGURE_ENV-- XDG_DATA_HOME=/wrkdirs/usr/ports/net/mopd/work XDG_CONFIG_HOME=/wrkdirs/usr/ports/net/mopd/work XDG_CACHE_HOME=/wrkdirs/usr/ports/net/mopd/work/.cache HOME=/wrkdirs/usr/ports/net/mopd/work TMPDIR="/tmp" PATH=/ccache/libexec/ccache:/wrkdirs/usr/ports/net/mopd/work/.bin:/sbin:/bin:/usr/sbin:/usr/bin:/usr/local/sbin:/usr/local/bin:/root/bin PKG_CONFIG_LIBDIR=/wrkdirs/usr/ports/net/mopd/work/.pkgconfig:/usr/local/libdata/pkgconfig:/usr/local/share/pkgconfig:/usr/libdata/pkgconfig SHELL=/bin/sh CONFIG_SHELL=/bin/sh CCACHE_DIR="/root/.ccache" --End CONFIGURE_ENV-- --MAKE_ENV-- BINDIR=/usr/local/sbin MANDIR=/usr/local/share/man/man NO_MANCOMPRESS=true XDG_DATA_HOME=/wrkdirs/usr/ports/net/mopd/work XDG_CONFIG_HOME=/wrkdirs/usr/ports/net/mopd/work XDG_CACHE_HOME=/wrkdirs/usr/ports/net/mopd/work/.cache HOME=/wrkdirs/usr/ports/net/mopd/work TMPDIR="/tmp" PATH=/ccache/libexec/ccache:/wrkdirs/usr/ports/net/mopd/work/.bin:/sbin:/bin:/usr/sbin:/usr/bin:/usr/local/sbin:/usr/local/bin:/root/bin PKG_CONFIG_LIBDIR=/wrkdirs/usr/ports/net/mopd/work/.pkgconfig:/usr/local/libdata/pkgconfig:/usr/local/share/pkgconfig:/usr/libdata/pkgconfig MK_DEBUG_FILES=no MK_KERNEL_SYMBOLS=no SHELL=/bin/sh NO_LINT=YES PREFIX=/usr/local LOCALBASE=/usr/local CC="cc" CFLAGS="-O2 -pipe -fstack-protector-strong -fno-strict-aliasing " CPP="cpp" CPPFLAGS="" LDFLAGS=" -fstack-protector-strong " LIBS="" CXX="c++" CXXFLAGS="-O2 -pipe -fstack-protector-strong -fno-strict-aliasing " CCACHE_DIR="/root/.ccache" 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" --End MAKE_ENV-- --PLIST_SUB-- PORTDOCS="" OSREL=13.2 PREFIX=%D LOCALBASE=/usr/local RESETPREFIX=/usr/local LIB32DIR=lib DOCSDIR="share/doc/mopd" EXAMPLESDIR="share/examples/mopd" DATADIR="share/mopd" WWWDIR="www/mopd" ETCDIR="etc/mopd" --End PLIST_SUB-- --SUB_LIST-- PREFIX=/usr/local LOCALBASE=/usr/local DATADIR=/usr/local/share/mopd DOCSDIR=/usr/local/share/doc/mopd EXAMPLESDIR=/usr/local/share/examples/mopd WWWDIR=/usr/local/www/mopd ETCDIR=/usr/local/etc/mopd --End SUB_LIST-- ---Begin make.conf--- USE_PACKAGE_DEPENDS=yes BATCH=yes WRKDIRPREFIX=/wrkdirs PORTSDIR=/usr/ports PACKAGES=/packages DISTDIR=/distfiles FORCE_PACKAGE=yes PACKAGE_BUILDING=yes PACKAGE_BUILDING_FLAVORS=yes #### #### CCACHE_CPP2=1 WITH_SSP_PORTS=yes WITH_SSP=yes #WITH_LTO=yes DISABLE_LICENSES=yes LICENSES_ACCEPTED=AGPLv3 APACHE10 APACHE11 APACHE20 ART10 ARTPERL10 ART20 BSD BSD2CLAUSE BSD3CLAUSE BSD4CLAUSE BSL CC0-1.0 CDDL ClArtistic EPL GFDL GMGPL GPLv1 GPLv2 GPLv3 GPLv3RLE ISCL LGPL20 LGPL21 LGPL3 LPPL10 LPPL11 LPPL12 LPPL13 LPPL13a LPPL13b LPPL13c MIT MPL OpenSSL OFL10 OFL11 OWL PostgreSQL PHP202 PHP30 PHP301 PSFL RUBY ZLIB ZPL21 SVM-Light EULA ALASIR Microsoft-exFAT SIMIAN UDEVGAME unknown MTA COMMERCIAL teamspeak NO_LICENSES_DIALOGS=yes #### #### NO_IGNORE=yes DEFAULT_VERSIONS+=ssl=openssl mysql=8.0 imagemagick=7 samba=4.13 java=18 WITH_SETID_MODE=force PHP_ZTS=enabled OPTIONS_UNSET+=OPENJPEG OPTIONS_UNSET+=GSSAPI_BASE OPTIONS_SET+=ZTS OPTIONS_SET+=GSSAPI_NONE WITH_CCACHE_BUILD=yes CCACHE_DIR=/root/.ccache NO_CCACHE_DEPEND=1 CCACHE_WRAPPER_PATH= /ccache/libexec/ccache #### Misc Poudriere #### .include "/etc/make.conf.ports_env" GID=0 UID=0 DISABLE_MAKE_JOBS=poudriere ---End make.conf--- --Resource limits-- cpu time (seconds, -t) unlimited file size (512-blocks, -f) unlimited data seg size (kbytes, -d) 33554432 stack size (kbytes, -s) 524288 core file size (512-blocks, -c) unlimited max memory size (kbytes, -m) unlimited locked memory (kbytes, -l) unlimited max user processes (-u) 89999 open files (-n) 8192 virtual mem size (kbytes, -v) unlimited swap limit (kbytes, -w) unlimited socket buffer size (bytes, -b) unlimited pseudo-terminals (-p) unlimited kqueues (-k) unlimited umtx shared locks (-o) unlimited --End resource limits-- =================================================== ===== env: NO_DEPENDS=yes USER=root UID=0 GID=0 ===> NOTICE: The mopd port currently does not have a maintainer. As a result, it is more likely to have unresolved issues, not be up-to-date, or even be removed in the future. To volunteer to maintain this port, please create an issue at: https://bugs.freebsd.org/bugzilla More information about port maintainership is available at: https://docs.freebsd.org/en/articles/contributing/#ports-contributing =========================================================================== =================================================== ===== env: USE_PACKAGE_DEPENDS_ONLY=1 USER=root UID=0 GID=0 ===> mopd-2.5.3_3 depends on file: /usr/local/sbin/pkg - not found ===> Installing existing package /packages/All/pkg-1.20.9_1.pkg [pkg-builder.dan.net.uk] Installing pkg-1.20.9_1... [pkg-builder.dan.net.uk] Extracting pkg-1.20.9_1: .......... done ===> mopd-2.5.3_3 depends on file: /usr/local/sbin/pkg - found ===> Returning to build of mopd-2.5.3_3 =========================================================================== =================================================== ===== env: USE_PACKAGE_DEPENDS_ONLY=1 USER=root UID=0 GID=0 =========================================================================== =================================================== ===== env: NO_DEPENDS=yes USER=root UID=0 GID=0 ===> NOTICE: The mopd port currently does not have a maintainer. As a result, it is more likely to have unresolved issues, not be up-to-date, or even be removed in the future. To volunteer to maintain this port, please create an issue at: https://bugs.freebsd.org/bugzilla More information about port maintainership is available at: https://docs.freebsd.org/en/articles/contributing/#ports-contributing ===> Fetching all distfiles required by mopd-2.5.3_3 for building =========================================================================== =================================================== ===== env: NO_DEPENDS=yes USER=root UID=0 GID=0 ===> NOTICE: The mopd port currently does not have a maintainer. As a result, it is more likely to have unresolved issues, not be up-to-date, or even be removed in the future. To volunteer to maintain this port, please create an issue at: https://bugs.freebsd.org/bugzilla More information about port maintainership is available at: https://docs.freebsd.org/en/articles/contributing/#ports-contributing ===> Fetching all distfiles required by mopd-2.5.3_3 for building => SHA256 Checksum OK for mopd-2.5.3.tar.gz. => SHA256 Checksum OK for VAX-netboot-HOWTO. => SHA256 Checksum OK for VS3100-console-cmds.txt. =========================================================================== =================================================== ===== env: USE_PACKAGE_DEPENDS_ONLY=1 USER=root UID=0 GID=0 =========================================================================== =================================================== ===== env: NO_DEPENDS=yes USER=root UID=0 GID=0 ===> NOTICE: The mopd port currently does not have a maintainer. As a result, it is more likely to have unresolved issues, not be up-to-date, or even be removed in the future. To volunteer to maintain this port, please create an issue at: https://bugs.freebsd.org/bugzilla More information about port maintainership is available at: https://docs.freebsd.org/en/articles/contributing/#ports-contributing ===> Fetching all distfiles required by mopd-2.5.3_3 for building ===> Extracting for mopd-2.5.3_3 => SHA256 Checksum OK for mopd-2.5.3.tar.gz. => SHA256 Checksum OK for VAX-netboot-HOWTO. => SHA256 Checksum OK for VS3100-console-cmds.txt. =========================================================================== =================================================== ===== env: USE_PACKAGE_DEPENDS_ONLY=1 USER=root UID=0 GID=0 =========================================================================== =================================================== ===== env: NO_DEPENDS=yes USER=root UID=0 GID=0 ===> Patching for mopd-2.5.3_3 ===> Applying FreeBSD patches for mopd-2.5.3_3 from /usr/ports/net/mopd/files =========================================================================== =================================================== ===== env: USE_PACKAGE_DEPENDS_ONLY=1 USER=root UID=0 GID=0 =========================================================================== =================================================== ===== env: USE_PACKAGE_DEPENDS_ONLY=1 USER=root UID=0 GID=0 =========================================================================== =================================================== ===== env: NO_DEPENDS=yes USER=root UID=0 GID=0 ===> Configuring for mopd-2.5.3_3 =========================================================================== =================================================== ===== env: NO_DEPENDS=yes USER=root UID=0 GID=0 ===> Building for mopd-2.5.3_3 ===> mopd (all) rm -f version.c; sed 's/.*/char version[] = "&";/' /wrkdirs/usr/ports/net/mopd/work/mopd-2.5.3/mopd/../common/VERSION > version.c set `sed 's/\([0-9]*\)\.\([0-9]*\).*/\1 \2/' /wrkdirs/usr/ports/net/mopd/work/mopd-2.5.3/mopd/../common/VERSION` ; { echo '#define VERSION_MAJOR' $1 ; echo '#define VERSION_MINOR' $2 ; } > version.h echo mopd: /usr/lib/libc.a >> .depend Warning: Object directory not changed from original /wrkdirs/usr/ports/net/mopd/work/mopd-2.5.3/mopd cc -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -I/wrkdirs/usr/ports/net/mopd/work/mopd-2.5.3/mopd -I/wrkdirs/usr/ports/net/mopd/work/mopd-2.5.3/mopd/.. -I/wrkdirs/usr/ports/net/mopd/work/mopd-2.5.3/mopd/../common -fPIE -MD -MF.depend.mopd.o -MTmopd.o -std=gnu99 -Wno-format-zero-length -nobuiltininc -idirafter /usr/lib/clang/14.0.5/include -fstack-protector-strong -Qunused-arguments -c mopd.c -o mopd.o In file included from mopd.c:41: /wrkdirs/usr/ports/net/mopd/work/mopd-2.5.3/mopd/../common/os.h:57:8: warning: extra tokens at end of #endif directive [-Wextra-tokens] #endif _OS_H_ ^ // In file included from mopd.c:42: /wrkdirs/usr/ports/net/mopd/work/mopd-2.5.3/mopd/../common/common.h:92:8: warning: extra tokens at end of #endif directive [-Wextra-tokens] #endif _COMMON_H_ ^ // In file included from mopd.c:43: /wrkdirs/usr/ports/net/mopd/work/mopd-2.5.3/mopd/../common/mopdef.h:194:8: warning: extra tokens at end of #endif directive [-Wextra-tokens] #endif MOPDEF_SUPRESS_EXTERN ^ // /wrkdirs/usr/ports/net/mopd/work/mopd-2.5.3/mopd/../common/mopdef.h:196:8: warning: extra tokens at end of #endif directive [-Wextra-tokens] #endif _MOPDEF_H_ ^ // In file included from mopd.c:44: /wrkdirs/usr/ports/net/mopd/work/mopd-2.5.3/mopd/../common/device.h:52:8: warning: extra tokens at end of #endif directive [-Wextra-tokens] #endif _DEVICE_H_ ^ // In file included from mopd.c:45: /wrkdirs/usr/ports/net/mopd/work/mopd-2.5.3/mopd/../common/print.h:62:8: warning: extra tokens at end of #endif directive [-Wextra-tokens] #endif _PRINT_H_ ^ // In file included from mopd.c:46: /wrkdirs/usr/ports/net/mopd/work/mopd-2.5.3/mopd/../common/pf.h:56:8: warning: extra tokens at end of #endif directive [-Wextra-tokens] #endif _PF_H_ ^ // In file included from mopd.c:47: /wrkdirs/usr/ports/net/mopd/work/mopd-2.5.3/mopd/../common/cmp.h:44:8: warning: extra tokens at end of #endif directive [-Wextra-tokens] #endif _CMP_H_ ^ // In file included from mopd.c:48: /wrkdirs/usr/ports/net/mopd/work/mopd-2.5.3/mopd/../common/get.h:58:8: warning: extra tokens at end of #endif directive [-Wextra-tokens] #endif _GET_H_ ^ // In file included from mopd.c:49: /wrkdirs/usr/ports/net/mopd/work/mopd-2.5.3/mopd/../common/dl.h:44:8: warning: extra tokens at end of #endif directive [-Wextra-tokens] #endif _DL_H_ ^ // In file included from mopd.c:50: /wrkdirs/usr/ports/net/mopd/work/mopd-2.5.3/mopd/../common/rc.h:44:8: warning: extra tokens at end of #endif directive [-Wextra-tokens] #endif _RC_H_ ^ // In file included from mopd.c:51: /wrkdirs/usr/ports/net/mopd/work/mopd-2.5.3/mopd/process.h:50:8: warning: extra tokens at end of #endif directive [-Wextra-tokens] #endif _PROCESS_H_ ^ // mopd.c:78:1: warning: return type of 'main' is not 'int' [-Wmain-return-type] void ^ mopd.c:78:1: note: change return type to 'int' void ^~~~ int mopd.c:89:17: warning: implicitly declaring library function 'strrchr' with type 'char *(const char *, int)' [-Wimplicit-function-declaration] if ((Program = strrchr(argv[0], '/'))) ^ mopd.c:89:17: note: include the header or explicitly provide a declaration for 'strrchr' 14 warnings generated. cc -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -I/wrkdirs/usr/ports/net/mopd/work/mopd-2.5.3/mopd -I/wrkdirs/usr/ports/net/mopd/work/mopd-2.5.3/mopd/.. -I/wrkdirs/usr/ports/net/mopd/work/mopd-2.5.3/mopd/../common -fPIE -MD -MF.depend.process.o -MTprocess.o -std=gnu99 -Wno-format-zero-length -nobuiltininc -idirafter /usr/lib/clang/14.0.5/include -fstack-protector-strong -Qunused-arguments -c process.c -o process.o In file included from process.c:34: /wrkdirs/usr/ports/net/mopd/work/mopd-2.5.3/mopd/../common/os.h:57:8: warning: extra tokens at end of #endif directive [-Wextra-tokens] #endif _OS_H_ ^ // In file included from process.c:35: /wrkdirs/usr/ports/net/mopd/work/mopd-2.5.3/mopd/../common/common.h:92:8: warning: extra tokens at end of #endif directive [-Wextra-tokens] #endif _COMMON_H_ ^ // In file included from process.c:36: /wrkdirs/usr/ports/net/mopd/work/mopd-2.5.3/mopd/../common/mopdef.h:194:8: warning: extra tokens at end of #endif directive [-Wextra-tokens] #endif MOPDEF_SUPRESS_EXTERN ^ // /wrkdirs/usr/ports/net/mopd/work/mopd-2.5.3/mopd/../common/mopdef.h:196:8: warning: extra tokens at end of #endif directive [-Wextra-tokens] #endif _MOPDEF_H_ ^ // In file included from process.c:37: /wrkdirs/usr/ports/net/mopd/work/mopd-2.5.3/mopd/../common/nmadef.h:181:8: warning: extra tokens at end of #endif directive [-Wextra-tokens] #endif _NMADEF_H_ ^ // In file included from process.c:38: /wrkdirs/usr/ports/net/mopd/work/mopd-2.5.3/mopd/../common/get.h:58:8: warning: extra tokens at end of #endif directive [-Wextra-tokens] #endif _GET_H_ ^ // In file included from process.c:39: /wrkdirs/usr/ports/net/mopd/work/mopd-2.5.3/mopd/../common/put.h:56:8: warning: extra tokens at end of #endif directive [-Wextra-tokens] #endif _PUT_H_ ^ // In file included from process.c:40: /wrkdirs/usr/ports/net/mopd/work/mopd-2.5.3/mopd/../common/print.h:62:8: warning: extra tokens at end of #endif directive [-Wextra-tokens] #endif _PRINT_H_ ^ // In file included from process.c:41: /wrkdirs/usr/ports/net/mopd/work/mopd-2.5.3/mopd/../common/pf.h:56:8: warning: extra tokens at end of #endif directive [-Wextra-tokens] #endif _PF_H_ ^ // In file included from process.c:42: /wrkdirs/usr/ports/net/mopd/work/mopd-2.5.3/mopd/../common/cmp.h:44:8: warning: extra tokens at end of #endif directive [-Wextra-tokens] #endif _CMP_H_ ^ // In file included from process.c:43: /wrkdirs/usr/ports/net/mopd/work/mopd-2.5.3/mopd/../common/dl.h:44:8: warning: extra tokens at end of #endif directive [-Wextra-tokens] #endif _DL_H_ ^ // In file included from process.c:44: /wrkdirs/usr/ports/net/mopd/work/mopd-2.5.3/mopd/../common/rc.h:44:8: warning: extra tokens at end of #endif directive [-Wextra-tokens] #endif _RC_H_ ^ // In file included from process.c:45: /wrkdirs/usr/ports/net/mopd/work/mopd-2.5.3/mopd/../common/file.h:67:8: warning: extra tokens at end of #endif directive [-Wextra-tokens] #endif _FILE_H_ ^ // process.c:184:17: warning: equality comparison with extraneous parentheses [-Wparentheses-equality] if ((DebugFlag == DEBUG_ONELINE)) { ~~~~~~~~~~^~~~~~~~~~~~~~~~ process.c:184:17: note: remove extraneous parentheses around the comparison to silence this warning if ((DebugFlag == DEBUG_ONELINE)) { ~ ^ ~ process.c:184:17: note: use '=' to turn this equality comparison into an assignment if ((DebugFlag == DEBUG_ONELINE)) { ^~ = process.c:283:8: warning: implicit declaration of function 'mopFileRead' is invalid in C99 [-Wimplicit-function-declaration] len = mopFileRead(&dllist[slot],&pkt[index]); ^ process.c:291:17: warning: equality comparison with extraneous parentheses [-Wparentheses-equality] if ((DebugFlag == DEBUG_ONELINE)) { ~~~~~~~~~~^~~~~~~~~~~~~~~~ process.c:291:17: note: remove extraneous parentheses around the comparison to silence this warning if ((DebugFlag == DEBUG_ONELINE)) { ~ ^ ~ process.c:291:17: note: use '=' to turn this equality comparison into an assignment if ((DebugFlag == DEBUG_ONELINE)) { ^~ = process.c:340:17: warning: equality comparison with extraneous parentheses [-Wparentheses-equality] if ((new_count == ((dllist[slot].count+1) % 256))) { ~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ process.c:340:17: note: remove extraneous parentheses around the comparison to silence this warning if ((new_count == ((dllist[slot].count+1) % 256))) { ~ ^ ~ process.c:340:17: note: use '=' to turn this equality comparison into an assignment if ((new_count == ((dllist[slot].count+1) % 256))) { ^~ = process.c:372:8: warning: implicit declaration of function 'mopFileRead' is invalid in C99 [-Wimplicit-function-declaration] len = mopFileRead(&dllist[slot],&pkt[index]); ^ process.c:390:27: warning: passing 'char[4]' to parameter of type 'u_char *' (aka 'unsigned char *') converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] mopPutMulti(pkt,&index,"ipc",3); ^~~~~ /wrkdirs/usr/ports/net/mopd/work/mopd-2.5.3/mopd/../common/put.h:49:49: note: passing argument to parameter here void mopPutMulti __P((u_char *, int *, u_char *, int)); ^ process.c:409:17: warning: equality comparison with extraneous parentheses [-Wparentheses-equality] if ((DebugFlag == DEBUG_ONELINE)) { ~~~~~~~~~~^~~~~~~~~~~~~~~~ process.c:409:17: note: remove extraneous parentheses around the comparison to silence this warning if ((DebugFlag == DEBUG_ONELINE)) { ~ ^ ~ process.c:409:17: note: use '=' to turn this equality comparison into an assignment if ((DebugFlag == DEBUG_ONELINE)) { ^~ = process.c:446:17: warning: equality comparison with extraneous parentheses [-Wparentheses-equality] if ((DebugFlag == DEBUG_ONELINE)) { ~~~~~~~~~~^~~~~~~~~~~~~~~~ process.c:446:17: note: remove extraneous parentheses around the comparison to silence this warning if ((DebugFlag == DEBUG_ONELINE)) { ~ ^ ~ process.c:446:17: note: use '=' to turn this equality comparison into an assignment if ((DebugFlag == DEBUG_ONELINE)) { ^~ = process.c:503:12: warning: passing 'u_char[129]' (aka 'unsigned char[129]') to parameter of type 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] sprintf(pfile,"%02x%02x%02x%02x%02x%02x%c", ^~~~~ /usr/include/stdio.h:286:31: note: passing argument to parameter here int sprintf(char * __restrict, const char * __restrict, ...); ^ process.c:518:24: warning: passing 'char[]' to parameter of type 'u_char *' (aka 'unsigned char *') converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] if ((mopCmpEAddr(dst,dl_mcst) == 0)) { ^~~~~~~ /wrkdirs/usr/ports/net/mopd/work/mopd-2.5.3/mopd/../common/cmp.h:40:39: note: passing argument to parameter here int mopCmpEAddr __P((u_char *,u_char *)); ^ process.c:583:17: warning: equality comparison with extraneous parentheses [-Wparentheses-equality] if ((DebugFlag == DEBUG_ONELINE)) { ~~~~~~~~~~^~~~~~~~~~~~~~~~ process.c:583:17: note: remove extraneous parentheses around the comparison to silence this warning if ((DebugFlag == DEBUG_ONELINE)) { ~ ^ ~ process.c:583:17: note: use '=' to turn this equality comparison into an assignment if ((DebugFlag == DEBUG_ONELINE)) { ^~ = 24 warnings generated. cc -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -I/wrkdirs/usr/ports/net/mopd/work/mopd-2.5.3/mopd -I/wrkdirs/usr/ports/net/mopd/work/mopd-2.5.3/mopd/.. -I/wrkdirs/usr/ports/net/mopd/work/mopd-2.5.3/mopd/../common -fPIE -MD -MF.depend.print.o -MTprint.o -std=gnu99 -Wno-format-zero-length -nobuiltininc -idirafter /usr/lib/clang/14.0.5/include -fstack-protector-strong -Qunused-arguments -c /wrkdirs/usr/ports/net/mopd/work/mopd-2.5.3/mopd/../common/print.c -o print.o In file included from /wrkdirs/usr/ports/net/mopd/work/mopd-2.5.3/mopd/../common/print.c:37: /wrkdirs/usr/ports/net/mopd/work/mopd-2.5.3/mopd/../common/os.h:57:8: warning: extra tokens at end of #endif directive [-Wextra-tokens] #endif _OS_H_ ^ // In file included from /wrkdirs/usr/ports/net/mopd/work/mopd-2.5.3/mopd/../common/print.c:38: /wrkdirs/usr/ports/net/mopd/work/mopd-2.5.3/mopd/../common/mopdef.h:194:8: warning: extra tokens at end of #endif directive [-Wextra-tokens] #endif MOPDEF_SUPRESS_EXTERN ^ // /wrkdirs/usr/ports/net/mopd/work/mopd-2.5.3/mopd/../common/mopdef.h:196:8: warning: extra tokens at end of #endif directive [-Wextra-tokens] #endif _MOPDEF_H_ ^ // In file included from /wrkdirs/usr/ports/net/mopd/work/mopd-2.5.3/mopd/../common/print.c:39: /wrkdirs/usr/ports/net/mopd/work/mopd-2.5.3/mopd/../common/nmadef.h:181:8: warning: extra tokens at end of #endif directive [-Wextra-tokens] #endif _NMADEF_H_ ^ // In file included from /wrkdirs/usr/ports/net/mopd/work/mopd-2.5.3/mopd/../common/print.c:40: /wrkdirs/usr/ports/net/mopd/work/mopd-2.5.3/mopd/../common/nma.h:46:8: warning: extra tokens at end of #endif directive [-Wextra-tokens] #endif _NMA_H_ ^ // In file included from /wrkdirs/usr/ports/net/mopd/work/mopd-2.5.3/mopd/../common/print.c:41: /wrkdirs/usr/ports/net/mopd/work/mopd-2.5.3/mopd/../common/cmp.h:44:8: warning: extra tokens at end of #endif directive [-Wextra-tokens] #endif _CMP_H_ ^ // In file included from /wrkdirs/usr/ports/net/mopd/work/mopd-2.5.3/mopd/../common/print.c:42: /wrkdirs/usr/ports/net/mopd/work/mopd-2.5.3/mopd/../common/get.h:58:8: warning: extra tokens at end of #endif directive [-Wextra-tokens] #endif _GET_H_ ^ // /wrkdirs/usr/ports/net/mopd/work/mopd-2.5.3/mopd/../common/print.c:268:18: warning: passing 'char[]' to parameter of type 'u_char *' (aka 'unsigned char *') converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] if (mopCmpEAddr(dl_mcst,dst) == 0) { ^~~~~~~ /wrkdirs/usr/ports/net/mopd/work/mopd-2.5.3/mopd/../common/cmp.h:40:30: note: passing argument to parameter here int mopCmpEAddr __P((u_char *,u_char *)); ^ /wrkdirs/usr/ports/net/mopd/work/mopd-2.5.3/mopd/../common/print.c:271:18: warning: passing 'char[]' to parameter of type 'u_char *' (aka 'unsigned char *') converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] if (mopCmpEAddr(rc_mcst,dst) == 0) { ^~~~~~~ /wrkdirs/usr/ports/net/mopd/work/mopd-2.5.3/mopd/../common/cmp.h:40:30: note: passing argument to parameter here int mopCmpEAddr __P((u_char *,u_char *)); ^ /wrkdirs/usr/ports/net/mopd/work/mopd-2.5.3/mopd/../common/print.c:547:14: warning: equality comparison with extraneous parentheses [-Wparentheses-equality] if ((tmpc == 0)) { ~~~~~^~~~ /wrkdirs/usr/ports/net/mopd/work/mopd-2.5.3/mopd/../common/print.c:547:14: note: remove extraneous parentheses around the comparison to silence this warning if ((tmpc == 0)) { ~ ^ ~ /wrkdirs/usr/ports/net/mopd/work/mopd-2.5.3/mopd/../common/print.c:547:14: note: use '=' to turn this equality comparison into an assignment if ((tmpc == 0)) { ^~ = /wrkdirs/usr/ports/net/mopd/work/mopd-2.5.3/mopd/../common/print.c:550:14: warning: equality comparison with extraneous parentheses [-Wparentheses-equality] if ((tmpc == 254)) { ~~~~~^~~~~~ /wrkdirs/usr/ports/net/mopd/work/mopd-2.5.3/mopd/../common/print.c:550:14: note: remove extraneous parentheses around the comparison to silence this warning if ((tmpc == 254)) { ~ ^ ~ /wrkdirs/usr/ports/net/mopd/work/mopd-2.5.3/mopd/../common/print.c:550:14: note: use '=' to turn this equality comparison into an assignment if ((tmpc == 254)) { ^~ = /wrkdirs/usr/ports/net/mopd/work/mopd-2.5.3/mopd/../common/print.c:554:14: warning: equality comparison with extraneous parentheses [-Wparentheses-equality] if ((tmpc == 255)) { ~~~~~^~~~~~ /wrkdirs/usr/ports/net/mopd/work/mopd-2.5.3/mopd/../common/print.c:554:14: note: remove extraneous parentheses around the comparison to silence this warning if ((tmpc == 255)) { ~ ^ ~ /wrkdirs/usr/ports/net/mopd/work/mopd-2.5.3/mopd/../common/print.c:554:14: note: use '=' to turn this equality comparison into an assignment if ((tmpc == 255)) { ^~ = 12 warnings generated. cc -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -I/wrkdirs/usr/ports/net/mopd/work/mopd-2.5.3/mopd -I/wrkdirs/usr/ports/net/mopd/work/mopd-2.5.3/mopd/.. -I/wrkdirs/usr/ports/net/mopd/work/mopd-2.5.3/mopd/../common -fPIE -MD -MF.depend.cmp.o -MTcmp.o -std=gnu99 -Wno-format-zero-length -nobuiltininc -idirafter /usr/lib/clang/14.0.5/include -fstack-protector-strong -Qunused-arguments -c /wrkdirs/usr/ports/net/mopd/work/mopd-2.5.3/mopd/../common/cmp.c -o cmp.o In file included from /wrkdirs/usr/ports/net/mopd/work/mopd-2.5.3/mopd/../common/cmp.c:34: /wrkdirs/usr/ports/net/mopd/work/mopd-2.5.3/mopd/../common/os.h:57:8: warning: extra tokens at end of #endif directive [-Wextra-tokens] #endif _OS_H_ ^ // 1 warning generated. cc -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -I/wrkdirs/usr/ports/net/mopd/work/mopd-2.5.3/mopd -I/wrkdirs/usr/ports/net/mopd/work/mopd-2.5.3/mopd/.. -I/wrkdirs/usr/ports/net/mopd/work/mopd-2.5.3/mopd/../common -fPIE -MD -MF.depend.get.o -MTget.o -std=gnu99 -Wno-format-zero-length -nobuiltininc -idirafter /usr/lib/clang/14.0.5/include -fstack-protector-strong -Qunused-arguments -c /wrkdirs/usr/ports/net/mopd/work/mopd-2.5.3/mopd/../common/get.c -o get.o In file included from /wrkdirs/usr/ports/net/mopd/work/mopd-2.5.3/mopd/../common/get.c:35: /wrkdirs/usr/ports/net/mopd/work/mopd-2.5.3/mopd/../common/mopdef.h:194:8: warning: extra tokens at end of #endif directive [-Wextra-tokens] #endif MOPDEF_SUPRESS_EXTERN ^ // /wrkdirs/usr/ports/net/mopd/work/mopd-2.5.3/mopd/../common/mopdef.h:196:8: warning: extra tokens at end of #endif directive [-Wextra-tokens] #endif _MOPDEF_H_ ^ // /wrkdirs/usr/ports/net/mopd/work/mopd-2.5.3/mopd/../common/get.c:99:7: warning: implicit declaration of function 'ntohs' is invalid in C99 [-Wimplicit-function-declaration] if (ntohs(*ptype) < 1600) { ^ 3 warnings generated. cc -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -I/wrkdirs/usr/ports/net/mopd/work/mopd-2.5.3/mopd -I/wrkdirs/usr/ports/net/mopd/work/mopd-2.5.3/mopd/.. -I/wrkdirs/usr/ports/net/mopd/work/mopd-2.5.3/mopd/../common -fPIE -MD -MF.depend.put.o -MTput.o -std=gnu99 -Wno-format-zero-length -nobuiltininc -idirafter /usr/lib/clang/14.0.5/include -fstack-protector-strong -Qunused-arguments -c /wrkdirs/usr/ports/net/mopd/work/mopd-2.5.3/mopd/../common/put.c -o put.o In file included from /wrkdirs/usr/ports/net/mopd/work/mopd-2.5.3/mopd/../common/put.c:37: /wrkdirs/usr/ports/net/mopd/work/mopd-2.5.3/mopd/../common/mopdef.h:194:8: warning: extra tokens at end of #endif directive [-Wextra-tokens] #endif MOPDEF_SUPRESS_EXTERN ^ // /wrkdirs/usr/ports/net/mopd/work/mopd-2.5.3/mopd/../common/mopdef.h:196:8: warning: extra tokens at end of #endif directive [-Wextra-tokens] #endif _MOPDEF_H_ ^ // /wrkdirs/usr/ports/net/mopd/work/mopd-2.5.3/mopd/../common/put.c:102:13: warning: equality comparison with extraneous parentheses [-Wparentheses-equality] if ((value == 0)) { ~~~~~~^~~~ /wrkdirs/usr/ports/net/mopd/work/mopd-2.5.3/mopd/../common/put.c:102:13: note: remove extraneous parentheses around the comparison to silence this warning if ((value == 0)) { ~ ^ ~ /wrkdirs/usr/ports/net/mopd/work/mopd-2.5.3/mopd/../common/put.c:102:13: note: use '=' to turn this equality comparison into an assignment if ((value == 0)) { ^~ = /wrkdirs/usr/ports/net/mopd/work/mopd-2.5.3/mopd/../common/put.c:132:26: warning: passing 'char *' to parameter of type 'u_char *' (aka 'unsigned char *') converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] mopPutMulti(pkt, index, dst, 6); ^~~ /wrkdirs/usr/ports/net/mopd/work/mopd-2.5.3/mopd/../common/put.c:133:26: warning: passing 'char *' to parameter of type 'u_char *' (aka 'unsigned char *') converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] mopPutMulti(pkt, index, src, 6); ^~~ 5 warnings generated. cc -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -I/wrkdirs/usr/ports/net/mopd/work/mopd-2.5.3/mopd -I/wrkdirs/usr/ports/net/mopd/work/mopd-2.5.3/mopd/.. -I/wrkdirs/usr/ports/net/mopd/work/mopd-2.5.3/mopd/../common -fPIE -MD -MF.depend.mopdef.o -MTmopdef.o -std=gnu99 -Wno-format-zero-length -nobuiltininc -idirafter /usr/lib/clang/14.0.5/include -fstack-protector-strong -Qunused-arguments -c /wrkdirs/usr/ports/net/mopd/work/mopd-2.5.3/mopd/../common/mopdef.c -o mopdef.o In file included from /wrkdirs/usr/ports/net/mopd/work/mopd-2.5.3/mopd/../common/mopdef.c:35: /wrkdirs/usr/ports/net/mopd/work/mopd-2.5.3/mopd/../common/mopdef.h:194:8: warning: extra tokens at end of #endif directive [-Wextra-tokens] #endif MOPDEF_SUPRESS_EXTERN ^ // /wrkdirs/usr/ports/net/mopd/work/mopd-2.5.3/mopd/../common/mopdef.h:196:8: warning: extra tokens at end of #endif directive [-Wextra-tokens] #endif _MOPDEF_H_ ^ // 2 warnings generated. cc -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -I/wrkdirs/usr/ports/net/mopd/work/mopd-2.5.3/mopd -I/wrkdirs/usr/ports/net/mopd/work/mopd-2.5.3/mopd/.. -I/wrkdirs/usr/ports/net/mopd/work/mopd-2.5.3/mopd/../common -fPIE -MD -MF.depend.nma.o -MTnma.o -std=gnu99 -Wno-format-zero-length -nobuiltininc -idirafter /usr/lib/clang/14.0.5/include -fstack-protector-strong -Qunused-arguments -c /wrkdirs/usr/ports/net/mopd/work/mopd-2.5.3/mopd/../common/nma.c -o nma.o In file included from /wrkdirs/usr/ports/net/mopd/work/mopd-2.5.3/mopd/../common/nma.c:35: /wrkdirs/usr/ports/net/mopd/work/mopd-2.5.3/mopd/../common/nmadef.h:181:8: warning: extra tokens at end of #endif directive [-Wextra-tokens] #endif _NMADEF_H_ ^ // 1 warning generated. cc -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -I/wrkdirs/usr/ports/net/mopd/work/mopd-2.5.3/mopd -I/wrkdirs/usr/ports/net/mopd/work/mopd-2.5.3/mopd/.. -I/wrkdirs/usr/ports/net/mopd/work/mopd-2.5.3/mopd/../common -fPIE -MD -MF.depend.device.o -MTdevice.o -std=gnu99 -Wno-format-zero-length -nobuiltininc -idirafter /usr/lib/clang/14.0.5/include -fstack-protector-strong -Qunused-arguments -c /wrkdirs/usr/ports/net/mopd/work/mopd-2.5.3/mopd/../common/device.c -o device.o In file included from /wrkdirs/usr/ports/net/mopd/work/mopd-2.5.3/mopd/../common/device.c:34: /wrkdirs/usr/ports/net/mopd/work/mopd-2.5.3/mopd/../common/os.h:57:8: warning: extra tokens at end of #endif directive [-Wextra-tokens] #endif _OS_H_ ^ // In file included from /wrkdirs/usr/ports/net/mopd/work/mopd-2.5.3/mopd/../common/device.c:35: /wrkdirs/usr/ports/net/mopd/work/mopd-2.5.3/mopd/../common/common.h:92:8: warning: extra tokens at end of #endif directive [-Wextra-tokens] #endif _COMMON_H_ ^ // In file included from /wrkdirs/usr/ports/net/mopd/work/mopd-2.5.3/mopd/../common/device.c:36: /wrkdirs/usr/ports/net/mopd/work/mopd-2.5.3/mopd/../common/mopdef.h:194:8: warning: extra tokens at end of #endif directive [-Wextra-tokens] #endif MOPDEF_SUPRESS_EXTERN ^ // /wrkdirs/usr/ports/net/mopd/work/mopd-2.5.3/mopd/../common/mopdef.h:196:8: warning: extra tokens at end of #endif directive [-Wextra-tokens] #endif _MOPDEF_H_ ^ // /wrkdirs/usr/ports/net/mopd/work/mopd-2.5.3/mopd/../common/device.c:95:8: warning: implicitly declaring library function 'strncmp' with type 'int (const char *, const char *, unsigned long)' [-Wimplicit-function-declaration] if (!strncmp(ifr->ifr_name, ifname, sizeof(ifr->ifr_name))) { ^ /wrkdirs/usr/ports/net/mopd/work/mopd-2.5.3/mopd/../common/device.c:95:8: note: include the header or explicitly provide a declaration for 'strncmp' /wrkdirs/usr/ports/net/mopd/work/mopd-2.5.3/mopd/../common/device.c:114:2: warning: implicitly declaring library function 'strncpy' with type 'char *(char *, const char *, unsigned long)' [-Wimplicit-function-declaration] strncpy(tmp.if_name,ifname,sizeof(tmp.if_name) - 1); ^ /wrkdirs/usr/ports/net/mopd/work/mopd-2.5.3/mopd/../common/device.c:114:2: note: include the header or explicitly provide a declaration for 'strncpy' /wrkdirs/usr/ports/net/mopd/work/mopd-2.5.3/mopd/../common/device.c:202:7: warning: implicitly declaring library function 'strcmp' with type 'int (const char *, const char *)' [-Wimplicit-function-declaration] if (strcmp(p->if_name,interface) == 0) { ^ /wrkdirs/usr/ports/net/mopd/work/mopd-2.5.3/mopd/../common/device.c:202:7: note: include the header or explicitly provide a declaration for 'strcmp' 7 warnings generated. cc -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -I/wrkdirs/usr/ports/net/mopd/work/mopd-2.5.3/mopd -I/wrkdirs/usr/ports/net/mopd/work/mopd-2.5.3/mopd/.. -I/wrkdirs/usr/ports/net/mopd/work/mopd-2.5.3/mopd/../common -fPIE -MD -MF.depend.version.o -MTversion.o -std=gnu99 -Wno-format-zero-length -nobuiltininc -idirafter /usr/lib/clang/14.0.5/include -fstack-protector-strong -Qunused-arguments -c version.c -o version.o cc -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -I/wrkdirs/usr/ports/net/mopd/work/mopd-2.5.3/mopd -I/wrkdirs/usr/ports/net/mopd/work/mopd-2.5.3/mopd/.. -I/wrkdirs/usr/ports/net/mopd/work/mopd-2.5.3/mopd/../common -fPIE -MD -MF.depend.pf.o -MTpf.o -std=gnu99 -Wno-format-zero-length -nobuiltininc -idirafter /usr/lib/clang/14.0.5/include -fstack-protector-strong -Qunused-arguments -c /wrkdirs/usr/ports/net/mopd/work/mopd-2.5.3/mopd/../common/pf.c -o pf.o In file included from /wrkdirs/usr/ports/net/mopd/work/mopd-2.5.3/mopd/../common/pf.c:61: /wrkdirs/usr/ports/net/mopd/work/mopd-2.5.3/mopd/../common/mopdef.h:194:8: warning: extra tokens at end of #endif directive [-Wextra-tokens] #endif MOPDEF_SUPRESS_EXTERN ^ // /wrkdirs/usr/ports/net/mopd/work/mopd-2.5.3/mopd/../common/mopdef.h:196:8: warning: extra tokens at end of #endif directive [-Wextra-tokens] #endif _MOPDEF_H_ ^ // /wrkdirs/usr/ports/net/mopd/work/mopd-2.5.3/mopd/../common/pf.c:132:9: warning: implicitly declaring library function 'strncpy' with type 'char *(char *, const char *, unsigned long)' [-Wimplicit-function-declaration] (void) strncpy(ifr.ifr_name, interface, sizeof ifr.ifr_name); ^ /wrkdirs/usr/ports/net/mopd/work/mopd-2.5.3/mopd/../common/pf.c:132:9: note: include the header or explicitly provide a declaration for 'strncpy' 3 warnings generated. cc -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -I/wrkdirs/usr/ports/net/mopd/work/mopd-2.5.3/mopd -I/wrkdirs/usr/ports/net/mopd/work/mopd-2.5.3/mopd/.. -I/wrkdirs/usr/ports/net/mopd/work/mopd-2.5.3/mopd/../common -fPIE -MD -MF.depend.loop-bsd.o -MTloop-bsd.o -std=gnu99 -Wno-format-zero-length -nobuiltininc -idirafter /usr/lib/clang/14.0.5/include -fstack-protector-strong -Qunused-arguments -c /wrkdirs/usr/ports/net/mopd/work/mopd-2.5.3/mopd/../common/loop-bsd.c -o loop-bsd.o In file included from /wrkdirs/usr/ports/net/mopd/work/mopd-2.5.3/mopd/../common/loop-bsd.c:44: /wrkdirs/usr/ports/net/mopd/work/mopd-2.5.3/mopd/../common/os.h:57:8: warning: extra tokens at end of #endif directive [-Wextra-tokens] #endif _OS_H_ ^ // In file included from /wrkdirs/usr/ports/net/mopd/work/mopd-2.5.3/mopd/../common/loop-bsd.c:45: /wrkdirs/usr/ports/net/mopd/work/mopd-2.5.3/mopd/../common/common.h:92:8: warning: extra tokens at end of #endif directive [-Wextra-tokens] #endif _COMMON_H_ ^ // In file included from /wrkdirs/usr/ports/net/mopd/work/mopd-2.5.3/mopd/../common/loop-bsd.c:46: /wrkdirs/usr/ports/net/mopd/work/mopd-2.5.3/mopd/../common/mopdef.h:194:8: warning: extra tokens at end of #endif directive [-Wextra-tokens] #endif MOPDEF_SUPRESS_EXTERN ^ // /wrkdirs/usr/ports/net/mopd/work/mopd-2.5.3/mopd/../common/mopdef.h:196:8: warning: extra tokens at end of #endif directive [-Wextra-tokens] #endif _MOPDEF_H_ ^ // 4 warnings generated. cc -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -I/wrkdirs/usr/ports/net/mopd/work/mopd-2.5.3/mopd -I/wrkdirs/usr/ports/net/mopd/work/mopd-2.5.3/mopd/.. -I/wrkdirs/usr/ports/net/mopd/work/mopd-2.5.3/mopd/../common -fPIE -MD -MF.depend.dl.o -MTdl.o -std=gnu99 -Wno-format-zero-length -nobuiltininc -idirafter /usr/lib/clang/14.0.5/include -fstack-protector-strong -Qunused-arguments -c /wrkdirs/usr/ports/net/mopd/work/mopd-2.5.3/mopd/../common/dl.c -o dl.o In file included from /wrkdirs/usr/ports/net/mopd/work/mopd-2.5.3/mopd/../common/dl.c:34: /wrkdirs/usr/ports/net/mopd/work/mopd-2.5.3/mopd/../common/os.h:57:8: warning: extra tokens at end of #endif directive [-Wextra-tokens] #endif _OS_H_ ^ // In file included from /wrkdirs/usr/ports/net/mopd/work/mopd-2.5.3/mopd/../common/dl.c:35: /wrkdirs/usr/ports/net/mopd/work/mopd-2.5.3/mopd/../common/get.h:58:8: warning: extra tokens at end of #endif directive [-Wextra-tokens] #endif _GET_H_ ^ // In file included from /wrkdirs/usr/ports/net/mopd/work/mopd-2.5.3/mopd/../common/dl.c:36: /wrkdirs/usr/ports/net/mopd/work/mopd-2.5.3/mopd/../common/print.h:62:8: warning: extra tokens at end of #endif directive [-Wextra-tokens] #endif _PRINT_H_ ^ // In file included from /wrkdirs/usr/ports/net/mopd/work/mopd-2.5.3/mopd/../common/dl.c:37: /wrkdirs/usr/ports/net/mopd/work/mopd-2.5.3/mopd/../common/mopdef.h:194:8: warning: extra tokens at end of #endif directive [-Wextra-tokens] #endif MOPDEF_SUPRESS_EXTERN ^ // /wrkdirs/usr/ports/net/mopd/work/mopd-2.5.3/mopd/../common/mopdef.h:196:8: warning: extra tokens at end of #endif directive [-Wextra-tokens] #endif _MOPDEF_H_ ^ // /wrkdirs/usr/ports/net/mopd/work/mopd-2.5.3/mopd/../common/dl.c:71:45: warning: format specifies type 'unsigned int' but the argument has type 'long' [-Wformat] (void)fprintf(fd,"Load Address : %08x\n",tmpl); ~~~~ ^~~~ %08lx /wrkdirs/usr/ports/net/mopd/work/mopd-2.5.3/mopd/../common/dl.c:102:44: warning: format specifies type 'unsigned int' but the argument has type 'long' [-Wformat] (void)fprintf(fd,"Xfer Address : %08x\n",tmpl); ~~~~ ^~~~ %08lx /wrkdirs/usr/ports/net/mopd/work/mopd-2.5.3/mopd/../common/dl.c:116:44: warning: format specifies type 'unsigned int' but the argument has type 'long' [-Wformat] (void)fprintf(fd,"Load Address : %08x\n",tmpl); ~~~~ ^~~~ %08lx /wrkdirs/usr/ports/net/mopd/work/mopd-2.5.3/mopd/../common/dl.c:153:44: warning: format specifies type 'unsigned int' but the argument has type 'long' [-Wformat] (void)fprintf(fd,"Mem Address : %08x\n",tmpl); ~~~~ ^~~~ %08lx /wrkdirs/usr/ports/net/mopd/work/mopd-2.5.3/mopd/../common/dl.c:195:13: warning: equality comparison with extraneous parentheses [-Wparentheses-equality] if ((tmpc == 0)) { ~~~~~^~~~ /wrkdirs/usr/ports/net/mopd/work/mopd-2.5.3/mopd/../common/dl.c:195:13: note: remove extraneous parentheses around the comparison to silence this warning if ((tmpc == 0)) { ~ ^ ~ /wrkdirs/usr/ports/net/mopd/work/mopd-2.5.3/mopd/../common/dl.c:195:13: note: use '=' to turn this equality comparison into an assignment if ((tmpc == 0)) { ^~ = /wrkdirs/usr/ports/net/mopd/work/mopd-2.5.3/mopd/../common/dl.c:212:44: warning: format specifies type 'unsigned int' but the argument has type 'long' [-Wformat] (void)fprintf(fd,"Memory Size : %08x\n",tmpl); ~~~~ ^~~~ %08lx /wrkdirs/usr/ports/net/mopd/work/mopd-2.5.3/mopd/../common/dl.c:223:44: warning: format specifies type 'unsigned int' but the argument has type 'long' [-Wformat] (void)fprintf(fd,"Mem Address : %08x\n",tmpl); ~~~~ ^~~~ %08lx /wrkdirs/usr/ports/net/mopd/work/mopd-2.5.3/mopd/../common/dl.c:307:44: warning: format specifies type 'unsigned int' but the argument has type 'long' [-Wformat] (void)fprintf(fd,"Transfer Addr: %08x\n",tmpl); ~~~~ ^~~~ %08lx 13 warnings generated. cc -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -I/wrkdirs/usr/ports/net/mopd/work/mopd-2.5.3/mopd -I/wrkdirs/usr/ports/net/mopd/work/mopd-2.5.3/mopd/.. -I/wrkdirs/usr/ports/net/mopd/work/mopd-2.5.3/mopd/../common -fPIE -MD -MF.depend.rc.o -MTrc.o -std=gnu99 -Wno-format-zero-length -nobuiltininc -idirafter /usr/lib/clang/14.0.5/include -fstack-protector-strong -Qunused-arguments -c /wrkdirs/usr/ports/net/mopd/work/mopd-2.5.3/mopd/../common/rc.c -o rc.o In file included from /wrkdirs/usr/ports/net/mopd/work/mopd-2.5.3/mopd/../common/rc.c:34: /wrkdirs/usr/ports/net/mopd/work/mopd-2.5.3/mopd/../common/os.h:57:8: warning: extra tokens at end of #endif directive [-Wextra-tokens] #endif _OS_H_ ^ // In file included from /wrkdirs/usr/ports/net/mopd/work/mopd-2.5.3/mopd/../common/rc.c:35: /wrkdirs/usr/ports/net/mopd/work/mopd-2.5.3/mopd/../common/get.h:58:8: warning: extra tokens at end of #endif directive [-Wextra-tokens] #endif _GET_H_ ^ // In file included from /wrkdirs/usr/ports/net/mopd/work/mopd-2.5.3/mopd/../common/rc.c:36: /wrkdirs/usr/ports/net/mopd/work/mopd-2.5.3/mopd/../common/print.h:62:8: warning: extra tokens at end of #endif directive [-Wextra-tokens] #endif _PRINT_H_ ^ // In file included from /wrkdirs/usr/ports/net/mopd/work/mopd-2.5.3/mopd/../common/rc.c:37: /wrkdirs/usr/ports/net/mopd/work/mopd-2.5.3/mopd/../common/mopdef.h:194:8: warning: extra tokens at end of #endif directive [-Wextra-tokens] #endif MOPDEF_SUPRESS_EXTERN ^ // /wrkdirs/usr/ports/net/mopd/work/mopd-2.5.3/mopd/../common/mopdef.h:196:8: warning: extra tokens at end of #endif directive [-Wextra-tokens] #endif _MOPDEF_H_ ^ // /wrkdirs/usr/ports/net/mopd/work/mopd-2.5.3/mopd/../common/rc.c:75:15: warning: equality comparison with extraneous parentheses [-Wparentheses-equality] if ((moplen == 5)) { ~~~~~~~^~~~ /wrkdirs/usr/ports/net/mopd/work/mopd-2.5.3/mopd/../common/rc.c:75:15: note: remove extraneous parentheses around the comparison to silence this warning if ((moplen == 5)) { ~ ^ ~ /wrkdirs/usr/ports/net/mopd/work/mopd-2.5.3/mopd/../common/rc.c:75:15: note: use '=' to turn this equality comparison into an assignment if ((moplen == 5)) { ^~ = /wrkdirs/usr/ports/net/mopd/work/mopd-2.5.3/mopd/../common/rc.c:81:45: warning: format specifies type 'unsigned int' but the argument has type 'long' [-Wformat] (void)fprintf(fd,"Verification : %08x\n",tmpl); ~~~~ ^~~~ %08lx /wrkdirs/usr/ports/net/mopd/work/mopd-2.5.3/mopd/../common/rc.c:118:14: warning: equality comparison with extraneous parentheses [-Wparentheses-equality] if ((tmpc == 0)) { ~~~~~^~~~ /wrkdirs/usr/ports/net/mopd/work/mopd-2.5.3/mopd/../common/rc.c:118:14: note: remove extraneous parentheses around the comparison to silence this warning if ((tmpc == 0)) { ~ ^ ~ /wrkdirs/usr/ports/net/mopd/work/mopd-2.5.3/mopd/../common/rc.c:118:14: note: use '=' to turn this equality comparison into an assignment if ((tmpc == 0)) { ^~ = /wrkdirs/usr/ports/net/mopd/work/mopd-2.5.3/mopd/../common/rc.c:121:14: warning: equality comparison with extraneous parentheses [-Wparentheses-equality] if ((tmpc == 254)) { ~~~~~^~~~~~ /wrkdirs/usr/ports/net/mopd/work/mopd-2.5.3/mopd/../common/rc.c:121:14: note: remove extraneous parentheses around the comparison to silence this warning if ((tmpc == 254)) { ~ ^ ~ /wrkdirs/usr/ports/net/mopd/work/mopd-2.5.3/mopd/../common/rc.c:121:14: note: use '=' to turn this equality comparison into an assignment if ((tmpc == 254)) { ^~ = /wrkdirs/usr/ports/net/mopd/work/mopd-2.5.3/mopd/../common/rc.c:125:14: warning: equality comparison with extraneous parentheses [-Wparentheses-equality] if ((tmpc == 255)) { ~~~~~^~~~~~ /wrkdirs/usr/ports/net/mopd/work/mopd-2.5.3/mopd/../common/rc.c:125:14: note: remove extraneous parentheses around the comparison to silence this warning if ((tmpc == 255)) { ~ ^ ~ /wrkdirs/usr/ports/net/mopd/work/mopd-2.5.3/mopd/../common/rc.c:125:14: note: use '=' to turn this equality comparison into an assignment if ((tmpc == 255)) { ^~ = /wrkdirs/usr/ports/net/mopd/work/mopd-2.5.3/mopd/../common/rc.c:167:47: warning: format specifies type 'unsigned int' but the argument has type 'long' [-Wformat] (void)fprintf(fd,"Bytes rec : %08x %d\n",tmpl,tmpl); ~~~~ ^~~~ %08lx /wrkdirs/usr/ports/net/mopd/work/mopd-2.5.3/mopd/../common/rc.c:167:52: warning: format specifies type 'int' but the argument has type 'long' [-Wformat] (void)fprintf(fd,"Bytes rec : %08x %d\n",tmpl,tmpl); ~~ ^~~~ %ld /wrkdirs/usr/ports/net/mopd/work/mopd-2.5.3/mopd/../common/rc.c:170:47: warning: format specifies type 'unsigned int' but the argument has type 'long' [-Wformat] (void)fprintf(fd,"Bytes snd : %08x %d\n",tmpl,tmpl); ~~~~ ^~~~ %08lx /wrkdirs/usr/ports/net/mopd/work/mopd-2.5.3/mopd/../common/rc.c:170:52: warning: format specifies type 'int' but the argument has type 'long' [-Wformat] (void)fprintf(fd,"Bytes snd : %08x %d\n",tmpl,tmpl); ~~ ^~~~ %ld /wrkdirs/usr/ports/net/mopd/work/mopd-2.5.3/mopd/../common/rc.c:173:47: warning: format specifies type 'unsigned int' but the argument has type 'long' [-Wformat] (void)fprintf(fd,"Frames rec : %08x %d\n",tmpl,tmpl); ~~~~ ^~~~ %08lx /wrkdirs/usr/ports/net/mopd/work/mopd-2.5.3/mopd/../common/rc.c:173:52: warning: format specifies type 'int' but the argument has type 'long' [-Wformat] (void)fprintf(fd,"Frames rec : %08x %d\n",tmpl,tmpl); ~~ ^~~~ %ld /wrkdirs/usr/ports/net/mopd/work/mopd-2.5.3/mopd/../common/rc.c:176:47: warning: format specifies type 'unsigned int' but the argument has type 'long' [-Wformat] (void)fprintf(fd,"Frames snd : %08x %d\n",tmpl,tmpl); ~~~~ ^~~~ %08lx /wrkdirs/usr/ports/net/mopd/work/mopd-2.5.3/mopd/../common/rc.c:176:52: warning: format specifies type 'int' but the argument has type 'long' [-Wformat] (void)fprintf(fd,"Frames snd : %08x %d\n",tmpl,tmpl); ~~ ^~~~ %ld /wrkdirs/usr/ports/net/mopd/work/mopd-2.5.3/mopd/../common/rc.c:179:47: warning: format specifies type 'unsigned int' but the argument has type 'long' [-Wformat] (void)fprintf(fd,"Mcst Bytes re: %08x %d\n",tmpl,tmpl); ~~~~ ^~~~ %08lx /wrkdirs/usr/ports/net/mopd/work/mopd-2.5.3/mopd/../common/rc.c:179:52: warning: format specifies type 'int' but the argument has type 'long' [-Wformat] (void)fprintf(fd,"Mcst Bytes re: %08x %d\n",tmpl,tmpl); ~~ ^~~~ %ld /wrkdirs/usr/ports/net/mopd/work/mopd-2.5.3/mopd/../common/rc.c:182:47: warning: format specifies type 'unsigned int' but the argument has type 'long' [-Wformat] (void)fprintf(fd,"Mcst Frame re: %08x %d\n",tmpl,tmpl); ~~~~ ^~~~ %08lx /wrkdirs/usr/ports/net/mopd/work/mopd-2.5.3/mopd/../common/rc.c:182:52: warning: format specifies type 'int' but the argument has type 'long' [-Wformat] (void)fprintf(fd,"Mcst Frame re: %08x %d\n",tmpl,tmpl); ~~ ^~~~ %ld /wrkdirs/usr/ports/net/mopd/work/mopd-2.5.3/mopd/../common/rc.c:185:47: warning: format specifies type 'unsigned int' but the argument has type 'long' [-Wformat] (void)fprintf(fd,"Frame snd,def: %08x %d\n",tmpl,tmpl); ~~~~ ^~~~ %08lx /wrkdirs/usr/ports/net/mopd/work/mopd-2.5.3/mopd/../common/rc.c:185:52: warning: format specifies type 'int' but the argument has type 'long' [-Wformat] (void)fprintf(fd,"Frame snd,def: %08x %d\n",tmpl,tmpl); ~~ ^~~~ %ld /wrkdirs/usr/ports/net/mopd/work/mopd-2.5.3/mopd/../common/rc.c:188:47: warning: format specifies type 'unsigned int' but the argument has type 'long' [-Wformat] (void)fprintf(fd,"Frame snd,col: %08x %d\n",tmpl,tmpl); ~~~~ ^~~~ %08lx /wrkdirs/usr/ports/net/mopd/work/mopd-2.5.3/mopd/../common/rc.c:188:52: warning: format specifies type 'int' but the argument has type 'long' [-Wformat] (void)fprintf(fd,"Frame snd,col: %08x %d\n",tmpl,tmpl); ~~ ^~~~ %ld /wrkdirs/usr/ports/net/mopd/work/mopd-2.5.3/mopd/../common/rc.c:191:47: warning: format specifies type 'unsigned int' but the argument has type 'long' [-Wformat] (void)fprintf(fd,"Frame snd,mcl: %08x %d\n",tmpl,tmpl); ~~~~ ^~~~ %08lx /wrkdirs/usr/ports/net/mopd/work/mopd-2.5.3/mopd/../common/rc.c:191:52: warning: format specifies type 'int' but the argument has type 'long' [-Wformat] (void)fprintf(fd,"Frame snd,mcl: %08x %d\n",tmpl,tmpl); ~~ ^~~~ %ld /wrkdirs/usr/ports/net/mopd/work/mopd-2.5.3/mopd/../common/rc.c:232:44: warning: format specifies type 'unsigned int' but the argument has type 'long' [-Wformat] (void)fprintf(fd,"Verification : %08x\n",tmpl); ~~~~ ^~~~ %08lx 29 warnings generated. cc -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -I/wrkdirs/usr/ports/net/mopd/work/mopd-2.5.3/mopd -I/wrkdirs/usr/ports/net/mopd/work/mopd-2.5.3/mopd/.. -I/wrkdirs/usr/ports/net/mopd/work/mopd-2.5.3/mopd/../common -fPIE -MD -MF.depend.file.o -MTfile.o -std=gnu99 -Wno-format-zero-length -nobuiltininc -idirafter /usr/lib/clang/14.0.5/include -fstack-protector-strong -Qunused-arguments -c /wrkdirs/usr/ports/net/mopd/work/mopd-2.5.3/mopd/../common/file.c -o file.o In file included from /wrkdirs/usr/ports/net/mopd/work/mopd-2.5.3/mopd/../common/file.c:34: /wrkdirs/usr/ports/net/mopd/work/mopd-2.5.3/mopd/../common/os.h:57:8: warning: extra tokens at end of #endif directive [-Wextra-tokens] #endif _OS_H_ ^ // In file included from /wrkdirs/usr/ports/net/mopd/work/mopd-2.5.3/mopd/../common/file.c:35: /wrkdirs/usr/ports/net/mopd/work/mopd-2.5.3/mopd/../common/common.h:92:8: warning: extra tokens at end of #endif directive [-Wextra-tokens] #endif _COMMON_H_ ^ // In file included from /wrkdirs/usr/ports/net/mopd/work/mopd-2.5.3/mopd/../common/file.c:36: /wrkdirs/usr/ports/net/mopd/work/mopd-2.5.3/mopd/../common/mopdef.h:194:8: warning: extra tokens at end of #endif directive [-Wextra-tokens] #endif MOPDEF_SUPRESS_EXTERN ^ // /wrkdirs/usr/ports/net/mopd/work/mopd-2.5.3/mopd/../common/mopdef.h:196:8: warning: extra tokens at end of #endif directive [-Wextra-tokens] #endif _MOPDEF_H_ ^ // /wrkdirs/usr/ports/net/mopd/work/mopd-2.5.3/mopd/../common/file.c:427:20: warning: implicit declaration of function 'ntohl' is invalid in C99 [-Wimplicit-function-declaration] mid = getMID(mid, N_GETMID (ex)); ^ /usr/include/sys/imgact_aout.h:41:5: note: expanded from macro 'N_GETMID' ( (N_GETMAGIC_NET(ex) == ZMAGIC) ? N_GETMID_NET(ex) : \ ^ /usr/include/sys/imgact_aout.h:52:3: note: expanded from macro 'N_GETMAGIC_NET' (ntohl((ex).a_midmag) & 0xffff) ^ /wrkdirs/usr/ports/net/mopd/work/mopd-2.5.3/mopd/../common/file.c:438:8: warning: extra tokens at end of #endif directive [-Wextra-tokens] #endif NOAOUT ^ // /wrkdirs/usr/ports/net/mopd/work/mopd-2.5.3/mopd/../common/file.c:466:20: warning: implicit declaration of function 'ntohl' is invalid in C99 [-Wimplicit-function-declaration] mid = getMID(mid, N_GETMID (ex)); ^ /usr/include/sys/imgact_aout.h:41:5: note: expanded from macro 'N_GETMID' ( (N_GETMAGIC_NET(ex) == ZMAGIC) ? N_GETMID_NET(ex) : \ ^ /usr/include/sys/imgact_aout.h:52:3: note: expanded from macro 'N_GETMAGIC_NET' (ntohl((ex).a_midmag) & 0xffff) ^ /wrkdirs/usr/ports/net/mopd/work/mopd-2.5.3/mopd/../common/file.c:682:8: warning: extra tokens at end of #endif directive [-Wextra-tokens] #endif NOAOUT ^ // 8 warnings generated. cc -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -I/wrkdirs/usr/ports/net/mopd/work/mopd-2.5.3/mopd -I/wrkdirs/usr/ports/net/mopd/work/mopd-2.5.3/mopd/.. -I/wrkdirs/usr/ports/net/mopd/work/mopd-2.5.3/mopd/../common -fPIE -std=gnu99 -Wno-format-zero-length -nobuiltininc -idirafter /usr/lib/clang/14.0.5/include -fstack-protector-strong -Qunused-arguments -fstack-protector-strong -pie -o mopd mopd.o process.o print.o cmp.o get.o put.o mopdef.o nma.o device.o version.o pf.o loop-bsd.o dl.o rc.o file.o -lkvm gzip -cn mopd.8 > mopd.8.gz ===> mopprobe (all) rm -f version.c; sed 's/.*/static char version[] = "&";/' /wrkdirs/usr/ports/net/mopd/work/mopd-2.5.3/mopprobe/../common/VERSION > version.c set `sed 's/\([0-9]*\)\.\([0-9]*\).*/\1 \2/' /wrkdirs/usr/ports/net/mopd/work/mopd-2.5.3/mopprobe/../common/VERSION` ; { echo '#define VERSION_MAJOR' $1 ; echo '#define VERSION_MINOR' $2 ; } > version.h echo mopprobe: /usr/lib/libc.a >> .depend Warning: Object directory not changed from original /wrkdirs/usr/ports/net/mopd/work/mopd-2.5.3/mopprobe cc -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -I/wrkdirs/usr/ports/net/mopd/work/mopd-2.5.3/mopprobe -I/wrkdirs/usr/ports/net/mopd/work/mopd-2.5.3/mopprobe/.. -I/wrkdirs/usr/ports/net/mopd/work/mopd-2.5.3/mopprobe/../common -DNODL -fPIE -MD -MF.depend.mopprobe.o -MTmopprobe.o -std=gnu99 -Wno-format-zero-length -nobuiltininc -idirafter /usr/lib/clang/14.0.5/include -fstack-protector-strong -Qunused-arguments -c mopprobe.c -o mopprobe.o In file included from mopprobe.c:41: /wrkdirs/usr/ports/net/mopd/work/mopd-2.5.3/mopprobe/../common/os.h:57:8: warning: extra tokens at end of #endif directive [-Wextra-tokens] #endif _OS_H_ ^ // In file included from mopprobe.c:42: /wrkdirs/usr/ports/net/mopd/work/mopd-2.5.3/mopprobe/../common/common.h:92:8: warning: extra tokens at end of #endif directive [-Wextra-tokens] #endif _COMMON_H_ ^ // In file included from mopprobe.c:43: /wrkdirs/usr/ports/net/mopd/work/mopd-2.5.3/mopprobe/../common/mopdef.h:194:8: warning: extra tokens at end of #endif directive [-Wextra-tokens] #endif MOPDEF_SUPRESS_EXTERN ^ // /wrkdirs/usr/ports/net/mopd/work/mopd-2.5.3/mopprobe/../common/mopdef.h:196:8: warning: extra tokens at end of #endif directive [-Wextra-tokens] #endif _MOPDEF_H_ ^ // In file included from mopprobe.c:44: /wrkdirs/usr/ports/net/mopd/work/mopd-2.5.3/mopprobe/../common/device.h:52:8: warning: extra tokens at end of #endif directive [-Wextra-tokens] #endif _DEVICE_H_ ^ // In file included from mopprobe.c:45: /wrkdirs/usr/ports/net/mopd/work/mopd-2.5.3/mopprobe/../common/print.h:62:8: warning: extra tokens at end of #endif directive [-Wextra-tokens] #endif _PRINT_H_ ^ // In file included from mopprobe.c:46: /wrkdirs/usr/ports/net/mopd/work/mopd-2.5.3/mopprobe/../common/get.h:58:8: warning: extra tokens at end of #endif directive [-Wextra-tokens] #endif _GET_H_ ^ // In file included from mopprobe.c:47: /wrkdirs/usr/ports/net/mopd/work/mopd-2.5.3/mopprobe/../common/cmp.h:44:8: warning: extra tokens at end of #endif directive [-Wextra-tokens] #endif _CMP_H_ ^ // In file included from mopprobe.c:48: /wrkdirs/usr/ports/net/mopd/work/mopd-2.5.3/mopprobe/../common/pf.h:56:8: warning: extra tokens at end of #endif directive [-Wextra-tokens] #endif _PF_H_ ^ // In file included from mopprobe.c:49: /wrkdirs/usr/ports/net/mopd/work/mopd-2.5.3/mopprobe/../common/nmadef.h:181:8: warning: extra tokens at end of #endif directive [-Wextra-tokens] #endif _NMADEF_H_ ^ // mopprobe.c:75:1: warning: return type of 'main' is not 'int' [-Wmain-return-type] void ^ mopprobe.c:75:1: note: change return type to 'int' void ^~~~ int mopprobe.c:85:17: warning: implicitly declaring library function 'strrchr' with type 'char *(const char *, int)' [-Wimplicit-function-declaration] if ((Program = strrchr(argv[0], '/'))) ^ mopprobe.c:85:17: note: include the header or explicitly provide a declaration for 'strrchr' mopprobe.c:180:18: warning: passing 'char[]' to parameter of type 'u_char *' (aka 'unsigned char *') converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] if (mopCmpEAddr(rc_mcst,dst) != 0) { ^~~~~~~ /wrkdirs/usr/ports/net/mopd/work/mopd-2.5.3/mopprobe/../common/cmp.h:40:30: note: passing argument to parameter here int mopCmpEAddr __P((u_char *,u_char *)); ^ 13 warnings generated. cc -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -I/wrkdirs/usr/ports/net/mopd/work/mopd-2.5.3/mopprobe -I/wrkdirs/usr/ports/net/mopd/work/mopd-2.5.3/mopprobe/.. -I/wrkdirs/usr/ports/net/mopd/work/mopd-2.5.3/mopprobe/../common -DNODL -fPIE -MD -MF.depend.device.o -MTdevice.o -std=gnu99 -Wno-format-zero-length -nobuiltininc -idirafter /usr/lib/clang/14.0.5/include -fstack-protector-strong -Qunused-arguments -c /wrkdirs/usr/ports/net/mopd/work/mopd-2.5.3/mopprobe/../common/device.c -o device.o In file included from /wrkdirs/usr/ports/net/mopd/work/mopd-2.5.3/mopprobe/../common/device.c:34: /wrkdirs/usr/ports/net/mopd/work/mopd-2.5.3/mopprobe/../common/os.h:57:8: warning: extra tokens at end of #endif directive [-Wextra-tokens] #endif _OS_H_ ^ // In file included from /wrkdirs/usr/ports/net/mopd/work/mopd-2.5.3/mopprobe/../common/device.c:35: /wrkdirs/usr/ports/net/mopd/work/mopd-2.5.3/mopprobe/../common/common.h:92:8: warning: extra tokens at end of #endif directive [-Wextra-tokens] #endif _COMMON_H_ ^ // In file included from /wrkdirs/usr/ports/net/mopd/work/mopd-2.5.3/mopprobe/../common/device.c:36: /wrkdirs/usr/ports/net/mopd/work/mopd-2.5.3/mopprobe/../common/mopdef.h:194:8: warning: extra tokens at end of #endif directive [-Wextra-tokens] #endif MOPDEF_SUPRESS_EXTERN ^ // /wrkdirs/usr/ports/net/mopd/work/mopd-2.5.3/mopprobe/../common/mopdef.h:196:8: warning: extra tokens at end of #endif directive [-Wextra-tokens] #endif _MOPDEF_H_ ^ // /wrkdirs/usr/ports/net/mopd/work/mopd-2.5.3/mopprobe/../common/device.c:95:8: warning: implicitly declaring library function 'strncmp' with type 'int (const char *, const char *, unsigned long)' [-Wimplicit-function-declaration] if (!strncmp(ifr->ifr_name, ifname, sizeof(ifr->ifr_name))) { ^ /wrkdirs/usr/ports/net/mopd/work/mopd-2.5.3/mopprobe/../common/device.c:95:8: note: include the header or explicitly provide a declaration for 'strncmp' /wrkdirs/usr/ports/net/mopd/work/mopd-2.5.3/mopprobe/../common/device.c:114:2: warning: implicitly declaring library function 'strncpy' with type 'char *(char *, const char *, unsigned long)' [-Wimplicit-function-declaration] strncpy(tmp.if_name,ifname,sizeof(tmp.if_name) - 1); ^ /wrkdirs/usr/ports/net/mopd/work/mopd-2.5.3/mopprobe/../common/device.c:114:2: note: include the header or explicitly provide a declaration for 'strncpy' /wrkdirs/usr/ports/net/mopd/work/mopd-2.5.3/mopprobe/../common/device.c:202:7: warning: implicitly declaring library function 'strcmp' with type 'int (const char *, const char *)' [-Wimplicit-function-declaration] if (strcmp(p->if_name,interface) == 0) { ^ /wrkdirs/usr/ports/net/mopd/work/mopd-2.5.3/mopprobe/../common/device.c:202:7: note: include the header or explicitly provide a declaration for 'strcmp' 7 warnings generated. cc -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -I/wrkdirs/usr/ports/net/mopd/work/mopd-2.5.3/mopprobe -I/wrkdirs/usr/ports/net/mopd/work/mopd-2.5.3/mopprobe/.. -I/wrkdirs/usr/ports/net/mopd/work/mopd-2.5.3/mopprobe/../common -DNODL -fPIE -MD -MF.depend.get.o -MTget.o -std=gnu99 -Wno-format-zero-length -nobuiltininc -idirafter /usr/lib/clang/14.0.5/include -fstack-protector-strong -Qunused-arguments -c /wrkdirs/usr/ports/net/mopd/work/mopd-2.5.3/mopprobe/../common/get.c -o get.o In file included from /wrkdirs/usr/ports/net/mopd/work/mopd-2.5.3/mopprobe/../common/get.c:35: /wrkdirs/usr/ports/net/mopd/work/mopd-2.5.3/mopprobe/../common/mopdef.h:194:8: warning: extra tokens at end of #endif directive [-Wextra-tokens] #endif MOPDEF_SUPRESS_EXTERN ^ // /wrkdirs/usr/ports/net/mopd/work/mopd-2.5.3/mopprobe/../common/mopdef.h:196:8: warning: extra tokens at end of #endif directive [-Wextra-tokens] #endif _MOPDEF_H_ ^ // /wrkdirs/usr/ports/net/mopd/work/mopd-2.5.3/mopprobe/../common/get.c:99:7: warning: implicit declaration of function 'ntohs' is invalid in C99 [-Wimplicit-function-declaration] if (ntohs(*ptype) < 1600) { ^ 3 warnings generated. cc -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -I/wrkdirs/usr/ports/net/mopd/work/mopd-2.5.3/mopprobe -I/wrkdirs/usr/ports/net/mopd/work/mopd-2.5.3/mopprobe/.. -I/wrkdirs/usr/ports/net/mopd/work/mopd-2.5.3/mopprobe/../common -DNODL -fPIE -MD -MF.depend.cmp.o -MTcmp.o -std=gnu99 -Wno-format-zero-length -nobuiltininc -idirafter /usr/lib/clang/14.0.5/include -fstack-protector-strong -Qunused-arguments -c /wrkdirs/usr/ports/net/mopd/work/mopd-2.5.3/mopprobe/../common/cmp.c -o cmp.o In file included from /wrkdirs/usr/ports/net/mopd/work/mopd-2.5.3/mopprobe/../common/cmp.c:34: /wrkdirs/usr/ports/net/mopd/work/mopd-2.5.3/mopprobe/../common/os.h:57:8: warning: extra tokens at end of #endif directive [-Wextra-tokens] #endif _OS_H_ ^ // 1 warning generated. cc -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -I/wrkdirs/usr/ports/net/mopd/work/mopd-2.5.3/mopprobe -I/wrkdirs/usr/ports/net/mopd/work/mopd-2.5.3/mopprobe/.. -I/wrkdirs/usr/ports/net/mopd/work/mopd-2.5.3/mopprobe/../common -DNODL -fPIE -MD -MF.depend.mopdef.o -MTmopdef.o -std=gnu99 -Wno-format-zero-length -nobuiltininc -idirafter /usr/lib/clang/14.0.5/include -fstack-protector-strong -Qunused-arguments -c /wrkdirs/usr/ports/net/mopd/work/mopd-2.5.3/mopprobe/../common/mopdef.c -o mopdef.o In file included from /wrkdirs/usr/ports/net/mopd/work/mopd-2.5.3/mopprobe/../common/mopdef.c:35: /wrkdirs/usr/ports/net/mopd/work/mopd-2.5.3/mopprobe/../common/mopdef.h:194:8: warning: extra tokens at end of #endif directive [-Wextra-tokens] #endif MOPDEF_SUPRESS_EXTERN ^ // /wrkdirs/usr/ports/net/mopd/work/mopd-2.5.3/mopprobe/../common/mopdef.h:196:8: warning: extra tokens at end of #endif directive [-Wextra-tokens] #endif _MOPDEF_H_ ^ // 2 warnings generated. cc -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -I/wrkdirs/usr/ports/net/mopd/work/mopd-2.5.3/mopprobe -I/wrkdirs/usr/ports/net/mopd/work/mopd-2.5.3/mopprobe/.. -I/wrkdirs/usr/ports/net/mopd/work/mopd-2.5.3/mopprobe/../common -DNODL -fPIE -MD -MF.depend.version.o -MTversion.o -std=gnu99 -Wno-format-zero-length -nobuiltininc -idirafter /usr/lib/clang/14.0.5/include -fstack-protector-strong -Qunused-arguments -c version.c -o version.o cc -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -I/wrkdirs/usr/ports/net/mopd/work/mopd-2.5.3/mopprobe -I/wrkdirs/usr/ports/net/mopd/work/mopd-2.5.3/mopprobe/.. -I/wrkdirs/usr/ports/net/mopd/work/mopd-2.5.3/mopprobe/../common -DNODL -fPIE -MD -MF.depend.pf.o -MTpf.o -std=gnu99 -Wno-format-zero-length -nobuiltininc -idirafter /usr/lib/clang/14.0.5/include -fstack-protector-strong -Qunused-arguments -c /wrkdirs/usr/ports/net/mopd/work/mopd-2.5.3/mopprobe/../common/pf.c -o pf.o In file included from /wrkdirs/usr/ports/net/mopd/work/mopd-2.5.3/mopprobe/../common/pf.c:61: /wrkdirs/usr/ports/net/mopd/work/mopd-2.5.3/mopprobe/../common/mopdef.h:194:8: warning: extra tokens at end of #endif directive [-Wextra-tokens] #endif MOPDEF_SUPRESS_EXTERN ^ // /wrkdirs/usr/ports/net/mopd/work/mopd-2.5.3/mopprobe/../common/mopdef.h:196:8: warning: extra tokens at end of #endif directive [-Wextra-tokens] #endif _MOPDEF_H_ ^ // /wrkdirs/usr/ports/net/mopd/work/mopd-2.5.3/mopprobe/../common/pf.c:132:9: warning: implicitly declaring library function 'strncpy' with type 'char *(char *, const char *, unsigned long)' [-Wimplicit-function-declaration] (void) strncpy(ifr.ifr_name, interface, sizeof ifr.ifr_name); ^ /wrkdirs/usr/ports/net/mopd/work/mopd-2.5.3/mopprobe/../common/pf.c:132:9: note: include the header or explicitly provide a declaration for 'strncpy' 3 warnings generated. cc -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -I/wrkdirs/usr/ports/net/mopd/work/mopd-2.5.3/mopprobe -I/wrkdirs/usr/ports/net/mopd/work/mopd-2.5.3/mopprobe/.. -I/wrkdirs/usr/ports/net/mopd/work/mopd-2.5.3/mopprobe/../common -DNODL -fPIE -MD -MF.depend.loop-bsd.o -MTloop-bsd.o -std=gnu99 -Wno-format-zero-length -nobuiltininc -idirafter /usr/lib/clang/14.0.5/include -fstack-protector-strong -Qunused-arguments -c /wrkdirs/usr/ports/net/mopd/work/mopd-2.5.3/mopprobe/../common/loop-bsd.c -o loop-bsd.o In file included from /wrkdirs/usr/ports/net/mopd/work/mopd-2.5.3/mopprobe/../common/loop-bsd.c:44: /wrkdirs/usr/ports/net/mopd/work/mopd-2.5.3/mopprobe/../common/os.h:57:8: warning: extra tokens at end of #endif directive [-Wextra-tokens] #endif _OS_H_ ^ // In file included from /wrkdirs/usr/ports/net/mopd/work/mopd-2.5.3/mopprobe/../common/loop-bsd.c:45: /wrkdirs/usr/ports/net/mopd/work/mopd-2.5.3/mopprobe/../common/common.h:92:8: warning: extra tokens at end of #endif directive [-Wextra-tokens] #endif _COMMON_H_ ^ // In file included from /wrkdirs/usr/ports/net/mopd/work/mopd-2.5.3/mopprobe/../common/loop-bsd.c:46: /wrkdirs/usr/ports/net/mopd/work/mopd-2.5.3/mopprobe/../common/mopdef.h:194:8: warning: extra tokens at end of #endif directive [-Wextra-tokens] #endif MOPDEF_SUPRESS_EXTERN ^ // /wrkdirs/usr/ports/net/mopd/work/mopd-2.5.3/mopprobe/../common/mopdef.h:196:8: warning: extra tokens at end of #endif directive [-Wextra-tokens] #endif _MOPDEF_H_ ^ // 4 warnings generated. cc -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -I/wrkdirs/usr/ports/net/mopd/work/mopd-2.5.3/mopprobe -I/wrkdirs/usr/ports/net/mopd/work/mopd-2.5.3/mopprobe/.. -I/wrkdirs/usr/ports/net/mopd/work/mopd-2.5.3/mopprobe/../common -DNODL -fPIE -std=gnu99 -Wno-format-zero-length -nobuiltininc -idirafter /usr/lib/clang/14.0.5/include -fstack-protector-strong -Qunused-arguments -fstack-protector-strong -pie -o mopprobe mopprobe.o device.o get.o cmp.o mopdef.o version.o pf.o loop-bsd.o -lkvm gzip -cn mopprobe.1 > mopprobe.1.gz ===> moptrace (all) rm -f version.c; sed 's/.*/static char version[] = "&";/' /wrkdirs/usr/ports/net/mopd/work/mopd-2.5.3/moptrace/../common/VERSION > version.c set `sed 's/\([0-9]*\)\.\([0-9]*\).*/\1 \2/' /wrkdirs/usr/ports/net/mopd/work/mopd-2.5.3/moptrace/../common/VERSION` ; { echo '#define VERSION_MAJOR' $1 ; echo '#define VERSION_MINOR' $2 ; } > version.h echo moptrace: /usr/lib/libc.a >> .depend Warning: Object directory not changed from original /wrkdirs/usr/ports/net/mopd/work/mopd-2.5.3/moptrace cc -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -I/wrkdirs/usr/ports/net/mopd/work/mopd-2.5.3/moptrace -I/wrkdirs/usr/ports/net/mopd/work/mopd-2.5.3/moptrace/.. -I/wrkdirs/usr/ports/net/mopd/work/mopd-2.5.3/moptrace/../common -fPIE -MD -MF.depend.moptrace.o -MTmoptrace.o -std=gnu99 -Wno-format-zero-length -nobuiltininc -idirafter /usr/lib/clang/14.0.5/include -fstack-protector-strong -Qunused-arguments -c moptrace.c -o moptrace.o In file included from moptrace.c:41: /wrkdirs/usr/ports/net/mopd/work/mopd-2.5.3/moptrace/../common/os.h:57:8: warning: extra tokens at end of #endif directive [-Wextra-tokens] #endif _OS_H_ ^ // In file included from moptrace.c:42: /wrkdirs/usr/ports/net/mopd/work/mopd-2.5.3/moptrace/../common/common.h:92:8: warning: extra tokens at end of #endif directive [-Wextra-tokens] #endif _COMMON_H_ ^ // In file included from moptrace.c:43: /wrkdirs/usr/ports/net/mopd/work/mopd-2.5.3/moptrace/../common/mopdef.h:194:8: warning: extra tokens at end of #endif directive [-Wextra-tokens] #endif MOPDEF_SUPRESS_EXTERN ^ // /wrkdirs/usr/ports/net/mopd/work/mopd-2.5.3/moptrace/../common/mopdef.h:196:8: warning: extra tokens at end of #endif directive [-Wextra-tokens] #endif _MOPDEF_H_ ^ // In file included from moptrace.c:44: /wrkdirs/usr/ports/net/mopd/work/mopd-2.5.3/moptrace/../common/device.h:52:8: warning: extra tokens at end of #endif directive [-Wextra-tokens] #endif _DEVICE_H_ ^ // In file included from moptrace.c:45: /wrkdirs/usr/ports/net/mopd/work/mopd-2.5.3/moptrace/../common/print.h:62:8: warning: extra tokens at end of #endif directive [-Wextra-tokens] #endif _PRINT_H_ ^ // In file included from moptrace.c:46: /wrkdirs/usr/ports/net/mopd/work/mopd-2.5.3/moptrace/../common/pf.h:56:8: warning: extra tokens at end of #endif directive [-Wextra-tokens] #endif _PF_H_ ^ // In file included from moptrace.c:47: /wrkdirs/usr/ports/net/mopd/work/mopd-2.5.3/moptrace/../common/dl.h:44:8: warning: extra tokens at end of #endif directive [-Wextra-tokens] #endif _DL_H_ ^ // In file included from moptrace.c:48: /wrkdirs/usr/ports/net/mopd/work/mopd-2.5.3/moptrace/../common/rc.h:44:8: warning: extra tokens at end of #endif directive [-Wextra-tokens] #endif _RC_H_ ^ // In file included from moptrace.c:49: /wrkdirs/usr/ports/net/mopd/work/mopd-2.5.3/moptrace/../common/get.h:58:8: warning: extra tokens at end of #endif directive [-Wextra-tokens] #endif _GET_H_ ^ // moptrace.c:74:1: warning: return type of 'main' is not 'int' [-Wmain-return-type] void ^ moptrace.c:74:1: note: change return type to 'int' void ^~~~ int moptrace.c:84:17: warning: implicitly declaring library function 'strrchr' with type 'char *(const char *, int)' [-Wimplicit-function-declaration] if ((Program = strrchr(argv[0], '/'))) ^ moptrace.c:84:17: note: include the header or explicitly provide a declaration for 'strrchr' 12 warnings generated. cc -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -I/wrkdirs/usr/ports/net/mopd/work/mopd-2.5.3/moptrace -I/wrkdirs/usr/ports/net/mopd/work/mopd-2.5.3/moptrace/.. -I/wrkdirs/usr/ports/net/mopd/work/mopd-2.5.3/moptrace/../common -fPIE -MD -MF.depend.print.o -MTprint.o -std=gnu99 -Wno-format-zero-length -nobuiltininc -idirafter /usr/lib/clang/14.0.5/include -fstack-protector-strong -Qunused-arguments -c /wrkdirs/usr/ports/net/mopd/work/mopd-2.5.3/moptrace/../common/print.c -o print.o In file included from /wrkdirs/usr/ports/net/mopd/work/mopd-2.5.3/moptrace/../common/print.c:37: /wrkdirs/usr/ports/net/mopd/work/mopd-2.5.3/moptrace/../common/os.h:57:8: warning: extra tokens at end of #endif directive [-Wextra-tokens] #endif _OS_H_ ^ // In file included from /wrkdirs/usr/ports/net/mopd/work/mopd-2.5.3/moptrace/../common/print.c:38: /wrkdirs/usr/ports/net/mopd/work/mopd-2.5.3/moptrace/../common/mopdef.h:194:8: warning: extra tokens at end of #endif directive [-Wextra-tokens] #endif MOPDEF_SUPRESS_EXTERN ^ // /wrkdirs/usr/ports/net/mopd/work/mopd-2.5.3/moptrace/../common/mopdef.h:196:8: warning: extra tokens at end of #endif directive [-Wextra-tokens] #endif _MOPDEF_H_ ^ // In file included from /wrkdirs/usr/ports/net/mopd/work/mopd-2.5.3/moptrace/../common/print.c:39: /wrkdirs/usr/ports/net/mopd/work/mopd-2.5.3/moptrace/../common/nmadef.h:181:8: warning: extra tokens at end of #endif directive [-Wextra-tokens] #endif _NMADEF_H_ ^ // In file included from /wrkdirs/usr/ports/net/mopd/work/mopd-2.5.3/moptrace/../common/print.c:40: /wrkdirs/usr/ports/net/mopd/work/mopd-2.5.3/moptrace/../common/nma.h:46:8: warning: extra tokens at end of #endif directive [-Wextra-tokens] #endif _NMA_H_ ^ // In file included from /wrkdirs/usr/ports/net/mopd/work/mopd-2.5.3/moptrace/../common/print.c:41: /wrkdirs/usr/ports/net/mopd/work/mopd-2.5.3/moptrace/../common/cmp.h:44:8: warning: extra tokens at end of #endif directive [-Wextra-tokens] #endif _CMP_H_ ^ // In file included from /wrkdirs/usr/ports/net/mopd/work/mopd-2.5.3/moptrace/../common/print.c:42: /wrkdirs/usr/ports/net/mopd/work/mopd-2.5.3/moptrace/../common/get.h:58:8: warning: extra tokens at end of #endif directive [-Wextra-tokens] #endif _GET_H_ ^ // /wrkdirs/usr/ports/net/mopd/work/mopd-2.5.3/moptrace/../common/print.c:268:18: warning: passing 'char[]' to parameter of type 'u_char *' (aka 'unsigned char *') converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] if (mopCmpEAddr(dl_mcst,dst) == 0) { ^~~~~~~ /wrkdirs/usr/ports/net/mopd/work/mopd-2.5.3/moptrace/../common/cmp.h:40:30: note: passing argument to parameter here int mopCmpEAddr __P((u_char *,u_char *)); ^ /wrkdirs/usr/ports/net/mopd/work/mopd-2.5.3/moptrace/../common/print.c:271:18: warning: passing 'char[]' to parameter of type 'u_char *' (aka 'unsigned char *') converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] if (mopCmpEAddr(rc_mcst,dst) == 0) { ^~~~~~~ /wrkdirs/usr/ports/net/mopd/work/mopd-2.5.3/moptrace/../common/cmp.h:40:30: note: passing argument to parameter here int mopCmpEAddr __P((u_char *,u_char *)); ^ /wrkdirs/usr/ports/net/mopd/work/mopd-2.5.3/moptrace/../common/print.c:547:14: warning: equality comparison with extraneous parentheses [-Wparentheses-equality] if ((tmpc == 0)) { ~~~~~^~~~ /wrkdirs/usr/ports/net/mopd/work/mopd-2.5.3/moptrace/../common/print.c:547:14: note: remove extraneous parentheses around the comparison to silence this warning if ((tmpc == 0)) { ~ ^ ~ /wrkdirs/usr/ports/net/mopd/work/mopd-2.5.3/moptrace/../common/print.c:547:14: note: use '=' to turn this equality comparison into an assignment if ((tmpc == 0)) { ^~ = /wrkdirs/usr/ports/net/mopd/work/mopd-2.5.3/moptrace/../common/print.c:550:14: warning: equality comparison with extraneous parentheses [-Wparentheses-equality] if ((tmpc == 254)) { ~~~~~^~~~~~ /wrkdirs/usr/ports/net/mopd/work/mopd-2.5.3/moptrace/../common/print.c:550:14: note: remove extraneous parentheses around the comparison to silence this warning if ((tmpc == 254)) { ~ ^ ~ /wrkdirs/usr/ports/net/mopd/work/mopd-2.5.3/moptrace/../common/print.c:550:14: note: use '=' to turn this equality comparison into an assignment if ((tmpc == 254)) { ^~ = /wrkdirs/usr/ports/net/mopd/work/mopd-2.5.3/moptrace/../common/print.c:554:14: warning: equality comparison with extraneous parentheses [-Wparentheses-equality] if ((tmpc == 255)) { ~~~~~^~~~~~ /wrkdirs/usr/ports/net/mopd/work/mopd-2.5.3/moptrace/../common/print.c:554:14: note: remove extraneous parentheses around the comparison to silence this warning if ((tmpc == 255)) { ~ ^ ~ /wrkdirs/usr/ports/net/mopd/work/mopd-2.5.3/moptrace/../common/print.c:554:14: note: use '=' to turn this equality comparison into an assignment if ((tmpc == 255)) { ^~ = 12 warnings generated. cc -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -I/wrkdirs/usr/ports/net/mopd/work/mopd-2.5.3/moptrace -I/wrkdirs/usr/ports/net/mopd/work/mopd-2.5.3/moptrace/.. -I/wrkdirs/usr/ports/net/mopd/work/mopd-2.5.3/moptrace/../common -fPIE -MD -MF.depend.cmp.o -MTcmp.o -std=gnu99 -Wno-format-zero-length -nobuiltininc -idirafter /usr/lib/clang/14.0.5/include -fstack-protector-strong -Qunused-arguments -c /wrkdirs/usr/ports/net/mopd/work/mopd-2.5.3/moptrace/../common/cmp.c -o cmp.o In file included from /wrkdirs/usr/ports/net/mopd/work/mopd-2.5.3/moptrace/../common/cmp.c:34: /wrkdirs/usr/ports/net/mopd/work/mopd-2.5.3/moptrace/../common/os.h:57:8: warning: extra tokens at end of #endif directive [-Wextra-tokens] #endif _OS_H_ ^ // 1 warning generated. cc -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -I/wrkdirs/usr/ports/net/mopd/work/mopd-2.5.3/moptrace -I/wrkdirs/usr/ports/net/mopd/work/mopd-2.5.3/moptrace/.. -I/wrkdirs/usr/ports/net/mopd/work/mopd-2.5.3/moptrace/../common -fPIE -MD -MF.depend.get.o -MTget.o -std=gnu99 -Wno-format-zero-length -nobuiltininc -idirafter /usr/lib/clang/14.0.5/include -fstack-protector-strong -Qunused-arguments -c /wrkdirs/usr/ports/net/mopd/work/mopd-2.5.3/moptrace/../common/get.c -o get.o In file included from /wrkdirs/usr/ports/net/mopd/work/mopd-2.5.3/moptrace/../common/get.c:35: /wrkdirs/usr/ports/net/mopd/work/mopd-2.5.3/moptrace/../common/mopdef.h:194:8: warning: extra tokens at end of #endif directive [-Wextra-tokens] #endif MOPDEF_SUPRESS_EXTERN ^ // /wrkdirs/usr/ports/net/mopd/work/mopd-2.5.3/moptrace/../common/mopdef.h:196:8: warning: extra tokens at end of #endif directive [-Wextra-tokens] #endif _MOPDEF_H_ ^ // /wrkdirs/usr/ports/net/mopd/work/mopd-2.5.3/moptrace/../common/get.c:99:7: warning: implicit declaration of function 'ntohs' is invalid in C99 [-Wimplicit-function-declaration] if (ntohs(*ptype) < 1600) { ^ 3 warnings generated. cc -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -I/wrkdirs/usr/ports/net/mopd/work/mopd-2.5.3/moptrace -I/wrkdirs/usr/ports/net/mopd/work/mopd-2.5.3/moptrace/.. -I/wrkdirs/usr/ports/net/mopd/work/mopd-2.5.3/moptrace/../common -fPIE -MD -MF.depend.mopdef.o -MTmopdef.o -std=gnu99 -Wno-format-zero-length -nobuiltininc -idirafter /usr/lib/clang/14.0.5/include -fstack-protector-strong -Qunused-arguments -c /wrkdirs/usr/ports/net/mopd/work/mopd-2.5.3/moptrace/../common/mopdef.c -o mopdef.o In file included from /wrkdirs/usr/ports/net/mopd/work/mopd-2.5.3/moptrace/../common/mopdef.c:35: /wrkdirs/usr/ports/net/mopd/work/mopd-2.5.3/moptrace/../common/mopdef.h:194:8: warning: extra tokens at end of #endif directive [-Wextra-tokens] #endif MOPDEF_SUPRESS_EXTERN ^ // /wrkdirs/usr/ports/net/mopd/work/mopd-2.5.3/moptrace/../common/mopdef.h:196:8: warning: extra tokens at end of #endif directive [-Wextra-tokens] #endif _MOPDEF_H_ ^ // 2 warnings generated. cc -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -I/wrkdirs/usr/ports/net/mopd/work/mopd-2.5.3/moptrace -I/wrkdirs/usr/ports/net/mopd/work/mopd-2.5.3/moptrace/.. -I/wrkdirs/usr/ports/net/mopd/work/mopd-2.5.3/moptrace/../common -fPIE -MD -MF.depend.nma.o -MTnma.o -std=gnu99 -Wno-format-zero-length -nobuiltininc -idirafter /usr/lib/clang/14.0.5/include -fstack-protector-strong -Qunused-arguments -c /wrkdirs/usr/ports/net/mopd/work/mopd-2.5.3/moptrace/../common/nma.c -o nma.o In file included from /wrkdirs/usr/ports/net/mopd/work/mopd-2.5.3/moptrace/../common/nma.c:35: /wrkdirs/usr/ports/net/mopd/work/mopd-2.5.3/moptrace/../common/nmadef.h:181:8: warning: extra tokens at end of #endif directive [-Wextra-tokens] #endif _NMADEF_H_ ^ // 1 warning generated. cc -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -I/wrkdirs/usr/ports/net/mopd/work/mopd-2.5.3/moptrace -I/wrkdirs/usr/ports/net/mopd/work/mopd-2.5.3/moptrace/.. -I/wrkdirs/usr/ports/net/mopd/work/mopd-2.5.3/moptrace/../common -fPIE -MD -MF.depend.device.o -MTdevice.o -std=gnu99 -Wno-format-zero-length -nobuiltininc -idirafter /usr/lib/clang/14.0.5/include -fstack-protector-strong -Qunused-arguments -c /wrkdirs/usr/ports/net/mopd/work/mopd-2.5.3/moptrace/../common/device.c -o device.o In file included from /wrkdirs/usr/ports/net/mopd/work/mopd-2.5.3/moptrace/../common/device.c:34: /wrkdirs/usr/ports/net/mopd/work/mopd-2.5.3/moptrace/../common/os.h:57:8: warning: extra tokens at end of #endif directive [-Wextra-tokens] #endif _OS_H_ ^ // In file included from /wrkdirs/usr/ports/net/mopd/work/mopd-2.5.3/moptrace/../common/device.c:35: /wrkdirs/usr/ports/net/mopd/work/mopd-2.5.3/moptrace/../common/common.h:92:8: warning: extra tokens at end of #endif directive [-Wextra-tokens] #endif _COMMON_H_ ^ // In file included from /wrkdirs/usr/ports/net/mopd/work/mopd-2.5.3/moptrace/../common/device.c:36: /wrkdirs/usr/ports/net/mopd/work/mopd-2.5.3/moptrace/../common/mopdef.h:194:8: warning: extra tokens at end of #endif directive [-Wextra-tokens] #endif MOPDEF_SUPRESS_EXTERN ^ // /wrkdirs/usr/ports/net/mopd/work/mopd-2.5.3/moptrace/../common/mopdef.h:196:8: warning: extra tokens at end of #endif directive [-Wextra-tokens] #endif _MOPDEF_H_ ^ // /wrkdirs/usr/ports/net/mopd/work/mopd-2.5.3/moptrace/../common/device.c:95:8: warning: implicitly declaring library function 'strncmp' with type 'int (const char *, const char *, unsigned long)' [-Wimplicit-function-declaration] if (!strncmp(ifr->ifr_name, ifname, sizeof(ifr->ifr_name))) { ^ /wrkdirs/usr/ports/net/mopd/work/mopd-2.5.3/moptrace/../common/device.c:95:8: note: include the header or explicitly provide a declaration for 'strncmp' /wrkdirs/usr/ports/net/mopd/work/mopd-2.5.3/moptrace/../common/device.c:114:2: warning: implicitly declaring library function 'strncpy' with type 'char *(char *, const char *, unsigned long)' [-Wimplicit-function-declaration] strncpy(tmp.if_name,ifname,sizeof(tmp.if_name) - 1); ^ /wrkdirs/usr/ports/net/mopd/work/mopd-2.5.3/moptrace/../common/device.c:114:2: note: include the header or explicitly provide a declaration for 'strncpy' /wrkdirs/usr/ports/net/mopd/work/mopd-2.5.3/moptrace/../common/device.c:202:7: warning: implicitly declaring library function 'strcmp' with type 'int (const char *, const char *)' [-Wimplicit-function-declaration] if (strcmp(p->if_name,interface) == 0) { ^ /wrkdirs/usr/ports/net/mopd/work/mopd-2.5.3/moptrace/../common/device.c:202:7: note: include the header or explicitly provide a declaration for 'strcmp' 7 warnings generated. cc -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -I/wrkdirs/usr/ports/net/mopd/work/mopd-2.5.3/moptrace -I/wrkdirs/usr/ports/net/mopd/work/mopd-2.5.3/moptrace/.. -I/wrkdirs/usr/ports/net/mopd/work/mopd-2.5.3/moptrace/../common -fPIE -MD -MF.depend.version.o -MTversion.o -std=gnu99 -Wno-format-zero-length -nobuiltininc -idirafter /usr/lib/clang/14.0.5/include -fstack-protector-strong -Qunused-arguments -c version.c -o version.o cc -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -I/wrkdirs/usr/ports/net/mopd/work/mopd-2.5.3/moptrace -I/wrkdirs/usr/ports/net/mopd/work/mopd-2.5.3/moptrace/.. -I/wrkdirs/usr/ports/net/mopd/work/mopd-2.5.3/moptrace/../common -fPIE -MD -MF.depend.pf.o -MTpf.o -std=gnu99 -Wno-format-zero-length -nobuiltininc -idirafter /usr/lib/clang/14.0.5/include -fstack-protector-strong -Qunused-arguments -c /wrkdirs/usr/ports/net/mopd/work/mopd-2.5.3/moptrace/../common/pf.c -o pf.o In file included from /wrkdirs/usr/ports/net/mopd/work/mopd-2.5.3/moptrace/../common/pf.c:61: /wrkdirs/usr/ports/net/mopd/work/mopd-2.5.3/moptrace/../common/mopdef.h:194:8: warning: extra tokens at end of #endif directive [-Wextra-tokens] #endif MOPDEF_SUPRESS_EXTERN ^ // /wrkdirs/usr/ports/net/mopd/work/mopd-2.5.3/moptrace/../common/mopdef.h:196:8: warning: extra tokens at end of #endif directive [-Wextra-tokens] #endif _MOPDEF_H_ ^ // /wrkdirs/usr/ports/net/mopd/work/mopd-2.5.3/moptrace/../common/pf.c:132:9: warning: implicitly declaring library function 'strncpy' with type 'char *(char *, const char *, unsigned long)' [-Wimplicit-function-declaration] (void) strncpy(ifr.ifr_name, interface, sizeof ifr.ifr_name); ^ /wrkdirs/usr/ports/net/mopd/work/mopd-2.5.3/moptrace/../common/pf.c:132:9: note: include the header or explicitly provide a declaration for 'strncpy' 3 warnings generated. cc -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -I/wrkdirs/usr/ports/net/mopd/work/mopd-2.5.3/moptrace -I/wrkdirs/usr/ports/net/mopd/work/mopd-2.5.3/moptrace/.. -I/wrkdirs/usr/ports/net/mopd/work/mopd-2.5.3/moptrace/../common -fPIE -MD -MF.depend.loop-bsd.o -MTloop-bsd.o -std=gnu99 -Wno-format-zero-length -nobuiltininc -idirafter /usr/lib/clang/14.0.5/include -fstack-protector-strong -Qunused-arguments -c /wrkdirs/usr/ports/net/mopd/work/mopd-2.5.3/moptrace/../common/loop-bsd.c -o loop-bsd.o In file included from /wrkdirs/usr/ports/net/mopd/work/mopd-2.5.3/moptrace/../common/loop-bsd.c:44: /wrkdirs/usr/ports/net/mopd/work/mopd-2.5.3/moptrace/../common/os.h:57:8: warning: extra tokens at end of #endif directive [-Wextra-tokens] #endif _OS_H_ ^ // In file included from /wrkdirs/usr/ports/net/mopd/work/mopd-2.5.3/moptrace/../common/loop-bsd.c:45: /wrkdirs/usr/ports/net/mopd/work/mopd-2.5.3/moptrace/../common/common.h:92:8: warning: extra tokens at end of #endif directive [-Wextra-tokens] #endif _COMMON_H_ ^ // In file included from /wrkdirs/usr/ports/net/mopd/work/mopd-2.5.3/moptrace/../common/loop-bsd.c:46: /wrkdirs/usr/ports/net/mopd/work/mopd-2.5.3/moptrace/../common/mopdef.h:194:8: warning: extra tokens at end of #endif directive [-Wextra-tokens] #endif MOPDEF_SUPRESS_EXTERN ^ // /wrkdirs/usr/ports/net/mopd/work/mopd-2.5.3/moptrace/../common/mopdef.h:196:8: warning: extra tokens at end of #endif directive [-Wextra-tokens] #endif _MOPDEF_H_ ^ // 4 warnings generated. cc -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -I/wrkdirs/usr/ports/net/mopd/work/mopd-2.5.3/moptrace -I/wrkdirs/usr/ports/net/mopd/work/mopd-2.5.3/moptrace/.. -I/wrkdirs/usr/ports/net/mopd/work/mopd-2.5.3/moptrace/../common -fPIE -MD -MF.depend.dl.o -MTdl.o -std=gnu99 -Wno-format-zero-length -nobuiltininc -idirafter /usr/lib/clang/14.0.5/include -fstack-protector-strong -Qunused-arguments -c /wrkdirs/usr/ports/net/mopd/work/mopd-2.5.3/moptrace/../common/dl.c -o dl.o In file included from /wrkdirs/usr/ports/net/mopd/work/mopd-2.5.3/moptrace/../common/dl.c:34: /wrkdirs/usr/ports/net/mopd/work/mopd-2.5.3/moptrace/../common/os.h:57:8: warning: extra tokens at end of #endif directive [-Wextra-tokens] #endif _OS_H_ ^ // In file included from /wrkdirs/usr/ports/net/mopd/work/mopd-2.5.3/moptrace/../common/dl.c:35: /wrkdirs/usr/ports/net/mopd/work/mopd-2.5.3/moptrace/../common/get.h:58:8: warning: extra tokens at end of #endif directive [-Wextra-tokens] #endif _GET_H_ ^ // In file included from /wrkdirs/usr/ports/net/mopd/work/mopd-2.5.3/moptrace/../common/dl.c:36: /wrkdirs/usr/ports/net/mopd/work/mopd-2.5.3/moptrace/../common/print.h:62:8: warning: extra tokens at end of #endif directive [-Wextra-tokens] #endif _PRINT_H_ ^ // In file included from /wrkdirs/usr/ports/net/mopd/work/mopd-2.5.3/moptrace/../common/dl.c:37: /wrkdirs/usr/ports/net/mopd/work/mopd-2.5.3/moptrace/../common/mopdef.h:194:8: warning: extra tokens at end of #endif directive [-Wextra-tokens] #endif MOPDEF_SUPRESS_EXTERN ^ // /wrkdirs/usr/ports/net/mopd/work/mopd-2.5.3/moptrace/../common/mopdef.h:196:8: warning: extra tokens at end of #endif directive [-Wextra-tokens] #endif _MOPDEF_H_ ^ // /wrkdirs/usr/ports/net/mopd/work/mopd-2.5.3/moptrace/../common/dl.c:71:45: warning: format specifies type 'unsigned int' but the argument has type 'long' [-Wformat] (void)fprintf(fd,"Load Address : %08x\n",tmpl); ~~~~ ^~~~ %08lx /wrkdirs/usr/ports/net/mopd/work/mopd-2.5.3/moptrace/../common/dl.c:102:44: warning: format specifies type 'unsigned int' but the argument has type 'long' [-Wformat] (void)fprintf(fd,"Xfer Address : %08x\n",tmpl); ~~~~ ^~~~ %08lx /wrkdirs/usr/ports/net/mopd/work/mopd-2.5.3/moptrace/../common/dl.c:116:44: warning: format specifies type 'unsigned int' but the argument has type 'long' [-Wformat] (void)fprintf(fd,"Load Address : %08x\n",tmpl); ~~~~ ^~~~ %08lx /wrkdirs/usr/ports/net/mopd/work/mopd-2.5.3/moptrace/../common/dl.c:153:44: warning: format specifies type 'unsigned int' but the argument has type 'long' [-Wformat] (void)fprintf(fd,"Mem Address : %08x\n",tmpl); ~~~~ ^~~~ %08lx /wrkdirs/usr/ports/net/mopd/work/mopd-2.5.3/moptrace/../common/dl.c:195:13: warning: equality comparison with extraneous parentheses [-Wparentheses-equality] if ((tmpc == 0)) { ~~~~~^~~~ /wrkdirs/usr/ports/net/mopd/work/mopd-2.5.3/moptrace/../common/dl.c:195:13: note: remove extraneous parentheses around the comparison to silence this warning if ((tmpc == 0)) { ~ ^ ~ /wrkdirs/usr/ports/net/mopd/work/mopd-2.5.3/moptrace/../common/dl.c:195:13: note: use '=' to turn this equality comparison into an assignment if ((tmpc == 0)) { ^~ = /wrkdirs/usr/ports/net/mopd/work/mopd-2.5.3/moptrace/../common/dl.c:212:44: warning: format specifies type 'unsigned int' but the argument has type 'long' [-Wformat] (void)fprintf(fd,"Memory Size : %08x\n",tmpl); ~~~~ ^~~~ %08lx /wrkdirs/usr/ports/net/mopd/work/mopd-2.5.3/moptrace/../common/dl.c:223:44: warning: format specifies type 'unsigned int' but the argument has type 'long' [-Wformat] (void)fprintf(fd,"Mem Address : %08x\n",tmpl); ~~~~ ^~~~ %08lx /wrkdirs/usr/ports/net/mopd/work/mopd-2.5.3/moptrace/../common/dl.c:307:44: warning: format specifies type 'unsigned int' but the argument has type 'long' [-Wformat] (void)fprintf(fd,"Transfer Addr: %08x\n",tmpl); ~~~~ ^~~~ %08lx 13 warnings generated. cc -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -I/wrkdirs/usr/ports/net/mopd/work/mopd-2.5.3/moptrace -I/wrkdirs/usr/ports/net/mopd/work/mopd-2.5.3/moptrace/.. -I/wrkdirs/usr/ports/net/mopd/work/mopd-2.5.3/moptrace/../common -fPIE -MD -MF.depend.rc.o -MTrc.o -std=gnu99 -Wno-format-zero-length -nobuiltininc -idirafter /usr/lib/clang/14.0.5/include -fstack-protector-strong -Qunused-arguments -c /wrkdirs/usr/ports/net/mopd/work/mopd-2.5.3/moptrace/../common/rc.c -o rc.o In file included from /wrkdirs/usr/ports/net/mopd/work/mopd-2.5.3/moptrace/../common/rc.c:34: /wrkdirs/usr/ports/net/mopd/work/mopd-2.5.3/moptrace/../common/os.h:57:8: warning: extra tokens at end of #endif directive [-Wextra-tokens] #endif _OS_H_ ^ // In file included from /wrkdirs/usr/ports/net/mopd/work/mopd-2.5.3/moptrace/../common/rc.c:35: /wrkdirs/usr/ports/net/mopd/work/mopd-2.5.3/moptrace/../common/get.h:58:8: warning: extra tokens at end of #endif directive [-Wextra-tokens] #endif _GET_H_ ^ // In file included from /wrkdirs/usr/ports/net/mopd/work/mopd-2.5.3/moptrace/../common/rc.c:36: /wrkdirs/usr/ports/net/mopd/work/mopd-2.5.3/moptrace/../common/print.h:62:8: warning: extra tokens at end of #endif directive [-Wextra-tokens] #endif _PRINT_H_ ^ // In file included from /wrkdirs/usr/ports/net/mopd/work/mopd-2.5.3/moptrace/../common/rc.c:37: /wrkdirs/usr/ports/net/mopd/work/mopd-2.5.3/moptrace/../common/mopdef.h:194:8: warning: extra tokens at end of #endif directive [-Wextra-tokens] #endif MOPDEF_SUPRESS_EXTERN ^ // /wrkdirs/usr/ports/net/mopd/work/mopd-2.5.3/moptrace/../common/mopdef.h:196:8: warning: extra tokens at end of #endif directive [-Wextra-tokens] #endif _MOPDEF_H_ ^ // /wrkdirs/usr/ports/net/mopd/work/mopd-2.5.3/moptrace/../common/rc.c:75:15: warning: equality comparison with extraneous parentheses [-Wparentheses-equality] if ((moplen == 5)) { ~~~~~~~^~~~ /wrkdirs/usr/ports/net/mopd/work/mopd-2.5.3/moptrace/../common/rc.c:75:15: note: remove extraneous parentheses around the comparison to silence this warning if ((moplen == 5)) { ~ ^ ~ /wrkdirs/usr/ports/net/mopd/work/mopd-2.5.3/moptrace/../common/rc.c:75:15: note: use '=' to turn this equality comparison into an assignment if ((moplen == 5)) { ^~ = /wrkdirs/usr/ports/net/mopd/work/mopd-2.5.3/moptrace/../common/rc.c:81:45: warning: format specifies type 'unsigned int' but the argument has type 'long' [-Wformat] (void)fprintf(fd,"Verification : %08x\n",tmpl); ~~~~ ^~~~ %08lx /wrkdirs/usr/ports/net/mopd/work/mopd-2.5.3/moptrace/../common/rc.c:118:14: warning: equality comparison with extraneous parentheses [-Wparentheses-equality] if ((tmpc == 0)) { ~~~~~^~~~ /wrkdirs/usr/ports/net/mopd/work/mopd-2.5.3/moptrace/../common/rc.c:118:14: note: remove extraneous parentheses around the comparison to silence this warning if ((tmpc == 0)) { ~ ^ ~ /wrkdirs/usr/ports/net/mopd/work/mopd-2.5.3/moptrace/../common/rc.c:118:14: note: use '=' to turn this equality comparison into an assignment if ((tmpc == 0)) { ^~ = /wrkdirs/usr/ports/net/mopd/work/mopd-2.5.3/moptrace/../common/rc.c:121:14: warning: equality comparison with extraneous parentheses [-Wparentheses-equality] if ((tmpc == 254)) { ~~~~~^~~~~~ /wrkdirs/usr/ports/net/mopd/work/mopd-2.5.3/moptrace/../common/rc.c:121:14: note: remove extraneous parentheses around the comparison to silence this warning if ((tmpc == 254)) { ~ ^ ~ /wrkdirs/usr/ports/net/mopd/work/mopd-2.5.3/moptrace/../common/rc.c:121:14: note: use '=' to turn this equality comparison into an assignment if ((tmpc == 254)) { ^~ = /wrkdirs/usr/ports/net/mopd/work/mopd-2.5.3/moptrace/../common/rc.c:125:14: warning: equality comparison with extraneous parentheses [-Wparentheses-equality] if ((tmpc == 255)) { ~~~~~^~~~~~ /wrkdirs/usr/ports/net/mopd/work/mopd-2.5.3/moptrace/../common/rc.c:125:14: note: remove extraneous parentheses around the comparison to silence this warning if ((tmpc == 255)) { ~ ^ ~ /wrkdirs/usr/ports/net/mopd/work/mopd-2.5.3/moptrace/../common/rc.c:125:14: note: use '=' to turn this equality comparison into an assignment if ((tmpc == 255)) { ^~ = /wrkdirs/usr/ports/net/mopd/work/mopd-2.5.3/moptrace/../common/rc.c:167:47: warning: format specifies type 'unsigned int' but the argument has type 'long' [-Wformat] (void)fprintf(fd,"Bytes rec : %08x %d\n",tmpl,tmpl); ~~~~ ^~~~ %08lx /wrkdirs/usr/ports/net/mopd/work/mopd-2.5.3/moptrace/../common/rc.c:167:52: warning: format specifies type 'int' but the argument has type 'long' [-Wformat] (void)fprintf(fd,"Bytes rec : %08x %d\n",tmpl,tmpl); ~~ ^~~~ %ld /wrkdirs/usr/ports/net/mopd/work/mopd-2.5.3/moptrace/../common/rc.c:170:47: warning: format specifies type 'unsigned int' but the argument has type 'long' [-Wformat] (void)fprintf(fd,"Bytes snd : %08x %d\n",tmpl,tmpl); ~~~~ ^~~~ %08lx /wrkdirs/usr/ports/net/mopd/work/mopd-2.5.3/moptrace/../common/rc.c:170:52: warning: format specifies type 'int' but the argument has type 'long' [-Wformat] (void)fprintf(fd,"Bytes snd : %08x %d\n",tmpl,tmpl); ~~ ^~~~ %ld /wrkdirs/usr/ports/net/mopd/work/mopd-2.5.3/moptrace/../common/rc.c:173:47: warning: format specifies type 'unsigned int' but the argument has type 'long' [-Wformat] (void)fprintf(fd,"Frames rec : %08x %d\n",tmpl,tmpl); ~~~~ ^~~~ %08lx /wrkdirs/usr/ports/net/mopd/work/mopd-2.5.3/moptrace/../common/rc.c:173:52: warning: format specifies type 'int' but the argument has type 'long' [-Wformat] (void)fprintf(fd,"Frames rec : %08x %d\n",tmpl,tmpl); ~~ ^~~~ %ld /wrkdirs/usr/ports/net/mopd/work/mopd-2.5.3/moptrace/../common/rc.c:176:47: warning: format specifies type 'unsigned int' but the argument has type 'long' [-Wformat] (void)fprintf(fd,"Frames snd : %08x %d\n",tmpl,tmpl); ~~~~ ^~~~ %08lx /wrkdirs/usr/ports/net/mopd/work/mopd-2.5.3/moptrace/../common/rc.c:176:52: warning: format specifies type 'int' but the argument has type 'long' [-Wformat] (void)fprintf(fd,"Frames snd : %08x %d\n",tmpl,tmpl); ~~ ^~~~ %ld /wrkdirs/usr/ports/net/mopd/work/mopd-2.5.3/moptrace/../common/rc.c:179:47: warning: format specifies type 'unsigned int' but the argument has type 'long' [-Wformat] (void)fprintf(fd,"Mcst Bytes re: %08x %d\n",tmpl,tmpl); ~~~~ ^~~~ %08lx /wrkdirs/usr/ports/net/mopd/work/mopd-2.5.3/moptrace/../common/rc.c:179:52: warning: format specifies type 'int' but the argument has type 'long' [-Wformat] (void)fprintf(fd,"Mcst Bytes re: %08x %d\n",tmpl,tmpl); ~~ ^~~~ %ld /wrkdirs/usr/ports/net/mopd/work/mopd-2.5.3/moptrace/../common/rc.c:182:47: warning: format specifies type 'unsigned int' but the argument has type 'long' [-Wformat] (void)fprintf(fd,"Mcst Frame re: %08x %d\n",tmpl,tmpl); ~~~~ ^~~~ %08lx /wrkdirs/usr/ports/net/mopd/work/mopd-2.5.3/moptrace/../common/rc.c:182:52: warning: format specifies type 'int' but the argument has type 'long' [-Wformat] (void)fprintf(fd,"Mcst Frame re: %08x %d\n",tmpl,tmpl); ~~ ^~~~ %ld /wrkdirs/usr/ports/net/mopd/work/mopd-2.5.3/moptrace/../common/rc.c:185:47: warning: format specifies type 'unsigned int' but the argument has type 'long' [-Wformat] (void)fprintf(fd,"Frame snd,def: %08x %d\n",tmpl,tmpl); ~~~~ ^~~~ %08lx /wrkdirs/usr/ports/net/mopd/work/mopd-2.5.3/moptrace/../common/rc.c:185:52: warning: format specifies type 'int' but the argument has type 'long' [-Wformat] (void)fprintf(fd,"Frame snd,def: %08x %d\n",tmpl,tmpl); ~~ ^~~~ %ld /wrkdirs/usr/ports/net/mopd/work/mopd-2.5.3/moptrace/../common/rc.c:188:47: warning: format specifies type 'unsigned int' but the argument has type 'long' [-Wformat] (void)fprintf(fd,"Frame snd,col: %08x %d\n",tmpl,tmpl); ~~~~ ^~~~ %08lx /wrkdirs/usr/ports/net/mopd/work/mopd-2.5.3/moptrace/../common/rc.c:188:52: warning: format specifies type 'int' but the argument has type 'long' [-Wformat] (void)fprintf(fd,"Frame snd,col: %08x %d\n",tmpl,tmpl); ~~ ^~~~ %ld /wrkdirs/usr/ports/net/mopd/work/mopd-2.5.3/moptrace/../common/rc.c:191:47: warning: format specifies type 'unsigned int' but the argument has type 'long' [-Wformat] (void)fprintf(fd,"Frame snd,mcl: %08x %d\n",tmpl,tmpl); ~~~~ ^~~~ %08lx /wrkdirs/usr/ports/net/mopd/work/mopd-2.5.3/moptrace/../common/rc.c:191:52: warning: format specifies type 'int' but the argument has type 'long' [-Wformat] (void)fprintf(fd,"Frame snd,mcl: %08x %d\n",tmpl,tmpl); ~~ ^~~~ %ld /wrkdirs/usr/ports/net/mopd/work/mopd-2.5.3/moptrace/../common/rc.c:232:44: warning: format specifies type 'unsigned int' but the argument has type 'long' [-Wformat] (void)fprintf(fd,"Verification : %08x\n",tmpl); ~~~~ ^~~~ %08lx 29 warnings generated. cc -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -I/wrkdirs/usr/ports/net/mopd/work/mopd-2.5.3/moptrace -I/wrkdirs/usr/ports/net/mopd/work/mopd-2.5.3/moptrace/.. -I/wrkdirs/usr/ports/net/mopd/work/mopd-2.5.3/moptrace/../common -fPIE -std=gnu99 -Wno-format-zero-length -nobuiltininc -idirafter /usr/lib/clang/14.0.5/include -fstack-protector-strong -Qunused-arguments -fstack-protector-strong -pie -o moptrace moptrace.o print.o cmp.o get.o mopdef.o nma.o device.o version.o pf.o loop-bsd.o dl.o rc.o -lkvm gzip -cn moptrace.1 > moptrace.1.gz ===> mopchk (all) rm -f version.c; sed 's/.*/static char version[] = "&";/' /wrkdirs/usr/ports/net/mopd/work/mopd-2.5.3/mopchk/../common/VERSION > version.c set `sed 's/\([0-9]*\)\.\([0-9]*\).*/\1 \2/' /wrkdirs/usr/ports/net/mopd/work/mopd-2.5.3/mopchk/../common/VERSION` ; { echo '#define VERSION_MAJOR' $1 ; echo '#define VERSION_MINOR' $2 ; } > version.h echo mopchk: /usr/lib/libc.a >> .depend Warning: Object directory not changed from original /wrkdirs/usr/ports/net/mopd/work/mopd-2.5.3/mopchk cc -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -I/wrkdirs/usr/ports/net/mopd/work/mopd-2.5.3/mopchk -I/wrkdirs/usr/ports/net/mopd/work/mopd-2.5.3/mopchk/.. -I/wrkdirs/usr/ports/net/mopd/work/mopd-2.5.3/mopchk/../common -DINFO -fPIE -MD -MF.depend.mopchk.o -MTmopchk.o -std=gnu99 -Wno-format-zero-length -nobuiltininc -idirafter /usr/lib/clang/14.0.5/include -fstack-protector-strong -Qunused-arguments -c mopchk.c -o mopchk.o In file included from mopchk.c:40: /wrkdirs/usr/ports/net/mopd/work/mopd-2.5.3/mopchk/../common/os.h:57:8: warning: extra tokens at end of #endif directive [-Wextra-tokens] #endif _OS_H_ ^ // In file included from mopchk.c:41: /wrkdirs/usr/ports/net/mopd/work/mopd-2.5.3/mopchk/../common/common.h:92:8: warning: extra tokens at end of #endif directive [-Wextra-tokens] #endif _COMMON_H_ ^ // In file included from mopchk.c:42: /wrkdirs/usr/ports/net/mopd/work/mopd-2.5.3/mopchk/../common/mopdef.h:194:8: warning: extra tokens at end of #endif directive [-Wextra-tokens] #endif MOPDEF_SUPRESS_EXTERN ^ // /wrkdirs/usr/ports/net/mopd/work/mopd-2.5.3/mopchk/../common/mopdef.h:196:8: warning: extra tokens at end of #endif directive [-Wextra-tokens] #endif _MOPDEF_H_ ^ // In file included from mopchk.c:43: /wrkdirs/usr/ports/net/mopd/work/mopd-2.5.3/mopchk/../common/device.h:52:8: warning: extra tokens at end of #endif directive [-Wextra-tokens] #endif _DEVICE_H_ ^ // In file included from mopchk.c:44: /wrkdirs/usr/ports/net/mopd/work/mopd-2.5.3/mopchk/../common/pf.h:56:8: warning: extra tokens at end of #endif directive [-Wextra-tokens] #endif _PF_H_ ^ // In file included from mopchk.c:45: /wrkdirs/usr/ports/net/mopd/work/mopd-2.5.3/mopchk/../common/file.h:67:8: warning: extra tokens at end of #endif directive [-Wextra-tokens] #endif _FILE_H_ ^ // mopchk.c:67:1: warning: return type of 'main' is not 'int' [-Wmain-return-type] void ^ mopchk.c:67:1: note: change return type to 'int' void ^~~~ int mopchk.c:79:17: warning: implicitly declaring library function 'strrchr' with type 'char *(const char *, int)' [-Wimplicit-function-declaration] if ((Program = strrchr(argv[0], '/'))) ^ mopchk.c:79:17: note: include the header or explicitly provide a declaration for 'strrchr' mopchk.c:164:63: warning: format specifies type 'int' but the argument has type 'char *' [-Wformat] (void) fprintf(stderr, "usage: %d [-a] [-v] [filename...]\n",Program); ~~ ^~~~~~~ %s mopchk.c:65:6: warning: tentative array definition assumed to have one element char version[]; ^ 11 warnings generated. cc -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -I/wrkdirs/usr/ports/net/mopd/work/mopd-2.5.3/mopchk -I/wrkdirs/usr/ports/net/mopd/work/mopd-2.5.3/mopchk/.. -I/wrkdirs/usr/ports/net/mopd/work/mopd-2.5.3/mopchk/../common -DINFO -fPIE -MD -MF.depend.device.o -MTdevice.o -std=gnu99 -Wno-format-zero-length -nobuiltininc -idirafter /usr/lib/clang/14.0.5/include -fstack-protector-strong -Qunused-arguments -c /wrkdirs/usr/ports/net/mopd/work/mopd-2.5.3/mopchk/../common/device.c -o device.o In file included from /wrkdirs/usr/ports/net/mopd/work/mopd-2.5.3/mopchk/../common/device.c:34: /wrkdirs/usr/ports/net/mopd/work/mopd-2.5.3/mopchk/../common/os.h:57:8: warning: extra tokens at end of #endif directive [-Wextra-tokens] #endif _OS_H_ ^ // In file included from /wrkdirs/usr/ports/net/mopd/work/mopd-2.5.3/mopchk/../common/device.c:35: /wrkdirs/usr/ports/net/mopd/work/mopd-2.5.3/mopchk/../common/common.h:92:8: warning: extra tokens at end of #endif directive [-Wextra-tokens] #endif _COMMON_H_ ^ // In file included from /wrkdirs/usr/ports/net/mopd/work/mopd-2.5.3/mopchk/../common/device.c:36: /wrkdirs/usr/ports/net/mopd/work/mopd-2.5.3/mopchk/../common/mopdef.h:194:8: warning: extra tokens at end of #endif directive [-Wextra-tokens] #endif MOPDEF_SUPRESS_EXTERN ^ // /wrkdirs/usr/ports/net/mopd/work/mopd-2.5.3/mopchk/../common/mopdef.h:196:8: warning: extra tokens at end of #endif directive [-Wextra-tokens] #endif _MOPDEF_H_ ^ // /wrkdirs/usr/ports/net/mopd/work/mopd-2.5.3/mopchk/../common/device.c:95:8: warning: implicitly declaring library function 'strncmp' with type 'int (const char *, const char *, unsigned long)' [-Wimplicit-function-declaration] if (!strncmp(ifr->ifr_name, ifname, sizeof(ifr->ifr_name))) { ^ /wrkdirs/usr/ports/net/mopd/work/mopd-2.5.3/mopchk/../common/device.c:95:8: note: include the header or explicitly provide a declaration for 'strncmp' /wrkdirs/usr/ports/net/mopd/work/mopd-2.5.3/mopchk/../common/device.c:114:2: warning: implicitly declaring library function 'strncpy' with type 'char *(char *, const char *, unsigned long)' [-Wimplicit-function-declaration] strncpy(tmp.if_name,ifname,sizeof(tmp.if_name) - 1); ^ /wrkdirs/usr/ports/net/mopd/work/mopd-2.5.3/mopchk/../common/device.c:114:2: note: include the header or explicitly provide a declaration for 'strncpy' /wrkdirs/usr/ports/net/mopd/work/mopd-2.5.3/mopchk/../common/device.c:202:7: warning: implicitly declaring library function 'strcmp' with type 'int (const char *, const char *)' [-Wimplicit-function-declaration] if (strcmp(p->if_name,interface) == 0) { ^ /wrkdirs/usr/ports/net/mopd/work/mopd-2.5.3/mopchk/../common/device.c:202:7: note: include the header or explicitly provide a declaration for 'strcmp' 7 warnings generated. cc -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -I/wrkdirs/usr/ports/net/mopd/work/mopd-2.5.3/mopchk -I/wrkdirs/usr/ports/net/mopd/work/mopd-2.5.3/mopchk/.. -I/wrkdirs/usr/ports/net/mopd/work/mopd-2.5.3/mopchk/../common -DINFO -fPIE -MD -MF.depend.version.o -MTversion.o -std=gnu99 -Wno-format-zero-length -nobuiltininc -idirafter /usr/lib/clang/14.0.5/include -fstack-protector-strong -Qunused-arguments -c version.c -o version.o cc -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -I/wrkdirs/usr/ports/net/mopd/work/mopd-2.5.3/mopchk -I/wrkdirs/usr/ports/net/mopd/work/mopd-2.5.3/mopchk/.. -I/wrkdirs/usr/ports/net/mopd/work/mopd-2.5.3/mopchk/../common -DINFO -fPIE -MD -MF.depend.pf.o -MTpf.o -std=gnu99 -Wno-format-zero-length -nobuiltininc -idirafter /usr/lib/clang/14.0.5/include -fstack-protector-strong -Qunused-arguments -c /wrkdirs/usr/ports/net/mopd/work/mopd-2.5.3/mopchk/../common/pf.c -o pf.o In file included from /wrkdirs/usr/ports/net/mopd/work/mopd-2.5.3/mopchk/../common/pf.c:61: /wrkdirs/usr/ports/net/mopd/work/mopd-2.5.3/mopchk/../common/mopdef.h:194:8: warning: extra tokens at end of #endif directive [-Wextra-tokens] #endif MOPDEF_SUPRESS_EXTERN ^ // /wrkdirs/usr/ports/net/mopd/work/mopd-2.5.3/mopchk/../common/mopdef.h:196:8: warning: extra tokens at end of #endif directive [-Wextra-tokens] #endif _MOPDEF_H_ ^ // /wrkdirs/usr/ports/net/mopd/work/mopd-2.5.3/mopchk/../common/pf.c:132:9: warning: implicitly declaring library function 'strncpy' with type 'char *(char *, const char *, unsigned long)' [-Wimplicit-function-declaration] (void) strncpy(ifr.ifr_name, interface, sizeof ifr.ifr_name); ^ /wrkdirs/usr/ports/net/mopd/work/mopd-2.5.3/mopchk/../common/pf.c:132:9: note: include the header or explicitly provide a declaration for 'strncpy' 3 warnings generated. cc -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -I/wrkdirs/usr/ports/net/mopd/work/mopd-2.5.3/mopchk -I/wrkdirs/usr/ports/net/mopd/work/mopd-2.5.3/mopchk/.. -I/wrkdirs/usr/ports/net/mopd/work/mopd-2.5.3/mopchk/../common -DINFO -fPIE -MD -MF.depend.loop-bsd.o -MTloop-bsd.o -std=gnu99 -Wno-format-zero-length -nobuiltininc -idirafter /usr/lib/clang/14.0.5/include -fstack-protector-strong -Qunused-arguments -c /wrkdirs/usr/ports/net/mopd/work/mopd-2.5.3/mopchk/../common/loop-bsd.c -o loop-bsd.o In file included from /wrkdirs/usr/ports/net/mopd/work/mopd-2.5.3/mopchk/../common/loop-bsd.c:44: /wrkdirs/usr/ports/net/mopd/work/mopd-2.5.3/mopchk/../common/os.h:57:8: warning: extra tokens at end of #endif directive [-Wextra-tokens] #endif _OS_H_ ^ // In file included from /wrkdirs/usr/ports/net/mopd/work/mopd-2.5.3/mopchk/../common/loop-bsd.c:45: /wrkdirs/usr/ports/net/mopd/work/mopd-2.5.3/mopchk/../common/common.h:92:8: warning: extra tokens at end of #endif directive [-Wextra-tokens] #endif _COMMON_H_ ^ // In file included from /wrkdirs/usr/ports/net/mopd/work/mopd-2.5.3/mopchk/../common/loop-bsd.c:46: /wrkdirs/usr/ports/net/mopd/work/mopd-2.5.3/mopchk/../common/mopdef.h:194:8: warning: extra tokens at end of #endif directive [-Wextra-tokens] #endif MOPDEF_SUPRESS_EXTERN ^ // /wrkdirs/usr/ports/net/mopd/work/mopd-2.5.3/mopchk/../common/mopdef.h:196:8: warning: extra tokens at end of #endif directive [-Wextra-tokens] #endif _MOPDEF_H_ ^ // 4 warnings generated. cc -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -I/wrkdirs/usr/ports/net/mopd/work/mopd-2.5.3/mopchk -I/wrkdirs/usr/ports/net/mopd/work/mopd-2.5.3/mopchk/.. -I/wrkdirs/usr/ports/net/mopd/work/mopd-2.5.3/mopchk/../common -DINFO -fPIE -MD -MF.depend.file.o -MTfile.o -std=gnu99 -Wno-format-zero-length -nobuiltininc -idirafter /usr/lib/clang/14.0.5/include -fstack-protector-strong -Qunused-arguments -c /wrkdirs/usr/ports/net/mopd/work/mopd-2.5.3/mopchk/../common/file.c -o file.o In file included from /wrkdirs/usr/ports/net/mopd/work/mopd-2.5.3/mopchk/../common/file.c:34: /wrkdirs/usr/ports/net/mopd/work/mopd-2.5.3/mopchk/../common/os.h:57:8: warning: extra tokens at end of #endif directive [-Wextra-tokens] #endif _OS_H_ ^ // In file included from /wrkdirs/usr/ports/net/mopd/work/mopd-2.5.3/mopchk/../common/file.c:35: /wrkdirs/usr/ports/net/mopd/work/mopd-2.5.3/mopchk/../common/common.h:92:8: warning: extra tokens at end of #endif directive [-Wextra-tokens] #endif _COMMON_H_ ^ // In file included from /wrkdirs/usr/ports/net/mopd/work/mopd-2.5.3/mopchk/../common/file.c:36: /wrkdirs/usr/ports/net/mopd/work/mopd-2.5.3/mopchk/../common/mopdef.h:194:8: warning: extra tokens at end of #endif directive [-Wextra-tokens] #endif MOPDEF_SUPRESS_EXTERN ^ // /wrkdirs/usr/ports/net/mopd/work/mopd-2.5.3/mopchk/../common/mopdef.h:196:8: warning: extra tokens at end of #endif directive [-Wextra-tokens] #endif _MOPDEF_H_ ^ // /wrkdirs/usr/ports/net/mopd/work/mopd-2.5.3/mopchk/../common/file.c:190:38: warning: format specifies type 'int' but the argument has type 'u_long' (aka 'unsigned long') [-Wformat] printf("Header Block Count: %d\n",hbcnt); ~~ ^~~~~ %lu /wrkdirs/usr/ports/net/mopd/work/mopd-2.5.3/mopchk/../common/file.c:191:40: warning: format specifies type 'unsigned int' but the argument has type 'u_long' (aka 'unsigned long') [-Wformat] printf("Image Size: %08x\n",isize); ~~~~ ^~~~~ %08lx /wrkdirs/usr/ports/net/mopd/work/mopd-2.5.3/mopchk/../common/file.c:192:40: warning: format specifies type 'unsigned int' but the argument has type 'u_long' (aka 'unsigned long') [-Wformat] printf("Load Address: %08x\n",load_addr); ~~~~ ^~~~~~~~~ %08lx /wrkdirs/usr/ports/net/mopd/work/mopd-2.5.3/mopchk/../common/file.c:193:40: warning: format specifies type 'unsigned int' but the argument has type 'u_long' (aka 'unsigned long') [-Wformat] printf("Transfer Address: %08x\n",xfr_addr); ~~~~ ^~~~~~~~ %08lx /wrkdirs/usr/ports/net/mopd/work/mopd-2.5.3/mopchk/../common/file.c:203:38: warning: format specifies type 'int' but the argument has type 'u_long' (aka 'unsigned long') [-Wformat] printf("Header Block Count: %d\n",hbcnt); ~~ ^~~~~ %lu /wrkdirs/usr/ports/net/mopd/work/mopd-2.5.3/mopchk/../common/file.c:204:40: warning: format specifies type 'unsigned int' but the argument has type 'u_long' (aka 'unsigned long') [-Wformat] printf("Image Size: %08x\n",isize); ~~~~ ^~~~~ %08lx /wrkdirs/usr/ports/net/mopd/work/mopd-2.5.3/mopchk/../common/file.c:205:40: warning: format specifies type 'unsigned int' but the argument has type 'u_long' (aka 'unsigned long') [-Wformat] printf("Load Address: %08x\n",load_addr); ~~~~ ^~~~~~~~~ %08lx /wrkdirs/usr/ports/net/mopd/work/mopd-2.5.3/mopchk/../common/file.c:206:40: warning: format specifies type 'unsigned int' but the argument has type 'u_long' (aka 'unsigned long') [-Wformat] printf("Transfer Address: %08x\n",xfr_addr); ~~~~ ^~~~~~~~ %08lx /wrkdirs/usr/ports/net/mopd/work/mopd-2.5.3/mopchk/../common/file.c:243:38: warning: format specifies type 'int' but the argument has type 'u_long' (aka 'unsigned long') [-Wformat] printf("Header Block Count: %d\n",hbcnt); ~~ ^~~~~ %lu /wrkdirs/usr/ports/net/mopd/work/mopd-2.5.3/mopchk/../common/file.c:244:40: warning: format specifies type 'unsigned int' but the argument has type 'u_long' (aka 'unsigned long') [-Wformat] printf("Image Size: %08x\n",isize); ~~~~ ^~~~~ %08lx /wrkdirs/usr/ports/net/mopd/work/mopd-2.5.3/mopchk/../common/file.c:245:40: warning: format specifies type 'unsigned int' but the argument has type 'u_long' (aka 'unsigned long') [-Wformat] printf("Load Address: %08x\n",load_addr); ~~~~ ^~~~~~~~~ %08lx /wrkdirs/usr/ports/net/mopd/work/mopd-2.5.3/mopchk/../common/file.c:246:40: warning: format specifies type 'unsigned int' but the argument has type 'u_long' (aka 'unsigned long') [-Wformat] printf("Transfer Address: %08x\n",xfr_addr); ~~~~ ^~~~~~~~ %08lx /wrkdirs/usr/ports/net/mopd/work/mopd-2.5.3/mopchk/../common/file.c:266:38: warning: format specifies type 'int' but the argument has type 'u_long' (aka 'unsigned long') [-Wformat] printf("Header Block Count: %d\n",hbcnt); ~~ ^~~~~ %lu /wrkdirs/usr/ports/net/mopd/work/mopd-2.5.3/mopchk/../common/file.c:267:40: warning: format specifies type 'unsigned int' but the argument has type 'u_long' (aka 'unsigned long') [-Wformat] printf("Image Size: %08x\n",isize); ~~~~ ^~~~~ %08lx /wrkdirs/usr/ports/net/mopd/work/mopd-2.5.3/mopchk/../common/file.c:268:40: warning: format specifies type 'unsigned int' but the argument has type 'u_long' (aka 'unsigned long') [-Wformat] printf("Load Address: %08x\n",load_addr); ~~~~ ^~~~~~~~~ %08lx /wrkdirs/usr/ports/net/mopd/work/mopd-2.5.3/mopchk/../common/file.c:269:40: warning: format specifies type 'unsigned int' but the argument has type 'u_long' (aka 'unsigned long') [-Wformat] printf("Transfer Address: %08x\n",xfr_addr); ~~~~ ^~~~~~~~ %08lx /wrkdirs/usr/ports/net/mopd/work/mopd-2.5.3/mopchk/../common/file.c:427:20: warning: implicit declaration of function 'ntohl' is invalid in C99 [-Wimplicit-function-declaration] mid = getMID(mid, N_GETMID (ex)); ^ /usr/include/sys/imgact_aout.h:41:5: note: expanded from macro 'N_GETMID' ( (N_GETMAGIC_NET(ex) == ZMAGIC) ? N_GETMID_NET(ex) : \ ^ /usr/include/sys/imgact_aout.h:52:3: note: expanded from macro 'N_GETMAGIC_NET' (ntohl((ex).a_midmag) & 0xffff) ^ /wrkdirs/usr/ports/net/mopd/work/mopd-2.5.3/mopchk/../common/file.c:438:8: warning: extra tokens at end of #endif directive [-Wextra-tokens] #endif NOAOUT ^ // /wrkdirs/usr/ports/net/mopd/work/mopd-2.5.3/mopchk/../common/file.c:466:20: warning: implicit declaration of function 'ntohl' is invalid in C99 [-Wimplicit-function-declaration] mid = getMID(mid, N_GETMID (ex)); ^ /usr/include/sys/imgact_aout.h:41:5: note: expanded from macro 'N_GETMID' ( (N_GETMAGIC_NET(ex) == ZMAGIC) ? N_GETMID_NET(ex) : \ ^ /usr/include/sys/imgact_aout.h:52:3: note: expanded from macro 'N_GETMAGIC_NET' (ntohl((ex).a_midmag) & 0xffff) ^ /wrkdirs/usr/ports/net/mopd/work/mopd-2.5.3/mopchk/../common/file.c:682:8: warning: extra tokens at end of #endif directive [-Wextra-tokens] #endif NOAOUT ^ // 24 warnings generated. cc -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -I/wrkdirs/usr/ports/net/mopd/work/mopd-2.5.3/mopchk -I/wrkdirs/usr/ports/net/mopd/work/mopd-2.5.3/mopchk/.. -I/wrkdirs/usr/ports/net/mopd/work/mopd-2.5.3/mopchk/../common -DINFO -fPIE -std=gnu99 -Wno-format-zero-length -nobuiltininc -idirafter /usr/lib/clang/14.0.5/include -fstack-protector-strong -Qunused-arguments -fstack-protector-strong -pie -o mopchk mopchk.o device.o version.o pf.o loop-bsd.o file.o -lkvm gzip -cn mopchk.1 > mopchk.1.gz ===> mopa.out (all) echo mopa.out: /usr/lib/libc.a >> .depend Warning: Object directory not changed from original /wrkdirs/usr/ports/net/mopd/work/mopd-2.5.3/mopa.out cc -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -I/wrkdirs/usr/ports/net/mopd/work/mopd-2.5.3/mopa.out -I/wrkdirs/usr/ports/net/mopd/work/mopd-2.5.3/mopa.out/.. -I/wrkdirs/usr/ports/net/mopd/work/mopd-2.5.3/mopa.out/../common -fPIE -MD -MF.depend.mopa.out.o -MTmopa.out.o -std=gnu99 -Wno-format-zero-length -nobuiltininc -idirafter /usr/lib/clang/14.0.5/include -fstack-protector-strong -Qunused-arguments -c mopa.out.c -o mopa.out.o In file included from mopa.out.c:53: /wrkdirs/usr/ports/net/mopd/work/mopd-2.5.3/mopa.out/../common/os.h:57:8: warning: extra tokens at end of #endif directive [-Wextra-tokens] #endif _OS_H_ ^ // In file included from mopa.out.c:54: /wrkdirs/usr/ports/net/mopd/work/mopd-2.5.3/mopa.out/../common/common.h:92:8: warning: extra tokens at end of #endif directive [-Wextra-tokens] #endif _COMMON_H_ ^ // In file included from mopa.out.c:55: /wrkdirs/usr/ports/net/mopd/work/mopd-2.5.3/mopa.out/../common/mopdef.h:194:8: warning: extra tokens at end of #endif directive [-Wextra-tokens] #endif MOPDEF_SUPRESS_EXTERN ^ // /wrkdirs/usr/ports/net/mopd/work/mopd-2.5.3/mopa.out/../common/mopdef.h:196:8: warning: extra tokens at end of #endif directive [-Wextra-tokens] #endif _MOPDEF_H_ ^ // In file included from mopa.out.c:56: /wrkdirs/usr/ports/net/mopd/work/mopd-2.5.3/mopa.out/../common/file.h:67:8: warning: extra tokens at end of #endif directive [-Wextra-tokens] #endif _FILE_H_ ^ // mopa.out.c:106:21: warning: invalid conversion specifier ':' [-Wformat-invalid-specifier] fprintf(stderr,"s%: not an a.out file\n",argv[1]); ~^ mopa.out.c:149:14: warning: implicit declaration of function 'mopFileRead' is invalid in C99 [-Wimplicit-function-declaration] while ((i = mopFileRead(&dl,header)) > 0) { ^ 7 warnings generated. cc -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -I/wrkdirs/usr/ports/net/mopd/work/mopd-2.5.3/mopa.out -I/wrkdirs/usr/ports/net/mopd/work/mopd-2.5.3/mopa.out/.. -I/wrkdirs/usr/ports/net/mopd/work/mopd-2.5.3/mopa.out/../common -fPIE -MD -MF.depend.file.o -MTfile.o -std=gnu99 -Wno-format-zero-length -nobuiltininc -idirafter /usr/lib/clang/14.0.5/include -fstack-protector-strong -Qunused-arguments -c /wrkdirs/usr/ports/net/mopd/work/mopd-2.5.3/mopa.out/../common/file.c -o file.o In file included from /wrkdirs/usr/ports/net/mopd/work/mopd-2.5.3/mopa.out/../common/file.c:34: /wrkdirs/usr/ports/net/mopd/work/mopd-2.5.3/mopa.out/../common/os.h:57:8: warning: extra tokens at end of #endif directive [-Wextra-tokens] #endif _OS_H_ ^ // In file included from /wrkdirs/usr/ports/net/mopd/work/mopd-2.5.3/mopa.out/../common/file.c:35: /wrkdirs/usr/ports/net/mopd/work/mopd-2.5.3/mopa.out/../common/common.h:92:8: warning: extra tokens at end of #endif directive [-Wextra-tokens] #endif _COMMON_H_ ^ // In file included from /wrkdirs/usr/ports/net/mopd/work/mopd-2.5.3/mopa.out/../common/file.c:36: /wrkdirs/usr/ports/net/mopd/work/mopd-2.5.3/mopa.out/../common/mopdef.h:194:8: warning: extra tokens at end of #endif directive [-Wextra-tokens] #endif MOPDEF_SUPRESS_EXTERN ^ // /wrkdirs/usr/ports/net/mopd/work/mopd-2.5.3/mopa.out/../common/mopdef.h:196:8: warning: extra tokens at end of #endif directive [-Wextra-tokens] #endif _MOPDEF_H_ ^ // /wrkdirs/usr/ports/net/mopd/work/mopd-2.5.3/mopa.out/../common/file.c:427:20: warning: implicit declaration of function 'ntohl' is invalid in C99 [-Wimplicit-function-declaration] mid = getMID(mid, N_GETMID (ex)); ^ /usr/include/sys/imgact_aout.h:41:5: note: expanded from macro 'N_GETMID' ( (N_GETMAGIC_NET(ex) == ZMAGIC) ? N_GETMID_NET(ex) : \ ^ /usr/include/sys/imgact_aout.h:52:3: note: expanded from macro 'N_GETMAGIC_NET' (ntohl((ex).a_midmag) & 0xffff) ^ /wrkdirs/usr/ports/net/mopd/work/mopd-2.5.3/mopa.out/../common/file.c:438:8: warning: extra tokens at end of #endif directive [-Wextra-tokens] #endif NOAOUT ^ // /wrkdirs/usr/ports/net/mopd/work/mopd-2.5.3/mopa.out/../common/file.c:466:20: warning: implicit declaration of function 'ntohl' is invalid in C99 [-Wimplicit-function-declaration] mid = getMID(mid, N_GETMID (ex)); ^ /usr/include/sys/imgact_aout.h:41:5: note: expanded from macro 'N_GETMID' ( (N_GETMAGIC_NET(ex) == ZMAGIC) ? N_GETMID_NET(ex) : \ ^ /usr/include/sys/imgact_aout.h:52:3: note: expanded from macro 'N_GETMAGIC_NET' (ntohl((ex).a_midmag) & 0xffff) ^ /wrkdirs/usr/ports/net/mopd/work/mopd-2.5.3/mopa.out/../common/file.c:682:8: warning: extra tokens at end of #endif directive [-Wextra-tokens] #endif NOAOUT ^ // 8 warnings generated. cc -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -I/wrkdirs/usr/ports/net/mopd/work/mopd-2.5.3/mopa.out -I/wrkdirs/usr/ports/net/mopd/work/mopd-2.5.3/mopa.out/.. -I/wrkdirs/usr/ports/net/mopd/work/mopd-2.5.3/mopa.out/../common -fPIE -std=gnu99 -Wno-format-zero-length -nobuiltininc -idirafter /usr/lib/clang/14.0.5/include -fstack-protector-strong -Qunused-arguments -fstack-protector-strong -pie -o mopa.out mopa.out.o file.o gzip -cn mopa.out.1 > mopa.out.1.gz =========================================================================== =================================================== ===== env: USE_PACKAGE_DEPENDS_ONLY=1 USER=root UID=0 GID=0 =========================================================================== =================================================== ===== env: NO_DEPENDS=yes USER=root UID=0 GID=0 ===> Staging for mopd-2.5.3_3 ===> Generating temporary packing list ===> mopd (install) install -s -o root -g wheel -m 555 mopd /wrkdirs/usr/ports/net/mopd/work/stage/usr/local/sbin/mopd install -o root -g wheel -m 444 mopd.8.gz /wrkdirs/usr/ports/net/mopd/work/stage/usr/local/share/man/man8/ ===> mopprobe (install) install -s -o root -g wheel -m 555 mopprobe /wrkdirs/usr/ports/net/mopd/work/stage/usr/local/sbin/mopprobe install -o root -g wheel -m 444 mopprobe.1.gz /wrkdirs/usr/ports/net/mopd/work/stage/usr/local/share/man/man1/ ===> moptrace (install) install -s -o root -g wheel -m 555 moptrace /wrkdirs/usr/ports/net/mopd/work/stage/usr/local/sbin/moptrace install -o root -g wheel -m 444 moptrace.1.gz /wrkdirs/usr/ports/net/mopd/work/stage/usr/local/share/man/man1/ ===> mopchk (install) install -s -o root -g wheel -m 555 mopchk /wrkdirs/usr/ports/net/mopd/work/stage/usr/local/sbin/mopchk install -o root -g wheel -m 444 mopchk.1.gz /wrkdirs/usr/ports/net/mopd/work/stage/usr/local/share/man/man1/ ===> mopa.out (install) install -s -o root -g wheel -m 555 mopa.out /wrkdirs/usr/ports/net/mopd/work/stage/usr/local/sbin/mopa.out install -o root -g wheel -m 444 mopa.out.1.gz /wrkdirs/usr/ports/net/mopd/work/stage/usr/local/share/man/man1/ install -m 0644 /portdistfiles/VAX-netboot-HOWTO /portdistfiles/VS3100-console-cmds.txt /wrkdirs/usr/ports/net/mopd/work/stage/usr/local/share/doc/mopd ====> Compressing man pages (compress-man) =========================================================================== =================================================== ===== env: 'PKG_NOTES=build_timestamp ports_top_git_hash ports_top_checkout_unclean port_git_hash port_checkout_unclean built_by' 'PKG_NOTE_build_timestamp=2024-04-03T23:27:46+0000' 'PKG_NOTE_ports_top_git_hash=c2c35d895e' 'PKG_NOTE_ports_top_checkout_unclean=yes' 'PKG_NOTE_port_git_hash=5c00cf3d35' 'PKG_NOTE_port_checkout_unclean=no' 'PKG_NOTE_built_by=poudriere-git-3.4.99.20240122_1' NO_DEPENDS=yes USER=root UID=0 GID=0 ===> Building packages for mopd-2.5.3_3 ===> Building mopd-2.5.3_3 =========================================================================== =>> Cleaning up wrkdir ===> Cleaning for mopd-2.5.3_3 build of net/mopd | mopd-2.5.3_3 ended at Thu Apr 4 00:27:59 BST 2024 build time: 00:00:15