LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Hardware
User Name
Password
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


Reply
  Search this Thread
Old 04-07-2006, 09:03 AM   #1
huepfendes_schaf
LQ Newbie
 
Registered: Dec 2005
Location: Luxembourg
Distribution: Fedora Core 5
Posts: 23

Rep: Reputation: 15
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.
 
Old 04-09-2006, 07:52 PM   #2
/bin/bash
Senior Member
 
Registered: Jul 2003
Location: Indiana
Distribution: Mandrake Slackware-current QNX4.25
Posts: 1,802

Rep: Reputation: 47
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.
 
Old 04-10-2006, 12:26 AM   #3
paragn
Member
 
Registered: Jan 2006
Distribution: Red Hat EL5, Fedora 7
Posts: 259

Rep: Reputation: 30
hi,
The simple answer to your errors is that, above 2.6.15 kernels, usb_device struct now don,t contain any owner field
 
Old 04-10-2006, 12:33 AM   #4
paragn
Member
 
Registered: Jan 2006
Distribution: Red Hat EL5, Fedora 7
Posts: 259

Rep: Reputation: 30
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.
 
Old 04-10-2006, 04:57 AM   #5
/bin/bash
Senior Member
 
Registered: Jul 2003
Location: Indiana
Distribution: Mandrake Slackware-current QNX4.25
Posts: 1,802

Rep: Reputation: 47
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?
 
Old 04-10-2006, 11:29 AM   #6
huepfendes_schaf
LQ Newbie
 
Registered: Dec 2005
Location: Luxembourg
Distribution: Fedora Core 5
Posts: 23

Original Poster
Rep: Reputation: 15
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?
 
Old 04-10-2006, 10:58 PM   #7
/bin/bash
Senior Member
 
Registered: Jul 2003
Location: Indiana
Distribution: Mandrake Slackware-current QNX4.25
Posts: 1,802

Rep: Reputation: 47
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.
 
Old 04-11-2006, 07:26 AM   #8
huepfendes_schaf
LQ Newbie
 
Registered: Dec 2005
Location: Luxembourg
Distribution: Fedora Core 5
Posts: 23

Original Poster
Rep: Reputation: 15
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?
 
Old 04-11-2006, 07:37 AM   #9
paragn
Member
 
Registered: Jan 2006
Distribution: Red Hat EL5, Fedora 7
Posts: 259

Rep: Reputation: 30
hi all,
can anyone try FC5 rpm for Quickcam Express driver from
 
Old 04-11-2006, 09:16 AM   #10
huepfendes_schaf
LQ Newbie
 
Registered: Dec 2005
Location: Luxembourg
Distribution: Fedora Core 5
Posts: 23

Original Poster
Rep: Reputation: 15
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
 
Old 04-11-2006, 10:24 AM   #11
paragn
Member
 
Registered: Jan 2006
Distribution: Red Hat EL5, Fedora 7
Posts: 259

Rep: Reputation: 30
hi,
how its possible i test it on my system?? did u got any errors in rpm installation??
 
Old 04-11-2006, 10:28 AM   #12
paragn
Member
 
Registered: Jan 2006
Distribution: Red Hat EL5, Fedora 7
Posts: 259

Rep: Reputation: 30
hi,
ok once u install rpm can u able to see dmesg output if yes can post last few lines
 
Old 04-11-2006, 11:08 AM   #13
huepfendes_schaf
LQ Newbie
 
Registered: Dec 2005
Location: Luxembourg
Distribution: Fedora Core 5
Posts: 23

Original Poster
Rep: Reputation: 15
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...
 
Old 04-11-2006, 11:12 AM   #14
paragn
Member
 
Registered: Jan 2006
Distribution: Red Hat EL5, Fedora 7
Posts: 259

Rep: Reputation: 30
ok then check /var/log/messages last few lines
 
Old 04-11-2006, 11:47 AM   #15
huepfendes_schaf
LQ Newbie
 
Registered: Dec 2005
Location: Luxembourg
Distribution: Fedora Core 5
Posts: 23

Original Poster
Rep: Reputation: 15
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
 
  


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 on fc3 cyanide_2 Linux - Hardware 5 03-29-2005 10:27 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 and mod_quickcam.o Infinity Linux - General 3 10-18-2001 10:03 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Hardware

All times are GMT -5. The time now is 10:16 AM.

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