I have an addition to this HOW-TO for ppl who have build the nvidia kernel module (using this method?) before.
- Code: Select all
m-a clean nvidia
This will clean up any old nvidia files in /usr/src/modules, which could prevent it from compiling.
At least that was the case with me when trying to upgrade to 180.29.
This was the error part on the (failed) build log:
- Code: Select all
In file included from include/acpi/acpi.h:67,
from /usr/src/modules/nvidia-kernel/nv-linux.h:181,
from /usr/src/modules/nvidia-kernel/nv.c:14:
include/acpi/acutils.h: At top level:
include/acpi/acutils.h:503: error: expected '=', ',', ';', 'asm' or '__attribute__' before '}' token
include/acpi/acutils.h:506: warning: data definition has no type or storage class
include/acpi/acutils.h:506: warning: type defaults to 'int' in declaration of 'rces'
It could be that someone else get's a totally different error msg, but this is what I got.
Running the clean command before executing the steps in this HOW-TO made me able to compile the new nvidia kernel.
I got the idea from the last msg of this bug report:
http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=367976