book src # emerge =media-video/spca5xx-20060501-r2 Calculating dependencies... done! >>> Verifying ebuild Manifests... >>> Emerging (1 of 1) media-video/spca5xx-20060501-r2 to / * spca5xx-20060501.tar.gz RMD160 SHA1 SHA256 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.23-gentoo-r3/build * Found sources for kernel version: * 2.6.23-gentoo-r3 * 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 01: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. 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.23-gentoo-r3' CC [M] /var/tmp/portage/media-video/spca5xx-20060501-r2/work/spca5xx-20060501/drivers/usb/spca5xx.o CC [M] /var/tmp/portage/media-video/spca5xx-20060501-r2/work/spca5xx-20060501/drivers/usb/spcadecoder.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/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.... /bin/sh: scripts/basic/fixdep: No such file or directory make[2]: *** [/var/tmp/portage/media-video/spca5xx-20060501-r2/work/spca5xx-20060501/drivers/usb/spcadecoder.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.23-gentoo-r3' make: *** [default] Error 2 * * ERROR: media-video/spca5xx-20060501-r2 failed. * Call stack: * ebuild.sh, line 46: Called src_compile * environment, line 3098: Called linux-mod_src_compile * environment, line 2375: Called die * The specific snippet of code: * emake HOSTCC="$(tc-getBUILD_CC)" CC="$(get-KERNEL_CC)" LDFLAGS="$(get_abi_LDFLAGS)" ${BUILD_FIXES} ${BUILD_PARAMS} ${BUILD_TARGETS} || diefunc "$FUNCNAME" "$LINENO" "$?" "Unable to make ${BUILD_FIXES} ${BUILD_PARAMS} ${BUILD_TARGETS}."; * The die message: * 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'. * The ebuild environment file is located at '/var/tmp/portage/media-video/spca5xx-20060501-r2/temp/environment'. * * Messages for package media-video/spca5xx-20060501-r2: * * ERROR: media-video/spca5xx-20060501-r2 failed. * Call stack: * ebuild.sh, line 46: Called src_compile * environment, line 3098: Called linux-mod_src_compile * environment, line 2375: Called die * The specific snippet of code: * emake HOSTCC="$(tc-getBUILD_CC)" CC="$(get-KERNEL_CC)" LDFLAGS="$(get_abi_LDFLAGS)" ${BUILD_FIXES} ${BUILD_PARAMS} ${BUILD_TARGETS} || diefunc "$FUNCNAME" "$LINENO" "$?" "Unable to make ${BUILD_FIXES} ${BUILD_PARAMS} ${BUILD_TARGETS}."; * The die message: * 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'. * The ebuild environment file is located at '/var/tmp/portage/media-video/spca5xx-20060501-r2/temp/environment'.