Menu

A310 driver compile in kernel 2.6.27

2008-12-16
2013-04-25
  • Che-Wei Chen

    Che-Wei Chen - 2008-12-16

    Pardon me for reposting  the article again@@

    I tried to compile the driver which is the latest version
    However, I encountered the problem
    Here is the message

    make -C /lib/modules/2.6.27.7-53.fc9.i686/build SUBDIRS=/root/fpix-0.91.0/driver modules
    make[1]: Entering directory `/usr/src/kernels/2.6.27.7-53.fc9.i686'
    CC [M] /root/fpix-0.91.0/driver/finepix-main.o
    /root/fpix-0.91.0/driver/finepix-main.c: In function 'fpix_ioctl':
    /root/fpix-0.91.0/driver/finepix-main.c:705: error: implicit declaration of function 'video_usercopy'
    /root/fpix-0.91.0/driver/finepix-main.c: In function 'fpix_probe':
    /root/fpix-0.91.0/driver/finepix-main.c:1065: error: 'struct video_device' has no member named 'owner'
    /root/fpix-0.91.0/driver/finepix-main.c:1067: error: 'struct video_device' has no member named 'type'
    /root/fpix-0.91.0/driver/finepix-main.c:1068: error: 'struct video_device' has no member named 'type2'
    make[2]: *** [/root/fpix-0.91.0/driver/finepix-main.o] Error 1
    make[1]: *** [_module_/root/fpix-0.91.0/driver] Error 2
    make[1]: Leaving directory `/usr/src/kernels/2.6.27.7-53.fc9.i686'
    make: *** [kernel-module] Error 2

    By the way
    When I complie before I upgraded my kernel which was version 2.6.25-14.fc9.6386 via yum
    It will show the error message 
    "The sources for the current kernel have not been found. Aborting."
    I cannot get it : (

    Any suggestions?

     
    • Frank Zago

      Frank Zago - 2009-03-10

      Hello,
      Sorry for the delay. I didn't notice that my finepix folder had some mails in it until recently.
      There's been some good news on the finepix front. A rewritten finepix driver is now integrated in linux 2.6.28, so it will work out of the box in the future releases of Ubuntu or FC. This means a better support than the current driver.

      If your distribution does not have that kernel, you can download the gspca driver at http://linuxtv.org/hg/~jfrancois/gspca/archive/tip.tar.bz2
      You will also need libv4l: http://people.atrpms.net/~hdegoede/libv4l-0.5.8.tar.gz

      Hope that helps. If you need help setting up the driver or libv4l, feel free to contact me.
      Again, sorry for the delay.

      Regards,
        Frank.

       

Log in to post a comment.