avrdude-dev
[Top][All Lists]
Advanced

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

Re: [avrdude-dev] [bug #41854] avrdude 6.1 does not compile on systems w


From: Hannes Weisbach
Subject: Re: [avrdude-dev] [bug #41854] avrdude 6.1 does not compile on systems without libUSB
Date: Wed, 6 Aug 2014 10:14:22 +0200

Hello,

> Let me allow to ask a - possibly dumb - follow-up question. I tried to compile
> avrdude-6.1 under MinGW (latest version running under Win 7) and came across
> the reported bug, although I do have the libusb installed, however in version
> 1.0.9, so flag HAVE_LIBUSB is not defined or set, but HAVE_LIBUSB_1_0 is set.
> 
> I would expect that I can use EITHER libusb-0.1.x or libusb-1.x.x and that
> once I use ONE of them, USB support is present. Is that correct?
That's correct.

> If that is correct, does libusb-1.x.x not require the code in flip1.c and
> flip2.c and dfu.c, so that my compile should actually work, as USB support is
> present? Or are these files only required for libusb-0.1.x?
I don't know. Maybe someone else can say something about this.

> Same question for libftdi: I assume I require just ONE of the libraries,
> EITHER libftdi OR libftdi1?
Exactly one, correct.

> What happens if I install both (in parallel), in both cases?
It will compile, but probably not work (It didn't for me).  Both
libraries share some symbols and a mixture of both code from both
libraries will likely be used.

> Is pthread actually required or of great advantage?
As far as is know, it was only needed for ftdi_syncbb.  Not sure, if
that is still the case, though.

-- 
HTH,
Hannes

Attachment: signature.asc
Description: Message signed with OpenPGP using GPGMail


reply via email to

[Prev in Thread] Current Thread [Next in Thread]