[pkg-nvidia-devel] Bug#520706: Bug#520706: Bug#520706: nvidia-kernel-source: Also fails with module-assistant

Russ Allbery rra at debian.org
Sun Mar 28 00:29:04 UTC 2010


Julian Gilbey <jdg at polya.uklinux.net> writes:

> No, it was compilation problems, which I think are to do with the
> kernel-headers common package business.  Indeed, I forgot to attach the
> log - attached this time!

This is some other problem, given that nvidia builds fine for me against
the same kernel but on i386 (I don't have an amd64 system with the
relevant hardware, although I can try a build on one later anyway).

> /usr/bin/make -C . LINUXDIR=/lib/modules/2.6.32-3-amd64/build KVERREL=2.6.32-3-amd64
> make[2]: Entering directory `/usr/src/modules/nvidia-kernel'
> make -C /lib/modules/2.6.32-3-amd64/build  M=`/bin/pwd` modules
> make[3]: Entering directory `/usr/src/linux-headers-2.6.32-3-amd64'
>   CC [M]  /usr/src/modules/nvidia-kernel/nv.o
> In file included from /usr/src/modules/nvidia-kernel/nv-linux.h:16,
>                  from /usr/src/modules/nvidia-kernel/nv.c:14:
> /usr/src/modules/nvidia-kernel/conftest.h:2:5: warning: "LINUX_VERSION_CODE" is not defined
> /usr/src/modules/nvidia-kernel/conftest.h:2:26: warning: "KERNEL_VERSION" is not defined

/usr/src/linux-headers-2.6.32-3-686-bigmem/include/linux/version.h:#define LINUX_VERSION_CODE 132640

Does your /usr/src/linux-headers-2.6.32-3-amd64/include/linux/version.h
file not have that define?

-- 
Russ Allbery (rra at debian.org)               <http://www.eyrie.org/~eagle/>





More information about the Pkg-nvidia-devel mailing list