[pkg-nvidia-devel] Bug#504626: fail
Chris Knadle
Chris.Knadle at coredump.us
Sat Apr 11 01:07:45 UTC 2009
On Friday 10 April 2009, alexs wrote:
> I failed build this module with patch :( log in attach.
A had a look a the differences between my build output and yours.
I'm not sure what the problem might be -- but here's the differences
that I see:
- You're getting several conftest errors:
from /usr/src/modules/nvidia-kernel-legacy-173xx/nv.c:14:
/usr/src/modules/nvidia-kernel-legacy-173xx/conftest.h:1:2: error:
#error remap_page_range() conftest failed!
/usr/src/modules/nvidia-kernel-legacy-173xx/conftest.h:3:2: error:
#error vmap() conftest failed!
/usr/src/modules/nvidia-kernel-legacy-173xx/conftest.h:5:2: error:
#error agp_backend_acquire() conftest failed!
/usr/src/modules/nvidia-kernel-legacy-173xx/conftest.h:23:2: error:
#error kmem_cache_create() conftest failed!
/usr/src/modules/nvidia-kernel-legacy-173xx/conftest.h:24:2: error:
#error on_each_cpu() conftest failed!
/usr/src/modules/nvidia-kernel-legacy-173xx/conftest.h:25:2: error:
#error smp_call_function() conftest failed!
- Your'e getting an error of a bunch of undefined functions:
/usr/src/modules/nvidia-kernel-legacy-173xx/nv-linux.h:593:2: error:
#error "NV_KMEM_CACHE_CREATE() undefined (kmem_cache_create()
unavailable)!"
/usr/src/modules/nvidia-kernel-legacy-173xx/nv-linux.h:690:2: error:
#error "NV_SMP_CALL_FUNCTION() undefined (smp_call_function()
unavailable)!"
/usr/src/modules/nvidia-kernel-legacy-173xx/nv-linux.h:710:2: error:
#error "NV_ON_EACH_CPU() undefined (on_each_cpu() unavailable)!"
/usr/src/modules/nvidia-kernel-legacy-173xx/nv.c:4018:6: warning:
"NV_AGP_BACKEND_ACQUIRE_ARGUMENT_COUNT" is not defined
These missing function errors are strange because they're
functions that are in the code...
Questions + suggestions:
- What are the steps you're using to build the kernel and the
nvidia driver?
- If you're using 'make-kpkg modules_image' to build the nvidia 173xx
driver, remember that you have to 'make-kpkg modules_clean' in
between builds. (make-kpkg is part of the 'kernel-package' package)
- Try installing 'devscripts' if you don't have it installed
(it's _recommended_ but not required by the nvidia kernel source.)
-- Chris
--
Chris Knadle
Chris.Knadle at coredump.us
More information about the Pkg-nvidia-devel
mailing list