Compilation errors with 3.1.9-1.4

Help
Andreas
2012-02-28
2013-04-15
  • Andreas
    Andreas
    2012-02-28

    When I try to compile qcamvc on kernel version 3.1.9-1.4, I get the following errors:

    mkdir -p .tmp_versions
    cp /lib/modules/3.1.9-1.4-default/build/.tmp_versions/*.mod /home/amadrits/Temp/12.1/qcamvc/qcamvc-1.0.11/linux_2.6/.tmp_versions
    cp: cannot stat `/lib/modules/3.1.9-1.4-default/build/.tmp_versions/*.mod': No such file or directory
    make: [modules] Error 1 (ignored)
    make -C /lib/modules/3.1.9-1.4-default/build SUBDIRS=/home/amadrits/Temp/12.1/qcamvc/qcamvc-1.0.11/linux_2.6 MODVERDIR=/home/amadrits/Temp/12.1/qcamvc/qcamvc-1.0.11/linux_2.6/.tmp_versions modules
    make[1]: Entering directory `/usr/src/linux-3.1.9-1.4-obj/i386/default'
      CC [M]  /home/amadrits/Temp/12.1/qcamvc/qcamvc-1.0.11/linux_2.6/qcamvc.o
    In file included from /home/amadrits/Temp/12.1/qcamvc/qcamvc-1.0.11/linux_2.6/qcamvc.c:48:0:
    /home/amadrits/Temp/12.1/qcamvc/qcamvc-1.0.11/linux_2.6/qcamvc.h:34:28: fatal error: linux/videodev.h: No such file or directory
    compilation terminated.
    make[4]: *** [/home/amadrits/Temp/12.1/qcamvc/qcamvc-1.0.11/linux_2.6/qcamvc.o] Error 1
    make[3]: *** [_module_/home/amadrits/Temp/12.1/qcamvc/qcamvc-1.0.11/linux_2.6] Error 2
    make[2]: *** [sub-make] Error 2
    make[1]: *** [all] Error 2
    make[1]: Leaving directory `/usr/src/linux-3.1.9-1.4-obj/i386/default'
    make: *** [modules] Error 2
    

    The patch to build on 2.6.31 is applied.