Re: drm-fbsd13-kmod make install error SOLVED

From: <ml_at_ft-c.de>
Date: Mon, 11 Apr 2022 01:00:46 UTC
On Sun, 2022-04-10 at 12:45 +0200, ml@ft-c.de wrote:
> Hello, 
> 
> When I compiled I get an error.
> 
> root@ftc:/usr/ports/graphics/drm-fbsd13-kmod > MAKE_JOBS_UNSAFE=yes
> make install 
> ...
> /usr/ports/graphics/drm-fbsd13-kmod/work/drm-kmod-
> drm_v5.4.144_6/linuxkpi/gplv2/include/linux/scatterlist.h:41:10:
> error:
> implicit declaration of function 'sg_pcopy_from_buffer' is invalid in
> C99 [-Werror,-Wimplicit-function-declaration]
>  return (sg_pcopy_from_buffer(sgl, nents, buf, buflen, 0));
>  ^
> /usr/ports/graphics/drm-fbsd13-kmod/work/drm-kmod-
> drm_v5.4.144_6/linuxkpi/gplv2/include/linux/scatterlist.h:41:10:
> note:
> did you mean 'sg_copy_from_buffer'?
> /usr/ports/graphics/drm-fbsd13-kmod/work/drm-kmod-
> drm_v5.4.144_6/linuxkpi/gplv2/include/linux/scatterlist.h:38:1: note:
> 'sg_copy_from_buffer' declared here
> sg_copy_from_buffer(struct scatterlist *sgl, unsigned int nents,
> ^
> 1 error generated.
> *** Error code 1
> 
> Stop.
> make[3]: stopped in /usr/ports/graphics/drm-fbsd13-kmod/work/drm-
> kmod-
> drm_v5.4.144_6/linuxkpi
> *** Error code 1
> 
> Stop.
> make[2]: stopped in /usr/ports/graphics/drm-fbsd13-kmod/work/drm-
> kmod-
> drm_v5.4.144_6
> *** Error code 1
> 
> Stop.
> make[1]: stopped in /usr/ports/graphics/drm-fbsd13-kmod
> *** Error code 1
> 
> Stop.
> make: stopped in /usr/ports/graphics/drm-fbsd13-kmod
> 
> What should I do?
> 
> Franz
> 
> 
> 
> 
>