Show-stopper for me

Anne Wilson cannewilson at tiscali.co.uk
Fri Nov 10 16:58:37 UTC 2006


On Wednesday 08 November 2006 18:02, Kevin Kofler wrote:
> James Wilkinson <fedora <at> aprilcottage.co.uk> writes:
> > The one listed in that LWN message. The one cached in Google at
>
> http://64.233.183.104/search?q=cache:f8A9cnTSmhIJ:rpmfind.net/linux/RPM/fre
>shrpms/fedora/6/dkms-pwc/dkms-pwc-10.0.11-1.20061018.noarch.html+dkms-pwc+fe
>dora&hl=en&gl=uk&ct=clnk&cd=1&client=firefox-a
>
> > which seems to have no current page, and points to a now-nonexistent
> > directory on freshrpms.net...
> >
> > I think it must have been pulled. Sorry.
>
> That was just a DKMS package anyway, i.e. a package which automates
> building the module from source, not a real binary package. It's probably
> not much harder to just go directly to the source:
> http://saillard.org/linux/pwc/
>
> Make sure you have kernel-devel installed (the version corresponding to
> your kernel, including architecture, see also bug #211941), then follow the
> instructions in the source code to build the module. If there are any
> errors when building the module for the current kernel, we can probably
> tell you how to fix them. (I know a few of the common ones, at least.)
>
<sigh>  I found a couple of conf.h lines and removed them, which at least got 
rid of some errors, but I still have a stack of them, and no idea where to 
start solving the problems:

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

Anne
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: not available
Url : http://lists.fedoraproject.org/pipermail/users/attachments/20061110/0be148f2/attachment-0002.bin 


More information about the users mailing list