Log
[1m===> Building for trafd-3.0.2.1[0m
===> lib (all)
"/usr/share/mk/bsd.compat.mk", line 36: warning: NOPROFILE is deprecated in favour of NO_PROFILE
Warning: Object directory not changed from original /magus/work/usr/mports/net-mgmt/trafd/work/trafd-3.0.2.1/lib
cc -O2 -pipe -fno-strict-aliasing -I../include -DRETSIGTYPE=void -DRETSIGVAL= -DPATH_TOSAVE=\"/usr/local/var/trafd/\" -DPATH_TRAFSTAT=\"/usr/local/bin/trafstat\" -DPATH_TRAFSTAT_LOG=\"/usr/local/var/log/trafstat.log\" -DPATH_TRAFLOG_FMT=\"/usr/local/etc/traflog.format\" -DTRAFSTAT_PORT=150 -DCSLIP -std=gnu99 -Qunused-arguments -fstack-protector -c addrtoname.c -o addrtoname.o
cc -O2 -pipe -fno-strict-aliasing -I../include -DRETSIGTYPE=void -DRETSIGVAL= -DPATH_TOSAVE=\"/usr/local/var/trafd/\" -DPATH_TRAFSTAT=\"/usr/local/bin/trafstat\" -DPATH_TRAFSTAT_LOG=\"/usr/local/var/log/trafstat.log\" -DPATH_TRAFLOG_FMT=\"/usr/local/etc/traflog.format\" -DTRAFSTAT_PORT=150 -DCSLIP -std=gnu99 -Qunused-arguments -fstack-protector -c bpf_dump.c -o bpf_dump.o
cc -O2 -pipe -fno-strict-aliasing -I../include -DRETSIGTYPE=void -DRETSIGVAL= -DPATH_TOSAVE=\"/usr/local/var/trafd/\" -DPATH_TRAFSTAT=\"/usr/local/bin/trafstat\" -DPATH_TRAFSTAT_LOG=\"/usr/local/var/log/trafstat.log\" -DPATH_TRAFLOG_FMT=\"/usr/local/etc/traflog.format\" -DTRAFSTAT_PORT=150 -DCSLIP -std=gnu99 -Qunused-arguments -fstack-protector -c interfaces.c -o interfaces.o
cc -O2 -pipe -fno-strict-aliasing -I../include -DRETSIGTYPE=void -DRETSIGVAL= -DPATH_TOSAVE=\"/usr/local/var/trafd/\" -DPATH_TRAFSTAT=\"/usr/local/bin/trafstat\" -DPATH_TRAFSTAT_LOG=\"/usr/local/var/log/trafstat.log\" -DPATH_TRAFLOG_FMT=\"/usr/local/etc/traflog.format\" -DTRAFSTAT_PORT=150 -DCSLIP -std=gnu99 -Qunused-arguments -fstack-protector -c util.c -o util.o
cc -O2 -pipe -fno-strict-aliasing -I../include -DRETSIGTYPE=void -DRETSIGVAL= -DPATH_TOSAVE=\"/usr/local/var/trafd/\" -DPATH_TRAFSTAT=\"/usr/local/bin/trafstat\" -DPATH_TRAFSTAT_LOG=\"/usr/local/var/log/trafstat.log\" -DPATH_TRAFLOG_FMT=\"/usr/local/etc/traflog.format\" -DTRAFSTAT_PORT=150 -DCSLIP -std=gnu99 -Qunused-arguments -fstack-protector -c savestr.c -o savestr.o
cc -O2 -pipe -fno-strict-aliasing -I../include -DRETSIGTYPE=void -DRETSIGVAL= -DPATH_TOSAVE=\"/usr/local/var/trafd/\" -DPATH_TRAFSTAT=\"/usr/local/bin/trafstat\" -DPATH_TRAFSTAT_LOG=\"/usr/local/var/log/trafstat.log\" -DPATH_TRAFLOG_FMT=\"/usr/local/etc/traflog.format\" -DTRAFSTAT_PORT=150 -DCSLIP -std=gnu99 -Qunused-arguments -fstack-protector -c setsignal.c -o setsignal.o
cc -O2 -pipe -fno-strict-aliasing -I../include -DRETSIGTYPE=void -DRETSIGVAL= -DPATH_TOSAVE=\"/usr/local/var/trafd/\" -DPATH_TRAFSTAT=\"/usr/local/bin/trafstat\" -DPATH_TRAFSTAT_LOG=\"/usr/local/var/log/trafstat.log\" -DPATH_TRAFLOG_FMT=\"/usr/local/etc/traflog.format\" -DTRAFSTAT_PORT=150 -DCSLIP -std=gnu99 -Qunused-arguments -fstack-protector -c version.c -o version.o
savestr.c:46:9: warning: implicitly declaring library function 'strlen' with type 'unsigned long (const char *)'
In file included from bpf_dump.c:32:
../include/interface.h:138:20: warning: unknown attribute 'volatile' ignored [-Wattributes]
__attribute__((volatile, format (printf, 1, 2)));
^
size = strlen(str) + 1;
^
savestr.c:46:9: note: please include the header or explicitly provide a declaration for 'strlen'
savestr.c:57:8: warning: implicitly declaring library function 'strcpy' with type 'char *(char *, const char *)'
(void)strcpy(strptr, str);
^
savestr.c:57:8: note: please include the header or explicitly provide a declaration for 'strcpy'
interfaces.c:36:10: fatal error: 'net/slip.h' file not found
#include
^
In file included from util.c:50:
../include/interface.h:138:20: warning: unknown attribute 'volatile' ignored [-Wattributes]
__attribute__((volatile, format (printf, 1, 2)));
^
2 warnings generated.
1 error generated.
In file included from addrtoname.c:59:
../include/interface.h:138:20: warning: unknown attribute 'volatile' ignored [-Wattributes]
__attribute__((volatile, format (printf, 1, 2)));
^
*** [interfaces.o] Error code 1
1 warning generated.
1 warning generated.
1 warning generated.
1 error
*** [all] Error code 2
1 error
===> Compilation failed unexpectedly.
Try to set MAKE_JOBS_UNSAFE=yes and rebuild before reporting the failure to
the maintainer.
*** [do-build] Error code 1
Stop in /usr/mports/net-mgmt/trafd.