Compilation fails on Debian testing/Lenny

Help
2008-11-14
2013-04-03
  • Hi there!

    I tried to get my webcam (05e3:0503, on a Littlebit x35 sepia aka asus z37e) working on a clean installed Debian testing/Lenny amd64, and I'm getting this error :

    steve@x35-debian:~/Archives/webcam/gl860/gl860_2.6.26/nvgl$ sudo ./install
    [sudo] password for steve:
    *****************************************************************************
    1/8) [Kernel headers for current kernel installed]

    2/8) [Make is present]
    *****************************************************************************
    3/8) [No old module...] Nothing to do

    4/8) [Clean up from previous compilations]
    $ make -f Makefile.standalone clean
    make -C /lib/modules/2.6.26-1-amd64/build SUBDIRS=/home/steve/Archives/webcam/gl860/gl860_2.6.26/nvgl clean
    make[1]: entrant dans le répertoire « /usr/src/linux-headers-2.6.26-1-amd64 »
      CLEAN   /home/steve/Archives/webcam/gl860/gl860_2.6.26/nvgl/.tmp_versions
    make[1]: quittant le répertoire « /usr/src/linux-headers-2.6.26-1-amd64 »
    *****************************************************************************
    5/8) [Source code generation...]
    6/8) [Compiling driver...]
    $ make -f Makefile.standalone driver
    make -C /lib/modules/2.6.26-1-amd64/build SUBDIRS=/home/steve/Archives/webcam/gl860/gl860_2.6.26/nvgl modules
    make[1]: entrant dans le répertoire « /usr/src/linux-headers-2.6.26-1-amd64 »
      CC [M]  /home/steve/Archives/webcam/gl860/gl860_2.6.26/nvgl/gl860-usb.o
      CC [M]  /home/steve/Archives/webcam/gl860/gl860_2.6.26/nvgl/gl860-dev.o
      CC [M]  /home/steve/Archives/webcam/gl860/gl860_2.6.26/nvgl/gl860-v4l.o
    /home/steve/Archives/webcam/gl860/gl860_2.6.26/nvgl/gl860-v4l.c:43:30: error: media/v4l2-ioctl.h: Aucun fichier ou répertoire de ce type
    /home/steve/Archives/webcam/gl860/gl860_2.6.26/nvgl/gl860-v4l.c: In function ‘v4l_gl860_register_video_device’:
    /home/steve/Archives/webcam/gl860/gl860_2.6.26/nvgl/gl860-v4l.c:1944: error: ‘struct video_device’ has no member named ‘parent’
    make[2]: *** [/home/steve/Archives/webcam/gl860/gl860_2.6.26/nvgl/gl860-v4l.o] Erreur 1
    make[1]: *** [_module_/home/steve/Archives/webcam/gl860/gl860_2.6.26/nvgl] Erreur 2
    make[1]: quittant le répertoire « /usr/src/linux-headers-2.6.26-1-amd64 »
    make: *** [driver] Erreur 2

    kernel used :
    $ uname -a
    Linux x35-debian 2.6.26-1-amd64 #1 SMP Thu Oct 9 14:16:53 UTC 2008 x86_64 GNU/Linux

    gl860 version used :
    gl860_2.6.26

    Last compiling and working version :
    gl860_0.2r2 (thanks to paranoid backup!)

    Anyone to help me?