Hi everyone !! There is a bug with spca5xx last version ( 20060501 ) when you compile it with the last kernel installed ( vanilla-sources-2.6.18-rc2 ). Indeed, the interface for v4l has changed in this new version, and so included files aren't correctly included..
Created attachment 92542 [details] Output of the emerge spca5xx command with kernel 2.6.18-rc2 You can see that none of the functions needed are defined...
Created attachment 92543 [details, diff] Patch to apply to make spca5xx compilation work with kernel 2.6.18-rc2
To solve this bug, you have to apply the patch as this : # pwd /usr/local/src/ # ls spca5xx-20060501 spca5xx-20060501.tar.gz spca5xx-kernel-2.6.18-rc2.patch # patch -p0 < spca5xx-kernel-2.6.18-rc2.patch patching file spca5xx-20060501/drivers/usb/spca5xx.c # cd spca5xx-20060501 # make Building SPCA5XX driver for 2.5/2.6 kernel. Remember: you must have read/write access to your kernel source tree. make -C /lib/modules/`uname -r`/build SUBDIRS=/usr/local/src/spca5xx-20060501 CC=cc modules make[1]: Entering directory `/usr/src/linux-2.6.18-rc2' CC [M] /usr/local/src/spca5xx-20060501/drivers/usb/spca5xx.o CC [M] /usr/local/src/spca5xx-20060501/drivers/usb/spcadecoder.o /usr/local/src/spca5xx-20060501/drivers/usb/spcadecoder.c: In function 'fun_D': /usr/local/src/spca5xx-20060501/drivers/usb/spcadecoder.c:809: warning: value computed is not used LD [M] /usr/local/src/spca5xx-20060501/spca5xx.o Building modules, stage 2. MODPOST CC /usr/local/src/spca5xx-20060501/spca5xx.mod.o LD [M] /usr/local/src/spca5xx-20060501/spca5xx.ko make[1]: Leaving directory `/usr/src/linux-2.6.18-rc2' # make install mkdir -p /lib/modules/`uname -r`/kernel/drivers/usb/media/ rm -f /lib/modules/`uname -r`/kernel/drivers/usb/media/spca50x.ko rm -f /lib/modules/`uname -r`/kernel/drivers/usb/media/et61x.ko install -c -m 0644 spca5xx.ko /lib/modules/`uname -r`/kernel/drivers/usb/media/ /sbin/depmod -ae And enjoy your webcam...
Created attachment 92545 [details] My kernel config You must have CONFIG_VIDEO_V4L1=y and CONFIG_VIDEO_V4L1_COMPAT=y in your kernel config