On 2/27/23 20:45, David Rosenstrauch wrote:


On 2/27/23 9:13 PM, David C. Rankin wrote:
All,

   Follow-up from a recent thread on 6.2 kernel module builds. All Arch package modules built fine, as did 6.1 branch of virtualbox. However the nvidia-390xx driver fails to build with:

Looks like there's a patch for kernel 6.2 for that nvidia driver.  (See https://aur.archlinux.org/cgit/aur.git/tree/kernel-6.2.patch?h=nvidia-390xx-utils)  Did you try building the latest code from AUR that includes that patch?

HTH,

DR

Gah,

  I was just there and missed it! Yes, after fixing the warning/error by adding:

EXTRA_CFLAGS += -Wno-error=incompatible-pointer-types

to the Kbuild options, I hit the real error:

nvidia-drm-drv.c:244:21: error: ‘struct drm_mode_config’ has no member named ‘fb_base’

That patch looks like it addresses it. Thank you and sorry about the noise.

--
David C. Rankin, J.D.,P.E.

Reply via email to