Created attachment 1484901 [details] akmods failed build log Description of problem: When trying to compile nvidia kernel module version 390.48, compilation fails with kernel 4.18.7, not with 4.17.19 Version-Release number of selected component (if applicable): kernel 4.18.7-200.fc28 Nvidia 390.48 (from rpmfusion non-free) How reproducible: Steps to Reproduce: 1.Install akmod-nvidia.3:390.48 under kernel 4.18 2.compile kernel module (in my case with akmods) 3. Actual results : fails to build with error In file included from ./include/drm/drmP.h:82, from /tmp/akmodsbuild.mM98e5ER/BUILD/nvidia-kmod-390.48/_kmod_build_4.18.7-200.fc28.x86_64/nvidia-drm/nvidia-drm-priv.h:30, from /tmp/akmodsbuild.mM98e5ER/BUILD/nvidia-kmod-390.48/_kmod_build_4.18.7-200.fc28.x86_64/nvidia-drm/nvidia-drm-drv.c:25: /tmp/akmodsbuild.mM98e5ER/BUILD/nvidia-kmod-390.48/_kmod_build_4.18.7-200.fc28.x86_64/nvidia-drm/nvidia-drm-drv.c:637:23: error: 'DRM_CONTROL_ALLOW' undeclared here (not in a function); did you mean 'DRM_RENDER_ALLOW'? DRM_CONTROL_ALLOW|DRM_UNLOCKED), Expected results: a kernel module! Additional info: https://devtalk.nvidia.com/default/topic/1036869/linux/driver-390-67-not-compiling-in-kernel-4-18-rc2/ My workaround is to use kernel 4.17.19-200.fc28. Build works with it, although it seems to be a nvidia problem.
Fedora can't support or fix the nVidia module, this needs to be fixed by the nVidia developers.