avrdude-dev
[Top][All Lists]
Advanced

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

Re: [avrdude-dev] Build error with SVN trunk


From: René Liebscher
Subject: Re: [avrdude-dev] Build error with SVN trunk
Date: Thu, 16 May 2013 19:14:22 +0200
User-agent: Mozilla/5.0 (X11; Linux i686; rv:17.0) Gecko/20130329 Thunderbird/17.0.5

Hi,

TYPE_232H undeclared means, that your libftdi is version < 0.20.
There was already a check in configure, which is now reactivated.

Also the check for the include file is changed now, hope this works you.

René

On 16.05.2013 10:34, Joerg Wunsch wrote:
I've got an older libftdi installed, and my libusb doesn't install the
1.0 header file into a subdirectory (because it's not a 3rd-party
library but an OS-supplied one):

In file included from ../avrftdi.c:43:
../avrftdi_private.h:9:31: error: libusb-1.0/libusb.h: No such file or directory
../avrftdi.c: In function 'avrftdi_open':
../avrftdi.c:650: error: 'TYPE_232H' undeclared (first use in this function)
../avrftdi.c:650: error: (Each undeclared identifier is reported only once
../avrftdi.c:650: error: for each function it appears in.)
*** Error code 1

Please see usbasp.c for how to resolve the include file issue, and
test for TYPE_232H being defined before using it.




reply via email to

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