[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: Bug#754678: openocd: FTBFS on kfreebsd-*: configure: error: libusb-1.x is required for the MPSSE mode of FTDI based devices



Hi,

On Sun, Oct 19, 2014 at 10:45:17PM +0100, Steven Chamberlain wrote:
> If you want something equivalent to Linux libusb 1.0 API, I think you
> need to Build-Depend on libusb2-dev [kfreebsd-any] rather than libusb-dev.

Right, libusb-0.1 API is still needed for some older drivers, but it
is provided by libusb2-dev on kfreebsd, libusb-dev shouldn't be used
there.

> Dropping libftdi-dev from Build-Depends on kfreebsd-amd64, I actually
> get a successful build;  how does that work?  Does MPSSE mode not need
> ftdi.h any more?  If so, libftdi-dev can be dropped from Build-Depends
> on linux, too.  But I have no way of testing openocd.

MPSSE mode depends only on libusb-1, however, there're three other
drivers (USB Blaster, ASIX Presto, OpenJTAG; USB Blaster being really
important here) plus legacy ft2232 implementation that need
libftdi-dev.


Reply to: