localhost ~ # emerge spca5xx Calculating dependencies... done! >>> Verifying ebuild Manifests... >>> Emerging (1 of 1) media-video/spca5xx-20060501-r2 to / * spca5xx-20060501.tar.gz RMD160 ;-) ... [ ok ] * spca5xx-20060501.tar.gz SHA1 ;-) ... [ ok ] * spca5xx-20060501.tar.gz SHA256 ;-) ... [ ok ] * spca5xx-20060501.tar.gz size ;-) ... [ ok ] * checking ebuild checksums ;-) ... [ ok ] * checking auxfile checksums ;-) ... [ ok ] * checking miscfile checksums ;-) ... [ ok ] * checking spca5xx-20060501.tar.gz ;-) ... [ ok ] * Determining the location of the kernel source code * Found kernel source directory: * /usr/src/linux * Found kernel object directory: * /lib/modules/2.6.22-sabayon/build * Found sources for kernel version: * 2.6.22-sabayon * Checking for suitable kernel configuration options... [ ok ] >>> Unpacking source... >>> Unpacking spca5xx-20060501.tar.gz to /var/tmp/portage/media-video/spca5xx-20060501-r2/work tar: spca5xx-20060501/drivers: implausibly old time stamp 1970-01-01 00:00:00 * Converting spca5xx-20060501/Makefile to use M= instead of SUBDIRS= .. [ ok ] * Applying spca-20060501-defines.patch ... [ ok ] * Applying spca-20060501-2.6.18.patch ... [ ok ] * Applying spca-20060501-LogitechQC92f.patch ... [ ok ] >>> Source unpacked. >>> Compiling source in /var/tmp/portage/media-video/spca5xx-20060501-r2/work/spca5xx-20060501 ... * Preparing spca5xx module Building SPCA5XX driver for 2.5/2.6 kernel. Remember: you must have read/write access to your kernel source tree. /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/spcadecoder.c: In function ‘fun_D’: /var/tmp/portage/media-video/spca5xx-20060501-r2/work/spca5xx-20060501/drivers/usb/spcadecoder.c:809: warning: value computed is not used /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[2]: *** Waiting for unfinished jobs.... make[1]: *** [_module_/var/tmp/portage/media-video/spca5xx-20060501-r2/work/spca5xx-20060501] Error 2 make: *** [default] Error 2 * * ERROR: media-video/spca5xx-20060501-r2 failed. * Call stack: * ebuild.sh, line 1648: Called dyn_compile * ebuild.sh, line 988: Called qa_call 'src_compile' * ebuild.sh, line 44: Called src_compile * ebuild.sh, line 1328: Called linux-mod_src_compile * linux-mod.eclass, line 516: 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'. * * Messages for package media-video/spca5xx-20060501-r2: * * ERROR: media-video/spca5xx-20060501-r2 failed. * Call stack: * ebuild.sh, line 1648: Called dyn_compile * ebuild.sh, line 988: Called qa_call 'src_compile' * ebuild.sh, line 44: Called src_compile * ebuild.sh, line 1328: Called linux-mod_src_compile * linux-mod.eclass, line 516: 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'. *