[PD-dev] trouble installing PWC driver

sisil mehta sisilmet2000 at gmail.com
Sun Aug 2 08:11:15 CEST 2009


Hey,
everytime i run the make comman for pwc it gives me the following error:

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
/home/sisil/Desktop/pwc-10.0.12-rc1/pwc-if.c:166: error: variable
‘pwc_template’ has initializer but incomplete type
/home/sisil/Desktop/pwc-10.0.12-rc1/pwc-if.c:167: error: unknown field
‘owner’ specified in initializer
/home/sisil/Desktop/pwc-10.0.12-rc1/pwc-if.c:167: warning: excess elements
in struct initializer
/home/sisil/Desktop/pwc-10.0.12-rc1/pwc-if.c:167: warning: (near
initialization for ‘pwc_template’)
/home/sisil/Desktop/pwc-10.0.12-rc1/pwc-if.c:168: error: unknown field
‘name’ specified in initializer
/home/sisil/Desktop/pwc-10.0.12-rc1/pwc-if.c:168: warning: excess elements
in struct initializer
/home/sisil/Desktop/pwc-10.0.12-rc1/pwc-if.c:168: warning: (near
initialization for ‘pwc_template’)
/home/sisil/Desktop/pwc-10.0.12-rc1/pwc-if.c:169: error: unknown field
‘type’ specified in initializer
/home/sisil/Desktop/pwc-10.0.12-rc1/pwc-if.c:169: warning: excess elements
in struct initializer
/home/sisil/Desktop/pwc-10.0.12-rc1/pwc-if.c:169: warning: (near
initialization for ‘pwc_template’)
/home/sisil/Desktop/pwc-10.0.12-rc1/pwc-if.c:170: error: unknown field
‘hardware’ specified in initializer
/home/sisil/Desktop/pwc-10.0.12-rc1/pwc-if.c:170: error: ‘VID_HARDWARE_PWC’
undeclared here (not in a function)
/home/sisil/Desktop/pwc-10.0.12-rc1/pwc-if.c:170: warning: excess elements
in struct initializer
/home/sisil/Desktop/pwc-10.0.12-rc1/pwc-if.c:170: warning: (near
initialization for ‘pwc_template’)
/home/sisil/Desktop/pwc-10.0.12-rc1/pwc-if.c:171: error: unknown field
‘release’ specified in initializer
/home/sisil/Desktop/pwc-10.0.12-rc1/pwc-if.c:171: error:
‘video_device_release’ undeclared here (not in a function)
/home/sisil/Desktop/pwc-10.0.12-rc1/pwc-if.c:171: warning: excess elements
in struct initializer
/home/sisil/Desktop/pwc-10.0.12-rc1/pwc-if.c:171: warning: (near
initialization for ‘pwc_template’)
/home/sisil/Desktop/pwc-10.0.12-rc1/pwc-if.c:172: error: unknown field
‘fops’ specified in initializer
/home/sisil/Desktop/pwc-10.0.12-rc1/pwc-if.c:172: warning: excess elements
in struct initializer
/home/sisil/Desktop/pwc-10.0.12-rc1/pwc-if.c:172: warning: (near
initialization for ‘pwc_template’)
/home/sisil/Desktop/pwc-10.0.12-rc1/pwc-if.c:173: error: unknown field
‘minor’ specified in initializer
/home/sisil/Desktop/pwc-10.0.12-rc1/pwc-if.c:173: warning: excess elements
in struct initializer
/home/sisil/Desktop/pwc-10.0.12-rc1/pwc-if.c:173: warning: (near
initialization for ‘pwc_template’)
/home/sisil/Desktop/pwc-10.0.12-rc1/pwc-if.c: In function ‘pwc_isoc_init’:
/home/sisil/Desktop/pwc-10.0.12-rc1/pwc-if.c:921: warning: assignment from
incompatible pointer type
/home/sisil/Desktop/pwc-10.0.12-rc1/pwc-if.c: In function ‘cd_to_pwc’:
/home/sisil/Desktop/pwc-10.0.12-rc1/pwc-if.c:1019: error: implicit
declaration of function ‘to_video_device’
/home/sisil/Desktop/pwc-10.0.12-rc1/pwc-if.c:1019: warning: initialization
makes pointer from integer without a cast
/home/sisil/Desktop/pwc-10.0.12-rc1/pwc-if.c:1020: error: implicit
declaration of function ‘video_get_drvdata’
/home/sisil/Desktop/pwc-10.0.12-rc1/pwc-if.c:1020: warning: return makes
pointer from integer without a cast
/home/sisil/Desktop/pwc-10.0.12-rc1/pwc-if.c: In function
‘pwc_create_sysfs_files’:
/home/sisil/Desktop/pwc-10.0.12-rc1/pwc-if.c:1062: warning: initialization
makes pointer from integer without a cast
/home/sisil/Desktop/pwc-10.0.12-rc1/pwc-if.c:1064: error: implicit
declaration of function ‘video_device_create_file’
/home/sisil/Desktop/pwc-10.0.12-rc1/pwc-if.c: In function
‘pwc_remove_sysfs_files’:
/home/sisil/Desktop/pwc-10.0.12-rc1/pwc-if.c:1070: warning: initialization
makes pointer from integer without a cast
/home/sisil/Desktop/pwc-10.0.12-rc1/pwc-if.c:1072: error: implicit
declaration of function ‘video_device_remove_file’
/home/sisil/Desktop/pwc-10.0.12-rc1/pwc-if.c: In function ‘pwc_video_open’:
/home/sisil/Desktop/pwc-10.0.12-rc1/pwc-if.c:1112: error: implicit
declaration of function ‘video_devdata’
/home/sisil/Desktop/pwc-10.0.12-rc1/pwc-if.c:1112: warning: initialization
makes pointer from integer without a cast
/home/sisil/Desktop/pwc-10.0.12-rc1/pwc-if.c:1117: error: dereferencing
pointer to incomplete type
/home/sisil/Desktop/pwc-10.0.12-rc1/pwc-if.c: In function ‘pwc_video_close’:
/home/sisil/Desktop/pwc-10.0.12-rc1/pwc-if.c:1231: error: dereferencing
pointer to incomplete type
/home/sisil/Desktop/pwc-10.0.12-rc1/pwc-if.c: In function ‘pwc_video_read’:
/home/sisil/Desktop/pwc-10.0.12-rc1/pwc-if.c:1292: error: dereferencing
pointer to incomplete type
/home/sisil/Desktop/pwc-10.0.12-rc1/pwc-if.c: In function ‘pwc_video_poll’:
/home/sisil/Desktop/pwc-10.0.12-rc1/pwc-if.c:1359: error: dereferencing
pointer to incomplete type
/home/sisil/Desktop/pwc-10.0.12-rc1/pwc-if.c: In function ‘pwc_video_ioctl’:
/home/sisil/Desktop/pwc-10.0.12-rc1/pwc-if.c:1375: error: implicit
declaration of function ‘video_usercopy’
/home/sisil/Desktop/pwc-10.0.12-rc1/pwc-if.c: In function ‘pwc_video_mmap’:
/home/sisil/Desktop/pwc-10.0.12-rc1/pwc-if.c:1388: error: dereferencing
pointer to incomplete type
/home/sisil/Desktop/pwc-10.0.12-rc1/pwc-if.c: In function ‘usb_pwc_probe’:
/home/sisil/Desktop/pwc-10.0.12-rc1/pwc-if.c:1722: error: implicit
declaration of function ‘video_device_alloc’
/home/sisil/Desktop/pwc-10.0.12-rc1/pwc-if.c:1722: warning: assignment makes
pointer from integer without a cast
/home/sisil/Desktop/pwc-10.0.12-rc1/pwc-if.c:1729: error: invalid
application of ‘sizeof’ to incomplete type ‘struct video_device’
/home/sisil/Desktop/pwc-10.0.12-rc1/pwc-if.c:1729: error: invalid
application of ‘sizeof’ to incomplete type ‘struct video_device’
/home/sisil/Desktop/pwc-10.0.12-rc1/pwc-if.c:1729: error: invalid
application of ‘sizeof’ to incomplete type ‘struct video_device’
/home/sisil/Desktop/pwc-10.0.12-rc1/pwc-if.c:1730: error: dereferencing
pointer to incomplete type
/home/sisil/Desktop/pwc-10.0.12-rc1/pwc-if.c:1731: error: dereferencing
pointer to incomplete type
/home/sisil/Desktop/pwc-10.0.12-rc1/pwc-if.c:1732: error: dereferencing
pointer to incomplete type
/home/sisil/Desktop/pwc-10.0.12-rc1/pwc-if.c:1733: error: implicit
declaration of function ‘video_set_drvdata’
/home/sisil/Desktop/pwc-10.0.12-rc1/pwc-if.c:1756: error: dereferencing
pointer to incomplete type
/home/sisil/Desktop/pwc-10.0.12-rc1/pwc-if.c:1757: error: implicit
declaration of function ‘video_register_device’
/home/sisil/Desktop/pwc-10.0.12-rc1/pwc-if.c:1757: error: ‘VFL_TYPE_GRABBER’
undeclared (first use in this function)
/home/sisil/Desktop/pwc-10.0.12-rc1/pwc-if.c:1757: error: (Each undeclared
identifier is reported only once
/home/sisil/Desktop/pwc-10.0.12-rc1/pwc-if.c:1757: error: for each function
it appears in.)
/home/sisil/Desktop/pwc-10.0.12-rc1/pwc-if.c:1760: error: implicit
declaration of function ‘video_device_release’
/home/sisil/Desktop/pwc-10.0.12-rc1/pwc-if.c:1765: error: dereferencing
pointer to incomplete type
/home/sisil/Desktop/pwc-10.0.12-rc1/pwc-if.c: In function
‘usb_pwc_disconnect’:
/home/sisil/Desktop/pwc-10.0.12-rc1/pwc-if.c:1819: error: implicit
declaration of function ‘video_unregister_device’
make[2]: *** [/home/sisil/Desktop/pwc-10.0.12-rc1/pwc-if.o] Error 1
make[1]: *** [_module_/home/sisil/Desktop/pwc-10.0.12-rc1] Error 2
make[1]: Leaving directory `/usr/src/linux-headers-2.6.24-23-generic'
make: *** [all] Error 2

Where am i goin wrong? what else do i need to install? i read the install.en
file but it isnt making any sense where i'm goin wrong
thnks
sisil
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.puredata.info/pipermail/pd-dev/attachments/20090802/7a800680/attachment.htm>


More information about the Pd-dev mailing list