rioutil-1.4.7 won't compile

Help
Emmanuel
2004-11-27
2013-04-23
  • Emmanuel
    Emmanuel
    2004-11-27

    Here's the error I get:
    make[1]: *** [rioio.lo] Error 1
    make[1]: *** Waiting for unfinished jobs....
    In file included from ../include/usbdevfs.h:42,
                     from ../include/driver.h:104,
                     from rio.c:46:
    ../include/usbdrv.h:66: error: redefinition of `struct usb_device_descriptor'
    rio.c: In function `get_flist_riohd':
    rio.c:400: warning: use of cast expressions as lvalues is deprecated
    make[1]: *** [rio.lo] Error 1
    make[1]: Leaving directory `/var/tmp/portage/rioutil-1.4.7/work/rioutil-1.4.7/librioutil'
    make: *** [all-recursive] Error 1

    I'm running on Gentoo-Linux. Kernel 2.6.9. gcc 3.4.3

     
    • Emmanuel
      Emmanuel
      2005-04-17

      I eventually got it to work. I just have to use libusb instead of usbdevfs. I have a gentoo ebuild, if anyone needs it.