Hi,

I'm having problems building the pwc module:

wget http://www.saillard.org/linux/pwc/files/pwc-10.0.12-rc1.tar.bz2
tar xvjf pwc-10.0.12-rc1.tar.bz2 && cd pwc-10.0.12-rc1
wget http://www.xs4all.nl/~carlo17/pwc/pwc-10.0.12-rc1-2.6.22.patch -O -|patch 
-p1
LANG=C make
make -C /lib/modules/2.6.24-rc8-ga7da60f4/source 
SUBDIRS=/home/jan/src/pwc-10.0.12-rc1 modules
make[1]: Entering directory `/home/jan/src/linux-2.6'
  CC [M]  /home/jan/src/pwc-10.0.12-rc1/pwc-if.o
/home/jan/src/pwc-10.0.12-rc1/pwc-if.c:171: error: unknown field 'hardware' 
specified in initializer
/home/jan/src/pwc-10.0.12-rc1/pwc-if.c:171: error: 'VID_HARDWARE_PWC' 
undeclared here (not in a function)
/home/jan/src/pwc-10.0.12-rc1/pwc-if.c: In function 'cd_to_pwc':
/home/jan/src/pwc-10.0.12-rc1/pwc-if.c:1020: warning: initialization from 
incompatible pointer type
/home/jan/src/pwc-10.0.12-rc1/pwc-if.c: In function 'pwc_create_sysfs_files':
/home/jan/src/pwc-10.0.12-rc1/pwc-if.c:1065: error: implicit declaration of 
function 'video_device_create_file'
/home/jan/src/pwc-10.0.12-rc1/pwc-if.c: In function 'pwc_remove_sysfs_files':
/home/jan/src/pwc-10.0.12-rc1/pwc-if.c:1073: error: implicit declaration of 
function 'video_device_remove_file'
/home/jan/src/pwc-10.0.12-rc1/pwc-if.c: In function 'pwc_video_read':
/home/jan/src/pwc-10.0.12-rc1/pwc-if.c:1332: error: 'VIDEO_PALETTE_RAW' 
undeclared (first use in this function)
/home/jan/src/pwc-10.0.12-rc1/pwc-if.c:1332: error: (Each undeclared identifier 
is reported only once
/home/jan/src/pwc-10.0.12-rc1/pwc-if.c:1332: error: for each function it 
appears in.)
make[2]: *** [/home/jan/src/pwc-10.0.12-rc1/pwc-if.o] Error 1
make[1]: *** [_module_/home/jan/src/pwc-10.0.12-rc1] Error 2
make[1]: Leaving directory `/home/jan/src/linux-2.6'
make: *** [all] Error 2

<M> Video For Linux
[ ]   Enable Video For Linux API 1 (DEPRECATED)
[ ]   Enable Video For Linux API 1 compatible Layer
[*]   Video capture adapters  --->
  [*]   V4L USB devices
[ ]   Radio Adapters  --->
< > DVB for Linux
[ ] DAB adapters 

The same error appears with pwc-v4l2-20080121-042701.tar.bz2. From a google 
search I saw some people had success building it. What am I doing wrong?


- Jan
_______________________________________________
pwc mailing list
pwc@lists.saillard.org
http://lists.saillard.org/mailman/listinfo/pwc

Reply via email to