Here is a workaround to force nvidia compilation with a new kernel:

-first be sure to get both 2 kernel headers & both 2 kernel images installed
- then inside /usr/src/nvidia ... /

Change f_dentry   to   f_path.dentry   in  nv.c  and  nv-frontend.c  files.
 And change MODULE_LICENSE("NVIDIA"); to MODULE_LICENSE("GPL"); in the same 
files.

- when the changes are made and saved, then reinstall the 4 kernel
files:  you should no more see compilation errors, and get a smooth boot
with that kernel.

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1268257

Title:
  nvidia-331-updates 331.38-0ubuntu3: nvidia-331-updates kernel module
  failed to build, with only error: "objdump: '... .tmp_nv.o': No such
  file"

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/nvidia-graphics-drivers-331/+bug/1268257/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to