[Hampshire] usb webcam drivers

Top Page

Reply to this message
Author: Mike Burrows
Date:  
To: Hants LUG
Subject: [Hampshire] usb webcam drivers
Hello folks. I've downloaded what I think is the latest driver for my
webcam but get this stuff when I try and "make" the file.



marvin:/tmp/qc-usb-0.6.5# make
awk: cmd. line:1: fatal: cannot open file
`/lib/modules/2.6.8-3-386/build/include/linux/version.h' for reading (No
such file or directory)
/bin/sh: line 1: [: -ge: unary operator expected
/bin/sh: line 1: [: -ge: unary operator expected
-=- Logitech QuickCam USB camera driver -=-

Makefile target examples:
make all - Compile driver and utilities against current running kernel
make all USER_OPT=-DDEBUG - Compile with debugging code and messages
make all LINUX_DIR=/usr/src/linux - Compile against specified kernel
source
make install - Copy driver and utilities into standard locations (needs
root)
make install PREFIX=/usr - Copy utilities to /usr/bin instead
of /usr/local/bin
make install MODULE_DIR=/lib/modules/2.4.0 - Copy module
to /lib/modules/2.4.0/misc
make clean - Remove object files from the source directory

Current configuration:
Driver source directory (PWD):         /tmp/qc-usb-0.6.5
Kernel source directory (LINUX_DIR):   /lib/modules/2.6.8-3-386/build
Module install directory (MODULE_DIR): /lib/modules/2.6.8-3-386
Utility install directory (PREFIX):    /usr/local
User options (USER_OPT):               -DHAVE_UTSRELEASE_H=
Driver file name (use with insmod):    quickcam.o
Kernel version code:
marvin:/tmp/qc-usb-0.6.5#     


using make is recommended by the readme file. I'm guessing that the
2.6.8-3-386 kernel is too modern for the driver but other than that, I
don't know why the file wont compile.

Any help gratefully received.

TIA
Mike