Webcam driver compilation on B3
Posted: 01 Mar 2014, 06:24
I need some help with my fight 
I have (very) old QuickCam Messenger USB camera, and I wanted to make it work.
On the outside, seems to work well:
...so I went and downloaded Palantir first (http://www.fastpath.it/products/palantir/download.html). No do:
As I understand, there is "no palette" (whatever would that mean), so it tries to use V4L instead of V4L2, but fails.
Hm, ok, let's try with motion:
There's certainly something wrong with the driver. A bit of googling indicated that some brave soul created Linux driver for this specific camera: http://home.mag.cx/messenger/
Downloaded source to compile it, and here my problem begins:
OK, since I don't want to use the camera in X, I think I can safely skip xawtv and xdpyinfo, moving forward:
I'm actually not sure why the installed thinks kernel was built with different GCC than the one on the system - looks same to me. Let's continue:
This looks a bit bad - I've checked the script and it wants to find header file linux/videodev.h, which is absent from bubba-kernel source. Let's try to move forward anyways:
Intermission: I tried to configure kernel on instincts alone (full disclosure: I barely ever compiled my own kernel), so I just copied the current kernel config in kernel source dir, run make oldconfig, then make prepare failed with the following:
I've no idea how to fix that, so I left it at that. Back to driver install script:
And that's about it, the installed quits. Since you can also try to build the drive using make install, I tried that - output below:
I know there is quite a number of hackers in here, so could you please explain what I'm doing wrong and how to fix that?

I have (very) old QuickCam Messenger USB camera, and I wanted to make it work.
On the outside, seems to work well:
Code: Select all
[1790608.834055] usb 1-1.2: new full speed USB device number 8 using orion-ehci
[1790608.946727] STV06xx: Probing for a stv06xx device
[1790608.951641] gspca: probing 046d:08f0
[1790608.955399] STV06xx: Configuring camera
[1790608.959384] STV06xx: st6422 sensor detected
[1790608.963751] STV06xx: Initializing camera
[1790609.228364] input: STV06xx as /devices/platform/orion-ehci.0/usb1/1-1/1-1.2/input/input2
[1790609.236872] gspca: video0 created
[1790609.240682] STV06xx: Probing for a stv06xx device
Code: Select all
root@b3:~# lsusb
Bus 001 Device 008: ID 046d:08f0 Logitech, Inc. QuickCam Messenger
Bus 001 Device 002: ID 05e3:0608 Genesys Logic, Inc. USB-2.0 4-Port HUB
Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Code: Select all
# ./palantir
Mar 1 12:07:05 [config] Default config file `/usr/local/share/palantir/palantir.conf' not found
Mar 1 12:07:05 [main] -- palantir 2.8pre3 starting --
Mar 1 12:07:05 [main] Definitions for 0 devices found
Mar 1 12:07:05 [main] No serial port specified
Mar 1 12:07:05 [main] No named pipe specified
Mar 1 12:07:05 [video] Trying V4L2 interface first
Mar 1 12:07:05 [video] Driver: STV06xx
Mar 1 12:07:05 [video] Card: Camera
Mar 1 12:07:05 [video] Bus_info: usb-orion-ehci.0-1.2
Mar 1 12:07:05 [video] Capabilities: video_capture readwrite streaming
Mar 1 12:07:05 [video] Video input 0: type composite ("STV06xx")
Mar 1 12:07:05 [video] control: Brightness [1:0-31/1]
Mar 1 12:07:05 [video] control: Contrast [1:0-15/1]
Mar 1 12:07:05 [video] control: Exposure [1:0-1023/1]
Mar 1 12:07:05 [video] control: Gain [1:0-255/1]
Mar 1 12:07:05 [video] available pixformat: GRBG - GRBG
Mar 1 12:07:05 [video] trying BGR3...
Mar 1 12:07:05 [video] trying YU12...
Mar 1 12:07:05 [video] trying YUYV...
Mar 1 12:07:05 [video] trying UYVY...
Mar 1 12:07:05 [video] trying BA81...
Mar 1 12:07:05 [video] trying GBRG...
Mar 1 12:07:05 [video] trying GRBG...
Mar 1 12:07:05 [video] GRBG supported with capture size 162x120
Mar 1 12:07:05 [video] trying RGGB...
Mar 1 12:07:05 [video] trying S561...
Mar 1 12:07:05 [video] No supported palette available for requested size, reverting to V4L
Mar 1 12:07:05 [video] GCAP: Invalid argument
Mar 1 12:07:05 [video] ** Fatal error: Could not get V4L1 device capabilities (running a V4L2-only driver?)
Hm, ok, let's try with motion:
Code: Select all
# motion
[0] Processing thread 0 - config file /etc/motion/motion.conf
[0] Motion 3.2.12 Started
[0] ffmpeg LIBAVCODEC_BUILD 3412993 LIBAVFORMAT_BUILD 3415808
[0] Thread 1 is from /etc/motion/motion.conf
[0] motion-httpd/3.2.12 running, accepting connections
[0] motion-httpd: waiting for data on port TCP 8080
[1] Thread 1 started
[1] cap.driver: "STV06xx"
[1] cap.card: "Camera"
[1] cap.bus_info: "usb-orion-ehci.0-1.2"
[1] cap.capabilities=0x05000001
[1] - VIDEO_CAPTURE
[1] - READWRITE
[1] - STREAMING
[1] Config palette index 8 (YU12) doesn't work.
[1] Supported palettes:
[1] 0: GRBG (GRBG)
[1] Unable to find a compatible palette format.
[1] ioctl (VIDIOCGCAP): Invalid argument
[1] Could not fetch initial image from camera
[1] Motion continues using width and height from config file(s)
[1] Resizing pre_capture buffer to 1 items
[1] Started stream webcam server in port 8081
[1] Retrying until successful connection with camera
[1] cap.driver: "STV06xx"
[1] cap.card: "Camera"
[1] cap.bus_info: "usb-orion-ehci.0-1.2"
[1] cap.capabilities=0x05000001
[1] - VIDEO_CAPTURE
[1] - READWRITE
[1] - STREAMING
[1] Config palette index 8 (YU12) doesn't work.
[1] Supported palettes:
[1] 0: GRBG (GRBG)
[1] Unable to find a compatible palette format.
[1] ioctl (VIDIOCGCAP): Invalid argument
Downloaded source to compile it, and here my problem begins:
Code: Select all
# ./quickcam.sh
-=- Logitech QuickCam USB camera driver installer -=-
Hello! I am the (hopefully) easy-to-use, fully automated
qc-usb driver installation script.
At the moment, this is experimental, and if it doesn't work,
don't hesitate to quit this with Ctrl+C and install the
driver manually.
The driver is provided in source code form, so it has to be
compiled. This should happen automatically, but it does mean
that there are some steps required before installation.
You also need to know "root" user password to test and
install the driver.
Basically you need only to keep hitting Enter whenever you
see this prompt: --->. Sometimes you're asked root password.
Pay special attention to lines beginning with [!].
It means that some trouble has been detected.
To most important location is the path to your kernel source
or headers. This can be guessed, but you can specify it by
giving it as an argument to this script like this:
./quickcam.sh LINUX_DIR=/usr/src/linux
If you haven't done it yet, now it would be a good moment to
take a look at file README.
Next I'm going to check if you have some important programs installed
and if they and the kernel are of suitable version.
Press Ctrl+C to quit, Enter to continue --->
./quickcam.sh
/usr/bin/whoami
/bin/su
/bin/ls
/bin/cat
/usr/bin/gcc
/usr/bin/gcc
/usr/bin/make
/bin/grep
/bin/egrep
/usr/bin/awk
/bin/sed
/usr/bin/tail
/usr/bin/head
/usr/bin/install
/usr/bin/ld
/bin/uname
/usr/bin/tr
Warning: xawtv missing
Warning: xdpyinfo missing
/bin/dmesg
/usr/bin/wc
[!] Some important programs can not be found on default path.
Probably they aren't installed.
You should install them, for example, by using apt-get or rpm.
WARNING: If you press Enter, I'll try to continue anyway,
but this probably will fail. You SHOULD press Ctrl+C now.
Press Ctrl+C to quit, Enter to continue --->
Code: Select all
/bin/readlink
gcc version: Configured with: ../src/configure -v --with-pkgversion='Debian 4.4.5-8' --with-bugurl=file:///usr/share/doc/gcc-4.4/README.Bugs --enable-languages=c,c++,fortran,objc,obj-c++ --prefix=/usr --program-suffix=-4.4 --enable-shared --enable-multiarch --enable-linker-build-id --with-system-zlib --libexecdir=/usr/lib --without-included-gettext --enable-threads=posix --with-gxx-include-dir=/usr/include/c++/4.4 --libdir=/usr/lib --enable-nls --enable-clocale=gnu --enable-libstdcxx-debug --enable-objc-gc --disable-sjlj-exceptions --enable-checking=release --build=arm-linux-gnueabi --host=arm-linux-gnueabi --target=arm-linux-gnueabi
gcc version 4.4.5 (Debian 4.4.5-8)
gcc version: Configured with: ../src/configure -v --with-pkgversion='Debian 4.4.5-8' --with-bugurl=file:///usr/share/doc/gcc-4.4/README.Bugs --enable-languages=c,c++,fortran,objc,obj-c++ --prefix=/usr --program-suffix=-4.4 --enable-shared --enable-multiarch --enable-linker-build-id --with-system-zlib --libexecdir=/usr/lib --without-included-gettext --enable-threads=posix --with-gxx-include-dir=/usr/include/c++/4.4 --libdir=/usr/lib --enable-nls --enable-clocale=gnu --enable-libstdcxx-debug --enable-objc-gc --disable-sjlj-exceptions --enable-checking=release --build=arm-linux-gnueabi --host=arm-linux-gnueabi --target=arm-linux-gnueabi
gcc version 4.4.5 (Debian 4.4.5-8)
Make version: GNU Make 3.81
Linker version: GNU ld (GNU Binutils for Debian) 2.20.1-system.20100303
Kernel compiler: [email protected]) (gcc version 4.4.5 (Debian 4.4.5-8)
[!] Kernel compiler and gcc seem to be different versions.
Instead, they should be the same. If you have many compilers
installed, you can specify the correct one with command (in bash)
export CC=kgcc
before trying to install the driver. Replace kgcc with the command
required for compiling kernels (kgcc is often used in Red Hat systems).
WARNING: If you press Enter, I'll try to continue anyway,
but this probably will fail. You SHOULD press Ctrl+C now.
Code: Select all
Looking for more necessary programs...
Found program /sbin/depmod
Found program /sbin/insmod
Found program /sbin/rmmod
Found program /sbin/modprobe
Found program /bin/mount
Found program /usr/sbin/lsusb
depmod version: module-init-tools 3.12
insmod version: module-init-tools version 3.12
rmmod version: module-init-tools version 3.12
modprobe version: module-init-tools version 3.12
Checking whether we're root... root
[!] Running script as root.
You shouldn't run this script as root. It should work,
but is unsafe. Please run this as an ordinary user.
When root access is really needed, you will be prompted
for the root password.
WARNING: If you press Enter, I'll try to continue anyway,
but this probably will fail. You SHOULD press Ctrl+C now.
Press Ctrl+C to quit, Enter to continue --->
Checking for driver source code...
Checking for write permission...
Previous round done. Now checking if you have kernel source installed.
Kernel source directory: /lib/modules/2.6.39.4-11/build
[!] Can not find kernel source or even headers.
Make sure that they are installed (install with e.g. rpm or apt-get
if necessary) and ensure that you have read rights to the files.
WARNING: If you press Enter, I'll try to continue anyway,
but this probably will fail. You SHOULD press Ctrl+C now.
Press Ctrl+C to quit, Enter to continue --->
Code: Select all
Detected kernel version is 2.6.x.
[!] Kernel source is not configured properly.
[: 435: y: unexpected operator
You have only kernel headers but they are not configured
properly. It's pointless trying to continue, this won't work.
Either install properly configured kernel headers or full
source with kernel configuration file. In the latter case
I can configure the kernel source using the configuration
file automatically.
WARNING: If you press Enter, I'll try to continue anyway,
but this probably will fail. You SHOULD press Ctrl+C now.
Code: Select all
# make prepare
scripts/kconfig/conf --silentoldconfig Kconfig
CHK include/linux/version.h
CHK include/generated/utsrelease.h
make[1]: *** No rule to make target `arch/arm/tools/gen-mach-types', needed by `include/generated/mach-types.h'. Stop.
make: *** [archprepare] Error 2
Code: Select all
Couldn't find KERNEL_UTS version
Code: Select all
# make install
make -C "/lib/modules/2.6.39.4-11/build" SUBDIRS="/home/stan/downloads/qc-usb-messenger-1.8" modules V=1 USER_OPT="-DHAVE_UTSRELEASE_H="
make[1]: Entering directory `/usr/src/bubba3-kernel-headers'
test -e include/generated/autoconf.h -a -e include/config/auto.conf || ( \
echo; \
echo " ERROR: Kernel configuration is invalid."; \
echo " include/generated/autoconf.h or include/config/auto.conf are missing.";\
echo " Run 'make oldconfig && make prepare' on kernel src to fix it."; \
echo; \
/bin/false)
mkdir -p /home/stan/downloads/qc-usb-messenger-1.8/.tmp_versions ; rm -f /home/stan/downloads/qc-usb-messenger-1.8/.tmp_versions/*
make -f scripts/Makefile.build obj=/home/stan/downloads/qc-usb-messenger-1.8
gcc -Wp,-MD,/home/stan/downloads/qc-usb-messenger-1.8/.qc-driver.o.d -nostdinc -isystem /usr/lib/gcc/arm-linux-gnueabi/4.4.5/include -I/usr/src/bubba3-kernel-headers/arch/arm/include -Iinclude -include include/generated/autoconf.h -D__KERNEL__ -mlittle-endian -Iarch/arm/mach-kirkwood/include -Iarch/arm/plat-orion/include -Wall -Wundef -Wstrict-prototypes -Wno-trigraphs -fno-strict-aliasing -fno-common -Werror-implicit-function-declaration -Wno-format-security -fno-delete-null-pointer-checks -O2 -marm -fno-dwarf2-cfi-asm -fno-omit-frame-pointer -mapcs -mno-sched-prolog -mabi=aapcs-linux -mno-thumb-interwork -D__LINUX_ARM_ARCH__=5 -march=armv5te -mtune=xscale -msoft-float -Uarm -Wframe-larger-than=1024 -fno-stack-protector -fno-omit-frame-pointer -fno-optimize-sibling-calls -Wdeclaration-after-statement -Wno-pointer-sign -fno-strict-overflow -fconserve-stack -DNOKERNEL -DHAVE_UTSRELEASE_H= -DMODULE -D"KBUILD_STR(s)=#s" -D"KBUILD_BASENAME=KBUILD_STR(qc_driver)" -D"KBUILD_MODNAME=KBUILD_STR(qcmessenger)" -c -o /home/stan/downloads/qc-usb-messenger-1.8/qc-driver.o /home/stan/downloads/qc-usb-messenger-1.8/qc-driver.c
In file included from /home/stan/downloads/qc-usb-messenger-1.8/qc-driver.c:47:
/home/stan/downloads/qc-usb-messenger-1.8/quickcam.h:95:28: error: linux/autoconf.h: No such file or directory
/home/stan/downloads/qc-usb-messenger-1.8/quickcam.h:113:28: error: linux/videodev.h: No such file or directory
In file included from /home/stan/downloads/qc-usb-messenger-1.8/qc-driver.c:47:
/home/stan/downloads/qc-usb-messenger-1.8/quickcam.h:561: error: field ‘vpic’ has incomplete type
/home/stan/downloads/qc-usb-messenger-1.8/quickcam.h:563: error: field ‘vwin’ has incomplete type
/home/stan/downloads/qc-usb-messenger-1.8/qc-driver.c:52:74: error: operator '==' has no left operand
/home/stan/downloads/qc-usb-messenger-1.8/qc-driver.c:71:28: error: linux/smp_lock.h: No such file or directory
/home/stan/downloads/qc-usb-messenger-1.8/qc-driver.c:228: warning: type defaults to ‘int’ in declaration of ‘DECLARE_MUTEX’
/home/stan/downloads/qc-usb-messenger-1.8/qc-driver.c:228: warning: parameter names (without types) in function declaration
/home/stan/downloads/qc-usb-messenger-1.8/qc-driver.c: In function ‘qc_lock’:
/home/stan/downloads/qc-usb-messenger-1.8/qc-driver.c:588: error: ‘quickcam_list_lock’ undeclared (first use in this function)
/home/stan/downloads/qc-usb-messenger-1.8/qc-driver.c:588: error: (Each undeclared identifier is reported only once
/home/stan/downloads/qc-usb-messenger-1.8/qc-driver.c:588: error: for each function it appears in.)
/home/stan/downloads/qc-usb-messenger-1.8/qc-driver.c: In function ‘qc_proc_read’:
/home/stan/downloads/qc-usb-messenger-1.8/qc-driver.c:960: error: ‘UTS_RELEASE’ undeclared (first use in this function)
/home/stan/downloads/qc-usb-messenger-1.8/qc-driver.c:1057: error: ‘quickcam_list_lock’ undeclared (first use in this function)
/home/stan/downloads/qc-usb-messenger-1.8/qc-driver.c: In function ‘qc_proc_button_read’:
/home/stan/downloads/qc-usb-messenger-1.8/qc-driver.c:1090: error: ‘quickcam_list_lock’ undeclared (first use in this function)
/home/stan/downloads/qc-usb-messenger-1.8/qc-driver.c: In function ‘qc_proc_create’:
/home/stan/downloads/qc-usb-messenger-1.8/qc-driver.c:1127: error: ‘struct proc_dir_entry’ has no member named ‘owner’
/home/stan/downloads/qc-usb-messenger-1.8/qc-driver.c:1140: error: ‘struct proc_dir_entry’ has no member named ‘owner’
/home/stan/downloads/qc-usb-messenger-1.8/qc-driver.c: In function ‘qc_proc_init’:
/home/stan/downloads/qc-usb-messenger-1.8/qc-driver.c:1182: error: ‘struct proc_dir_entry’ has no member named ‘owner’
/home/stan/downloads/qc-usb-messenger-1.8/qc-driver.c:1188: error: ‘struct proc_dir_entry’ has no member named ‘owner’
/home/stan/downloads/qc-usb-messenger-1.8/qc-driver.c: In function ‘qc_frame_exit’:
/home/stan/downloads/qc-usb-messenger-1.8/qc-driver.c:1619: error: request for member ‘counter’ in something not a structure or union
/home/stan/downloads/qc-usb-messenger-1.8/qc-driver.c:1630: error: request for member ‘counter’ in something not a structure or union
/home/stan/downloads/qc-usb-messenger-1.8/qc-driver.c: In function ‘qc_frame_get’:
/home/stan/downloads/qc-usb-messenger-1.8/qc-driver.c:1659: error: request for member ‘counter’ in something not a structure or union
/home/stan/downloads/qc-usb-messenger-1.8/qc-driver.c:1666: error: request for member ‘counter’ in something not a structure or union
/home/stan/downloads/qc-usb-messenger-1.8/qc-driver.c: In function ‘qc_v4l_poll’:
/home/stan/downloads/qc-usb-messenger-1.8/qc-driver.c:2625: error: ‘struct video_device’ has no member named ‘priv’
/home/stan/downloads/qc-usb-messenger-1.8/qc-driver.c: In function ‘qc_v4l_init’:
/home/stan/downloads/qc-usb-messenger-1.8/qc-driver.c:2652: error: ‘VIDEO_PALETTE_RGB24’ undeclared (first use in this function)
/home/stan/downloads/qc-usb-messenger-1.8/qc-driver.c: In function ‘qc_v4l_open’:
/home/stan/downloads/qc-usb-messenger-1.8/qc-driver.c:2677: error: ‘struct video_device’ has no member named ‘priv’
/home/stan/downloads/qc-usb-messenger-1.8/qc-driver.c:2688: error: ‘quickcam_list_lock’ undeclared (first use in this function)
/home/stan/downloads/qc-usb-messenger-1.8/qc-driver.c:2693: error: request for member ‘counter’ in something not a structure or union
/home/stan/downloads/qc-usb-messenger-1.8/qc-driver.c:2708: error: request for member ‘counter’ in something not a structure or union
/home/stan/downloads/qc-usb-messenger-1.8/qc-driver.c:2714: error: request for member ‘counter’ in something not a structure or union
/home/stan/downloads/qc-usb-messenger-1.8/qc-driver.c:2716: error: request for member ‘counter’ in something not a structure or union
/home/stan/downloads/qc-usb-messenger-1.8/qc-driver.c: In function ‘qc_v4l_close’:
/home/stan/downloads/qc-usb-messenger-1.8/qc-driver.c:2742: error: ‘struct video_device’ has no member named ‘priv’
/home/stan/downloads/qc-usb-messenger-1.8/qc-driver.c:2750: error: ‘quickcam_list_lock’ undeclared (first use in this function)
/home/stan/downloads/qc-usb-messenger-1.8/qc-driver.c:2752: error: request for member ‘counter’ in something not a structure or union
/home/stan/downloads/qc-usb-messenger-1.8/qc-driver.c:2767: error: request for member ‘counter’ in something not a structure or union
/home/stan/downloads/qc-usb-messenger-1.8/qc-driver.c: In function ‘qc_v4l_read’:
/home/stan/downloads/qc-usb-messenger-1.8/qc-driver.c:2791: error: ‘struct video_device’ has no member named ‘priv’
/home/stan/downloads/qc-usb-messenger-1.8/qc-driver.c:2804: error: request for member ‘counter’ in something not a structure or union
/home/stan/downloads/qc-usb-messenger-1.8/qc-driver.c:2826: error: request for member ‘counter’ in something not a structure or union
/home/stan/downloads/qc-usb-messenger-1.8/qc-driver.c: In function ‘qc_v4l_mmap’:
/home/stan/downloads/qc-usb-messenger-1.8/qc-driver.c:2848: error: ‘struct video_device’ has no member named ‘priv’
/home/stan/downloads/qc-usb-messenger-1.8/qc-driver.c:2855: error: request for member ‘counter’ in something not a structure or union
/home/stan/downloads/qc-usb-messenger-1.8/qc-driver.c:2862: error: request for member ‘counter’ in something not a structure or union
/home/stan/downloads/qc-usb-messenger-1.8/qc-driver.c: In function ‘qc_v4l_ioctl’:
/home/stan/downloads/qc-usb-messenger-1.8/qc-driver.c:2880: error: ‘struct video_device’ has no member named ‘priv’
/home/stan/downloads/qc-usb-messenger-1.8/qc-driver.c:2884: error: request for member ‘counter’ in something not a structure or union
/home/stan/downloads/qc-usb-messenger-1.8/qc-driver.c:2892: error: ‘VIDIOCGCAP’ undeclared (first use in this function)
/home/stan/downloads/qc-usb-messenger-1.8/qc-driver.c:2894: error: storage size of ‘b’ isn’t known
/home/stan/downloads/qc-usb-messenger-1.8/qc-driver.c:2898: error: ‘struct video_device’ has no member named ‘type’
/home/stan/downloads/qc-usb-messenger-1.8/qc-driver.c:2894: warning: unused variable ‘b’
/home/stan/downloads/qc-usb-messenger-1.8/qc-driver.c:2914: error: ‘VIDIOCGCHAN’ undeclared (first use in this function)
/home/stan/downloads/qc-usb-messenger-1.8/qc-driver.c:2916: error: storage size of ‘v’ isn’t known
/home/stan/downloads/qc-usb-messenger-1.8/qc-driver.c:2928: error: ‘VIDEO_TYPE_CAMERA’ undeclared (first use in this function)
/home/stan/downloads/qc-usb-messenger-1.8/qc-driver.c:2916: warning: unused variable ‘v’
/home/stan/downloads/qc-usb-messenger-1.8/qc-driver.c:2935: error: ‘VIDIOCSCHAN’ undeclared (first use in this function)
/home/stan/downloads/qc-usb-messenger-1.8/qc-driver.c:2956: error: ‘VIDIOCGPICT’ undeclared (first use in this function)
/home/stan/downloads/qc-usb-messenger-1.8/qc-driver.c:2964: error: ‘VIDIOCSPICT’ undeclared (first use in this function)
/home/stan/downloads/qc-usb-messenger-1.8/qc-driver.c:2966: error: storage size of ‘p’ isn’t known
/home/stan/downloads/qc-usb-messenger-1.8/qc-driver.c:2966: warning: unused variable ‘p’
/home/stan/downloads/qc-usb-messenger-1.8/qc-driver.c:3005: error: ‘VIDIOCSWIN’ undeclared (first use in this function)
/home/stan/downloads/qc-usb-messenger-1.8/qc-driver.c:3007: error: storage size of ‘vw’ isn’t known
/home/stan/downloads/qc-usb-messenger-1.8/qc-driver.c:3007: warning: unused variable ‘vw’
/home/stan/downloads/qc-usb-messenger-1.8/qc-driver.c:3024: error: ‘VIDIOCGWIN’ undeclared (first use in this function)
/home/stan/downloads/qc-usb-messenger-1.8/qc-driver.c:3053: error: ‘VIDIOCGMBUF’ undeclared (first use in this function)
/home/stan/downloads/qc-usb-messenger-1.8/qc-driver.c:3055: error: storage size of ‘vm’ isn’t known
/home/stan/downloads/qc-usb-messenger-1.8/qc-driver.c:3055: warning: unused variable ‘vm’
/home/stan/downloads/qc-usb-messenger-1.8/qc-driver.c:3076: error: ‘VIDIOCMCAPTURE’ undeclared (first use in this function)
/home/stan/downloads/qc-usb-messenger-1.8/qc-driver.c:3078: error: storage size of ‘vm’ isn’t known
/home/stan/downloads/qc-usb-messenger-1.8/qc-driver.c:3078: warning: unused variable ‘vm’
/home/stan/downloads/qc-usb-messenger-1.8/qc-driver.c:3107: error: ‘VIDIOCSYNC’ undeclared (first use in this function)
/home/stan/downloads/qc-usb-messenger-1.8/qc-driver.c:3116: error: ‘VIDIOCGFBUF’ undeclared (first use in this function)
/home/stan/downloads/qc-usb-messenger-1.8/qc-driver.c:3118: error: storage size of ‘vb’ isn’t known
/home/stan/downloads/qc-usb-messenger-1.8/qc-driver.c:3118: warning: unused variable ‘vb’
/home/stan/downloads/qc-usb-messenger-1.8/qc-driver.c:3126: error: ‘VIDIOCKEY’ undeclared (first use in this function)
/home/stan/downloads/qc-usb-messenger-1.8/qc-driver.c:3132: error: ‘VIDIOCCAPTURE’ undeclared (first use in this function)
/home/stan/downloads/qc-usb-messenger-1.8/qc-driver.c:3138: error: ‘VIDIOCSFBUF’ undeclared (first use in this function)
/home/stan/downloads/qc-usb-messenger-1.8/qc-driver.c:3144: error: ‘VIDIOCGTUNER’ undeclared (first use in this function)
/home/stan/downloads/qc-usb-messenger-1.8/qc-driver.c:3145: error: ‘VIDIOCSTUNER’ undeclared (first use in this function)
/home/stan/downloads/qc-usb-messenger-1.8/qc-driver.c:3151: error: ‘VIDIOCGFREQ’ undeclared (first use in this function)
/home/stan/downloads/qc-usb-messenger-1.8/qc-driver.c:3152: error: ‘VIDIOCSFREQ’ undeclared (first use in this function)
/home/stan/downloads/qc-usb-messenger-1.8/qc-driver.c:3158: error: ‘VIDIOCGAUDIO’ undeclared (first use in this function)
/home/stan/downloads/qc-usb-messenger-1.8/qc-driver.c:3159: error: ‘VIDIOCSAUDIO’ undeclared (first use in this function)
/home/stan/downloads/qc-usb-messenger-1.8/qc-driver.c:3455: error: request for member ‘counter’ in something not a structure or union
/home/stan/downloads/qc-usb-messenger-1.8/qc-driver.c: At top level:
/home/stan/downloads/qc-usb-messenger-1.8/qc-driver.c:3479: error: unknown field ‘ioctl’ specified in initializer
/home/stan/downloads/qc-usb-messenger-1.8/qc-driver.c:3479: warning: initialization from incompatible pointer type
/home/stan/downloads/qc-usb-messenger-1.8/qc-driver.c:3487: error: unknown field ‘type’ specified in initializer
/home/stan/downloads/qc-usb-messenger-1.8/qc-driver.c:3487: error: ‘VID_TYPE_CAPTURE’ undeclared here (not in a function)
/home/stan/downloads/qc-usb-messenger-1.8/qc-driver.c:3494: warning: initialization from incompatible pointer type
/home/stan/downloads/qc-usb-messenger-1.8/qc-driver.c: In function ‘qc_usb_init’:
/home/stan/downloads/qc-usb-messenger-1.8/qc-driver.c:3550: error: ‘quickcam_list_lock’ undeclared (first use in this function)
/home/stan/downloads/qc-usb-messenger-1.8/qc-driver.c:3556: error: request for member ‘counter’ in something not a structure or union
/home/stan/downloads/qc-usb-messenger-1.8/qc-driver.c:3559: error: request for member ‘counter’ in something not a structure or union
/home/stan/downloads/qc-usb-messenger-1.8/qc-driver.c:3564: error: request for member ‘counter’ in something not a structure or union
/home/stan/downloads/qc-usb-messenger-1.8/qc-driver.c:3591: error: implicit declaration of function ‘init_MUTEX_LOCKED’
/home/stan/downloads/qc-usb-messenger-1.8/qc-driver.c:3665: error: ‘struct input_dev’ has no member named ‘private’
/home/stan/downloads/qc-usb-messenger-1.8/qc-driver.c:3739: error: ‘struct video_device’ has no member named ‘priv’
/home/stan/downloads/qc-usb-messenger-1.8/qc-driver.c:3772: error: request for member ‘counter’ in something not a structure or union
/home/stan/downloads/qc-usb-messenger-1.8/qc-driver.c:3784: error: request for member ‘counter’ in something not a structure or union
/home/stan/downloads/qc-usb-messenger-1.8/qc-driver.c: In function ‘qc_usb_probe’:
/home/stan/downloads/qc-usb-messenger-1.8/qc-driver.c:3949: error: ‘UTS_RELEASE’ undeclared (first use in this function)
/home/stan/downloads/qc-usb-messenger-1.8/qc-driver.c: In function ‘qc_usb_disconnect’:
/home/stan/downloads/qc-usb-messenger-1.8/qc-driver.c:4060: error: ‘quickcam_list_lock’ undeclared (first use in this function)
/home/stan/downloads/qc-usb-messenger-1.8/qc-driver.c:4062: error: request for member ‘counter’ in something not a structure or union
/home/stan/downloads/qc-usb-messenger-1.8/qc-driver.c:4075: error: request for member ‘counter’ in something not a structure or union
make[2]: *** [/home/stan/downloads/qc-usb-messenger-1.8/qc-driver.o] Error 1
make[1]: *** [_module_/home/stan/downloads/qc-usb-messenger-1.8] Error 2
make[1]: Leaving directory `/usr/src/bubba3-kernel-headers'
make: *** [qcmessenger.ko] Error 2