Linux - Hardware This forum is for Hardware issues.
Having trouble installing a piece of hardware? Want to know if that peripheral is compatible with Linux? |
Notices |
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
Are you new to LinuxQuestions.org? Visit the following links:
Site Howto |
Site FAQ |
Sitemap |
Register Now
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
|
|
|
04-07-2006, 09:03 AM
|
#1
|
LQ Newbie
Registered: Dec 2005
Location: Luxembourg
Distribution: Fedora Core 5
Posts: 23
Rep:
|
Logitech Quickcam Express, compilation error
Hello
I want lo install my logitech quickcam on fedora core 5.
When I try to install the qc-usb driver, I receive this error:
Quote:
/home/laurent/download/qc-usb-0.6.3/qc-driver.c:3031: error: unknown field ‘owner’ specified in initializer
/home/laurent/download/qc-usb-0.6.3/qc-driver.c:3031: warning: initialization from incompatible pointer type
make[2]: *** [/home/laurent/download/qc-usb-0.6.3/qc-driver.o] Error 1
make[1]: *** [_module_/home/laurent/download/qc-usb-0.6.3] Error 2
make[1]: Leaving directory `/usr/src/kernels/2.6.16-1.2080_FC5-i686'
make: *** [quickcam.ko] Error 2
ls: quickcam.ko: No such file or directory
|
My kernel version is 2.6.16
Does anybody can give me some advice
Schaf
Last edited by huepfendes_schaf; 04-08-2006 at 11:28 AM.
|
|
|
04-09-2006, 07:52 PM
|
#2
|
Senior Member
Registered: Jul 2003
Location: Indiana
Distribution: Mandrake Slackware-current QNX4.25
Posts: 1,802
Rep:
|
Yeah I got that too when I went to 2.6.16 kernel.
I edited the file qc-driver.c and at line 3031 I commented out this section:
Code:
/*
#if LINUX_VERSION_CODE >= KERNEL_VERSION(2,6,0)
owner: THIS_MODULE,
#endif
*/
Don't ask me why this only appeared in the latest kernel. I've been building the quickcam driver for years without much problem.
|
|
|
04-10-2006, 12:26 AM
|
#3
|
Member
Registered: Jan 2006
Distribution: Red Hat EL5, Fedora 7
Posts: 259
Rep:
|
hi,
The simple answer to your errors is that, above 2.6.15 kernels, usb_device struct now don,t contain any owner field
|
|
|
04-10-2006, 12:33 AM
|
#4
|
Member
Registered: Jan 2006
Distribution: Red Hat EL5, Fedora 7
Posts: 259
Rep:
|
hi,
for FC5 prebuilt rpm is EDIT
Sorry above link is for Quickcam Communicate and Messenger only
Last edited by paragn; 04-10-2006 at 12:54 AM.
|
|
|
04-10-2006, 04:57 AM
|
#5
|
Senior Member
Registered: Jul 2003
Location: Indiana
Distribution: Mandrake Slackware-current QNX4.25
Posts: 1,802
Rep:
|
So how to make that code work?
Code:
#if LINUX_VERSION_CODE >= KERNEL_VERSION(2,6,0)
#if LINUX_VERSION_CODE < KERNEL_VERSION(2,6,16)
owner: THIS_MODULE,
#endif
#endif
Would that work?
|
|
|
04-10-2006, 11:29 AM
|
#6
|
LQ Newbie
Registered: Dec 2005
Location: Luxembourg
Distribution: Fedora Core 5
Posts: 23
Original Poster
Rep:
|
Quote:
Originally Posted by /bin/bash
Yeah I got that too when I went to 2.6.16 kernel.
I edited the file qc-driver.c and at line 3031 I commented out this section:
Code:
/*
#if LINUX_VERSION_CODE >= KERNEL_VERSION(2,6,0)
owner: THIS_MODULE,
#endif
*/
Don't ask me why this only appeared in the latest kernel. I've been building the quickcam driver for years without much problem.
|
I did this now, and then I compiled the driver without problems. But in the next step of the installation, I receive this error:
Quote:
insmod: error inserting './quickcam.ko': -1 Unknown symbol in module
=== Leaving root mode ===
quickcam: disagrees about version of symbol video_devdata
quickcam: Unknown symbol video_devdata
quickcam: disagrees about version of symbol video_unregister_device
quickcam: Unknown symbol video_unregister_device
quickcam: disagrees about version of symbol video_register_device
quickcam: Unknown symbol video_register_device
[!] The QuickCam driver failed to load!
|
Had nobody the same error? What can I make against it?
|
|
|
04-10-2006, 10:58 PM
|
#7
|
Senior Member
Registered: Jul 2003
Location: Indiana
Distribution: Mandrake Slackware-current QNX4.25
Posts: 1,802
Rep:
|
Did you build your current kernel with the sources you are using to build quickcam?
After I commented out the owner section I didn't have any more problems and the driver works fine.
Last edited by /bin/bash; 04-10-2006 at 10:59 PM.
|
|
|
04-11-2006, 07:26 AM
|
#8
|
LQ Newbie
Registered: Dec 2005
Location: Luxembourg
Distribution: Fedora Core 5
Posts: 23
Original Poster
Rep:
|
Quote:
Originally Posted by /bin/bash
Did you build your current kernel with the sources you are using to build quickcam?
|
I installed the kernel-devel package. With older kernels, in this package was everything I needed to make the webcam work.
Any advice?
|
|
|
04-11-2006, 07:37 AM
|
#9
|
Member
Registered: Jan 2006
Distribution: Red Hat EL5, Fedora 7
Posts: 259
Rep:
|
hi all,
can anyone try FC5 rpm for Quickcam Express driver from
|
|
|
04-11-2006, 09:16 AM
|
#10
|
LQ Newbie
Registered: Dec 2005
Location: Luxembourg
Distribution: Fedora Core 5
Posts: 23
Original Poster
Rep:
|
Quote:
Originally Posted by paragn
hi all,
can anyone try FC5 rpm for Quickcam Express driver from
|
When I install it, fedora crashes...
This rpm only ignores my error and continues the installation and then the screen becomes black
|
|
|
04-11-2006, 10:24 AM
|
#11
|
Member
Registered: Jan 2006
Distribution: Red Hat EL5, Fedora 7
Posts: 259
Rep:
|
hi,
how its possible i test it on my system?? did u got any errors in rpm installation??
|
|
|
04-11-2006, 10:28 AM
|
#12
|
Member
Registered: Jan 2006
Distribution: Red Hat EL5, Fedora 7
Posts: 259
Rep:
|
hi,
ok once u install rpm can u able to see dmesg output if yes can post last few lines
|
|
|
04-11-2006, 11:08 AM
|
#13
|
LQ Newbie
Registered: Dec 2005
Location: Luxembourg
Distribution: Fedora Core 5
Posts: 23
Original Poster
Rep:
|
I can't see the error message during the installation, because my screen becomes black, and then I have to restart my computer. But I think it must be the same error, as I descibed in post6. And the rpm doesn't stop the installation after this error, and then it crashes.
In dmesg is no new message.
I don't know what to do...
|
|
|
04-11-2006, 11:12 AM
|
#14
|
Member
Registered: Jan 2006
Distribution: Red Hat EL5, Fedora 7
Posts: 259
Rep:
|
ok then check /var/log/messages last few lines
|
|
|
04-11-2006, 11:47 AM
|
#15
|
LQ Newbie
Registered: Dec 2005
Location: Luxembourg
Distribution: Fedora Core 5
Posts: 23
Original Poster
Rep:
|
Quote:
Originally Posted by paragn
ok then check /var/log/messages last few lines
|
I neither receive a message in /var/log/messages, when I install the rpm.
When I install the tar file, I receive in /var/log/messages:
Quote:
Apr 11 17:41:18 x1-6-00-0d-60-ff-74-49 kernel: quickcam: disagrees about version of symbol video_devdata
Apr 11 17:41:18 x1-6-00-0d-60-ff-74-49 kernel: quickcam: Unknown symbol video_devdata
Apr 11 17:41:18 x1-6-00-0d-60-ff-74-49 kernel: quickcam: disagrees about version of symbol video_unregister_device
Apr 11 17:41:18 x1-6-00-0d-60-ff-74-49 kernel: quickcam: Unknown symbol video_unregister_device
Apr 11 17:41:18 x1-6-00-0d-60-ff-74-49 kernel: quickcam: disagrees about version of symbol video_register_device
Apr 11 17:41:18 x1-6-00-0d-60-ff-74-49 kernel: quickcam: Unknown symbol video_register_device
|
|
|
|
All times are GMT -5. The time now is 10:16 AM.
|
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.
|
Latest Threads
LQ News
|
|