LINUX.IE, website of the Irish Linux Users' Group
Tux rules!

   
Home
New Users
Articles
Download
Projects
Community
Vendors

  Print Version
Email to...
 
Archives:


planetILUG

Recent News

News Archive


Join the
ILUG
on FaceBook


Join the
ILUG
on LinkedIn


Join the
ILUG SETI
Group



















 
 :: Mailing Lists

[ILUG] webcam compilation woes

[ILUG] webcam compilation woes

Conor Wynne weeboy at conorwynne.com
Tue Jul 13 23:51:57 IST 2004


Hi all,

I'm having trouble getting my webcam working under linux. 
Its a logitech webcam sphere and its "supported" under kernel 2.6
http://www.smcc.demon.nl/webcam/

I have the pwc module built succesfully (2.6.4 & 2.6.7) but it appears
that thats not enough. dmesg tells me (when I try using gnomemeeting for
example):

"pwc Video mode SIF at 10 fps is only supported with the decompressor
module (pwcx).
pwc pwc_set_video_mode attempt 1 failed."

which results in a "cannot open video device" error. 

So I need the pwcx module aswell:
http://www.smcc.demon.nl/webcam/release.html#pwcx
"For kernel 2.6.7 and higher, you must use PWCX 9"

(I tried 2.6.7 unsuccessfully - the following was from 2.6.4)
OK lets go:

cd /usr/src/linux 

patch -p1 -s < /home/daddy/Documents/sources/pwcx-9.0/patch-2.6.4

cp -v /home/daddy/Documents/sources/pwcx-9.0/mipsel/libpwcx-mips4.a
drivers/usb/media/libpwcx.a

cp -v /home/daddy/Documents/sources/pwcx-9.0/pwcx/*.[ch]
drivers/usb/media

I copied the .config from 2.6.7 to 2.6.4 and...

make oldconfig 
make

Bork Bork Bork :(

drivers/usb/media/pwc-if.c: In function `usb_pwc_probe':
drivers/usb/media/pwc-if.c:1855: warning: assignment from incompatible
pointer type
drivers/usb/media/pwc-if.c: In function `pwc_video_release':
drivers/usb/media/pwc-if.c:1124: warning: control reaches end of
non-void function
  CC [M]  drivers/usb/media/pwc-misc.o
  CC [M]  drivers/usb/media/pwc-ctrl.o
  CC [M]  drivers/usb/media/pwc-uncompress.o
  CC [M]  drivers/usb/media/pwcx-glue.o
drivers/usb/media/pwcx-glue.c:56: warning: initialization from
incompatible pointer type
drivers/usb/media/pwcx-glue.c:65: warning: initialization from
incompatible pointer type
drivers/usb/media/pwcx-glue.c:78: warning: initialization from
incompatible pointer type
drivers/usb/media/pwcx-glue.c:87: warning: initialization from
incompatible pointer type
drivers/usb/media/pwcx-glue.c:96: warning: initialization from
incompatible pointer type
drivers/usb/media/pwcx-glue.c:109: warning: initialization from
incompatible pointer type
drivers/usb/media/pwcx-glue.c:118: warning: initialization from
incompatible pointer type
drivers/usb/media/pwcx-glue.c:127: warning: initialization from
incompatible pointer type
drivers/usb/media/pwcx-glue.c:136: warning: initialization from
incompatible pointer type
  LD [M]  drivers/usb/media/pwc.o
  LD [M]  drivers/usb/media/pwcx.o
ld: Relocatable linking with relocations from format elf32-little
(drivers/usb/media/libpwcx.a(pwc-dec1.o)) to format elf32-i386
(drivers/usb/media/pwcx.o) is not supported
make[3]: *** [drivers/usb/media/pwcx.o] Error 1
make[2]: *** [drivers/usb/media] Error 2
make[1]: *** [drivers/usb] Error 2
make: *** [drivers] Error 2

The 2.6.7 bork wasn't any better :)
Any ideas?

-- 
Conor Wynne
Dublin
Irlande

Key Fingerprint 1A95 E50F A15F 6601 A587 A9D8 4E55 1173 C2FE FAC2
Get my key here: http://www.conorwynne.com/gpg-key
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: This is a digitally signed message part
Url : http://mail.linux.ie/pipermail/ilug/attachments/20040713/389437ff/attachment.pgp


More information about the ILUG mailing list
Read this without the formatting.
                                                                                                    

 

Hosted by HEAnet


Maintained by the ILUG website team. The aim of Linux.ie is to support and help commercial and private users of Linux in Ireland. You can display ILUG news in your own webpages, read backend information to find out how. Networking services kindly provided by HEAnet, server kindly donated by Dell. Linux is a trademark of Linus Torvalds, used with permission. No penguins were harmed in the production or maintenance of this highly praised website. Looking for the Indian Linux Users' Group? Try here. If you've read all this and aren't a lawyer: you should be!
RSS Version
Powered by Dell