DF-1215 / rig_build.log
KMOD= bktrig
SRCS= bktrig.c
CFLAGS+= -I/usr/src/sys
.include <kmod.mk>
make: "/root/bktrig/Makefile" line 6: Could not find kmod.mk
make: Fatal errors encountered -- cannot continue
make: stopped in /root/bktrig
ls: bktrig.ko: No such file or directory
creating machine/ forwarding header /root/bktrig/forwarder_x86_64/include/machine/vframe.h
creating machine/ forwarding header /root/bktrig/forwarder_x86_64/include/machine/wchar.h
creating machine/ forwarding header /root/bktrig/forwarder_x86_64/include/machine/wchar_limits.h
creating sys/ forwarding header /root/bktrig/forwarder_x86_64/include/aio.h
creating sys/ forwarding header /root/bktrig/forwarder_x86_64/include/errno.h
creating sys/ forwarding header /root/bktrig/forwarder_x86_64/include/fcntl.h
creating sys/ forwarding header /root/bktrig/forwarder_x86_64/include/linker_set.h
creating sys/ forwarding header /root/bktrig/forwarder_x86_64/include/poll.h
creating sys/ forwarding header /root/bktrig/forwarder_x86_64/include/syslog.h
creating sys/ forwarding header /root/bktrig/forwarder_x86_64/include/ucontext.h
cc -O2 -pipe -D_KERNEL -Wall -Wredundant-decls -Wnested-externs -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Wcast-qual -Wold-style-definition -Wmissing-include-dirs -Wno-pointer-sign -Winit-self -Wundef -Wno-unused-but-set-variable -std=gnu11 -Werror -DKLD_MODULE -nostdinc -I. -Idragonfly -I/root/bktrig/forwarder_x86_64/include -Idragonfly/../include -I/usr/include -Wold-style-declaration -fno-common -ffreestanding -fno-stack-protector -fno-strict-aliasing -fno-strict-overflow -fno-asynchronous-unwind-tables -fno-omit-frame-pointer -mcmodel=kernel -mno-red-zone -mno-mmx -mno-sse -msoft-float -mno-fp-ret-in-387 -mindirect-branch=thunk-inline -c bktrig.c
In file included from bktrig.c:34:
dragonfly/sys/bus.h:500:10: fatal error: device_if.h: No such file or directory
#include "device_if.h"
^~~~~~~~~~~~~
compilation terminated.
*** Error code 1
Stop.
make: stopped making "all" in /root/bktrig
MAKE_RC=0
ls: bktrig.ko: No such file or directory
Warning: Object directory not changed from original /root/bktrig
cc -O2 -pipe -D_KERNEL -Wall -Wredundant-decls -Wnested-externs -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Wcast-qual -Wold-style-definition -Wmissing-include-dirs -Wno-pointer-sign -Winit-self -Wundef -Wno-unused-but-set-variable -std=gnu11 -Werror -DKLD_MODULE -nostdinc -I. -Idragonfly -I/root/bktrig/forwarder_x86_64/include -Idragonfly/../include -Wold-style-declaration -fno-common -ffreestanding -fno-stack-protector -fno-strict-aliasing -fno-strict-overflow -fno-asynchronous-unwind-tables -fno-omit-frame-pointer -mcmodel=kernel -mno-red-zone -mno-mmx -mno-sse -msoft-float -mno-fp-ret-in-387 -mindirect-branch=thunk-inline -c bktrig.c
In file included from bktrig.c:34:
dragonfly/sys/bus.h:500:10: fatal error: device_if.h: No such file or directory
#include "device_if.h"
^~~~~~~~~~~~~
compilation terminated.
*** Error code 1
Stop.
make: stopped making "all" in /root/bktrig
ls: bktrig.ko: No such file or directory
bktrig.c:39:10: fatal error: dev/video/meteor/ioctl_bt848.h: No such file or directory
#include <dev/video/meteor/ioctl_bt848.h>
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
compilation terminated.
*** Error code 1
Stop.
make: stopped making "all" in /root/bktrig
ls: bktrig.ko: No such file or directory
^~~~~~~~~~
cc1: all warnings being treated as errors
*** Error code 1
Stop.
make: stopped making "all" in /root/bktrig
ls: bktrig.ko: No such file or directory
Warning: Object directory not changed from original /root/bktrig
cc -O2 -pipe -D_KERNEL -Wall -Wredundant-decls -Wnested-externs -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Wcast-qual -Wold-style-definition -Wmissing-include-dirs -Wno-pointer-sign -Winit-self -Wundef -Wno-unused-but-set-variable -std=gnu11 -Werror -DKLD_MODULE -nostdinc -I. -Idragonfly -I/root/bktrig/forwarder_x86_64/include -Idragonfly/../include -Wold-style-declaration -fno-common -ffreestanding -fno-stack-protector -fno-strict-aliasing -fno-strict-overflow -fno-asynchronous-unwind-tables -fno-omit-frame-pointer -mcmodel=kernel -mno-red-zone -mno-mmx -mno-sse -msoft-float -mno-fp-ret-in-387 -mindirect-branch=thunk-inline -c bktrig.c
cc -Wl,--build-id=sha1 -nostdlib -Wl,--hash-style=sysv -r -Wl,-d -o bktrig.ko bktrig.o
-rw-r--r-- 1 root wheel 4496 Oct 11 21:49 bktrig.ko
U video_ioctl