scripts/mod/modpost -i /usr/src/linux-2.6.30.5/Module.symvers -I /var/tmp/portage/x11-drivers/nvidia-drivers-190.25/work/NVIDIA-Linux-x86_64-190.25-pkg2/usr/src/nv/Module.symvers -o /var/tmp/portage/x11-drivers/nvidia-drivers-190.25/work/NVIDIA-Linux-x86_64-190.25-pkg2/usr/src/nv/Module.symvers -S -K /usr/src/linux-2.6.30.5/Module.markers -M /var/tmp/portage/x11-drivers/nvidia-drivers-190.25/work/NVIDIA-Linux-x86_64-190.25-pkg2/usr/src/nv/Module.markers -w -c -s FATAL: modpost: GPL-incompatible module nvidia.ko uses GPL-only symbol 'lockdep_init_map' make[4]: *** [__modpost] Error 1 make[3]: *** [modules] Error 2 make[2]: *** [sub-make] Error 2 NVIDIA: left KBUILD. nvidia.ko failed to build! make[1]: *** [module] Error 1 make: *** [module] Error 2 Reproducible: Always Steps to Reproduce: 1.emerge nvidia-drivers 2. 3.
Same problem here on amd64 and vanilla 2.6.31_rc8 Greetings Bjoern
Ups. i forgot.. ~amd64, vanilla-sources-2.6.30.5, gcc4.4.1
Probably needs a config-check patch like the one in bug 283301 .
Created attachment 204147 [details] Kernel Config I think is relevant a kernel config file where this occurs, happens with 190.18 and 190.25 versions. (Have not tested with other versions due bug #279588)
Same with sys-kernel/gentoo-sources-2.6.30-r6 which includes Linux version 2.6.30.5.
Added a check to 190.32. Thanks for reporting the problem.