avrdude-dev
[Top][All Lists]
Advanced

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

Re: [avrdude-dev] [bug #34339] back to back avrdude commands fail on dra


From: Xiaofan Chen
Subject: Re: [avrdude-dev] [bug #34339] back to back avrdude commands fail on dragon_isp on Ubuntu 10.10
Date: Thu, 8 Dec 2011 19:49:07 +0800

On Thu, Dec 8, 2011 at 7:44 PM, Joerg Wunsch <address@hidden> wrote:
> As Xiaofan Chen wrote:
>
>> With libusb-compat, you do not need to change any codes. It is
>> a wrapper for libusb-0.1 API, on top of libusb-1.0.
>
> That's been my understanding, too.
>
> But what do we have to do for this?  The configure script only tries
> to test-compile a small code snippet that includes "usb.h", creates a
> reference to usb_get_string_simple(), and then tries to compile and
> link this against -lusb.  It doesn't care whether this usb.h and -lusb
> come from an original libusb-0.1, or from a wrapper (or from an
> OS-supplied API-compatible rewrite, as in FreeBSD).  The libusb 1.0
> file and function names have been deliberately chosen to be different,
> so there's no confusion.  (Besides, avrdude already starts detecting
> libusb 1.0, but by now, it's only used for USBasp.)

You do not need to do anything. libusb-compat and libusb-0.1
should usually not be installed at the same time.

Initially I thought this may have something to do with libusb-0.1,
so I was suggesting people to try out libusb-compat instead if
they are using libusb-0.1 under Linux or Mac OS X.



-- 
Xiaofan



reply via email to

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