Installing Logitech Quickcam Messenger - what to do with kernel and symbolic link
Hi,
I installed Ubuntu 4.10 Warty Warthog a few days ago. I managed to install the Java Runtime Environment plug-in for Firefox by following instructions I found in various places. I'm not having the same success with my Logitech Quickcam Messenger. I've tried to follow the instructions at qce-ga.sourceforge.net which say that the following requirements must be met: Quote:
I used 'apt-get install gcc' to install what I believe is a C/C++ compiler. The command reported that gcc 3.3 had been installed. So that's the third requirement met. What I don't understand is how to meet the second requirement - even though I have already had the experience of creating a symbolic link when I installed the Java Runtime Environment. I don't understand the concept behind it and I haven't been able to work it out through googling... My questions are: If I need to create a copy of the linux kernel in /usr/src, why can't I just go to the folder where the kernel is stored on the system, and copy it to /usr/src? Why should I need to download the kernel source if it already exists on my system? What is the idea behind creating a symbolic link? In the second bullet point above, it says that the "symbolic link /lib/modules/`uname -r`/build should point to the source directory". On my system, I understand this means that /lib/modules/2.6.8.1-3-386 should point to the source directory where the source code for the kernel is stored - but where is this? Is it the kernel source code that you're supposed to copy or download to /usr/src/linux ? The rest of the installation process seems straightforward enough looking at the instructions, but I'm stuck on the above point. Any pointers would be very helpful. Thanks, Mark. |
normally, when you compile a kernel on your system from source,
a symlink /lib/modules/2.6.8.1-3-386/build will be made, pointing to the kernel-source. the sources are needed to compile the program you want to install, and it uses that symlink to locate the sources. so, if you don't have the kernel-source, you should download and install them ( in /usr/src is ok, but your home-dir will be ok too ). then make sure that symlink points to the source. than you can compile the prog. you want. egag |
It didn't work for me... :-(
I'm in the same case as Ranura: using ubuntu Warty (linux 2.6.8.1), and a logitech quickcam messenger.
I did the symlink as you reported (After downloading the source for my distro at /usr/src/linux, and then symlink /lib/modules/2.6.8.1-3-386/build to /usr/src/linux), egag, but I couldn't get it to work. I downloaded the driver qc-usb to a directory inmy /home dir, cd to it, and run "make all", but got a very long list of errors, and no "quickcam.ko" is produced (but it should, according to http://qce-ga.sourceforge.net/). I'm a bit lost (not used to compile kernels, etc.). Only used apt-get things before. By the way, the application "apt-build" could make any help in compiling the program? http://www.debtoo.org/apt-build.html |
what kind of errors do you get..?
egag |
errors list
This kind of errors:
(there where more at the beggining, but I cannot copy them since they disappear after executing the command "make all" until the end. Code:
Do I need to compile my own kernel in order to compile later the drivers for the Webcam "quickcam messenger"? Xavi |
well...i don't understand all of it , but are you sure you've got the correct sources to match your running kernel. ?
and are they complete ? did you get your source from ubuntu ? egag |
You might want to give a try to these drivers. They are a replacement for the old pwc drivers that used to be in the kernel and it works well with my Logitech webcam.
|
All times are GMT -5. The time now is 05:51 PM. |