MidnightBSD Magus

net-mgmt/trafd

Links

Depends On

Nothing

Depend Of

Nothing

Categories

The BPF Traffic Collector

Version Run OSVersion Arch License Status
3.0.1_2 184 0.3 amd64 bsd3 fail

Events

Machine Type Time Message
ds9 info 2010-09-03 14:59:58 Test Started
ds9 fail 2010-09-03 15:00:09 make build returned non-zero: 1
ds9 fail 2010-09-03 15:00:09 Test complete.

Log

===>  Building for trafd-3.0.1_2
===> Build in lib <===
cc -O2 -fno-strict-aliasing -pipe   -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\" -c addrtoname.c
cc -O2 -fno-strict-aliasing -pipe   -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\" -c bpf_dump.c
cc -O2 -fno-strict-aliasing -pipe   -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\" -c interfaces.c
interfaces.c: In function 'null_if_print':
interfaces.c:125: warning: incompatible implicit declaration of built-in function 'memcpy'
cc -O2 -fno-strict-aliasing -pipe   -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\" -c util.c
util.c:61: warning: function definition has qualified void return type
cc -O2 -fno-strict-aliasing -pipe   -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\" -c savestr.c
savestr.c: In function 'savestr':
savestr.c:46: warning: incompatible implicit declaration of built-in function 'strlen'
savestr.c:57: warning: incompatible implicit declaration of built-in function 'strcpy'
cc -O2 -fno-strict-aliasing -pipe   -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\" -c setsignal.c
cc -O2 -fno-strict-aliasing -pipe   -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\" -c version.c
rm -f libbpft.a
ar rc libbpft.a addrtoname.o bpf_dump.o interfaces.o  util.o savestr.o setsignal.o  version.o
ranlib libbpft.a
===> Build in trafd <===
cc -O2 -fno-strict-aliasing -pipe   -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\" -c main.c
main.c: In function 'main':
main.c:93: warning: return type of 'main' is not 'int'
cc -O2 -fno-strict-aliasing -pipe   -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\" -c traffic.c
traffic.c:72: error: static declaration of 'begin_time' follows non-static declaration
trafd.h:28: error: previous declaration of 'begin_time' was here
traffic.c: In function 'traf_add':
traffic.c:178: warning: incompatible implicit declaration of built-in function 'exit'
traffic.c: In function 'processing_ip':
traffic.c:549: warning: incompatible implicit declaration of built-in function 'exit'
traffic.c:557: warning: incompatible implicit declaration of built-in function 'exit'
traffic.c:565: warning: incompatible implicit declaration of built-in function 'exit'
*** Error code 1

Stop in /magus/work/usr/mports/net-mgmt/trafd/work/trafd-3.0.1/trafd.
*** Error code 1

Stop in /magus/work/usr/mports/net-mgmt/trafd/work/trafd-3.0.1.
*** Error code 1

Stop in /usr/mports/net-mgmt/trafd.