Compilation failure on Mandriva 2008.1

Help
2008-11-25
2013-04-03
  • Leon Goldman

    Leon Goldman - 2008-11-25

    Using the 2.6.24 kernel (2.6.24.7-laptop-2mnb to be exact) I get an error trying to compile using the install script and I do not know what to do to fix it:

    6/8) [Compiling driver...]
    $ make -f Makefile.standalone
    make -C /usr/src/linux-2.6.24.7-laptop-2mnb/ SUBDIRS=/usr/src/linux-2.6.24.7-laptop-2mnb/nvgl modules
    make[1]: Entering directory `/usr/src/linux-2.6.24.7-laptop-2mnb'
      CC [M]  /usr/src/linux-2.6.24.7-laptop-2mnb/nvgl/gl860-usb.o
      CC [M]  /usr/src/linux-2.6.24.7-laptop-2mnb/nvgl/gl860-dev.o
      CC [M]  /usr/src/linux-2.6.24.7-laptop-2mnb/nvgl/gl860-v4l.o
    /usr/src/linux-2.6.24.7-laptop-2mnb/nvgl/gl860-v4l.c:42:30: error: media/v4l2-ioctl.h: No such file or directory
    /usr/src/linux-2.6.24.7-laptop-2mnb/nvgl/gl860-v4l.c:101: error: ‘V4L2_CID_POWER_LINE_FREQUENCY’ undeclared here (not in a function)
    /usr/src/linux-2.6.24.7-laptop-2mnb/nvgl/gl860-v4l.c:139: error: ‘V4L2_CID_SHARPNESS’ undeclared here (not in a function)
    /usr/src/linux-2.6.24.7-laptop-2mnb/nvgl/gl860-v4l.c:148: error: ‘V4L2_CID_BACKLIGHT_COMPENSATION’ undeclared here (not in a function)
    /usr/src/linux-2.6.24.7-laptop-2mnb/nvgl/gl860-v4l.c: In function ‘v4l_gl860_register_video_device’:
    /usr/src/linux-2.6.24.7-laptop-2mnb/nvgl/gl860-v4l.c:1915: error: ‘struct video_device’ has no member named ‘parent’
    /usr/src/linux-2.6.24.7-laptop-2mnb/nvgl/gl860-v4l.c:1915: warning: statement with no effect
    make[2]: *** [/usr/src/linux-2.6.24.7-laptop-2mnb/nvgl/gl860-v4l.o] Error 1
    make[1]: *** [_module_/usr/src/linux-2.6.24.7-laptop-2mnb/nvgl] Error 2
    make[1]: Leaving directory `/usr/src/linux-2.6.24.7-laptop-2mnb'
    make: *** [driver] Error 2

    Any help or suggestions would be appreciated.  I am using an Asus C90s with the 0503 version of the Genesys Logic gl860 camera.  Thank  you.
    Leon

     
    • Leon Goldman

      Leon Goldman - 2008-11-26

      Just an FYI. I just downloaded and ran the 2.26e version and the error is gone. It builds the module nicely and loads it. Runs Camorama and Cheese nicely. Followed the directions about putting the line in /etc/modules and it reboots nicely. Thank you.

       

Get latest updates about Open Source Projects, Conferences and News.

Sign up for the SourceForge newsletter:





No, thanks