=>> Building net/mopd build started at Wed Jan 21 12:23:34 EST 2026 port directory: /usr/ports/net/mopd package name: mopd-2.5.3_3 building for: FreeBSD pkg.DaveG.ca 14.3-RELEASE-p7 FreeBSD 14.3-RELEASE-p7 1403000 amd64 maintained by: ports@FreeBSD.org Makefile datestamp: -rw-r--r-- 1 root wheel 754 Aug 27 2024 /usr/ports/net/mopd/Makefile Ports top last git commit: 076a295eb33c Ports top unclean checkout: no Port dir last git commit: 5c00cf3d35cc Port dir unclean checkout: no Poudriere version: poudriere-git-3.4.2 Host OSVERSION: 1500068 Jail OSVERSION: 1403000 Job Id: 07 ---Begin Environment--- SHELL=/bin/sh OSVERSION=1403000 UNAME_v=FreeBSD 14.3-RELEASE-p7 1403000 UNAME_r=14.3-RELEASE-p7 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.2 MASTERMNT=/usr/local/poudriere/data/.m/freebsd_14_3_x64-HEAD-ALL/ref LC_COLLATE=C POUDRIERE_BUILD_TYPE=bulk PACKAGE_BUILDING=yes SAVED_TERM=tmux-256color OUTPUT_REDIRECTED_STDERR=4 OUTPUT_REDIRECTED=1 PWD=/usr/local/poudriere/data/.m/freebsd_14_3_x64-HEAD-ALL/07/.p OUTPUT_REDIRECTED_STDOUT=3 P_PORTS_FEATURES=FLAVORS SUBPACKAGES SELECTED_OPTIONS MASTERNAME=freebsd_14_3_x64-HEAD-ALL SCRIPTPREFIX=/usr/local/share/poudriere SCRIPTNAME=bulk.sh OLDPWD=/usr/local/poudriere/data/.m/freebsd_14_3_x64-HEAD-ALL/ref/.p/pool POUDRIERE_PKGNAME=poudriere-git-3.4.2 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=/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 --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=/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=" " LIBS="" CXX="c++" CXXFLAGS="-O2 -pipe -fstack-protector-strong -fno-strict-aliasing " 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=14.3 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--- DEFAULT_VERSIONS+=pgsql=15 DEFAULT_VERSIONS+=php=82 DISABLE_LICENSES=yes SELECTED_OPTIONS+=OPENBLAS ARCHDEF=AMD64K10h64SSE3 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 #### #### DEFAULT_VERSIONS+=pgsql=15 DEFAULT_VERSIONS+=php=82 DISABLE_LICENSES=yes SELECTED_OPTIONS+=OPENBLAS ARCHDEF=AMD64K10h64SSE3 WITH_CCACHE_BUILD=yes CCACHE_DIR=/root/.ccache #### Misc Poudriere #### .include "/etc/make.conf.ports_env" GID=0 UID=0 ---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 pipebuf (-y) 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-2.5.1.pkg [pkg.DaveG.ca] Installing pkg-2.5.1... [pkg.DaveG.ca] Extracting pkg-2.5.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 ===> mopd-2.5.3_3 depends on file: /usr/local/bin/ccache - not found ===> Installing existing package /packages/All/ccache-3.7.12_8.pkg [pkg.DaveG.ca] Installing ccache-3.7.12_8... [pkg.DaveG.ca] Extracting ccache-3.7.12_8: ......... done Create compiler links... create symlink for cc create symlink for cc (world) create symlink for c++ create symlink for c++ (world) create symlink for CC create symlink for CC (world) create symlink for clang create symlink for clang (world) create symlink for clang++ create symlink for clang++ (world) ===== Message from ccache-3.7.12_8: -- NOTE: Please read /usr/local/share/doc/ccache/ccache-howto-freebsd.txt for information on using ccache with FreeBSD ports and src. ===> mopd-2.5.3_3 depends on file: /usr/local/bin/ccache - 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 ===> Configuring for mopd-2.5.3_3 =========================================================================== =================================================== ===== env: NO_DEPENDS=yes USER=root UID=0 GID=0 ===> Building for mopd-2.5.3_3 --- all_subdir_mopd --- ===> mopd (all) --- objwarn --- --- version.c --- --- objwarn --- Warning: Object directory not changed from original /wrkdirs/usr/ports/net/mopd/work/mopd-2.5.3/mopd --- version.c --- 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 --- .depend --- echo mopd: /usr/lib/libc.a >> .depend --- 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 --- --- mopd.8.gz --- --- pf.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/19/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] 194 | #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] 196 | #endif _MOPDEF_H_ | ^ | // /wrkdirs/usr/ports/net/mopd/work/mopd-2.5.3/mopd/../common/pf.c:77:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 77 | pfTrans(interface) | ^ /wrkdirs/usr/ports/net/mopd/work/mopd-2.5.3/mopd/../common/pf.c:132:9: warning: call to undeclared library function 'strncpy' with type 'char *(char *, const char *, unsigned long)'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 132 | (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' /wrkdirs/usr/ports/net/mopd/work/mopd-2.5.3/mopd/../common/pf.c:88:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 88 | pfInit(interface, mode, protocol, typ) | ^ /wrkdirs/usr/ports/net/mopd/work/mopd-2.5.3/mopd/../common/pf.c:170:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 170 | pfAddMulti(s, interface, addr) | ^ /wrkdirs/usr/ports/net/mopd/work/mopd-2.5.3/mopd/../common/pf.c:206:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 206 | pfDelMulti(s, interface, addr) | ^ /wrkdirs/usr/ports/net/mopd/work/mopd-2.5.3/mopd/../common/pf.c:242:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 242 | pfRead(fd, buf, len) | ^ /wrkdirs/usr/ports/net/mopd/work/mopd-2.5.3/mopd/../common/pf.c:254:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 254 | pfWrite(fd, buf, len, trans) | ^ 9 warnings generated. --- 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.version.o -MTversion.o -std=gnu99 -Wno-format-zero-length -nobuiltininc -idirafter /usr/lib/clang/19/include -fstack-protector-strong -Qunused-arguments -c version.c -o version.o --- mopdef.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.mopdef.o -MTmopdef.o -std=gnu99 -Wno-format-zero-length -nobuiltininc -idirafter /usr/lib/clang/19/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] 194 | #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] 196 | #endif _MOPDEF_H_ | ^ | // 2 warnings generated. --- put.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.put.o -MTput.o -std=gnu99 -Wno-format-zero-length -nobuiltininc -idirafter /usr/lib/clang/19/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] 194 | #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] 196 | #endif _MOPDEF_H_ | ^ | // /wrkdirs/usr/ports/net/mopd/work/mopd-2.5.3/mopd/../common/put.c:43:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 43 | mopPutChar(pkt, index, value) | ^ /wrkdirs/usr/ports/net/mopd/work/mopd-2.5.3/mopd/../common/put.c:53:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 53 | mopPutShort(pkt, index, value) | ^ /wrkdirs/usr/ports/net/mopd/work/mopd-2.5.3/mopd/../common/put.c:67:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 67 | mopPutLong(pkt, index, value) | ^ /wrkdirs/usr/ports/net/mopd/work/mopd-2.5.3/mopd/../common/put.c:81:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 81 | mopPutMulti(pkt, index, value, size) | ^ /wrkdirs/usr/ports/net/mopd/work/mopd-2.5.3/mopd/../common/put.c:102:13: warning: equality comparison with extraneous parentheses [-Wparentheses-equality] 102 | 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 102 | 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 102 | if ((value == 0)) { | ^~ | = /wrkdirs/usr/ports/net/mopd/work/mopd-2.5.3/mopd/../common/put.c:94:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 94 | mopPutTime(pkt, index, value) | ^ /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] 132 | 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] 133 | mopPutMulti(pkt, index, src, 6); | ^~~ /wrkdirs/usr/ports/net/mopd/work/mopd-2.5.3/mopd/../common/put.c:124:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 124 | mopPutHeader(pkt, index, dst, src, proto, trans) | ^ /wrkdirs/usr/ports/net/mopd/work/mopd-2.5.3/mopd/../common/put.c:161:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 161 | mopPutLength(pkt, trans, len) | ^ 12 warnings generated. --- get.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.get.o -MTget.o -std=gnu99 -Wno-format-zero-length -nobuiltininc -idirafter /usr/lib/clang/19/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] 194 | #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] 196 | #endif _MOPDEF_H_ | ^ | // /wrkdirs/usr/ports/net/mopd/work/mopd-2.5.3/mopd/../common/get.c:38:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 38 | mopGetChar(pkt, index) | ^ /wrkdirs/usr/ports/net/mopd/work/mopd-2.5.3/mopd/../common/get.c:50:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 50 | mopGetShort(pkt, index) | ^ /wrkdirs/usr/ports/net/mopd/work/mopd-2.5.3/mopd/../common/get.c:62:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 62 | mopGetLong(pkt, index) | ^ /wrkdirs/usr/ports/net/mopd/work/mopd-2.5.3/mopd/../common/get.c:77:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 77 | mopGetMulti(pkt, index, dest, size) | ^ /wrkdirs/usr/ports/net/mopd/work/mopd-2.5.3/mopd/../common/get.c:99:7: warning: call to undeclared function 'ntohs'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 99 | if (ntohs(*ptype) < 1600) { | ^ /wrkdirs/usr/ports/net/mopd/work/mopd-2.5.3/mopd/../common/get.c:91:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 91 | mopGetTrans(pkt, trans) | ^ /wrkdirs/usr/ports/net/mopd/work/mopd-2.5.3/mopd/../common/get.c:109:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 109 | mopGetHeader(pkt, index, dst, src, proto, len, trans) | ^ /wrkdirs/usr/ports/net/mopd/work/mopd-2.5.3/mopd/../common/get.c:135:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 135 | mopGetLength(pkt, trans) | ^ 10 warnings generated. --- cmp.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.cmp.o -MTcmp.o -std=gnu99 -Wno-format-zero-length -nobuiltininc -idirafter /usr/lib/clang/19/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] 57 | #endif _OS_H_ | ^ | // /wrkdirs/usr/ports/net/mopd/work/mopd-2.5.3/mopd/../common/cmp.c:37:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 37 | mopCmpEAddr(addr1, addr2) | ^ 2 warnings generated. --- mopd.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.mopd.o -MTmopd.o -std=gnu99 -Wno-format-zero-length -nobuiltininc -idirafter /usr/lib/clang/19/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] 57 | #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] 92 | #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] 194 | #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] 196 | #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] 52 | #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] 62 | #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] 56 | #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] 44 | #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] 58 | #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] 44 | #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] 44 | #endif _RC_H_ | ^ | // In file included from mopd.c:51: ./process.h:50:8: warning: extra tokens at end of #endif directive [-Wextra-tokens] 50 | #endif _PROCESS_H_ | ^ | // mopd.c:78:1: warning: return type of 'main' is not 'int' [-Wmain-return-type] 78 | void | ^ mopd.c:78:1: note: change return type to 'int' 78 | void | ^~~~ | int mopd.c:89:17: warning: call to undeclared library function 'strrchr' with type 'char *(const char *, int)'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 89 | if ((Program = strrchr(argv[0], '/'))) | ^ mopd.c:89:17: note: include the header or explicitly provide a declaration for 'strrchr' mopd.c:79:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 79 | main(argc, argv) | ^ mopd.c:204:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 204 | mopProcess(ii, pkt) | ^ 16 warnings generated. --- file.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.file.o -MTfile.o -std=gnu99 -Wno-format-zero-length -nobuiltininc -idirafter /usr/lib/clang/19/include -fstack-protector-strong -Qunused-arguments -c /wrkdirs/usr/ports/net/mopd/work/mopd-2.5.3/mopd/../common/file.c -o file.o --- process.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.process.o -MTprocess.o -std=gnu99 -Wno-format-zero-length -nobuiltininc -idirafter /usr/lib/clang/19/include -fstack-protector-strong -Qunused-arguments -c process.c -o process.o --- print.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.print.o -MTprint.o -std=gnu99 -Wno-format-zero-length -nobuiltininc -idirafter /usr/lib/clang/19/include -fstack-protector-strong -Qunused-arguments -c /wrkdirs/usr/ports/net/mopd/work/mopd-2.5.3/mopd/../common/print.c -o print.o --- mopd.8.gz --- gzip -cn mopd.8 > mopd.8.gz --- loop-bsd.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.loop-bsd.o -MTloop-bsd.o -std=gnu99 -Wno-format-zero-length -nobuiltininc -idirafter /usr/lib/clang/19/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 --- rc.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.rc.o -MTrc.o -std=gnu99 -Wno-format-zero-length -nobuiltininc -idirafter /usr/lib/clang/19/include -fstack-protector-strong -Qunused-arguments -c /wrkdirs/usr/ports/net/mopd/work/mopd-2.5.3/mopd/../common/rc.c -o rc.o --- nma.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.nma.o -MTnma.o -std=gnu99 -Wno-format-zero-length -nobuiltininc -idirafter /usr/lib/clang/19/include -fstack-protector-strong -Qunused-arguments -c /wrkdirs/usr/ports/net/mopd/work/mopd-2.5.3/mopd/../common/nma.c -o nma.o --- device.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.device.o -MTdevice.o -std=gnu99 -Wno-format-zero-length -nobuiltininc -idirafter /usr/lib/clang/19/include -fstack-protector-strong -Qunused-arguments -c /wrkdirs/usr/ports/net/mopd/work/mopd-2.5.3/mopd/../common/device.c -o device.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] 181 | #endif _NMADEF_H_ | ^ | // /wrkdirs/usr/ports/net/mopd/work/mopd-2.5.3/mopd/../common/nma.c:192:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 192 | nmaGetShort(devno) | ^ /wrkdirs/usr/ports/net/mopd/work/mopd-2.5.3/mopd/../common/nma.c:209:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 209 | nmaGetDevice(devno) | ^ 3 warnings generated. --- 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] 57 | #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] 92 | #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] 194 | #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] 196 | #endif _MOPDEF_H_ | ^ | // In file included from process.c:37: --- dl.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.dl.o -MTdl.o -std=gnu99 -Wno-format-zero-length -nobuiltininc -idirafter /usr/lib/clang/19/include -fstack-protector-strong -Qunused-arguments -c /wrkdirs/usr/ports/net/mopd/work/mopd-2.5.3/mopd/../common/dl.c -o dl.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] 57 | #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] 92 | #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] 194 | #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] 196 | #endif _MOPDEF_H_ | ^ | // /wrkdirs/usr/ports/net/mopd/work/mopd-2.5.3/mopd/../common/device.c:95:8: warning: call to undeclared library function 'strncmp' with type 'int (const char *, const char *, unsigned long)'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 95 | 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:59:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 59 | deviceEthAddr(ifname, eaddr) | ^ /wrkdirs/usr/ports/net/mopd/work/mopd-2.5.3/mopd/../common/device.c:114:2: warning: call to undeclared library function 'strncpy' with type 'char *(char *, const char *, unsigned long)'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 114 | 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:107:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 107 | deviceOpen(ifname, proto, trans) | ^ /wrkdirs/usr/ports/net/mopd/work/mopd-2.5.3/mopd/../common/device.c:202:7: warning: call to undeclared library function 'strcmp' with type 'int (const char *, const char *)'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 202 | 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' /wrkdirs/usr/ports/net/mopd/work/mopd-2.5.3/mopd/../common/device.c:211:17: warning: passing arguments to 'pfTrans' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 211 | trans = pfTrans(interface); | ^ /wrkdirs/usr/ports/net/mopd/work/mopd-2.5.3/mopd/../common/device.c:165:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 165 | deviceInitOne(ifname) | ^ 11 warnings generated. --- process.o --- /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] 181 | #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] 58 | #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] 56 | #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] 62 | #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] 56 | #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] 44 | #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] 44 | #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] 44 | #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] 67 | #endif _FILE_H_ | ^ | // process.c:55:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 55 | mopProcessInfo(pkt,index,moplen,dl_rpr,trans) | ^ process.c:184:17: warning: equality comparison with extraneous parentheses [-Wparentheses-equality] 184 | if ((DebugFlag == DEBUG_ONELINE)) { | ~~~~~~~~~~^~~~~~~~~~~~~~~~ process.c:184:17: note: remove extraneous parentheses around the comparison to silence this warning 184 | if ((DebugFlag == DEBUG_ONELINE)) { | ~ ^ ~ process.c:184:17: note: use '=' to turn this equality comparison into an assignment 184 | if ((DebugFlag == DEBUG_ONELINE)) { | ^~ | = process.c:165:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 165 | mopSendASV(dst, src, ii, trans) | ^ process.c:283:8: warning: call to undeclared function 'mopFileRead'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 283 | len = mopFileRead(&dllist[slot],&pkt[index]); | ^ process.c:291:17: warning: equality comparison with extraneous parentheses [-Wparentheses-equality] 291 | if ((DebugFlag == DEBUG_ONELINE)) { | ~~~~~~~~~~^~~~~~~~~~~~~~~~ process.c:291:17: note: remove extraneous parentheses around the comparison to silence this warning 291 | if ((DebugFlag == DEBUG_ONELINE)) { | ~ ^ ~ process.c:291:17: note: use '=' to turn this equality comparison into an assignment 291 | if ((DebugFlag == DEBUG_ONELINE)) { | ^~ | = process.c:205:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 205 | mopStartLoad(dst, src, dl_rpr, trans) | ^ process.c:340:17: warning: equality comparison with extraneous parentheses [-Wparentheses-equality] 340 | if ((new_count == ((dllist[slot].count+1) % 256))) { | ~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ process.c:340:17: note: remove extraneous parentheses around the comparison to silence this warning 340 | if ((new_count == ((dllist[slot].count+1) % 256))) { | ~ ^ ~ process.c:340:17: note: use '=' to turn this equality comparison into an assignment 340 | if ((new_count == ((dllist[slot].count+1) % 256))) { | ^~ | = process.c:372:8: warning: call to undeclared function 'mopFileRead'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 372 | 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] 390 | 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 49 | void mopPutMulti __P((u_char *, int *, u_char *, int)); | ^ process.c:409:17: warning: equality comparison with extraneous parentheses [-Wparentheses-equality] 409 | if ((DebugFlag == DEBUG_ONELINE)) { | ~~~~~~~~~~^~~~~~~~~~~~~~~~ process.c:409:17: note: remove extraneous parentheses around the comparison to silence this warning 409 | if ((DebugFlag == DEBUG_ONELINE)) { | ~ ^ ~ process.c:409:17: note: use '=' to turn this equality comparison into an assignment 409 | if ((DebugFlag == DEBUG_ONELINE)) { | ^~ | = process.c:314:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 314 | mopNextLoad(dst, src, new_count, trans) | ^ process.c:446:17: warning: equality comparison with extraneous parentheses [-Wparentheses-equality] 446 | if ((DebugFlag == DEBUG_ONELINE)) { | ~~~~~~~~~~^~~~~~~~~~~~~~~~ process.c:446:17: note: remove extraneous parentheses around the comparison to silence this warning 446 | if ((DebugFlag == DEBUG_ONELINE)) { | ~ ^ ~ process.c:446:17: note: use '=' to turn this equality comparison into an assignment 446 | 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] 503 | sprintf(pfile,"%02x%02x%02x%02x%02x%02x%c", | ^~~~~ /usr/include/stdio.h:285:31: note: passing argument to parameter here 285 | 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] 518 | 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 40 | int mopCmpEAddr __P((u_char *,u_char *)); | ^ process.c:430:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 430 | mopProcessDL(fd, ii, pkt, index, dst, src, trans, len) | ^ process.c:583:17: warning: equality comparison with extraneous parentheses [-Wparentheses-equality] 583 | if ((DebugFlag == DEBUG_ONELINE)) { | ~~~~~~~~~~^~~~~~~~~~~~~~~~ process.c:583:17: note: remove extraneous parentheses around the comparison to silence this warning 583 | if ((DebugFlag == DEBUG_ONELINE)) { | ~ ^ ~ process.c:583:17: note: use '=' to turn this equality comparison into an assignment 583 | if ((DebugFlag == DEBUG_ONELINE)) { | ^~ | = process.c:571:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 571 | mopProcessRC(fd, ii, pkt, index, dst, src, trans, len) | ^ 30 warnings generated. --- 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] 57 | #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] 92 | #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] 194 | #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] 196 | #endif _MOPDEF_H_ | ^ | // /wrkdirs/usr/ports/net/mopd/work/mopd-2.5.3/mopd/../common/loop-bsd.c:54:22: warning: passing arguments to a function without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 54 | return (*(p->iopen))(p->if_name, | ^ /wrkdirs/usr/ports/net/mopd/work/mopd-2.5.3/mopd/../common/loop-bsd.c:49:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 49 | mopOpenRC(p, trans) | ^ /wrkdirs/usr/ports/net/mopd/work/mopd-2.5.3/mopd/../common/loop-bsd.c:69:22: warning: passing arguments to a function without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 69 | return (*(p->iopen))(p->if_name, | ^ /wrkdirs/usr/ports/net/mopd/work/mopd-2.5.3/mopd/../common/loop-bsd.c:64:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 64 | mopOpenDL(p, trans) | ^ 8 warnings generated. --- 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] 57 | #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] 58 | #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] 62 | #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] 194 | #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] 196 | #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] 75 | 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 75 | 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 75 | 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] 81 | (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] 118 | 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 118 | 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 118 | 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] 121 | 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 121 | 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 121 | 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] 125 | 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 125 | 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 125 | 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] 167 | (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] 167 | (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] 170 | (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] 170 | (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] 173 | (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] 173 | (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] 176 | (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] 176 | (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] 179 | (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] 179 | (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] 182 | (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] 182 | (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] 185 | (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] 185 | (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] 188 | (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] 188 | (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] 191 | (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] 191 | (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] 232 | (void)fprintf(fd,"Verification : %08x\n",tmpl); | ~~~~ ^~~~ | %08lx /wrkdirs/usr/ports/net/mopd/work/mopd-2.5.3/mopd/../common/rc.c:40:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 40 | mopDumpRC(fd, pkt, trans) | ^ 30 warnings generated. --- 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] 57 | #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] 194 | #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] 196 | #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] 181 | #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] 46 | #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] 44 | #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] 58 | #endif _GET_H_ | ^ | // /wrkdirs/usr/ports/net/mopd/work/mopd-2.5.3/mopd/../common/print.c:47:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 47 | mopPrintHWA(fd, ap) | ^ /wrkdirs/usr/ports/net/mopd/work/mopd-2.5.3/mopd/../common/print.c:62:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 62 | mopPrintBPTY(fd, bpty) | ^ /wrkdirs/usr/ports/net/mopd/work/mopd-2.5.3/mopd/../common/print.c:80:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 80 | mopPrintPGTY(fd, pgty) | ^ /wrkdirs/usr/ports/net/mopd/work/mopd-2.5.3/mopd/../common/print.c:104:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 104 | mopPrintOneline(fd, pkt, trans) | ^ /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] 268 | 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 40 | 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] 271 | 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 40 | int mopCmpEAddr __P((u_char *,u_char *)); | ^ /wrkdirs/usr/ports/net/mopd/work/mopd-2.5.3/mopd/../common/print.c:254:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 254 | mopPrintHeader(fd, pkt, trans) | ^ /wrkdirs/usr/ports/net/mopd/work/mopd-2.5.3/mopd/../common/print.c:318:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 318 | mopPrintMopHeader(fd, pkt, trans) | ^ /wrkdirs/usr/ports/net/mopd/work/mopd-2.5.3/mopd/../common/print.c:430:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 430 | mopPrintDevice(fd, device) | ^ /wrkdirs/usr/ports/net/mopd/work/mopd-2.5.3/mopd/../common/print.c:443:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 443 | mopPrintTime(fd, ap) | ^ /wrkdirs/usr/ports/net/mopd/work/mopd-2.5.3/mopd/../common/print.c:547:14: warning: equality comparison with extraneous parentheses [-Wparentheses-equality] 547 | 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 547 | 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 547 | 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] 550 | 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 550 | 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 550 | 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] 554 | 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 554 | 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 554 | if ((tmpc == 255)) { | ^~ | = /wrkdirs/usr/ports/net/mopd/work/mopd-2.5.3/mopd/../common/print.c:454:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 454 | mopPrintInfo(fd, pkt, index, moplen, mopcode, trans) | ^ 21 warnings generated. --- 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] 57 | #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] 58 | #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] 62 | #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] 194 | #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] 196 | #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] 71 | (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] 102 | (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] 116 | (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] 153 | (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] 195 | 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 195 | 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 195 | 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] 212 | (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] 223 | (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] 307 | (void)fprintf(fd,"Transfer Addr: %08x\n",tmpl); | ~~~~ ^~~~ | %08lx /wrkdirs/usr/ports/net/mopd/work/mopd-2.5.3/mopd/../common/dl.c:40:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 40 | mopDumpDL(fd, pkt, trans) | ^ 14 warnings generated. --- 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] 57 | #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] 92 | #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] 194 | #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] 196 | #endif _MOPDEF_H_ | ^ | // /wrkdirs/usr/ports/net/mopd/work/mopd-2.5.3/mopd/../common/file.c:55:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 55 | mopFilePutLX(buf, index, value, cnt) | ^ /wrkdirs/usr/ports/net/mopd/work/mopd-2.5.3/mopd/../common/file.c:68:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 68 | mopFilePutBX(buf, index, value, cnt) | ^ /wrkdirs/usr/ports/net/mopd/work/mopd-2.5.3/mopd/../common/file.c:81:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 81 | mopFileGetLX(buf, index, cnt) | ^ /wrkdirs/usr/ports/net/mopd/work/mopd-2.5.3/mopd/../common/file.c:96:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 96 | mopFileGetBX(buf, index, cnt) | ^ /wrkdirs/usr/ports/net/mopd/work/mopd-2.5.3/mopd/../common/file.c:111:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 111 | mopFileSwapX(buf, index, cnt) | ^ /wrkdirs/usr/ports/net/mopd/work/mopd-2.5.3/mopd/../common/file.c:127:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 127 | CheckMopFile(fd) | ^ /wrkdirs/usr/ports/net/mopd/work/mopd-2.5.3/mopd/../common/file.c:158:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 158 | GetMopFileInfo(fd, load, xfr) | ^ /wrkdirs/usr/ports/net/mopd/work/mopd-2.5.3/mopd/../common/file.c:292:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 292 | getMID(old_mid,new_mid) | ^ /wrkdirs/usr/ports/net/mopd/work/mopd-2.5.3/mopd/../common/file.c:357:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 357 | getCLBYTES(mid) | ^ /wrkdirs/usr/ports/net/mopd/work/mopd-2.5.3/mopd/../common/file.c:427:20: warning: call to undeclared function 'ntohl'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 427 | mid = getMID(mid, N_GETMID (ex)); | ^ /usr/include/sys/imgact_aout.h:40:5: note: expanded from macro 'N_GETMID' 40 | ( (N_GETMAGIC_NET(ex) == ZMAGIC) ? N_GETMID_NET(ex) : \ | ^ /usr/include/sys/imgact_aout.h:51:3: note: expanded from macro 'N_GETMAGIC_NET' 51 | (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] 438 | #endif NOAOUT | ^ | // /wrkdirs/usr/ports/net/mopd/work/mopd-2.5.3/mopd/../common/file.c:407:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 407 | CheckAOutFile(fd) | ^ /wrkdirs/usr/ports/net/mopd/work/mopd-2.5.3/mopd/../common/file.c:466:20: warning: call to undeclared function 'ntohl'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 466 | mid = getMID(mid, N_GETMID (ex)); | ^ /usr/include/sys/imgact_aout.h:40:5: note: expanded from macro 'N_GETMID' 40 | ( (N_GETMAGIC_NET(ex) == ZMAGIC) ? N_GETMID_NET(ex) : \ | ^ /usr/include/sys/imgact_aout.h:51:3: note: expanded from macro 'N_GETMAGIC_NET' 51 | (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] 682 | #endif NOAOUT | ^ | // /wrkdirs/usr/ports/net/mopd/work/mopd-2.5.3/mopd/../common/file.c:443:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 443 | GetAOutFileInfo(fd, load, xfr, a_text, a_text_fill, | ^ /wrkdirs/usr/ports/net/mopd/work/mopd-2.5.3/mopd/../common/file.c:687:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 687 | GetFileInfo(fd, load, xfr, aout, | ^ /wrkdirs/usr/ports/net/mopd/work/mopd-2.5.3/mopd/../common/file.c:725:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 725 | mopFileRead(dlslot, buf) | ^ 21 warnings generated. --- 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 -std=gnu99 -Wno-format-zero-length -nobuiltininc -idirafter /usr/lib/clang/19/include -fstack-protector-strong -Qunused-arguments -Wl,-zrelro -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 --- all_subdir_mopprobe --- ===> mopprobe (all) --- objwarn --- --- version.c --- --- objwarn --- Warning: Object directory not changed from original /wrkdirs/usr/ports/net/mopd/work/mopd-2.5.3/mopprobe --- version.c --- 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 --- .depend --- echo mopprobe: /usr/lib/libc.a >> .depend --- mopprobe.o --- --- device.o --- --- get.o --- --- cmp.o --- --- mopdef.o --- --- version.o --- --- pf.o --- --- loop-bsd.o --- --- mopprobe.1.gz --- --- mopprobe.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.mopprobe.o -MTmopprobe.o -std=gnu99 -Wno-format-zero-length -nobuiltininc -idirafter /usr/lib/clang/19/include -fstack-protector-strong -Qunused-arguments -c mopprobe.c -o mopprobe.o --- device.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.device.o -MTdevice.o -std=gnu99 -Wno-format-zero-length -nobuiltininc -idirafter /usr/lib/clang/19/include -fstack-protector-strong -Qunused-arguments -c /wrkdirs/usr/ports/net/mopd/work/mopd-2.5.3/mopprobe/../common/device.c -o device.o --- cmp.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.cmp.o -MTcmp.o -std=gnu99 -Wno-format-zero-length -nobuiltininc -idirafter /usr/lib/clang/19/include -fstack-protector-strong -Qunused-arguments -c /wrkdirs/usr/ports/net/mopd/work/mopd-2.5.3/mopprobe/../common/cmp.c -o cmp.o --- mopdef.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.mopdef.o -MTmopdef.o -std=gnu99 -Wno-format-zero-length -nobuiltininc -idirafter /usr/lib/clang/19/include -fstack-protector-strong -Qunused-arguments -c /wrkdirs/usr/ports/net/mopd/work/mopd-2.5.3/mopprobe/../common/mopdef.c -o mopdef.o --- pf.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/19/include -fstack-protector-strong -Qunused-arguments -c /wrkdirs/usr/ports/net/mopd/work/mopd-2.5.3/mopprobe/../common/pf.c -o pf.o --- loop-bsd.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.loop-bsd.o -MTloop-bsd.o -std=gnu99 -Wno-format-zero-length -nobuiltininc -idirafter /usr/lib/clang/19/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 --- mopprobe.1.gz --- gzip -cn mopprobe.1 > mopprobe.1.gz --- get.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.get.o -MTget.o -std=gnu99 -Wno-format-zero-length -nobuiltininc -idirafter /usr/lib/clang/19/include -fstack-protector-strong -Qunused-arguments -c /wrkdirs/usr/ports/net/mopd/work/mopd-2.5.3/mopprobe/../common/get.c -o get.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.version.o -MTversion.o -std=gnu99 -Wno-format-zero-length -nobuiltininc -idirafter /usr/lib/clang/19/include -fstack-protector-strong -Qunused-arguments -c version.c -o version.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] 57 | #endif _OS_H_ | ^ | // /wrkdirs/usr/ports/net/mopd/work/mopd-2.5.3/mopprobe/../common/cmp.c:37:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 37 | mopCmpEAddr(addr1, addr2) | ^ 2 warnings generated. --- 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] 57 | #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] 92 | #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] 194 | #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] 196 | #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] 52 | #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] 62 | #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] 58 | #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] 44 | #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] 56 | #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] 181 | #endif _NMADEF_H_ | ^ | // mopprobe.c:75:1: warning: return type of 'main' is not 'int' [-Wmain-return-type] 75 | void | ^ mopprobe.c:75:1: note: change return type to 'int' 75 | void | ^~~~ | int mopprobe.c:85:17: warning: call to undeclared library function 'strrchr' with type 'char *(const char *, int)'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 85 | if ((Program = strrchr(argv[0], '/'))) | ^ mopprobe.c:85:17: note: include the header or explicitly provide a declaration for 'strrchr' mopprobe.c:76:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 76 | main(argc, argv) | ^ mopprobe.c:146:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 146 | mopProcess(ii, pkt) | ^ 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] 180 | 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 40 | int mopCmpEAddr __P((u_char *,u_char *)); | ^ 15 warnings generated. --- 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] 57 | #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] 92 | #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] 194 | #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] 196 | #endif _MOPDEF_H_ | ^ | // /wrkdirs/usr/ports/net/mopd/work/mopd-2.5.3/mopprobe/../common/loop-bsd.c:54:22: warning: passing arguments to a function without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 54 | return (*(p->iopen))(p->if_name, | ^ /wrkdirs/usr/ports/net/mopd/work/mopd-2.5.3/mopprobe/../common/loop-bsd.c:49:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 49 | mopOpenRC(p, trans) | ^ /wrkdirs/usr/ports/net/mopd/work/mopd-2.5.3/mopprobe/../common/loop-bsd.c:64:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 64 | mopOpenDL(p, trans) | ^ 7 warnings generated. --- 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] 57 | #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] 92 | #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] 194 | #endif MOPDEF_SUPRESS_EXTERN | ^ | // --- 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] 194 | #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] 196 | #endif _MOPDEF_H_ | ^ | // /wrkdirs/usr/ports/net/mopd/work/mopd-2.5.3/mopprobe/../common/get.c:38:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 38 | mopGetChar(pkt, index) | ^ /wrkdirs/usr/ports/net/mopd/work/mopd-2.5.3/mopprobe/../common/get.c:50:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] --- device.o --- /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] 196 | #endif _MOPDEF_H_ | ^ | // /wrkdirs/usr/ports/net/mopd/work/mopd-2.5.3/mopprobe/../common/device.c:95:8: warning: call to undeclared library function 'strncmp' with type 'int (const char *, const char *, unsigned long)'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 95 | 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:59:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 59 | deviceEthAddr(ifname, eaddr) | ^ /wrkdirs/usr/ports/net/mopd/work/mopd-2.5.3/mopprobe/../common/device.c:114:2: warning: call to undeclared library function 'strncpy' with type 'char *(char *, const char *, unsigned long)'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 114 | 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:107:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 107 | deviceOpen(ifname, proto, trans) | ^ /wrkdirs/usr/ports/net/mopd/work/mopd-2.5.3/mopprobe/../common/device.c:202:7: warning: call to undeclared library function 'strcmp' with type 'int (const char *, const char *)'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 202 | 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' /wrkdirs/usr/ports/net/mopd/work/mopd-2.5.3/mopprobe/../common/device.c:211:17: warning: passing arguments to 'pfTrans' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 211 | trans = pfTrans(interface); | ^ /wrkdirs/usr/ports/net/mopd/work/mopd-2.5.3/mopprobe/../common/device.c:165:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 165 | deviceInitOne(ifname) | ^ 11 warnings generated. --- get.o --- 50 | mopGetShort(pkt, index) | ^ /wrkdirs/usr/ports/net/mopd/work/mopd-2.5.3/mopprobe/../common/get.c:62:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 62 | mopGetLong(pkt, index) | ^ /wrkdirs/usr/ports/net/mopd/work/mopd-2.5.3/mopprobe/../common/get.c:77:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 77 | mopGetMulti(pkt, index, dest, size) | ^ /wrkdirs/usr/ports/net/mopd/work/mopd-2.5.3/mopprobe/../common/get.c:99:7: warning: call to undeclared function 'ntohs'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 99 | if (ntohs(*ptype) < 1600) { | ^ /wrkdirs/usr/ports/net/mopd/work/mopd-2.5.3/mopprobe/../common/get.c:91:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 91 | mopGetTrans(pkt, trans) | ^ /wrkdirs/usr/ports/net/mopd/work/mopd-2.5.3/mopprobe/../common/get.c:109:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 109 | mopGetHeader(pkt, index, dst, src, proto, len, trans) | ^ /wrkdirs/usr/ports/net/mopd/work/mopd-2.5.3/mopprobe/../common/get.c:135:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 135 | mopGetLength(pkt, trans) | ^ 10 warnings generated. --- 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] 194 | #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] 196 | #endif _MOPDEF_H_ | ^ | // /wrkdirs/usr/ports/net/mopd/work/mopd-2.5.3/mopprobe/../common/pf.c:77:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 77 | pfTrans(interface) | ^ /wrkdirs/usr/ports/net/mopd/work/mopd-2.5.3/mopprobe/../common/pf.c:132:9: warning: call to undeclared library function 'strncpy' with type 'char *(char *, const char *, unsigned long)'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 132 | (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' /wrkdirs/usr/ports/net/mopd/work/mopd-2.5.3/mopprobe/../common/pf.c:88:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 88 | pfInit(interface, mode, protocol, typ) | ^ /wrkdirs/usr/ports/net/mopd/work/mopd-2.5.3/mopprobe/../common/pf.c:170:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 170 | pfAddMulti(s, interface, addr) | ^ /wrkdirs/usr/ports/net/mopd/work/mopd-2.5.3/mopprobe/../common/pf.c:206:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 206 | pfDelMulti(s, interface, addr) | ^ /wrkdirs/usr/ports/net/mopd/work/mopd-2.5.3/mopprobe/../common/pf.c:242:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 242 | pfRead(fd, buf, len) | ^ /wrkdirs/usr/ports/net/mopd/work/mopd-2.5.3/mopprobe/../common/pf.c:254:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 254 | pfWrite(fd, buf, len, trans) | ^ 9 warnings generated. --- 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] 194 | #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] 196 | #endif _MOPDEF_H_ | ^ | // 2 warnings generated. --- 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 -std=gnu99 -Wno-format-zero-length -nobuiltininc -idirafter /usr/lib/clang/19/include -fstack-protector-strong -Qunused-arguments -Wl,-zrelro -pie -o mopprobe mopprobe.o device.o get.o cmp.o mopdef.o version.o pf.o loop-bsd.o -lkvm --- all_subdir_moptrace --- ===> moptrace (all) --- objwarn --- --- version.c --- --- objwarn --- Warning: Object directory not changed from original /wrkdirs/usr/ports/net/mopd/work/mopd-2.5.3/moptrace --- version.c --- 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 --- .depend --- echo moptrace: /usr/lib/libc.a >> .depend --- 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 --- --- moptrace.1.gz --- --- 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.version.o -MTversion.o -std=gnu99 -Wno-format-zero-length -nobuiltininc -idirafter /usr/lib/clang/19/include -fstack-protector-strong -Qunused-arguments -c version.c -o version.o --- device.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.device.o -MTdevice.o -std=gnu99 -Wno-format-zero-length -nobuiltininc -idirafter /usr/lib/clang/19/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] 57 | #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] 92 | #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] 194 | #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] 196 | #endif _MOPDEF_H_ | ^ | // /wrkdirs/usr/ports/net/mopd/work/mopd-2.5.3/moptrace/../common/device.c:95:8: warning: call to undeclared library function 'strncmp' with type 'int (const char *, const char *, unsigned long)'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 95 | 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:59:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 59 | deviceEthAddr(ifname, eaddr) | ^ /wrkdirs/usr/ports/net/mopd/work/mopd-2.5.3/moptrace/../common/device.c:114:2: warning: call to undeclared library function 'strncpy' with type 'char *(char *, const char *, unsigned long)'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 114 | 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:107:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 107 | deviceOpen(ifname, proto, trans) | ^ /wrkdirs/usr/ports/net/mopd/work/mopd-2.5.3/moptrace/../common/device.c:202:7: warning: call to undeclared library function 'strcmp' with type 'int (const char *, const char *)'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 202 | 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' /wrkdirs/usr/ports/net/mopd/work/mopd-2.5.3/moptrace/../common/device.c:211:17: warning: passing arguments to 'pfTrans' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 211 | trans = pfTrans(interface); | ^ /wrkdirs/usr/ports/net/mopd/work/mopd-2.5.3/moptrace/../common/device.c:165:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 165 | deviceInitOne(ifname) | ^ 11 warnings generated. --- nma.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.nma.o -MTnma.o -std=gnu99 -Wno-format-zero-length -nobuiltininc -idirafter /usr/lib/clang/19/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] 181 | #endif _NMADEF_H_ | ^ | // /wrkdirs/usr/ports/net/mopd/work/mopd-2.5.3/moptrace/../common/nma.c:192:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 192 | nmaGetShort(devno) | ^ /wrkdirs/usr/ports/net/mopd/work/mopd-2.5.3/moptrace/../common/nma.c:209:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 209 | nmaGetDevice(devno) | ^ 3 warnings generated. --- mopdef.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.mopdef.o -MTmopdef.o -std=gnu99 -Wno-format-zero-length -nobuiltininc -idirafter /usr/lib/clang/19/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] 194 | #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] 196 | #endif _MOPDEF_H_ | ^ | // 2 warnings generated. --- get.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.get.o -MTget.o -std=gnu99 -Wno-format-zero-length -nobuiltininc -idirafter /usr/lib/clang/19/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] 194 | #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] 196 | #endif _MOPDEF_H_ | ^ | // /wrkdirs/usr/ports/net/mopd/work/mopd-2.5.3/moptrace/../common/get.c:38:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 38 | mopGetChar(pkt, index) | ^ /wrkdirs/usr/ports/net/mopd/work/mopd-2.5.3/moptrace/../common/get.c:50:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 50 | mopGetShort(pkt, index) | ^ /wrkdirs/usr/ports/net/mopd/work/mopd-2.5.3/moptrace/../common/get.c:62:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 62 | mopGetLong(pkt, index) | ^ /wrkdirs/usr/ports/net/mopd/work/mopd-2.5.3/moptrace/../common/get.c:77:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 77 | mopGetMulti(pkt, index, dest, size) | ^ /wrkdirs/usr/ports/net/mopd/work/mopd-2.5.3/moptrace/../common/get.c:99:7: warning: call to undeclared function 'ntohs'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 99 | if (ntohs(*ptype) < 1600) { | ^ /wrkdirs/usr/ports/net/mopd/work/mopd-2.5.3/moptrace/../common/get.c:91:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 91 | mopGetTrans(pkt, trans) | ^ /wrkdirs/usr/ports/net/mopd/work/mopd-2.5.3/moptrace/../common/get.c:109:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 109 | mopGetHeader(pkt, index, dst, src, proto, len, trans) | ^ /wrkdirs/usr/ports/net/mopd/work/mopd-2.5.3/moptrace/../common/get.c:135:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 135 | mopGetLength(pkt, trans) | ^ 10 warnings generated. --- cmp.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.cmp.o -MTcmp.o -std=gnu99 -Wno-format-zero-length -nobuiltininc -idirafter /usr/lib/clang/19/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] 57 | #endif _OS_H_ | ^ | // /wrkdirs/usr/ports/net/mopd/work/mopd-2.5.3/moptrace/../common/cmp.c:37:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 37 | mopCmpEAddr(addr1, addr2) | ^ 2 warnings generated. --- print.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.print.o -MTprint.o -std=gnu99 -Wno-format-zero-length -nobuiltininc -idirafter /usr/lib/clang/19/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] 57 | #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] 194 | #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] 196 | #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] 181 | #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] 46 | #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] 44 | #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] 58 | #endif _GET_H_ | ^ | // /wrkdirs/usr/ports/net/mopd/work/mopd-2.5.3/moptrace/../common/print.c:47:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 47 | mopPrintHWA(fd, ap) | ^ /wrkdirs/usr/ports/net/mopd/work/mopd-2.5.3/moptrace/../common/print.c:62:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 62 | mopPrintBPTY(fd, bpty) | ^ /wrkdirs/usr/ports/net/mopd/work/mopd-2.5.3/moptrace/../common/print.c:80:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 80 | mopPrintPGTY(fd, pgty) | ^ /wrkdirs/usr/ports/net/mopd/work/mopd-2.5.3/moptrace/../common/print.c:104:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 104 | mopPrintOneline(fd, pkt, trans) | ^ /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] 268 | 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 40 | 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] 271 | 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 40 | int mopCmpEAddr __P((u_char *,u_char *)); | ^ /wrkdirs/usr/ports/net/mopd/work/mopd-2.5.3/moptrace/../common/print.c:254:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 254 | mopPrintHeader(fd, pkt, trans) | ^ /wrkdirs/usr/ports/net/mopd/work/mopd-2.5.3/moptrace/../common/print.c:318:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 318 | mopPrintMopHeader(fd, pkt, trans) | ^ /wrkdirs/usr/ports/net/mopd/work/mopd-2.5.3/moptrace/../common/print.c:430:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 430 | mopPrintDevice(fd, device) | ^ /wrkdirs/usr/ports/net/mopd/work/mopd-2.5.3/moptrace/../common/print.c:443:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 443 | mopPrintTime(fd, ap) | ^ /wrkdirs/usr/ports/net/mopd/work/mopd-2.5.3/moptrace/../common/print.c:547:14: warning: equality comparison with extraneous parentheses [-Wparentheses-equality] 547 | 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 547 | 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 547 | 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] 550 | 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 550 | 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 550 | 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] 554 | 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 554 | 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 554 | if ((tmpc == 255)) { | ^~ | = /wrkdirs/usr/ports/net/mopd/work/mopd-2.5.3/moptrace/../common/print.c:454:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 454 | mopPrintInfo(fd, pkt, index, moplen, mopcode, trans) | ^ 21 warnings generated. --- moptrace.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.moptrace.o -MTmoptrace.o -std=gnu99 -Wno-format-zero-length -nobuiltininc -idirafter /usr/lib/clang/19/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] 57 | #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] 92 | #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] 194 | #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] 196 | #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] 52 | #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] 62 | #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] 56 | #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] 44 | #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] 44 | #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] 58 | #endif _GET_H_ | ^ | // moptrace.c:74:1: warning: return type of 'main' is not 'int' [-Wmain-return-type] 74 | void | ^ moptrace.c:74:1: note: change return type to 'int' 74 | void | ^~~~ | int moptrace.c:84:17: warning: call to undeclared library function 'strrchr' with type 'char *(const char *, int)'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 84 | if ((Program = strrchr(argv[0], '/'))) | ^ moptrace.c:84:17: note: include the header or explicitly provide a declaration for 'strrchr' moptrace.c:75:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 75 | main(argc, argv) | ^ moptrace.c:144:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 144 | mopProcess(ii, pkt) | ^ 14 warnings generated. --- dl.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.dl.o -MTdl.o -std=gnu99 -Wno-format-zero-length -nobuiltininc -idirafter /usr/lib/clang/19/include -fstack-protector-strong -Qunused-arguments -c /wrkdirs/usr/ports/net/mopd/work/mopd-2.5.3/moptrace/../common/dl.c -o dl.o --- rc.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.rc.o -MTrc.o -std=gnu99 -Wno-format-zero-length -nobuiltininc -idirafter /usr/lib/clang/19/include -fstack-protector-strong -Qunused-arguments -c /wrkdirs/usr/ports/net/mopd/work/mopd-2.5.3/moptrace/../common/rc.c -o rc.o --- moptrace.1.gz --- gzip -cn moptrace.1 > moptrace.1.gz --- pf.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/19/include -fstack-protector-strong -Qunused-arguments -c /wrkdirs/usr/ports/net/mopd/work/mopd-2.5.3/moptrace/../common/pf.c -o pf.o --- loop-bsd.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.loop-bsd.o -MTloop-bsd.o -std=gnu99 -Wno-format-zero-length -nobuiltininc -idirafter /usr/lib/clang/19/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] 57 | #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] 92 | #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] 194 | #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] 196 | #endif _MOPDEF_H_ | ^ | // /wrkdirs/usr/ports/net/mopd/work/mopd-2.5.3/moptrace/../common/loop-bsd.c:54:22: warning: passing arguments to a function without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 54 | return (*(p->iopen))(p->if_name, | ^ /wrkdirs/usr/ports/net/mopd/work/mopd-2.5.3/moptrace/../common/loop-bsd.c:49:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 49 | mopOpenRC(p, trans) | ^ /wrkdirs/usr/ports/net/mopd/work/mopd-2.5.3/moptrace/../common/loop-bsd.c:69:22: warning: passing arguments to a function without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 69 | return (*(p->iopen))(p->if_name, | ^ /wrkdirs/usr/ports/net/mopd/work/mopd-2.5.3/moptrace/../common/loop-bsd.c:64:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 64 | mopOpenDL(p, trans) | ^ 8 warnings generated. --- 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] 57 | #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] 58 | #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] 62 | #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] 194 | #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] 196 | #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] 71 | (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] 102 | (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] 116 | (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] 153 | (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] 195 | 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 195 | 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 195 | 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] 212 | (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] 223 | (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] 307 | (void)fprintf(fd,"Transfer Addr: %08x\n",tmpl); | ~~~~ ^~~~ | %08lx /wrkdirs/usr/ports/net/mopd/work/mopd-2.5.3/moptrace/../common/dl.c:40:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 40 | mopDumpDL(fd, pkt, trans) | ^ 14 warnings generated. --- 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] 194 | #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] 196 | #endif _MOPDEF_H_ | ^ | // /wrkdirs/usr/ports/net/mopd/work/mopd-2.5.3/moptrace/../common/pf.c:77:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 77 | pfTrans(interface) | ^ /wrkdirs/usr/ports/net/mopd/work/mopd-2.5.3/moptrace/../common/pf.c:132:9: warning: call to undeclared library function 'strncpy' with type 'char *(char *, const char *, unsigned long)'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 132 | (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' /wrkdirs/usr/ports/net/mopd/work/mopd-2.5.3/moptrace/../common/pf.c:88:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 88 | pfInit(interface, mode, protocol, typ) | ^ /wrkdirs/usr/ports/net/mopd/work/mopd-2.5.3/moptrace/../common/pf.c:170:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 170 | pfAddMulti(s, interface, addr) | ^ /wrkdirs/usr/ports/net/mopd/work/mopd-2.5.3/moptrace/../common/pf.c:206:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 206 | pfDelMulti(s, interface, addr) | ^ /wrkdirs/usr/ports/net/mopd/work/mopd-2.5.3/moptrace/../common/pf.c:242:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 242 | pfRead(fd, buf, len) | ^ /wrkdirs/usr/ports/net/mopd/work/mopd-2.5.3/moptrace/../common/pf.c:254:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 254 | pfWrite(fd, buf, len, trans) | ^ 9 warnings generated. --- 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] 57 | #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] 58 | #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] 62 | #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] 194 | #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] 196 | #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] 75 | 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 75 | 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 75 | 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] 81 | (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] 118 | 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 118 | 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 118 | 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] 121 | 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 121 | 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 121 | 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] 125 | 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 125 | 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 125 | 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] 167 | (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] 167 | (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] 170 | (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] 170 | (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] 173 | (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] 173 | (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] 176 | (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] 176 | (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] 179 | (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] 179 | (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] 182 | (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] 182 | (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] 185 | (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] 185 | (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] 188 | (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] 188 | (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] 191 | (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] 191 | (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] 232 | (void)fprintf(fd,"Verification : %08x\n",tmpl); | ~~~~ ^~~~ | %08lx /wrkdirs/usr/ports/net/mopd/work/mopd-2.5.3/moptrace/../common/rc.c:40:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 40 | mopDumpRC(fd, pkt, trans) | ^ 30 warnings generated. --- 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 -std=gnu99 -Wno-format-zero-length -nobuiltininc -idirafter /usr/lib/clang/19/include -fstack-protector-strong -Qunused-arguments -Wl,-zrelro -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 --- all_subdir_mopchk --- ===> mopchk (all) --- objwarn --- --- version.c --- --- objwarn --- Warning: Object directory not changed from original /wrkdirs/usr/ports/net/mopd/work/mopd-2.5.3/mopchk --- version.c --- 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 --- .depend --- echo mopchk: /usr/lib/libc.a >> .depend --- mopchk.o --- --- device.o --- --- version.o --- --- pf.o --- --- loop-bsd.o --- --- file.o --- --- mopchk.1.gz --- --- 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.version.o -MTversion.o -std=gnu99 -Wno-format-zero-length -nobuiltininc -idirafter /usr/lib/clang/19/include -fstack-protector-strong -Qunused-arguments -c version.c -o version.o --- mopchk.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.mopchk.o -MTmopchk.o -std=gnu99 -Wno-format-zero-length -nobuiltininc -idirafter /usr/lib/clang/19/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] 57 | #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] 92 | #endif _COMMON_H_ | ^ | // In file included from mopchk.c:42: --- device.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.device.o -MTdevice.o -std=gnu99 -Wno-format-zero-length -nobuiltininc -idirafter /usr/lib/clang/19/include -fstack-protector-strong -Qunused-arguments -c /wrkdirs/usr/ports/net/mopd/work/mopd-2.5.3/mopchk/../common/device.c -o device.o --- mopchk.1.gz --- gzip -cn mopchk.1 > mopchk.1.gz --- pf.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/19/include -fstack-protector-strong -Qunused-arguments -c /wrkdirs/usr/ports/net/mopd/work/mopd-2.5.3/mopchk/../common/pf.c -o pf.o --- loop-bsd.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.loop-bsd.o -MTloop-bsd.o -std=gnu99 -Wno-format-zero-length -nobuiltininc -idirafter /usr/lib/clang/19/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 --- file.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.file.o -MTfile.o -std=gnu99 -Wno-format-zero-length -nobuiltininc -idirafter /usr/lib/clang/19/include -fstack-protector-strong -Qunused-arguments -c /wrkdirs/usr/ports/net/mopd/work/mopd-2.5.3/mopchk/../common/file.c -o file.o --- mopchk.o --- /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] 194 | #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] 196 | #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] 52 | #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] 56 | #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] 67 | #endif _FILE_H_ | ^ | // mopchk.c:67:1: warning: return type of 'main' is not 'int' [-Wmain-return-type] 67 | void | ^ mopchk.c:67:1: note: change return type to 'int' 67 | void | ^~~~ | int mopchk.c:79:17: warning: call to undeclared library function 'strrchr' with type 'char *(const char *, int)'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 79 | if ((Program = strrchr(argv[0], '/'))) | ^ mopchk.c:79:17: note: include the header or explicitly provide a declaration for 'strrchr' mopchk.c:68:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 68 | main(argc, argv) | ^ mopchk.c:164:63: warning: format specifies type 'int' but the argument has type 'char *' [-Wformat] 164 | (void) fprintf(stderr, "usage: %d [-a] [-v] [filename...]\n",Program); | ~~ ^~~~~~~ | %s mopchk.c:172:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 172 | mopProcess(ii, pkt) | ^ mopchk.c:65:6: warning: tentative array definition assumed to have one element [-Wtentative-definition-array] 65 | char version[]; | ^ 13 warnings generated. --- 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] 57 | #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] 92 | #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] 194 | #endif MOPDEF_SUPRESS_EXTERN | ^ | // --- 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] 57 | #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] 92 | #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] 194 | #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] 196 | #endif _MOPDEF_H_ | ^ | // /wrkdirs/usr/ports/net/mopd/work/mopd-2.5.3/mopchk/../common/loop-bsd.c:54:22: warning: passing arguments to a function without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 54 | return (*(p->iopen))(p->if_name, | ^ /wrkdirs/usr/ports/net/mopd/work/mopd-2.5.3/mopchk/../common/loop-bsd.c:49:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 49 | mopOpenRC(p, trans) | ^ /wrkdirs/usr/ports/net/mopd/work/mopd-2.5.3/mopchk/../common/loop-bsd.c:69:22: warning: passing arguments to a function without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 69 | return (*(p->iopen))(p->if_name, | ^ /wrkdirs/usr/ports/net/mopd/work/mopd-2.5.3/mopchk/../common/loop-bsd.c:64:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 64 | mopOpenDL(p, trans) | ^ 8 warnings generated. --- 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] 194 | #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] 196 | #endif _MOPDEF_H_ | ^ | // /wrkdirs/usr/ports/net/mopd/work/mopd-2.5.3/mopchk/../common/pf.c:77:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 77 | pfTrans(interface) | ^ /wrkdirs/usr/ports/net/mopd/work/mopd-2.5.3/mopchk/../common/pf.c:132:9: warning: call to undeclared library function 'strncpy' with type 'char *(char *, const char *, unsigned long)'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 132 | (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' /wrkdirs/usr/ports/net/mopd/work/mopd-2.5.3/mopchk/../common/pf.c:88:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 88 | pfInit(interface, mode, protocol, typ) | ^ /wrkdirs/usr/ports/net/mopd/work/mopd-2.5.3/mopchk/../common/pf.c:170:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 170 | pfAddMulti(s, interface, addr) | ^ /wrkdirs/usr/ports/net/mopd/work/mopd-2.5.3/mopchk/../common/pf.c:206:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 206 | pfDelMulti(s, interface, addr) | ^ /wrkdirs/usr/ports/net/mopd/work/mopd-2.5.3/mopchk/../common/pf.c:242:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 242 | pfRead(fd, buf, len) | ^ /wrkdirs/usr/ports/net/mopd/work/mopd-2.5.3/mopchk/../common/pf.c:254:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 254 | pfWrite(fd, buf, len, trans) | ^ 9 warnings generated. --- device.o --- /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] 196 | #endif _MOPDEF_H_ | ^ | // /wrkdirs/usr/ports/net/mopd/work/mopd-2.5.3/mopchk/../common/device.c:95:8: warning: call to undeclared library function 'strncmp' with type 'int (const char *, const char *, unsigned long)'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 95 | 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:59:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 59 | deviceEthAddr(ifname, eaddr) | ^ /wrkdirs/usr/ports/net/mopd/work/mopd-2.5.3/mopchk/../common/device.c:114:2: warning: call to undeclared library function 'strncpy' with type 'char *(char *, const char *, unsigned long)'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 114 | 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:107:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 107 | deviceOpen(ifname, proto, trans) | ^ /wrkdirs/usr/ports/net/mopd/work/mopd-2.5.3/mopchk/../common/device.c:202:7: warning: call to undeclared library function 'strcmp' with type 'int (const char *, const char *)'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 202 | 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' /wrkdirs/usr/ports/net/mopd/work/mopd-2.5.3/mopchk/../common/device.c:211:17: warning: passing arguments to 'pfTrans' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 211 | trans = pfTrans(interface); | ^ /wrkdirs/usr/ports/net/mopd/work/mopd-2.5.3/mopchk/../common/device.c:165:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 165 | deviceInitOne(ifname) | ^ 11 warnings generated. --- 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] 57 | #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] 92 | #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] 194 | #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] 196 | #endif _MOPDEF_H_ | ^ | // /wrkdirs/usr/ports/net/mopd/work/mopd-2.5.3/mopchk/../common/file.c:55:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 55 | mopFilePutLX(buf, index, value, cnt) | ^ /wrkdirs/usr/ports/net/mopd/work/mopd-2.5.3/mopchk/../common/file.c:68:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 68 | mopFilePutBX(buf, index, value, cnt) | ^ /wrkdirs/usr/ports/net/mopd/work/mopd-2.5.3/mopchk/../common/file.c:81:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 81 | mopFileGetLX(buf, index, cnt) | ^ /wrkdirs/usr/ports/net/mopd/work/mopd-2.5.3/mopchk/../common/file.c:96:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 96 | mopFileGetBX(buf, index, cnt) | ^ /wrkdirs/usr/ports/net/mopd/work/mopd-2.5.3/mopchk/../common/file.c:111:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 111 | mopFileSwapX(buf, index, cnt) | ^ /wrkdirs/usr/ports/net/mopd/work/mopd-2.5.3/mopchk/../common/file.c:127:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 127 | CheckMopFile(fd) | ^ /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] 190 | 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] 191 | 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] 192 | 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] 193 | 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] 203 | 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] 204 | 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] 205 | 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] 206 | 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] 243 | 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] 244 | 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] 245 | 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] 246 | 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] 266 | 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] 267 | 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] 268 | 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] 269 | printf("Transfer Address: %08x\n",xfr_addr); | ~~~~ ^~~~~~~~ | %08lx /wrkdirs/usr/ports/net/mopd/work/mopd-2.5.3/mopchk/../common/file.c:158:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 158 | GetMopFileInfo(fd, load, xfr) | ^ /wrkdirs/usr/ports/net/mopd/work/mopd-2.5.3/mopchk/../common/file.c:292:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 292 | getMID(old_mid,new_mid) | ^ /wrkdirs/usr/ports/net/mopd/work/mopd-2.5.3/mopchk/../common/file.c:357:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 357 | getCLBYTES(mid) | ^ /wrkdirs/usr/ports/net/mopd/work/mopd-2.5.3/mopchk/../common/file.c:427:20: warning: call to undeclared function 'ntohl'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 427 | mid = getMID(mid, N_GETMID (ex)); | ^ /usr/include/sys/imgact_aout.h:40:5: note: expanded from macro 'N_GETMID' 40 | ( (N_GETMAGIC_NET(ex) == ZMAGIC) ? N_GETMID_NET(ex) : \ | ^ /usr/include/sys/imgact_aout.h:51:3: note: expanded from macro 'N_GETMAGIC_NET' 51 | (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] 438 | #endif NOAOUT | ^ | // /wrkdirs/usr/ports/net/mopd/work/mopd-2.5.3/mopchk/../common/file.c:407:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 407 | CheckAOutFile(fd) | ^ /wrkdirs/usr/ports/net/mopd/work/mopd-2.5.3/mopchk/../common/file.c:466:20: warning: call to undeclared function 'ntohl'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 466 | mid = getMID(mid, N_GETMID (ex)); | ^ /usr/include/sys/imgact_aout.h:40:5: note: expanded from macro 'N_GETMID' 40 | ( (N_GETMAGIC_NET(ex) == ZMAGIC) ? N_GETMID_NET(ex) : \ | ^ /usr/include/sys/imgact_aout.h:51:3: note: expanded from macro 'N_GETMAGIC_NET' 51 | (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] 682 | #endif NOAOUT | ^ | // /wrkdirs/usr/ports/net/mopd/work/mopd-2.5.3/mopchk/../common/file.c:443:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 443 | GetAOutFileInfo(fd, load, xfr, a_text, a_text_fill, | ^ /wrkdirs/usr/ports/net/mopd/work/mopd-2.5.3/mopchk/../common/file.c:687:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 687 | GetFileInfo(fd, load, xfr, aout, | ^ /wrkdirs/usr/ports/net/mopd/work/mopd-2.5.3/mopchk/../common/file.c:725:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 725 | mopFileRead(dlslot, buf) | ^ 37 warnings generated. --- 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 -std=gnu99 -Wno-format-zero-length -nobuiltininc -idirafter /usr/lib/clang/19/include -fstack-protector-strong -Qunused-arguments -Wl,-zrelro -pie -o mopchk mopchk.o device.o version.o pf.o loop-bsd.o file.o -lkvm --- all_subdir_mopa.out --- ===> mopa.out (all) --- objwarn --- --- .depend --- echo mopa.out: /usr/lib/libc.a >> .depend --- objwarn --- Warning: Object directory not changed from original /wrkdirs/usr/ports/net/mopd/work/mopd-2.5.3/mopa.out --- mopa.out.o --- --- file.o --- --- mopa.out.1.gz --- --- mopa.out.o --- 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/19/include -fstack-protector-strong -Qunused-arguments -c mopa.out.c -o mopa.out.o --- file.o --- 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/19/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 --- mopa.out.1.gz --- gzip -cn mopa.out.1 > mopa.out.1.gz --- 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] 57 | #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] 92 | #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] 194 | #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] 196 | #endif _MOPDEF_H_ | ^ | // /wrkdirs/usr/ports/net/mopd/work/mopd-2.5.3/mopa.out/../common/file.c:55:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 55 | mopFilePutLX(buf, index, value, cnt) | ^ /wrkdirs/usr/ports/net/mopd/work/mopd-2.5.3/mopa.out/../common/file.c:68:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 68 | mopFilePutBX(buf, index, value, cnt) | ^ /wrkdirs/usr/ports/net/mopd/work/mopd-2.5.3/mopa.out/../common/file.c:81:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 81 | mopFileGetLX(buf, index, cnt) | ^ /wrkdirs/usr/ports/net/mopd/work/mopd-2.5.3/mopa.out/../common/file.c:96:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 96 | mopFileGetBX(buf, index, cnt) | ^ /wrkdirs/usr/ports/net/mopd/work/mopd-2.5.3/mopa.out/../common/file.c:111:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 111 | mopFileSwapX(buf, index, cnt) | ^ /wrkdirs/usr/ports/net/mopd/work/mopd-2.5.3/mopa.out/../common/file.c:127:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 127 | CheckMopFile(fd) | ^ /wrkdirs/usr/ports/net/mopd/work/mopd-2.5.3/mopa.out/../common/file.c:158:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 158 | GetMopFileInfo(fd, load, xfr) | ^ /wrkdirs/usr/ports/net/mopd/work/mopd-2.5.3/mopa.out/../common/file.c:292:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 292 | getMID(old_mid,new_mid) | ^ /wrkdirs/usr/ports/net/mopd/work/mopd-2.5.3/mopa.out/../common/file.c:357:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 357 | getCLBYTES(mid) | ^ /wrkdirs/usr/ports/net/mopd/work/mopd-2.5.3/mopa.out/../common/file.c:427:20: warning: call to undeclared function 'ntohl'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 427 | mid = getMID(mid, N_GETMID (ex)); | ^ /usr/include/sys/imgact_aout.h:40:5: note: expanded from macro 'N_GETMID' 40 | ( (N_GETMAGIC_NET(ex) == ZMAGIC) ? N_GETMID_NET(ex) : \ | ^ /usr/include/sys/imgact_aout.h:51:3: note: expanded from macro 'N_GETMAGIC_NET' 51 | (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] 438 | #endif NOAOUT | ^ | // /wrkdirs/usr/ports/net/mopd/work/mopd-2.5.3/mopa.out/../common/file.c:407:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 407 | CheckAOutFile(fd) | ^ /wrkdirs/usr/ports/net/mopd/work/mopd-2.5.3/mopa.out/../common/file.c:466:20: warning: call to undeclared function 'ntohl'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 466 | mid = getMID(mid, N_GETMID (ex)); | ^ /usr/include/sys/imgact_aout.h:40:5: note: expanded from macro 'N_GETMID' 40 | ( (N_GETMAGIC_NET(ex) == ZMAGIC) ? N_GETMID_NET(ex) : \ | ^ /usr/include/sys/imgact_aout.h:51:3: note: expanded from macro 'N_GETMAGIC_NET' 51 | (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] 682 | #endif NOAOUT | ^ | // /wrkdirs/usr/ports/net/mopd/work/mopd-2.5.3/mopa.out/../common/file.c:443:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 443 | GetAOutFileInfo(fd, load, xfr, a_text, a_text_fill, | ^ /wrkdirs/usr/ports/net/mopd/work/mopd-2.5.3/mopa.out/../common/file.c:687:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 687 | GetFileInfo(fd, load, xfr, aout, | ^ /wrkdirs/usr/ports/net/mopd/work/mopd-2.5.3/mopa.out/../common/file.c:725:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 725 | mopFileRead(dlslot, buf) | ^ 21 warnings generated. --- 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] 57 | #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] 92 | #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] 194 | #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] 196 | #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] 67 | #endif _FILE_H_ | ^ | // mopa.out.c:106:21: warning: invalid conversion specifier ':' [-Wformat-invalid-specifier] 106 | fprintf(stderr,"s%: not an a.out file\n",argv[1]); | ~^ mopa.out.c:149:14: warning: call to undeclared function 'mopFileRead'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 149 | while ((i = mopFileRead(&dl,header)) > 0) { | ^ 7 warnings generated. --- 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 -std=gnu99 -Wno-format-zero-length -nobuiltininc -idirafter /usr/lib/clang/19/include -fstack-protector-strong -Qunused-arguments -Wl,-zrelro -pie -o mopa.out mopa.out.o file.o =========================================================================== =================================================== ===== 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=2026-01-21T17:23:35+0000' 'PKG_NOTE_ports_top_git_hash=076a295eb33c' 'PKG_NOTE_ports_top_checkout_unclean=no' 'PKG_NOTE_port_git_hash=5c00cf3d35cc' 'PKG_NOTE_port_checkout_unclean=no' 'PKG_NOTE_built_by=poudriere-git-3.4.2' 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 Wed Jan 21 12:24:10 EST 2026 build time: 00:00:37