pwc
[Top] [All Lists]

[pwc] Logitech QuickCam Pro 4000 compilation error

To:
Subject: [pwc] Logitech QuickCam Pro 4000 compilation error
From: Eduardo Adrian Cabanillas <>
Date: Thu, 15 Feb 2007 23:38:33 -0300
Hello everybody, I need help for a problem compiling driver. Wen I try
to compile it, I get this error:


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

Any suggestion? where are the problem?

Thanks!

Eduardo A. Cabanillas

_______________________________________________
pwc mailing list

http://lists.saillard.org/mailman/listinfo/pwc

<Prev in Thread] Current Thread [Next in Thread>
Admin

Disclaimer: Neither Andrew Taylor nor the University of NSW School of Computer and Engineering take any responsibility for the contents of this archive. It is purely a compilation of material sent by many people to the birding-aus mailing list. It has not been checked for accuracy nor its content verified in any way. If you wish to get material removed from the archive or have other queries about the archive e-mail Andrew Taylor at this address: andrewt@cse.unsw.EDU.AU