View Single Post
Old 06-26-06, 12:33 PM   #2
zander
NVIDIA Corporation
 
zander's Avatar
 
Join Date: Aug 2002
Posts: 3,740
Default Re: 1.0-8762 for x86-64/em64t and x86 updates (06-26-2006)

The attached patch fixes compile failures with errors of the form below when building the 1.0-8762 NVIDIA kernel module against recent Linux kernels (Linux >= 2.6.17-rc4-mm1, Linux >= 2.6.17-git7).
In file included from ../NVIDIA-Linux-x86-1.0-8762-pkg1/usr/src/nv/nv.c:14:
../NVIDIA-Linux-x86-1.0-8762-pkg1/usr/src/nv/nv-linux.h: At top level:
../NVIDIA-Linux-x86-1.0-8762-pkg1/usr/src/nv/nv-linux.h:711: error: conflicting types for 'pm_message_t'
include/linux/pm.h:142: error: previous declaration of 'pm_message_t' was here
../NVIDIA-Linux-x86-1.0-8762-pkg1/usr/src/nv/nv.c:315: warning: initialization from incompatible pointer type
make[4]: *** [../NVIDIA-Linux-x86-1.0-8762-pkg1/usr/src/nv/nv.o] Error 1
Attached Files
File Type: txt NVIDIA_kernel-1.0-8762-1544019.diff.txt (5.9 KB, 1600 views)
zander is offline