Menu

No compile with kernel 2.6.28

Help
2009-11-08
2013-04-25
  • Jerome Froger

    Jerome Froger - 2009-11-08

    Hi !
    I have a Webcam 174f:a821 on Ubuntu 9.04 with Kernel 2.6.28-16.
    In the past I could compile and use the webcam perfectly but now with this new Kernel, I could compile and use it one time only. Now the webcam does not work and I can't compile the driver again, either the version 1.4, 2.0 or 2.1

    Here is the message I get each time :
    jerome@jerome:~/stk11xx-1.4$ sudo make -f Makefile.standalone

    make -C /lib/modules/2.6.28-16-generic/build SUBDIRS= modules

    make: entrant dans le répertoire « /usr/src/linux-headers-2.6.28-16-generic »

      CHK     include/linux/version.h

      CHK     include/linux/utsrelease.h

      SYMLINK include/asm -> include/asm-x86

    make: *** Pas de règle pour fabriquer la cible « kernel/bounds.c », nécessaire pour « kernel/bounds.s ». Arrêt.

    make: ***  Erreur 2

    make: quittant le répertoire « /usr/src/linux-headers-2.6.28-16-generic »

    make: ***  Erreur 2

    I also tried this function but without any success.
    sudo addgroup $USER video

    Do you have an idea how to make it work ?
    Thanks, Jerome

     
  • Nicolas Bouillon

    HI

    I got the same error on ubuntu 9.10. I had installed the 1.4.0 driver before updating my ubuntu, but i can use my webcam anymore on 9.10 due to this error.

    Any help would be appreciated. Thanks !

     
  • lestaEST

    lestaEST - 2009-11-20

    **Ubuntu 9.04**

    **Kernel: 2.6.28-16-generic**

    **Webcam: Bus 002 Device 004: ID 174f:6a51 Syntek 2.0MPixel Web Cam - Asus Z96J, Z96S, S96S**

    siim@siim-laptop:~/Downloads/stk11xx-2.1.0$ make -f Makefile.standalone

    make -C /lib/modules/2.6.28-16-generic/build SUBDIRS=/home/siim/Downloads/stk11xx-2.1.0 modules

    make: Entering directory `/usr/src/linux-headers-2.6.28-16-generic'
      CC   /home/siim/Downloads/stk11xx-2.1.0/stk11xx-v4l.o

    /home/siim/Downloads/stk11xx-2.1.0/stk11xx-v4l.c: In function ‘v4l_stk11xx_ioctl’:

    /home/siim/Downloads/stk11xx-2.1.0/stk11xx-v4l.c:1662: warning: passing argument 1 of ‘video_usercopy’ from incompatible pointer type

    /home/siim/Downloads/stk11xx-2.1.0/stk11xx-v4l.c:1662: warning: passing argument 2 of ‘video_usercopy’ makes pointer from integer without a cast

    /home/siim/Downloads/stk11xx-2.1.0/stk11xx-v4l.c:1662: warning: passing argument 4 of ‘video_usercopy’ makes integer from pointer without a cast

    /home/siim/Downloads/stk11xx-2.1.0/stk11xx-v4l.c:1662: error: too few arguments to function ‘video_usercopy’

    /home/siim/Downloads/stk11xx-2.1.0/stk11xx-v4l.c: In function ‘v4l_stk11xx_register_video_device’:

    /home/siim/Downloads/stk11xx-2.1.0/stk11xx-v4l.c:1686: warning: assignment from incompatible pointer type

    /home/siim/Downloads/stk11xx-2.1.0/stk11xx-v4l.c: At top level:

    /home/siim/Downloads/stk11xx-2.1.0/stk11xx-v4l.c:1728: error: variable ‘v4l_stk11xx_fops’ has initializer but incomplete type

    /home/siim/Downloads/stk11xx-2.1.0/stk11xx-v4l.c:1729: error: unknown field ‘owner’ specified in initializer

    /home/siim/Downloads/stk11xx-2.1.0/stk11xx-v4l.c:1729: warning: excess elements in struct initializer

    /home/siim/Downloads/stk11xx-2.1.0/stk11xx-v4l.c:1729: warning: (near initialization for ‘v4l_stk11xx_fops’)

    /home/siim/Downloads/stk11xx-2.1.0/stk11xx-v4l.c:1730: error: unknown field ‘open’ specified in initializer

    /home/siim/Downloads/stk11xx-2.1.0/stk11xx-v4l.c:1730: warning: excess elements in struct initializer

    /home/siim/Downloads/stk11xx-2.1.0/stk11xx-v4l.c:1730: warning: (near initialization for ‘v4l_stk11xx_fops’)

    /home/siim/Downloads/stk11xx-2.1.0/stk11xx-v4l.c:1731: error: unknown field ‘release’ specified in initializer

    /home/siim/Downloads/stk11xx-2.1.0/stk11xx-v4l.c:1731: warning: excess elements in struct initializer

    /home/siim/Downloads/stk11xx-2.1.0/stk11xx-v4l.c:1731: warning: (near initialization for ‘v4l_stk11xx_fops’)

    /home/siim/Downloads/stk11xx-2.1.0/stk11xx-v4l.c:1732: error: unknown field ‘read’ specified in initializer

    /home/siim/Downloads/stk11xx-2.1.0/stk11xx-v4l.c:1732: warning: excess elements in struct initializer

    /home/siim/Downloads/stk11xx-2.1.0/stk11xx-v4l.c:1732: warning: (near initialization for ‘v4l_stk11xx_fops’)

    /home/siim/Downloads/stk11xx-2.1.0/stk11xx-v4l.c:1733: error: unknown field ‘poll’ specified in initializer

    /home/siim/Downloads/stk11xx-2.1.0/stk11xx-v4l.c:1733: warning: excess elements in struct initializer

    /home/siim/Downloads/stk11xx-2.1.0/stk11xx-v4l.c:1733: warning: (near initialization for ‘v4l_stk11xx_fops’)

    /home/siim/Downloads/stk11xx-2.1.0/stk11xx-v4l.c:1734: error: unknown field ‘mmap’ specified in initializer

    /home/siim/Downloads/stk11xx-2.1.0/stk11xx-v4l.c:1734: warning: excess elements in struct initializer

    /home/siim/Downloads/stk11xx-2.1.0/stk11xx-v4l.c:1734: warning: (near initialization for ‘v4l_stk11xx_fops’)

    /home/siim/Downloads/stk11xx-2.1.0/stk11xx-v4l.c:1735: error: unknown field ‘ioctl’ specified in initializer

    /home/siim/Downloads/stk11xx-2.1.0/stk11xx-v4l.c:1735: warning: excess elements in struct initializer

    /home/siim/Downloads/stk11xx-2.1.0/stk11xx-v4l.c:1735: warning: (near initialization for ‘v4l_stk11xx_fops’)

    make: ***  Error 1

    make: ***  Error 2

    make: Leaving directory `/usr/src/linux-headers-2.6.28-16-generic'

    make: ***  Error 2

    siim@siim-laptop:~/Downloads/stk11xx-2.1.0$

     
  • Jos

    Jos - 2009-11-20

    @lestaest

    Use driver 1.4 with ubuntu 9.04, it works fine

     
  • lestaEST

    lestaEST - 2009-11-20

    Ok! Thanks for the hint. Got It working now. Last time I tried 1.4 it was also broken.

     
  • Jerome Froger

    Jerome Froger - 2009-11-21

    Hi !
    I tries to compile the version 1.4 of the driver but I still get exactly the same result…

     

Log in to post a comment.