Re: make buildkernel is broken (linuxkpi vs drm)

From: Hans Petter Selasky <hps_at_selasky.org>
Date: Thu, 21 Jan 2021 07:07:27 +0100
On 1/21/21 6:46 AM, Steve Kargl wrote:
> My buildkernel after a buildworld is dying with
> 
> In file included from /media/obj/usr/src/i386.i386/sys/MOBILE/usr/ports/graphics/drm-current-kmod/work/drm-kmod-drm_v5.4.62_7/linuxkpi/gplv2/include/linux/pci.h:10:
> In file included from /usr/src/sys/compat/linuxkpi/common/include/linux/pci.h:51:
> In file included from /usr/src/sys/compat/linuxkpi/common/include/linux/dmapool.h:36:
> In file included from /media/obj/usr/src/i386.i386/sys/MOBILE/usr/ports/graphics/drm-current-kmod/work/drm-kmod-drm_v5.4.62_7/linuxkpi/gplv2/include/linux/scatterlist.h:32:
> In file included from /usr/src/sys/compat/linuxkpi/common/include/linux/scatterlist.h:36:
> In file included from /usr/src/sys/compat/linuxkpi/common/include/linux/slab.h:43:
> In file included from /media/obj/usr/src/i386.i386/sys/MOBILE/usr/ports/graphics/drm-current-kmod/work/drm-kmod-drm_v5.4.62_7/linuxkpi/gplv2/include/linux/llist.h:64:
> In file included from /media/obj/usr/src/i386.i386/sys/MOBILE/usr/ports/graphics/drm-current-kmod/work/drm-kmod-drm_v5.4.62_7/linuxkpi/gplv2/include/linux/kernel.h:4:
> In file included from /usr/src/sys/compat/linuxkpi/common/include/linux/kernel.h:49:
> In file included from /media/obj/usr/src/i386.i386/sys/MOBILE/usr/ports/graphics/drm-current-kmod/work/drm-kmod-drm_v5.4.62_7/linuxkpi/gplv2/include/linux/sched.h:4:
> In file included from /usr/src/sys/compat/linuxkpi/common/include/linux/sched.h:41:
> /usr/src/sys/compat/linuxkpi/common/include/linux/bitmap.h:338:10: error: implicit declaration of function 'kmalloc_array' is invalid in C99 [-Werror,-Wimplicit-function-declaration]
> 
> I have removed the drm-current-kmod port and still get this error.
> 

Is /usr/src and /usr/ports up-to-date ?

--HPS
Received on Thu Jan 21 2021 - 05:07:44 UTC

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