I've been trying to get nvidia set-up for a 2.6.3-r1 kernel and am getting the following when I try to emerge nvidia-kernel: ACCEPT_KEYWORDS="~x86" emerge nvidia-kernel Calculating dependencies ...done! >>> emerge (1 of 1) media-video/nvidia-kernel-1.0.5336-r1 to / >>> md5 src_uri ;-) NVIDIA-Linux-x86-1.0-5336-pkg1.run >>> Unpacking source... Creating directory NVIDIA-Linux-x86-1.0-5336-pkg1 Verifying archive integrity... OK Uncompressing NVIDIA Accelerated Graphics Driver for Linux-x86 1.0-5336................................................................................................................................................................................ * Linux kernel 2.6.3 * Applying basic sysfs patch ... [ ok ]>>> Source unpacked. rm -f nv.o os-agp.o os-interface.o os-registry.o nv-linux.o nv_compiler.h *.d NVdriver nvidia.o echo \#define NV_COMPILER \"`gcc -v 2>&1 | tail -n 1`\" > nv_compiler.h gcc -c -Wall -Wimplicit -Wreturn-type -Wswitch -Wformat -Wchar-subscripts -Wparentheses -Wcast-qual -Wno-multichar -O -MD -D__KERNEL__ -DMODULE -D_LOOSE_KERNEL_NAMES -DKBUILD_MODNAME="nvidia" -DNTRM -D_GNU_SOURCE -D_LOOSE_KERNEL_NAMES -D__KERNEL__ -DMODULE -DNV_MAJOR_VERSION=1 -DNV_MINOR_VERSION=0 -DNV_PATCHLEVEL=5336 -DNV_UNIX -DNV_LINUX -DNV_INT64_OK -DNVCPU_X86 -DREMAP_PAGE_RANGE_5 -DHAVE_CLASS_SIMPLE -I. -I/usr/src/linux/include -I/usr/src/linux/include/asm/mach-default -Wno-cast-qual nv.c In file included from nv-linux.h:52, from nv.c:14: /usr/src/linux/include/linux/module.h:462: error: variable `__this_module' has initializer but incomplete type /usr/src/linux/include/linux/module.h:463: error: unknown field `name' specified in initializer /usr/src/linux/include/linux/module.h:463: warning: excess elements in struct initializer /usr/src/linux/include/linux/module.h:463: warning: (near initialization for `__this_module') /usr/src/linux/include/linux/module.h:464: error: unknown field `init' specified in initializer /usr/src/linux/include/linux/module.h:464: warning: excess elements in struct initializer /usr/src/linux/include/linux/module.h:464: warning: (near initialization for `__this_module') nv.c:1207: warning: initialization from incompatible pointer type /usr/src/linux/include/linux/module.h:462: error: storage size of `__this_module' isn't known make: *** [nv.o] Error 1 !!! ERROR: media-video/nvidia-kernel-1.0.5336-r1 failed. !!! Function src_compile, Line 118, Exitcode 2 !!! (no error message) The same error results when I try to emerge unmasked version of nvidia-kernel (1.0.4496-r3) while running the 2.6.3-r1 kernel. I have unmerged all previous versions of nvidia-kernel on my machine. I'm still pretty new to linux, any ideas?
Still a problem on latest 2.6?
No - seems to work fine.
OK, let us know if it comes up with newer kernels.