LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 04-07-2008, 04:18 AM   #1
F M J
Member
 
Registered: Feb 2004
Location: New Zealand
Distribution: Ubuntu Hardy Heron, Fedora Core 3
Posts: 45

Rep: Reputation: 15
Unhappy Webcam Logitech Quickcam Express


Using Ubuntu 8.04 Hardy Hero 64bit Release..

lsusb results

Bus 002 Device 014: ID 046d:0840 Logitech, Inc. QuickCam Express

camorama cant see/use it....

Apparently it is a supported cam from sourceforge, they have drivers for it...

I downloaded the driver for it and went to compile it.. and had the following problem

Code:
make -C "/lib/modules/2.6.24-15-generic/build" SUBDIRS="/home/physics/Downloads/qc-usb-0.6.6" modules V=1 USER_OPT="-DHAVE_UTSRELEASE_H=1"
make[1]: Entering directory `/usr/src/linux-headers-2.6.24-15-generic'
test -e include/linux/autoconf.h -a -e include/config/auto.conf || (		\
	echo;								\
	echo "  ERROR: Kernel configuration is invalid.";		\
	echo "         include/linux/autoconf.h or include/config/auto.conf are missing.";	\
	echo "         Run 'make oldconfig && make prepare' on kernel src to fix it.";	\
	echo;								\
	/bin/false)
mkdir -p /home/physics/Downloads/qc-usb-0.6.6/.tmp_versions ; rm -f /home/physics/Downloads/qc-usb-0.6.6/.tmp_versions/*
make -f scripts/Makefile.build obj=/home/physics/Downloads/qc-usb-0.6.6
  gcc -Wp,-MD,/home/physics/Downloads/qc-usb-0.6.6/.qc-driver.o.d  -nostdinc -isystem /usr/lib/gcc/x86_64-linux-gnu/4.2.3/include -D__KERNEL__  -Iinclude  -include include/linux/autoconf.h -Wall -Wundef -Wstrict-prototypes -Wno-trigraphs -fno-strict-aliasing -fno-common -Werror-implicit-function-declaration -O2  -mtune=generic -m64 -mno-red-zone -mcmodel=kernel -pipe -Wno-sign-compare -fno-asynchronous-unwind-tables -funit-at-a-time -mno-sse -mno-mmx -mno-sse2 -mno-3dnow -maccumulate-outgoing-args   -fstack-protector -fomit-frame-pointer -g  -fno-stack-protector -Wdeclaration-after-statement -Wno-pointer-sign   -DNOKERNEL -DHAVE_UTSRELEASE_H=1  -DMODULE -D"KBUILD_STR(s)=#s" -D"KBUILD_BASENAME=KBUILD_STR(qc_driver)"  -D"KBUILD_MODNAME=KBUILD_STR(quickcam)" -c -o /home/physics/Downloads/qc-usb-0.6.6/.tmp_qc-driver.o /home/physics/Downloads/qc-usb-0.6.6/qc-driver.c
In file included from /home/physics/Downloads/qc-usb-0.6.6/qc-driver.c:47:
/home/physics/Downloads/qc-usb-0.6.6/quickcam.h:129:1: warning: "BIT" redefined
In file included from include/linux/kernel.h:15,
                 from include/linux/cache.h:4,
                 from include/linux/time.h:7,
                 from include/linux/videodev2.h:59,
                 from include/linux/videodev.h:15,
                 from /home/physics/Downloads/qc-usb-0.6.6/quickcam.h:95,
                 from /home/physics/Downloads/qc-usb-0.6.6/qc-driver.c:47:
include/linux/bitops.h:6:1: warning: this is the location of the previous definition
/home/physics/Downloads/qc-usb-0.6.6/qc-driver.c: In function qc_i2c_init:
/home/physics/Downloads/qc-usb-0.6.6/qc-driver.c:824: error: struct urb has no member named lock
/home/physics/Downloads/qc-usb-0.6.6/qc-driver.c:825: warning: assignment from incompatible pointer type
/home/physics/Downloads/qc-usb-0.6.6/qc-driver.c: In function qc_isoc_start:
/home/physics/Downloads/qc-usb-0.6.6/qc-driver.c:1867: warning: assignment from incompatible pointer type
/home/physics/Downloads/qc-usb-0.6.6/qc-driver.c: At top level:
/home/physics/Downloads/qc-usb-0.6.6/qc-driver.c:2998: warning: initialization from incompatible pointer type
/home/physics/Downloads/qc-usb-0.6.6/qc-driver.c:3009: error: unknown field hardware specified in initializer
make[2]: *** [/home/physics/Downloads/qc-usb-0.6.6/qc-driver.o] Error 1
make[1]: *** [_module_/home/physics/Downloads/qc-usb-0.6.6] Error 2
make[1]: Leaving directory `/usr/src/linux-headers-2.6.24-15-generic'
make: *** [quickcam.ko] Error 2
There is a patch for the driver, but im too noob to know how to patch the source for the driver...
Please help a noob

Any idea's ??
 
Old 04-08-2008, 12:54 PM   #2
Hammett
Senior Member
 
Registered: Aug 2003
Location: Barcelona, Catalunya
Distribution: Gentoo
Posts: 1,055

Rep: Reputation: 57
Google is your friend....
http://www.linuxhq.com/patch-howto.html
 
Old 04-08-2008, 08:37 PM   #3
F M J
Member
 
Registered: Feb 2004
Location: New Zealand
Distribution: Ubuntu Hardy Heron, Fedora Core 3
Posts: 45

Original Poster
Rep: Reputation: 15
Ok thanks for that, already been there, spose i should have edited the above post to mention that the patch is for a older kernel

Need some nerd to make a new patch for my current kernel im using for the driver..

Linux physics 2.6.24-15-generic #1 SMP Fri Apr 4 03:10:59 UTC 2008 x86_64 GNU/Linux
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Logitech Quickcam Express on Debian DeLucas Linux - Hardware 4 01-27-2009 01:18 AM
Logitech QuickCam Express driver Sumit Rajan Linux - Hardware 1 01-30-2004 06:23 AM
Camserv and Logitech Quickcam Express Infinity Linux - Software 4 10-07-2003 01:05 AM
Logitech Quickcam Express USB Webcam... bfloeagle Linux - Hardware 7 07-22-2002 09:27 AM
Logitech Quickcam Express and mod_quickcam.o Infinity Linux - General 3 10-18-2001 10:03 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 11:44 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration