Bug#696570: nvidia-kernel-dkms: linux/version.h not used anymore

Mattia Dongili malattia at debian.org
Sun Dec 23 00:07:02 UTC 2012


Package: nvidia-kernel-dkms
Version: 310.19-0+exp1
Severity: normal

Hi,
/lib/modules/$(uname -r)/source/include/linux/version.h is not updated
on recent kernels.
The top level makefile in linux sources define
version_h := include/generated/uapi/linux/version.h                                                                               
and echo the new kernel version there so the old file remains out of
date.

conftest.h uses the kernel version heavily and some tests fail because
of that. Specifically failing on
 #if LINUX_VERSION_CODE >= KERNEL_VERSION(3,6,0)
for me.

There are patches hanging around for upstream's conftest.sh but you may
want to fix the static conftest.h in debian with the new include file.

304.64 may have the same problem.

https://devtalk.nvidia.com/default/topic/525699/linux/nvidia-linux-3-7-patch-fix/

[I'm removing all the automatically collected package information as
they don't give any useful info, I can provide them if necessary]

-- 
Mattia



More information about the pkg-nvidia-devel mailing list