Bug#689735: nvidia-kernel-dkms: Compiling failes for kernel 3.6.0

Andreas Beckmann debian at abeckmann.de
Fri Oct 5 20:46:50 UTC 2012


On 2012-10-05 19:53, Bob Vincent wrote:
> Package: nvidia-kernel-dkms
> Version: 304.48-1

Did you try 304.51-1 from experimental?

> Compiling fails for kernel 3.6.0  because file asm/unistd_64.h was not
> found.  Copying the files from generated/uapi/asm to asm solves the
> problem.  Perhaps the proper fix would be to add a compiler flag
> instead.

You probably need

#if LINUX_VERSION_CODE >= KERNEL_VERSION(3,6,0)
 #include this
#else
 #include that
#endif

In case you come across a patch I'll include it. But as long as there is
no 3.6 kernel in experimental, I can't test this myself.


Andreas



More information about the pkg-nvidia-devel mailing list