View Single Post
Old 08-03-12, 07:20 AM   #1
rg2003
Registered User
 
Join Date: Jan 2003
Posts: 18
Default Kernel 3.6-rc1 breaks 304.30 compile..

Just updated to kernel 3.6-rc1 (from kernel.org git) and the latest driver (304.30) does not compile:

........ from /home/rgadsdon/NVIDIA-Linux-x86_64-304.30/kernel/nv-acpi.c:15:
/usr/src/linux-3.6-rc1/arch/x86/include/asm/uaccess_64.h: In function ‘copy_from_user':
/usr/src/linux-3.6-rc1/arch/x86/include/asm/uaccess_64.h:62:41: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
/home/rgadsdon/NVIDIA-Linux-x86_64-304.30/kernel/nv-acpi.c: In function ‘nv_acpi_remove':
/home/rgadsdon/NVIDIA-Linux-x86_64-304.30/kernel/nv-acpi.c:303:9: error: too many arguments to function ‘acpi_os_wait_events_complete'
In file included from include/acpi/acpi.h:63:0,
from /home/rgadsdon/NVIDIA-Linux-x86_64-304.30/kernel/nv-linux.h:274,
from /home/rgadsdon/NVIDIA-Linux-x86_64-304.30/kernel/nv-acpi.c:15:
include/acpi/acpiosxf.h:208:6: note: declared here
make[4]: *** [/home/rgadsdon/NVIDIA-Linux-x86_64-304.30/kernel/nv-acpi.o] Error
1
make[3]: *** [_module_/home/rgadsdon/NVIDIA-Linux-x86_64-304.30/kernel] Error 2
make[2]: *** [sub-make] Error 2
NVIDIA: left KBUILD.
nvidia.ko failed to build!
make[1]: *** [module] Error 1
make: *** [install] Error 2
rg2003 is offline   Reply With Quote