340.46 module build fails for linux 3.2.0 in nv-drm.c

Andreas Beckmann anbe at debian.org
Fri Oct 17 10:24:46 UTC 2014


Looks like the recent drm changes broke something ...

/usr/src/modules/nvidia-kernel/nv-drm.c: In function 'nv_gem_prime_get_sg_table':
/usr/src/modules/nvidia-kernel/nv-drm.c:81:5: error: implicit declaration of function 'drm_prime_pages_to_sg' [-Werror=implicit-function-declaration]
/usr/src/modules/nvidia-kernel/nv-drm.c:81:5: warning: return makes pointer from integer without a cast [enabled by default]
/usr/src/modules/nvidia-kernel/nv-drm.c: At top level:
/usr/src/modules/nvidia-kernel/nv-drm.c:114:37: error: 'DRIVER_PRIME' undeclared here (not in a function)
/usr/src/modules/nvidia-kernel/nv-drm.c:121:5: error: unknown field 'prime_handle_to_fd' specified in initializer
/usr/src/modules/nvidia-kernel/nv-drm.c:121:27: error: 'drm_gem_prime_handle_to_fd' undeclared here (not in a function)
/usr/src/modules/nvidia-kernel/nv-drm.c:122:5: error: unknown field 'gem_prime_export' specified in initializer
/usr/src/modules/nvidia-kernel/nv-drm.c:122:25: error: 'drm_gem_prime_export' undeclared here (not in a function)
/usr/src/modules/nvidia-kernel/nv-drm.c:123:5: error: unknown field 'gem_prime_get_sg_table' specified in initializer


Andreas



More information about the pkg-nvidia-devel mailing list