avr-chat
[Top][All Lists]
Advanced

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

Re: [avr-chat] Struggling to write usersig with avrdude on an xmega256a3


From: Joerg Wunsch
Subject: Re: [avr-chat] Struggling to write usersig with avrdude on an xmega256a3
Date: Sat, 9 Feb 2013 17:44:18 +0100 (MET)

Travis Griggs <address@hidden> wrote:

> I'd love to give it a try. I've downloaded it from svn. I followed
> the instructions. On OSX (10.8), I had to brew autoconf and
> automake, and then it all seemed to build. I also had to create a
> symlink from /usr/local/etc/avrdude.conf to the dl'ed one. Alas,
> with that fixed, it complains it wasn't compiled with USB support.

../configure needs to find libusb.  (At the end of configure, it
announces which libraries have been found and which haven't.)

If you have installed libusb (and preferrably, also libelf) from
MacPorts, the following command ought to work:

$ env CPPFLAGS=-I/opt/local/include LDFLAGS=-L/opt/local/lib ./configure
checking build system type... i686-apple-darwin11.4.2
checking host system type... i686-apple-darwin11.4.2
checking target system type... i686-apple-darwin11.4.2
....
checking libelf.h usability... no
checking libelf.h presence... no
checking for libelf.h... no
checking libelf/libelf.h usability... yes
checking libelf/libelf.h presence... yes
checking for libelf/libelf.h... yes
....
checking for usb_get_string_simple in -lusb... yes
checking usb.h usability... yes
checking usb.h presence... yes
checking for usb.h... yes
checking lusb0_usb.h usability... no
checking lusb0_usb.h presence... no
checking for lusb0_usb.h... no
checking for libusb_init in -lusb-1.0... yes
checking libusb-1.0/libusb.h usability... yes
checking libusb-1.0/libusb.h presence... yes
checking for libusb-1.0/libusb.h... yes
checking libusb.h usability... no
checking libusb.h presence... no
checking for libusb.h... no
checking for libusb_init in -lusb... no
checking for libusb.h... (cached) no
....
Configuration summary:
----------------------
DO HAVE    libelf
DO HAVE    libusb
DO HAVE    libusb_1_0
DON'T HAVE libftdi
DON'T HAVE libhid
DO HAVE    pthread

-- 
cheers, J"org               .-.-.   --... ...--   -.. .  DL8DTL

http://www.sax.de/~joerg/                        NIC: JW11-RIPE
Never trust an operating system you don't have sources for. ;-)



reply via email to

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