Bug#741498: nvidia-kernel-dkms: fails to build for self-compiled 3.12.x kernel

Andreas Beckmann anbe at debian.org
Wed Apr 23 09:58:47 UTC 2014


Hi,

On 2014-03-13 03:56, Andres Cimmarusti wrote:
> In file included from /var/lib/dkms/nvidia-current/331.49/build/nv-procfs.c:15:0:
> /var/lib/dkms/nvidia-current/331.49/build/nv-procfs.c: In function ‘nv_procfs_open_gpu_info’:
> /var/lib/dkms/nvidia-current/331.49/build/nv-linux.h:1764:16: error: implicit declaration of function ‘PDE’ [-Werror=implicit-function-declaration]

This looks like it is related to your kernel configuration, it works fne
on the Debian stock kernel.

That function is defined here:
http://lxr.linux.no/#linux+v3.12/fs/proc/internal.h#L80

Maybe we need an additional '&& defined(CONFIG_FOOBAR)' for some of the
procfs things, but I don't have time to debug this.


Andreas



More information about the pkg-nvidia-devel mailing list