You are not logged in.

#1 2018-11-25 11:36:30

alexpinta
Member
Registered: 2018-11-25
Posts: 4

How Install Webcam at Lenovo IdeaPad 100

Hello,

I'm a new ArchLinux user. So far I've been able to install everything I need, but for 2 days I'm trying to install the webcam.

I followed the steps from here, I downloaded the qc-usb-0.6.6.tar.gz file, but when I run the comands

make qc-usb-0.6.6

I get the following error:

awk: fatal: cannot open file `/lib/modules/4.19.2-arch1-1-ARCH/build/include/linux/version.h' for reading (No such file or directory)
/bin/sh: line 0: [: -ge: unary operator expected
/bin/sh: line 0: [: -ge: unary operator expected
cc -I/lib/modules/4.19.2-arch1-1-ARCH/build/include -nostdinc -iwithprefix include -DMODULE -D__KERNEL__ -DNOKERNEL -O2 -fomit-frame-pointer -fno-strict-aliasing -fno-common -Wall -Wstrict-prototypes -Wno-trigraphs -DHAVE_UTSRELEASE_H= -pipe -c qc-driver.c
In file included from qc-driver.c:47:
quickcam.h:79:10: fatal error: linux/autoconf.h: No such file or directory
 #include <linux/autoconf.h>
          ^~~~~~~~~~~~~~~~~~
compilation terminated.
make: *** [Makefile:175: qc-driver.o] Error 1

Where are they wrong? Can someone guide me? Thank you very much!

Last edited by alexpinta (2018-11-25 14:32:33)

Offline

#2 2018-11-25 12:39:07

Daerandin
Member
From: Norway
Registered: 2013-05-07
Posts: 281
Website

Re: How Install Webcam at Lenovo IdeaPad 100

Your link is incorrect, it currently points to an invalid link of the Arch Linux forums.

You should in most circumstances not install stuff without using pacman. So even if you were to install something not available in the official repositories, or the AUR, it is still advisable to write a PKGBUILD so that you could build a proper Arch package.

However, in this specific case you are trying to install a 12 year old driver. I don't think there is any hope of getting that to work with current kernels and libraries. Most webcams these days will work on Linux without needing any further work on the user's part. If your webcam does not work out-of-the-box, then I suggest reading the Arck wiki entry for webcams.

Offline

#3 2018-11-25 14:33:09

alexpinta
Member
Registered: 2018-11-25
Posts: 4

Re: How Install Webcam at Lenovo IdeaPad 100

Hi,

I resolve the link. Thank you!

Offline

Board footer

Powered by FluxBB