On 5/29/21 10:25 AM, Filippo Moretti via current wrote:
I have the following error while compiling world:--- linux_genalloc.o ---In
file included from /usr/local/sys/modules/drm-current-kmod/linuxkpi/gplv2/src
/linux_genalloc.c:35:In file included from
/usr/src/sys/compat/linuxkpi/common/include/linux/interrup t.h:35:In file
included from /usr/local/sys/modules/drm-current-kmod/linuxkpi/gplv2/inc
lude/linux/device.h:4:In file included from
/usr/src/sys/compat/linuxkpi/common/include/linux/device.h :36:In file included
from /usr/src/sys/compat/linuxkpi/common/include/linux/kobject.
h:36:/usr/local/sys/modules/drm-current-kmod/linuxkpi/gplv2/include/linux/kernel.h:12
:10: fatal error: 'linux/kconfig.h' file not found#include
^~~~~~~~~~~~~~~~~--- linux_compat.o ---1 error generated.*** [linux_compat.o]
Error code 1make[4]: stopped in
/usr/local/sys/modules/drm-current-kmod/linuxkpimake[1]: stopped in
/usr/srcmake: stopped in /usr/src[root@sting /usr/src]#
FreeBSD sting 14.0-CURRENT FreeBSD 14.0-CURRENT #38 main-n246776-f17a5900850:
Thu May 20 20:40:36 CEST 2021 root@sting:/usr/obj/usr/src/amd64.amd64/sys/STING
amd64 The error is repeatable and make cleandir did not solve the
problem.Filippo
Hi,
Are you using the latest version of the drm-current-kmod from ports?
--HPS