Date: Fri, 3 Sep 2021 10:59:09 +0900 From: =?utf-8?B?5YaF6Jek56WQ5LiA6YOO?= <naito.yuichiro@gmail.com> To: filippomore@yahoo.com Cc: FreeBSD Current <current@freebsd.org> Subject: Re: Problem compiling world Message-ID: <7A3C39A3-85F8-4EB5-B409-CDFA7A48EAFB@gmail.com> In-Reply-To: <1156078884.1465271.1622276741796@mail.yahoo.com> References: <1156078884.1465271.1622276741796.ref@mail.yahoo.com> <1156078884.1465271.1622276741796@mail.yahoo.com>
next in thread | previous in thread | raw e-mail | index | archive | help
Hi. I see the same problem on my current box. Just adding =E2=80=98kconfig.h=E2=80=99 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=E3=80=81Filippo Moretti via current = <current@freebsd.org>=E3=81=AE=E3=83=A1=E3=83=BC=E3=83=AB: >=20 > 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]#=20 >=20 >=20 >=20 >=20 > 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 =E2=80=94 Yuichiro NAITO naito.yuichiro@gmail.com
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?7A3C39A3-85F8-4EB5-B409-CDFA7A48EAFB>