Hi, I've been having some difficulty installing the Philips USB Webcam
Driver for Linux.
I've been following the instructions in the INSTALL.en file (with
modification due to changes in the version number) to try to install the
10.0.12-rc1 file.
I've downloaded and extracted the files (they are now located
at /home/alex/pwc-10.0.12-rc1)
I've gotten as far as the make command and I'm stuck (terminal output
included at the end of the message). It returns a whole bunch of errors
and I figure that I've gotten something wrong, but can't figure out what
it is.
I'm using Ubuntu 9.04 Desktop (64 bit version) and I'm trying to get my
quickcam (I believe that it's the Quickcam 4000 pro)to work. It's a
fairly new install of Linux but I've been working on getting a few
things working right and figured that since everything was going so well
- I got about 3 out of 4 things working right so far and it's only been
about a week! :)- that I'd try to get the webcam working. Other than
that I'm a total newbie to Linux and will probably need the most
idiot-proof instructions possible to get this working.
Anyone know how to fix the problem other than getting a new webcam /
smarter person to follow the instructions?
Any help appreciated.
Alex
I get this in the terminal:
make -C /lib/modules/2.6.28-14-generic/build
SUBDIRS=/home/alex/pwc-10.0.12-rc1 modules
make[1]: Entering directory `/usr/src/linux-headers-2.6.28-14-generic'
CC [M] /home/alex/pwc-10.0.12-rc1/pwc-if.o
In file included from /home/alex/pwc-10.0.12-rc1/pwc-if.c:69:
/home/alex/pwc-10.0.12-rc1/pwc.h:28:26: error: linux/config.h: No such
file or directory
/home/alex/pwc-10.0.12-rc1/pwc.h:37:27: error: asm/semaphore.h: No such
file or directory
/home/alex/pwc-10.0.12-rc1/pwc-if.c:166: error: variable âpwc_templateâ
has initializer but incomplete type
/home/alex/pwc-10.0.12-rc1/pwc-if.c:167: error: unknown field âownerâ
specified in initializer
/home/alex/pwc-10.0.12-rc1/pwc-if.c:167: warning: excess elements in
struct initializer
/home/alex/pwc-10.0.12-rc1/pwc-if.c:167: warning: (near initialization
for âpwc_templateâ)
/home/alex/pwc-10.0.12-rc1/pwc-if.c:168: error: unknown field ânameâ
specified in initializer
/home/alex/pwc-10.0.12-rc1/pwc-if.c:168: warning: excess elements in
struct initializer
/home/alex/pwc-10.0.12-rc1/pwc-if.c:168: warning: (near initialization
for âpwc_templateâ)
/home/alex/pwc-10.0.12-rc1/pwc-if.c:169: error: unknown field âtypeâ
specified in initializer
/home/alex/pwc-10.0.12-rc1/pwc-if.c:169: warning: excess elements in
struct initializer
/home/alex/pwc-10.0.12-rc1/pwc-if.c:169: warning: (near initialization
for âpwc_templateâ)
/home/alex/pwc-10.0.12-rc1/pwc-if.c:170: error: unknown field âhardwareâ
specified in initializer
/home/alex/pwc-10.0.12-rc1/pwc-if.c:170: error: âVID_HARDWARE_PWCâ
undeclared here (not in a function)
/home/alex/pwc-10.0.12-rc1/pwc-if.c:170: warning: excess elements in
struct initializer
/home/alex/pwc-10.0.12-rc1/pwc-if.c:170: warning: (near initialization
for âpwc_templateâ)
/home/alex/pwc-10.0.12-rc1/pwc-if.c:171: error: unknown field âreleaseâ
specified in initializer
/home/alex/pwc-10.0.12-rc1/pwc-if.c:171: error: âvideo_device_releaseâ
undeclared here (not in a function)
/home/alex/pwc-10.0.12-rc1/pwc-if.c:171: warning: excess elements in
struct initializer
/home/alex/pwc-10.0.12-rc1/pwc-if.c:171: warning: (near initialization
for âpwc_templateâ)
/home/alex/pwc-10.0.12-rc1/pwc-if.c:172: error: unknown field âfopsâ
specified in initializer
/home/alex/pwc-10.0.12-rc1/pwc-if.c:172: warning: excess elements in
struct initializer
/home/alex/pwc-10.0.12-rc1/pwc-if.c:172: warning: (near initialization
for âpwc_templateâ)
/home/alex/pwc-10.0.12-rc1/pwc-if.c:173: error: unknown field âminorâ
specified in initializer
/home/alex/pwc-10.0.12-rc1/pwc-if.c:173: warning: excess elements in
struct initializer
/home/alex/pwc-10.0.12-rc1/pwc-if.c:173: warning: (near initialization
for âpwc_templateâ)
/home/alex/pwc-10.0.12-rc1/pwc-if.c: In function âpwc_isoc_initâ:
/home/alex/pwc-10.0.12-rc1/pwc-if.c:921: warning: assignment from
incompatible pointer type
/home/alex/pwc-10.0.12-rc1/pwc-if.c: At top level:
/home/alex/pwc-10.0.12-rc1/pwc-if.c:1017: warning: âstruct class_deviceâ
declared inside parameter list
/home/alex/pwc-10.0.12-rc1/pwc-if.c:1017: warning: its scope is only
this definition or declaration, which is probably not what you want
/home/alex/pwc-10.0.12-rc1/pwc-if.c: In function âcd_to_pwcâ:
/home/alex/pwc-10.0.12-rc1/pwc-if.c:1019: error: implicit declaration of
function âto_video_deviceâ
/home/alex/pwc-10.0.12-rc1/pwc-if.c:1019: warning: initialization makes
pointer from integer without a cast
/home/alex/pwc-10.0.12-rc1/pwc-if.c:1020: error: implicit declaration of
function âvideo_get_drvdataâ
/home/alex/pwc-10.0.12-rc1/pwc-if.c:1020: warning: return makes pointer
from integer without a cast
/home/alex/pwc-10.0.12-rc1/pwc-if.c: At top level:
/home/alex/pwc-10.0.12-rc1/pwc-if.c:1023: warning: âstruct class_deviceâ
declared inside parameter list
/home/alex/pwc-10.0.12-rc1/pwc-if.c: In function âshow_pan_tiltâ:
/home/alex/pwc-10.0.12-rc1/pwc-if.c:1025: warning: passing argument 1 of
âcd_to_pwcâ from incompatible pointer type
/home/alex/pwc-10.0.12-rc1/pwc-if.c: At top level:
/home/alex/pwc-10.0.12-rc1/pwc-if.c:1030: warning: âstruct class_deviceâ
declared inside parameter list
/home/alex/pwc-10.0.12-rc1/pwc-if.c: In function âstore_pan_tiltâ:
/home/alex/pwc-10.0.12-rc1/pwc-if.c:1032: warning: passing argument 1 of
âcd_to_pwcâ from incompatible pointer type
/home/alex/pwc-10.0.12-rc1/pwc-if.c: At top level:
/home/alex/pwc-10.0.12-rc1/pwc-if.c:1046: error: expected â)â before â(â
token
/home/alex/pwc-10.0.12-rc1/pwc-if.c:1049: warning: âstruct class_deviceâ
declared inside parameter list
/home/alex/pwc-10.0.12-rc1/pwc-if.c: In function
âshow_snapshot_button_statusâ:
/home/alex/pwc-10.0.12-rc1/pwc-if.c:1051: warning: passing argument 1 of
âcd_to_pwcâ from incompatible pointer type
/home/alex/pwc-10.0.12-rc1/pwc-if.c: At top level:
/home/alex/pwc-10.0.12-rc1/pwc-if.c:1057: error: expected â)â before â(â
token
/home/alex/pwc-10.0.12-rc1/pwc-if.c: In function
âpwc_create_sysfs_filesâ:
/home/alex/pwc-10.0.12-rc1/pwc-if.c:1062: warning: initialization makes
pointer from integer without a cast
/home/alex/pwc-10.0.12-rc1/pwc-if.c:1064: error: implicit declaration of
function âvideo_device_create_fileâ
/home/alex/pwc-10.0.12-rc1/pwc-if.c:1064: error:
âclass_device_attr_pan_tiltâ undeclared (first use in this function)
/home/alex/pwc-10.0.12-rc1/pwc-if.c:1064: error: (Each undeclared
identifier is reported only once
/home/alex/pwc-10.0.12-rc1/pwc-if.c:1064: error: for each function it
appears in.)
/home/alex/pwc-10.0.12-rc1/pwc-if.c:1065: error:
âclass_device_attr_buttonâ undeclared (first use in this function)
/home/alex/pwc-10.0.12-rc1/pwc-if.c: In function
âpwc_remove_sysfs_filesâ:
/home/alex/pwc-10.0.12-rc1/pwc-if.c:1070: warning: initialization makes
pointer from integer without a cast
/home/alex/pwc-10.0.12-rc1/pwc-if.c:1072: error: implicit declaration of
function âvideo_device_remove_fileâ
/home/alex/pwc-10.0.12-rc1/pwc-if.c:1072: error:
âclass_device_attr_pan_tiltâ undeclared (first use in this function)
/home/alex/pwc-10.0.12-rc1/pwc-if.c:1073: error:
âclass_device_attr_buttonâ undeclared (first use in this function)
/home/alex/pwc-10.0.12-rc1/pwc-if.c: In function âpwc_video_openâ:
/home/alex/pwc-10.0.12-rc1/pwc-if.c:1112: error: implicit declaration of
function âvideo_devdataâ
/home/alex/pwc-10.0.12-rc1/pwc-if.c:1112: warning: initialization makes
pointer from integer without a cast
/home/alex/pwc-10.0.12-rc1/pwc-if.c:1117: error: dereferencing pointer
to incomplete type
/home/alex/pwc-10.0.12-rc1/pwc-if.c: In function âpwc_video_closeâ:
/home/alex/pwc-10.0.12-rc1/pwc-if.c:1231: error: dereferencing pointer
to incomplete type
/home/alex/pwc-10.0.12-rc1/pwc-if.c: In function âpwc_video_readâ:
/home/alex/pwc-10.0.12-rc1/pwc-if.c:1292: error: dereferencing pointer
to incomplete type
/home/alex/pwc-10.0.12-rc1/pwc-if.c: In function âpwc_video_pollâ:
/home/alex/pwc-10.0.12-rc1/pwc-if.c:1359: error: dereferencing pointer
to incomplete type
/home/alex/pwc-10.0.12-rc1/pwc-if.c: In function âpwc_video_ioctlâ:
/home/alex/pwc-10.0.12-rc1/pwc-if.c:1375: error: implicit declaration of
function âvideo_usercopyâ
/home/alex/pwc-10.0.12-rc1/pwc-if.c: In function âpwc_video_mmapâ:
/home/alex/pwc-10.0.12-rc1/pwc-if.c:1388: error: dereferencing pointer
to incomplete type
/home/alex/pwc-10.0.12-rc1/pwc-if.c: In function âusb_pwc_probeâ:
/home/alex/pwc-10.0.12-rc1/pwc-if.c:1722: error: implicit declaration of
function âvideo_device_allocâ
/home/alex/pwc-10.0.12-rc1/pwc-if.c:1722: warning: assignment makes
pointer from integer without a cast
/home/alex/pwc-10.0.12-rc1/pwc-if.c:1729: error: invalid application of
âsizeofâ to incomplete type âstruct video_deviceâ
/home/alex/pwc-10.0.12-rc1/pwc-if.c:1730: error: dereferencing pointer
to incomplete type
/home/alex/pwc-10.0.12-rc1/pwc-if.c:1731: error: dereferencing pointer
to incomplete type
/home/alex/pwc-10.0.12-rc1/pwc-if.c:1732: error: dereferencing pointer
to incomplete type
/home/alex/pwc-10.0.12-rc1/pwc-if.c:1733: error: implicit declaration of
function âvideo_set_drvdataâ
/home/alex/pwc-10.0.12-rc1/pwc-if.c:1756: error: dereferencing pointer
to incomplete type
/home/alex/pwc-10.0.12-rc1/pwc-if.c:1757: error: implicit declaration of
function âvideo_register_deviceâ
/home/alex/pwc-10.0.12-rc1/pwc-if.c:1757: error: âVFL_TYPE_GRABBERâ
undeclared (first use in this function)
/home/alex/pwc-10.0.12-rc1/pwc-if.c:1760: error: implicit declaration of
function âvideo_device_releaseâ
/home/alex/pwc-10.0.12-rc1/pwc-if.c:1765: error: dereferencing pointer
to incomplete type
/home/alex/pwc-10.0.12-rc1/pwc-if.c: In function âusb_pwc_disconnectâ:
/home/alex/pwc-10.0.12-rc1/pwc-if.c:1819: error: implicit declaration of
function âvideo_unregister_deviceâ
make[2]: *** [/home/alex/pwc-10.0.12-rc1/pwc-if.o] Error 1
make[1]: *** [_module_/home/alex/pwc-10.0.12-rc1] Error 2
make[1]: Leaving directory `/usr/src/linux-headers-2.6.28-14-generic'
make: *** [all] Error 2
_______________________________________________
pwc mailing list
http://lists.saillard.org/mailman/listinfo/pwc
|