On Sun, 2 Aug 2009, sisil mehta wrote:
make -C /lib/modules/2.6.24-23-generic/build SUBDIRS=/home/sisil/Desktop/pwc-10.0.12-rc1 modules make[1]: Entering directory `/usr/src/linux-headers-2.6.24-23-generic' CC [M] /home/sisil/Desktop/pwc-10.0.12-rc1/pwc-if.o In file included from /home/sisil/Desktop/pwc-10.0.12-rc1/pwc-if.c:69: /home/sisil/Desktop/pwc-10.0.12-rc1/pwc.h:28:26: error: linux/config.h: No such file or directory
You need to have installed and "configured" the kernel sources in order to be able to compile a kernel driver. For example you need the "linux/config.h" file mentioned above.
Once you got past the basics of compiling drivers, you may go to http://lists.saillard.org/mailman/listinfo/pwc for driver-specific help.
This is assuming that you need to compile a kernel driver in the first place. It's not really fun, so, most people get a precompiled set of drivers (that includes pwc.ko) and they don't touch any form of kernel source code.
AND this is assuming that pwc is the driver you need. There are at least four generations of QuickCams. pwc was most popular some years ago, but then Logitech switched to using the UVC protocol, so now, you need to load uvcvideo.ko if you have those cams. QuickCam Pro 4000 are the last cams of the main series to be PWC (Philips chip). Some lower-priced series continued with PWC for a while (well, they still were sold in 2007 and I didn't check after that).
_ _ __ ___ _____ ________ _____________ _____________________ ... | Mathieu Bouchard - tél:+1.514.383.3801, Montréal, Québec