Compilation failure of the kernel for drm-next

From: Mylan Connolly <mylan.connolly_at_protonmail.com>
Date: Mon, 26 Feb 2018 20:17:57 -0500
Hello all,

I'm not sure if this is the best place to send this, but it looks like the issue tracker in Github is a bit dead.

I have been trying to compile it for the past few weeks after downloading the latest code about once a week and it looks like this issue hasn't resolved itself.

When I try to compile the kernel (using the command `make kernel`) I get the following error. Let me know if there's anything else I can do to assist.

/usr/local/bin/ccache cc -target x86_64-unknown-freebsd12.0 --sysroot=/usr/obj/usr/src/amd64.amd64/tmp -B/usr/obj/usr/src/amd64.amd64/tmp/usr/bin  -O2 -pipe '-DKBUILD_MODNAME="i915kms"' -include /usr/src/sys/dev/drm/drm_os_config.h -march=skylake  -fno-strict-aliasing -Werror -D_KERNEL -DKLD_MODULE -nostdinc  -I/usr/src/sys/compat/linuxkpi/dummy/include -I/usr/src/sys/compat/linuxkpi/gplv2/include -I/usr/src/sys/compat/linuxkpi/common/include -I/usr/src/sys/compat/linuxkpi/common/include/uapi -DHAVE_KERNEL_OPTION_HEADERS -include /usr/obj/usr/src/amd64.amd64/sys/GENERIC/opt_global.h -I. -I/usr/src/sys -fno-common -g -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -I/usr/obj/usr/src/amd64.amd64/sys/GENERIC   -MD  -MF.depend.intel_freebsd.o -MTintel_freebsd.o -mcmodel=kernel -mno-red-zone -mno-mmx -mno-sse -msoft-float  -fno-asynchronous-unwind-tables -ffreestanding -fwrapv -fstack-protector -gdwarf-2 -Wall -Wredundant-decls -Wnested-externs -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Winline -Wcast-qual -Wundef -Wno-pointer-sign -D__printf__=__freebsd_kprintf__ -Wmissing-include-dirs -fdiagnostics-show-option -Wno-unknown-pragmas -Wno-error-tautological-compare -Wno-error-empty-body -Wno-error-parentheses-equality -Wno-error-unused-function -Wno-error-pointer-sign -Wno-error-shift-negative-value -Wno-error-address-of-packed-member -Wno-pointer-arith -Wno-format  -mno-aes -mno-avx  -std=iso9899:1999 -c /usr/src/sys/dev/drm/i915/intel_freebsd.c -o intel_freebsd.o

/usr/src/sys/dev/drm/i915/intel_freebsd.c:203:5: error: use of undeclared identifier 'VM_WAIT'; did you mean 'VM_LAST'?

                                VM_WAIT;

                                ^~~~~~~

                                VM_LAST

/usr/src/sys/sys/systm.h:81:50: note: 'VM_LAST' declared here

                VM_GUEST_VMWARE, VM_GUEST_KVM, VM_GUEST_BHYVE, VM_LAST };

                                                               ^

/usr/src/sys/dev/drm/i915/intel_freebsd.c:203:5: error: expression result unused [-Werror,-Wunused-value]

                                VM_WAIT;

                                ^~~~~~~

2 errors generated.

*** [intel_freebsd.o] Error code 1

make[6]: stopped in /usr/src/sys/modules/drm/i915/i915kms

1 error

make[6]: stopped in /usr/src/sys/modules/drm/i915/i915kms

*** [all_subdir_drm/i915/i915kms] Error code 2

make[5]: stopped in /usr/src/sys/modules/drm/i915

1 error

make[5]: stopped in /usr/src/sys/modules/drm/i915

*** [all_subdir_drm/i915] Error code 2

make[4]: stopped in /usr/src/sys/modules/drm

1 error

make[4]: stopped in /usr/src/sys/modules/drm

*** [all_subdir_drm] Error code 2

make[3]: stopped in /usr/src/sys/modules

1 error

make[3]: stopped in /usr/src/sys/modules

*** [modules-all] Error code 2

make[2]: stopped in /usr/obj/usr/src/amd64.amd64/sys/GENERIC

1 error

make[2]: stopped in /usr/obj/usr/src/amd64.amd64/sys/GENERIC

*** [buildkernel] Error code 2

make[1]: stopped in /usr/src

1 error

make[1]: stopped in /usr/src

*** [buildkernel] Error code 2

make: stopped in /usr/src

1 error

make: stopped in /usr/src

Mylan
Received on Tue Feb 27 2018 - 00:24:51 UTC

This archive was generated by hypermail 2.4.0 : Wed May 19 2021 - 11:41:15 UTC