Compilation failure on Mandriva 2008.1

  • Leon Goldman

    Leon Goldman - 2008-11-25

    Using the 2.6.24 kernel ( 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- SUBDIRS=/usr/src/linux- modules
    make[1]: Entering directory `/usr/src/linux-'
      CC [M]  /usr/src/linux-
      CC [M]  /usr/src/linux-
      CC [M]  /usr/src/linux-
    /usr/src/linux- error: media/v4l2-ioctl.h: No such file or directory
    /usr/src/linux- error: ‘V4L2_CID_POWER_LINE_FREQUENCY’ undeclared here (not in a function)
    /usr/src/linux- error: ‘V4L2_CID_SHARPNESS’ undeclared here (not in a function)
    /usr/src/linux- error: ‘V4L2_CID_BACKLIGHT_COMPENSATION’ undeclared here (not in a function)
    /usr/src/linux- In function ‘v4l_gl860_register_video_device’:
    /usr/src/linux- error: ‘struct video_device’ has no member named ‘parent’
    /usr/src/linux- warning: statement with no effect
    make[2]: *** [/usr/src/linux-] Error 1
    make[1]: *** [_module_/usr/src/linux-] Error 2
    make[1]: Leaving directory `/usr/src/linux-'
    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 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