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

Alexander Hofbauer alex at derhofbauer.at
Fri Jun 6 20:28:29 UTC 2014


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


I'm not a sure whether the kernel config is to blame here.

Trying to compile for 3.15-rc8 I get exactly the same error. Might be a
coincidence, but nevertheless I was able to trace back the problem to
conftest.h not being able to correctly test for kernel version.

E.g. "testing for >= 3,10,0" always chooses the else branch (verified by
adding an #error statement there).

Further tests (manually resolving every define in conftest.h) yielded a
compiling and loading kernel module.


Is there a CONF_* that prevents the header file from correctly testing for
kernel versions?
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.alioth.debian.org/pipermail/pkg-nvidia-devel/attachments/20140606/33c3ac6a/attachment.html>


More information about the pkg-nvidia-devel mailing list