Hi.

I see the same problem on my current box.
Just adding ‘kconfig.h’ in the pkg-plist file works for me.
Would you try the following patch?

diff --git a/graphics/drm-current-kmod/pkg-plist 
b/graphics/drm-current-kmod/pkg-plist
index 45ab906cef7c..6a77f568e058 100644
--- a/graphics/drm-current-kmod/pkg-plist
+++ b/graphics/drm-current-kmod/pkg-plist
@@ -2187,6 +2187,7 @@
 %%SOURCE%%%%KMODSRC%%/linuxkpi/dummy/include/linux/input.h
 %%SOURCE%%%%KMODSRC%%/linuxkpi/dummy/include/linux/intel-iommu.h
 %%SOURCE%%%%KMODSRC%%/linuxkpi/dummy/include/linux/io-64-nonatomic-lo-hi.h
+%%SOURCE%%%%KMODSRC%%/linuxkpi/dummy/include/linux/kconfig.h
 %%SOURCE%%%%KMODSRC%%/linuxkpi/dummy/include/linux/kfifo.h
 %%SOURCE%%%%KMODSRC%%/linuxkpi/dummy/include/linux/kgdb.h
 %%SOURCE%%%%KMODSRC%%/linuxkpi/dummy/include/linux/list_sort.h


> 2021/05/29 17:25、Filippo Moretti via current <curr...@freebsd.org>のメール:
> 
> 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

—
Yuichiro NAITO
naito.yuich...@gmail.com





Reply via email to