DF-4697 / build.log
make: "/root/df4697/Makefile" line 5: Could not find kld.mk
make: Fatal errors encountered -- cannot continue
make: stopped in /root/df4697
ls: df4697.ko: No such file or directory
creating machine/ forwarding header /tmp/obj-df4697//sys/forwarder_x86_64/include/machine/tss.h
creating machine/ forwarding header /tmp/obj-df4697//sys/forwarder_x86_64/include/machine/types.h
creating machine/ forwarding header /tmp/obj-df4697//sys/forwarder_x86_64/include/machine/ucontext.h
creating machine/ forwarding header /tmp/obj-df4697//sys/forwarder_x86_64/include/machine/vframe.h
creating machine/ forwarding header /tmp/obj-df4697//sys/forwarder_x86_64/include/machine/wchar.h
creating machine/ forwarding header /tmp/obj-df4697//sys/forwarder_x86_64/include/machine/wchar_limits.h
creating sys/ forwarding header /tmp/obj-df4697//sys/forwarder_x86_64/include/aio.h
creating sys/ forwarding header /tmp/obj-df4697//sys/forwarder_x86_64/include/errno.h
creating sys/ forwarding header /tmp/obj-df4697//sys/forwarder_x86_64/include/fcntl.h
creating sys/ forwarding header /tmp/obj-df4697//sys/forwarder_x86_64/include/linker_set.h
creating sys/ forwarding header /tmp/obj-df4697//sys/forwarder_x86_64/include/poll.h
creating sys/ forwarding header /tmp/obj-df4697//sys/forwarder_x86_64/include/syslog.h
creating sys/ forwarding header /tmp/obj-df4697//sys/forwarder_x86_64/include/ucontext.h
cc -O2 -pipe -I/usr/src/sys/dev/disk/nvme -DINVARIANTS -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/usr/src/sys/dev/disk/nvme -I. -Idragonfly -I/tmp/obj-df4697//sys/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 df4697.c
In file included from /usr/src/sys/dev/disk/nvme/nvme_dragonfly.h:40,
from /usr/src/sys/dev/disk/nvme/nvme.h:40,
from df4697.c:40:
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/df4697
ls: df4697.ko: No such file or directory
cpu_base -> /sys/cpu/x86_64
cpu -> /sys/cpu/x86_64/include
awk -f dragonfly/tools/makeobjops.awk -- -h dragonfly/kern/bus_if.m
awk -f dragonfly/tools/makeobjops.awk -- -h dragonfly/kern/device_if.m
awk -f dragonfly/tools/makeobjops.awk -- -h dragonfly/bus/pci/pci_if.m
awk -f dragonfly/tools/pcidevs2h.awk dragonfly/bus/pci/pcidevs
cc -O2 -pipe -I/usr/src/sys/dev/disk/nvme -DINVARIANTS -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/usr/src/sys/dev/disk/nvme -I. -Idragonfly -I/tmp/obj-df4697//sys/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 df4697.c
cc -Wl,--build-id=sha1 -nostdlib -Wl,--hash-style=sysv -r -Wl,-d -o df4697.ko df4697.o
-rw-r--r-- 1 root wheel 4096 Sep 22 22:03 df4697.ko