DF-2916 / build.log
Warning: Object directory not changed from original /root/rig
dragonfly -> /sys
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/usr/obj/usr/src/sys/X86_64_GENERIC -I/usr/obj/usr/src/sys/X86_64_GENERIC/include -Idragonfly/../include -I/usr/include -DHAVE_KERNEL_OPTION_HEADERS -include /usr/obj/usr/src/sys/X86_64_GENERIC/opt_global.h -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 sq16.c
In file included from sq16.c:9:
sq16.c: In function 'sq16_modevent':
dragonfly/sys/sleepqueue.h:118:37: error: 'tick_sbt' undeclared (first use in this function); did you mean 'ticks'?
sleepq_set_timeout_sbt((wchan), tick_sbt * (timo), 0, C_HARDCLOCK)
^~~~~~~~
sq16.c:17:3: note: in expansion of macro 'sleepq_set_timeout'
sleepq_set_timeout((void *)0x1000, timo);
^~~~~~~~~~~~~~~~~~
dragonfly/sys/sleepqueue.h:118:37: note: each undeclared identifier is reported only once for each function it appears in
sleepq_set_timeout_sbt((wchan), tick_sbt * (timo), 0, C_HARDCLOCK)
^~~~~~~~
sq16.c:17:3: note: in expansion of macro 'sleepq_set_timeout'
sleepq_set_timeout((void *)0x1000, timo);
^~~~~~~~~~~~~~~~~~
dragonfly/sys/sleepqueue.h:118:59: error: 'C_HARDCLOCK' undeclared (first use in this function)
sleepq_set_timeout_sbt((wchan), tick_sbt * (timo), 0, C_HARDCLOCK)
^~~~~~~~~~~
sq16.c:17:3: note: in expansion of macro 'sleepq_set_timeout'
sleepq_set_timeout((void *)0x1000, timo);
^~~~~~~~~~~~~~~~~~
*** Error code 1
Stop.
make: stopped making "all" in /root/rig