On 22/06/17 00:53, Andrzej Telszewski wrote:
Hi,

When trying to build libsigrok 0.5.0 I'm facing some errors.
I can compile 0.4.0 no problem.

I don't know if it's due to libsigrok or the other libraries.
I have those installed:
- libusb-1.0.20
- libusb-compat-0.1.5
- libftdi-0.20
- librevisa-0.0.20130412
- libserialport-0.1.1

Help appreciated.

And the errors look like that:

[..]

   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.

Should libftdi be removed from http://sigrok.org/wiki/Building ?

--
Best regards,
Andrzej Telszewski

------------------------------------------------------------------------------
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

Reply via email to