Hello, I'm working on trying to get a philips webcam running on an openmoko freerunner (http://www.openmoko.org). I have installed debian on the openmoko which comes with kernel 2.6.24. I then separatly compiled and install the video4linux module (with pwc driver included). Although this works I am getting a resolution or 120 * 60 which is pretty poor. I am trying to compile the latest pcw to see if that will help my problems. I downloaded the source for 10.0;12-rc1 and patched it according to here (Path the module : http://www.lavrsen.dk/twiki/bin/view/PWC/InstallationStandAloneModuleKernel2x6).
I then tried a compile and got this: --- r...@debian-gta02:~/pwc/pwc-10.0.12-rc1# make make -C /lib/modules/2.6.24-20081103.git7172ec57/source SUBDIRS=/root/pwc/pwc-10.0.12-rc1 modules make[1]: Entering directory `/usr/src/linux-2.6-openmoko-20081103.git7172ec57' WARNING: Symbol version dump /usr/src/linux-2.6-openmoko-20081103.git7172ec57/Module.symvers is missing; modules will have no dependencies and modversions. CC [M] /root/pwc/pwc-10.0.12-rc1/pwc-if.o /root/pwc/pwc-10.0.12-rc1/pwc-if.c:171: error: unknown field 'hardware' specified in initializer /root/pwc/pwc-10.0.12-rc1/pwc-if.c:171: error: 'VID_HARDWARE_PWC' undeclared here (not in a function) /root/pwc/pwc-10.0.12-rc1/pwc-if.c: In function 'cd_to_pwc': /root/pwc/pwc-10.0.12-rc1/pwc-if.c:1020: warning: initialization from incompatible pointer type /root/pwc/pwc-10.0.12-rc1/pwc-if.c: In function 'pwc_create_sysfs_files': /root/pwc/pwc-10.0.12-rc1/pwc-if.c:1065: error: implicit declaration of function 'video_device_create_file' /root/pwc/pwc-10.0.12-rc1/pwc-if.c: In function 'pwc_remove_sysfs_files': /root/pwc/pwc-10.0.12-rc1/pwc-if.c:1073: error: implicit declaration of function 'video_device_remove_file' /root/pwc/pwc-10.0.12-rc1/pwc-if.c: In function 'pwc_video_read': /root/pwc/pwc-10.0.12-rc1/pwc-if.c:1332: error: 'VIDEO_PALETTE_RAW' undeclared (first use in this function) /root/pwc/pwc-10.0.12-rc1/pwc-if.c:1332: error: (Each undeclared identifier is reported only once /root/pwc/pwc-10.0.12-rc1/pwc-if.c:1332: error: for each function it appears in.) make[2]: *** [/root/pwc/pwc-10.0.12-rc1/pwc-if.o] Error 1 make[1]: *** [_module_/root/pwc/pwc-10.0.12-rc1] Error 2 make[1]: Leaving directory `/usr/src/linux-2.6-openmoko-20081103.git7172ec57' make: *** [all] Error 2 --- I'm not wuite sure where to go from here, the linux source is the complete source I used to compile the video4linux and that worked fine (including compiling the pwc) so I'm a bit stuck. Could anyone lend a helping hand - I'd be most grateful. Cheers, Neil _______________________________________________ pwc mailing list pwc@lists.saillard.org http://lists.saillard.org/mailman/listinfo/pwc