I am using Kernel 3.7.9 in Ubuntu 12.04. I currently can not build the Nvidia packages for Bumblebee.
There is a bugfix available, but I have no clue how to use it.
The instructions are:
[Impact] Nvidia and fglrx drivers need to be updated in order to build against Linux 3.7 [Test case] 1. Install the latest upstream kernel as described at https://wiki.ubuntu.com/Kernel/MainlineBuilds 2. confirm that the nvidia and fglrx drivers fail to compile against this kernel, and that rebooting to this kernel gives no binary driver. 3. upgrade to the packages in precise-proposed. 4. confirm that the new version of the package successfully builds the kernel module.
Building initial module for 3.7.9-030709-generic ERROR (dkms apport): kernel package linux-headers-3.7.9-030709-generic is not supported Error! Bad return status for module build on kernel: 3.7.9-030709-generic (x86_64)
Would it be better to use another kernel version?