You don't have the source of Linux installed in your path.
But why do you need to do this ? Usually, pwc is included by default.
Nicolas
2007/4/16, Thomas Pfrommer <>:
> Hi,
> I did read previous threads abiout installation problems but could not
> find the exact one that macthes me. I am quite new to linux so i cannot
> adapt sorry for asking the almost exact question as other pwc users.
> Anyway, I have the problem, aber untaring pwc-10.0.12-rc1.tar.bz2,
> changing into the directory with the first make. I do have the source of
> my kernel installed, I also do have gcc installed ...
> I am using Fedora Core 6 and would like to use my Philips Toucam Pro II
> 840K with it. Thanks already a lot!
>
> following errors appear (sorry quite long):
>
> pwc-10.0.12-rc1]# make
> make -C /lib/modules/2.6.20-1.2933.fc6/source
> SUBDIRS=/home/lobs/download/pwc-10.0.12-rc1 modules
> make[1]: Entering directory `/usr/src/kernels/2.6.20-1.2933.fc6-i686'
> CC [M] /home/lobs/download/pwc-10.0.12-rc1/pwc-if.o
> In file included from /home/lobs/download/pwc-10.0.12-rc1/pwc-if.c:69:
> /home/lobs/download/pwc-10.0.12-rc1/pwc.h:28:26: error: linux/config.h: No
> such file or directory
> /home/lobs/download/pwc-10.0.12-rc1/pwc-if.c:166: error: variable
> 'pwc_template' has initializer but incomplete type
> /home/lobs/download/pwc-10.0.12-rc1/pwc-if.c:167: error: unknown field
> 'owner' specified in initializer
> /home/lobs/download/pwc-10.0.12-rc1/pwc-if.c:167: warning: excess elements
> in struct initializer
> /home/lobs/download/pwc-10.0.12-rc1/pwc-if.c:167: warning: (near
> initialization for 'pwc_template')
> /home/lobs/download/pwc-10.0.12-rc1/pwc-if.c:168: error: unknown field
> 'name' specified in initializer
> /home/lobs/download/pwc-10.0.12-rc1/pwc-if.c:168: warning: excess elements
> in struct initializer
> /home/lobs/download/pwc-10.0.12-rc1/pwc-if.c:168: warning: (near
> initialization for 'pwc_template')
> /home/lobs/download/pwc-10.0.12-rc1/pwc-if.c:169: error: unknown field
> 'type' specified in initializer
> /home/lobs/download/pwc-10.0.12-rc1/pwc-if.c:169: warning: excess elements
> in struct initializer
> /home/lobs/download/pwc-10.0.12-rc1/pwc-if.c:169: warning: (near
> initialization for 'pwc_template')
> /home/lobs/download/pwc-10.0.12-rc1/pwc-if.c:170: error: unknown field
> 'hardware' specified in initializer
> /home/lobs/download/pwc-10.0.12-rc1/pwc-if.c:170: warning: excess elements
> in struct initializer
> /home/lobs/download/pwc-10.0.12-rc1/pwc-if.c:170: warning: (near
> initialization for 'pwc_template')
> /home/lobs/download/pwc-10.0.12-rc1/pwc-if.c:171: error: unknown field
> 'release' specified in initializer
> /home/lobs/download/pwc-10.0.12-rc1/pwc-if.c:171: error:
> 'video_device_release' undeclared here (not in a function)
> /home/lobs/download/pwc-10.0.12-rc1/pwc-if.c:171: warning: excess elements
> in struct initializer
> /home/lobs/download/pwc-10.0.12-rc1/pwc-if.c:171: warning: (near
> initialization for 'pwc_template')
> /home/lobs/download/pwc-10.0.12-rc1/pwc-if.c:172: error: unknown field
> 'fops' specified in initializer
> /home/lobs/download/pwc-10.0.12-rc1/pwc-if.c:172: warning: excess elements
> in struct initializer
> /home/lobs/download/pwc-10.0.12-rc1/pwc-if.c:172: warning: (near
> initialization for 'pwc_template')
> /home/lobs/download/pwc-10.0.12-rc1/pwc-if.c:173: error: unknown field
> 'minor' specified in initializer
> /home/lobs/download/pwc-10.0.12-rc1/pwc-if.c:173: warning: excess elements
> in struct initializer
> /home/lobs/download/pwc-10.0.12-rc1/pwc-if.c:173: warning: (near
> initialization for 'pwc_template')
> /home/lobs/download/pwc-10.0.12-rc1/pwc-if.c: In function 'pwc_isoc_init':
> /home/lobs/download/pwc-10.0.12-rc1/pwc-if.c:921: warning: assignment from
> incompatible pointer type
> /home/lobs/download/pwc-10.0.12-rc1/pwc-if.c: In function 'cd_to_pwc':
> /home/lobs/download/pwc-10.0.12-rc1/pwc-if.c:1019: error: implicit
> declaration of function 'to_video_device'
> /home/lobs/download/pwc-10.0.12-rc1/pwc-if.c:1019: warning: initialization
> makes pointer from integer without a cast
> /home/lobs/download/pwc-10.0.12-rc1/pwc-if.c:1020: error: implicit
> declaration of function 'video_get_drvdata'
> /home/lobs/download/pwc-10.0.12-rc1/pwc-if.c:1020: warning: return makes
> pointer from integer without a cast
> /home/lobs/download/pwc-10.0.12-rc1/pwc-if.c: In function
> 'pwc_create_sysfs_files':
> /home/lobs/download/pwc-10.0.12-rc1/pwc-if.c:1062: warning: initialization
> makes pointer from integer without a cast
> /home/lobs/download/pwc-10.0.12-rc1/pwc-if.c:1064: error: implicit
> declaration of function 'video_device_create_file'
> /home/lobs/download/pwc-10.0.12-rc1/pwc-if.c: In function
> 'pwc_remove_sysfs_files':
> /home/lobs/download/pwc-10.0.12-rc1/pwc-if.c:1070: warning: initialization
> makes pointer from integer without a cast
> /home/lobs/download/pwc-10.0.12-rc1/pwc-if.c:1072: error: implicit
> declaration of function 'video_device_remove_file'
> /home/lobs/download/pwc-10.0.12-rc1/pwc-if.c: In function 'pwc_video_open':
> /home/lobs/download/pwc-10.0.12-rc1/pwc-if.c:1112: error: implicit
> declaration of function 'video_devdata'
> /home/lobs/download/pwc-10.0.12-rc1/pwc-if.c:1112: warning: initialization
> makes pointer from integer without a cast
> /home/lobs/download/pwc-10.0.12-rc1/pwc-if.c:1117: error: dereferencing
> pointer to incomplete type
> /home/lobs/download/pwc-10.0.12-rc1/pwc-if.c: In function 'pwc_video_close':
> /home/lobs/download/pwc-10.0.12-rc1/pwc-if.c:1231: error: dereferencing
> pointer to incomplete type
> /home/lobs/download/pwc-10.0.12-rc1/pwc-if.c: In function 'pwc_video_read':
> /home/lobs/download/pwc-10.0.12-rc1/pwc-if.c:1292: error: dereferencing
> pointer to incomplete type
> /home/lobs/download/pwc-10.0.12-rc1/pwc-if.c: In function 'pwc_video_poll':
> /home/lobs/download/pwc-10.0.12-rc1/pwc-if.c:1359: error: dereferencing
> pointer to incomplete type
> /home/lobs/download/pwc-10.0.12-rc1/pwc-if.c: In function 'pwc_video_ioctl':
> /home/lobs/download/pwc-10.0.12-rc1/pwc-if.c:1375: error: implicit
> declaration of function 'video_usercopy'
> /home/lobs/download/pwc-10.0.12-rc1/pwc-if.c: In function 'pwc_video_mmap':
> /home/lobs/download/pwc-10.0.12-rc1/pwc-if.c:1388: error: dereferencing
> pointer to incomplete type
> /home/lobs/download/pwc-10.0.12-rc1/pwc-if.c: In function 'usb_pwc_probe':
> /home/lobs/download/pwc-10.0.12-rc1/pwc-if.c:1722: error: implicit
> declaration of function 'video_device_alloc'
> /home/lobs/download/pwc-10.0.12-rc1/pwc-if.c:1722: warning: assignment
> makes pointer from integer without a cast
> /home/lobs/download/pwc-10.0.12-rc1/pwc-if.c:1729: error: invalid
> application of 'sizeof' to incomplete type 'struct video_device'
> /home/lobs/download/pwc-10.0.12-rc1/pwc-if.c:1729: error: invalid
> application of 'sizeof' to incomplete type 'struct video_device'
> /home/lobs/download/pwc-10.0.12-rc1/pwc-if.c:1729: error: invalid
> application of 'sizeof' to incomplete type 'struct video_device'
> /home/lobs/download/pwc-10.0.12-rc1/pwc-if.c:1730: error: dereferencing
> pointer to incomplete type
> /home/lobs/download/pwc-10.0.12-rc1/pwc-if.c:1731: error: dereferencing
> pointer to incomplete type
> /home/lobs/download/pwc-10.0.12-rc1/pwc-if.c:1732: error: dereferencing
> pointer to incomplete type
> /home/lobs/download/pwc-10.0.12-rc1/pwc-if.c:1733: error: implicit
> declaration of function 'video_set_drvdata'
> /home/lobs/download/pwc-10.0.12-rc1/pwc-if.c:1756: error: dereferencing
> pointer to incomplete type
> /home/lobs/download/pwc-10.0.12-rc1/pwc-if.c:1757: error: implicit
> declaration of function 'video_register_device'
> /home/lobs/download/pwc-10.0.12-rc1/pwc-if.c:1757: error:
> 'VFL_TYPE_GRABBER' undeclared (first use in this function)
> /home/lobs/download/pwc-10.0.12-rc1/pwc-if.c:1757: error: (Each undeclared
> identifier is reported only once
> /home/lobs/download/pwc-10.0.12-rc1/pwc-if.c:1757: error: for each
> function it appears in.)
> /home/lobs/download/pwc-10.0.12-rc1/pwc-if.c:1760: error: implicit
> declaration of function 'video_device_release'
> /home/lobs/download/pwc-10.0.12-rc1/pwc-if.c:1765: error: dereferencing
> pointer to incomplete type
> /home/lobs/download/pwc-10.0.12-rc1/pwc-if.c: In function
> 'usb_pwc_disconnect':
> /home/lobs/download/pwc-10.0.12-rc1/pwc-if.c:1819: error: implicit
> declaration of function 'video_unregister_device'
> make[2]: *** [/home/lobs/download/pwc-10.0.12-rc1/pwc-if.o] Error 1
> make[1]: *** [_module_/home/lobs/download/pwc-10.0.12-rc1] Error 2
> make[1]: Leaving directory `/usr/src/kernels/2.6.20-1.2933.fc6-i686'
> make: *** [all] Error 2
> pwc-10.0.12-rc1]#
>
> Pelusa
>
> _______________________________________________
> pwc mailing list
>
> http://lists.saillard.org/mailman/listinfo/pwc
>
_______________________________________________
pwc mailing list
http://lists.saillard.org/mailman/listinfo/pwc
|