Hi, On Thu, Jun 22, 2017 at 01:44:25AM +0200, Andrzej Telszewski wrote: > > CC src/hardware/fx2lafw/protocol.lo > > In file included from /usr/include/ftdi.h:20:0, > > from src/hardware/ftdi-la/protocol.c:20: > > /usr/include/usb.h:81:2: error: unknown type name ‘u_int8_t’ > > u_int8_t bLength; > > > > [..] > > > > /usr/include/usb.h:248:17: error: ‘PATH_MAX’ undeclared here (not in a > > function) > > char filename[PATH_MAX + 1]; > > > > 0.5.0 built fine if I used libftdi1 instead of libftdi.
Looks like it's related to the old libusb-0.1 or libusb-compat, not libftdi directly. libftdi 0.20 still builds fine for me, I just re-tested that. > Should libftdi be removed from http://sigrok.org/wiki/Building ? No, not yet. It still builds fine and we still support it for the time being. It'll eventually get phased out in favor of libftdi1 (or pure libusb-1.0 if all drivers can/will be converted to pure libusb-1.0), of course. Cheers, Uwe. -- http://hermann-uwe.de | http://randomprojects.org | http://sigrok.org ------------------------------------------------------------------------------ Check out the vibrant tech community on one of the world's most engaging tech sites, Slashdot.org! http://sdm.link/slashdot _______________________________________________ sigrok-devel mailing list sigrok-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/sigrok-devel