module won't rebuild on 2.6.19 Reproducible: Always Steps to Reproduce: 1. upgrade to gentoo sources 2.6.19-r5 2. run module-rebuild populate and rebuild Actual Results: compilation failed Expected Results: compilation should succeed This worked with 2.6.18 kernels, it appears linux/config.h is missing: * Preparing spca5xx module Building SPCA5XX driver for 2.5/2.6 kernel. Remember: you must have read/write access to your kernel source tree. make -C /usr/src/linux M=/var/tmp/portage/media-video/spca5xx-20060501-r2/work/spca5xx-20060501 CC=i686-pc-linux-gnu-gcc modules make[1]: Entering directory `/usr/src/linux-2.6.19-gentoo-r5' CC [M] /var/tmp/portage/media-video/spca5xx-20060501-r2/work/spca5xx-20060501/drivers/usb/spca5xx.o /var/tmp/portage/media-video/spca5xx-20060501-r2/work/spca5xx-20060501/drivers/usb/spca5xx.c:39:26: error: linux/config.h: No such file or directory /var/tmp/portage/media-video/spca5xx-20060501-r2/work/spca5xx-20060501/drivers/usb/spca5xx.c: In function 'spca50x_init_isoc': /var/tmp/portage/media-video/spca5xx-20060501-r2/work/spca5xx-20060501/drivers/usb/spca5xx.c:1624: warning: assignment from incompatible pointer type /var/tmp/portage/media-video/spca5xx-20060501-r2/work/spca5xx-20060501/drivers/usb/spca5xx.c: In function 'spca50x_create_sysfs': /var/tmp/portage/media-video/spca5xx-20060501-r2/work/spca5xx-20060501/drivers/usb/spca5xx.c:3451: warning: ignoring return value of 'video_device_create_file', declared with attribute warn_unused_result /var/tmp/portage/media-video/spca5xx-20060501-r2/work/spca5xx-20060501/drivers/usb/spca5xx.c:3452: warning: ignoring return value of 'video_device_create_file', declared with attribute warn_unused_result /var/tmp/portage/media-video/spca5xx-20060501-r2/work/spca5xx-20060501/drivers/usb/spca5xx.c:3453: warning: ignoring return value of 'video_device_create_file', declared with attribute warn_unused_result make[2]: *** [/var/tmp/portage/media-video/spca5xx-20060501-r2/work/spca5xx-20060501/drivers/usb/spca5xx.o] Error 1 make[1]: *** [_module_/var/tmp/portage/media-video/spca5xx-20060501-r2/work/spca5xx-20060501] Error 2 make[1]: Leaving directory `/usr/src/linux-2.6.19-gentoo-r5' make: *** [default] Error 2 !!! ERROR: media-video/spca5xx-20060501-r2 failed. Call stack: ebuild.sh, line 1613: Called dyn_compile ebuild.sh, line 970: Called qa_call 'src_compile' environment, line 3977: Called src_compile ebuild.sh, line 1303: Called linux-mod_src_compile linux-mod.eclass, line 510: Called die !!! Unable to make KERNELDIR=/usr/src/linux default. !!! If you need support, post the topmost build error, and the call stack if relevant. !!! A complete build log is located at '/var/tmp/portage/media-video/spca5xx-20060501-r2/temp/build.log'.
*** This bug has been marked as a duplicate of bug 159176 ***