Hi Alex,
A few weeks ago, my PC (running Hardy Heron, i.e. Ubuntu 8.04) went to be
upgraded. So I decided to mess around with another PC. I upgraded the other
one to 9.04 (32 bit version though), and tried to get the webcam working. No
luck :( It is a long time since I installed the webcam stuff on Hardy, so I
really can't remember the procedure, but I do seem to remember advice that you
grab the latest snapshot, not just the release candidate.
I'm back to my usual computer now, and the webcam is working as usual.
Unfortunately I can't tell you what my problem was with the other computer; I
don't remember, and I'm not in a position to try it again to test. I would
like to hear if anyone has succeeded though, as it might affect my decision on
upgrading my OS.
My webcam is a Philips SPC900NC.
Adrian
Alex wrote:
> 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
>
_______________________________________________
pwc mailing list
http://lists.saillard.org/mailman/listinfo/pwc
|