You could try this. qastrolib should not include pwc-ioctl.h
2007/4/19, Thomas Pfrommer <>:
> Ah good point. It is pwc 8.12.1, which i found in the subdirectory
> qastrolib/pwc-ioctl.h
>
> So should I just copy or link to the /usr/src/kernels/'uname
> -r'/include/media/pwc-ioctl.h and remove the old file in /qastrolib/ ?
>
> Do I then have to reecompile qastrocam?
>
> Thanks so far for this hint!
> Thomas
>
> Nicolas Boulay wrote:
> > Try to check the version of pwc use by qastrocam.
> >
> > 2007/4/19, Thomas Pfrommer <>:
> >> Hi,
> >> one problem that might be of interest is, that in pwc.h, which is
> >> included in pwc-ioctl.h, the structure video_device is defined and a
> >> pointer is initialized. In pwc-ioctl.h, this pointer gets now filled and
> >> called pwc_template, but the structure video_device is now static. This
> >> was not previously defined in pwc.h
> >> Hm just a thought, but my first error massage says:
> >>
> >> home/username/pwc-10.0.12-rc1/pwc-if.c:166: error: variable
> >> 'pwc_template' has initializer but incomplete type
> >>
> >> from where all other error massages seem to come from.
> >> Cheers
> >> Thomas
> >>
> >> Nicolas Boulay wrote:
> >> > There is many front end.
> >> > you could test with ekiga or your software for astronomy.
> >> >
> >> > 2007/4/17, Thomas Pfrommer <>:
> >> >> Ah OK,
> >> >> sorry I was not aware at all about this. I did not get any error, but
> >> >> rather nothing happened ... I guess thats all right then. do i
> >> need any
> >> >> front end application to see a picture? I will use it for
> >> astronomical
> >> >> reasons, so the resolution should be the best possible (480x640)
> >> and a
> >> >> frame rate of 5 frames/second would be great if i could achieve it
> >> with
> >> >> still maintaining best image quality. i did already change the
> >> eprom of
> >> >> the ccd to raw.
> >> >> Anyway thanks a lot. i will try it tomorrow when I am actually in
> >> front
> >> >> of the machine and will pulg in the Toucam, right now I am just
> >> sshing
> >> >> to it,
> >> >> Cheers
> >> >> Thomas
> >> >>
> >> >> Nicolas Boulay wrote:
> >> >> > pwc is a free software include from the beginning in any linux. I
> >> >> > don't think that you realy need the very last version.
> >> >> >
> >> >> > try the command :
> >> >> > modprobe pwc
> >> >> >
> >> >> > If there is no error, you already have it on your system ready
> >> to be
> >> >> > used.
> >> >> >
> >> >> > 2007/4/17, Thomas Pfrommer <>:
> >> >> >> Well I would like to run a Philips Toucam under linux, because I
> >> >> am sick
> >> >> >> of windows, thats all for motivation ;-) why i need it.
> >> >> >> So I downloaded the module and tried to install it, when I got
> >> this
> >> >> >> error massages. I also found in other threads that Fedora Core
> >> 6 does
> >> >> >> not have this file any more and either I change it to
> >> autoconf.h or i
> >> >> >> create an empty config.h with touch in linux/
> >> >> >> The error massage for config.h goes away and following remains:
> >> >> >>
> >> >> >> 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
> >> >> >> /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
> >> >> >>
> >> >> >> Thanks a lot for your help already
> >> >> >> Thomas
> >> >> >>
> >> >> >> Nicolas Boulay wrote:
> >> >> >> > Sorry i was not precise enough. This error :
> >> >> >> >
> >> >> >> > /home/lobs/download/pwc-10.0.12-rc1/pwc.h:28:26: error:
> >> >> >> > linux/config.h: No such file or directory
> >> >> >> >
> >> >> >> > This means linux/config.h not present. This fill is created
> >> after a
> >> >> >> > "make" in the linux sources (a linux kernel compile).
> >> >> >> >
> >> >> >> > But if you are a newbie to linux, i don't understand why you
> >> need
> >> >> >> this.
> >> >> >> >
> >> >> >> > 2007/4/17, Thomas Pfrommer <>:
> >> >> >> >> Hi Nicholas,
> >> >> >> >> Thanks for the fast response,
> >> >> >> >> sorry but I don't understand, what does this mean "source of
> >> linux
> >> >> >> >> installed in path"? the source is installed, as when I look for
> >> >> the
> >> >> >> >> kernel-devel with rpm -qa | grep kernel-devel, it tells me that
> >> >> the
> >> >> >> >> source is installed. What do I have to do now in order to get
> >> >> it run?
> >> >> >> >> Sorry for these basic questions, bus i am a newbie to linux
> >> ....
> >> >> >> >> Thomas
> >> >> >> >>
> >> >> >> >> Nicolas Boulay wrote:
> >> >> >> >> > 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
|