"Chris Pontiga" <[EMAIL PROTECTED]> wrote:

> executing ./configure,  I noticed this:
> 
> checking for main in -lusb... no

You need to set LDFLAGS and CFLAGS in the environment appropriately so
configure can actually find libusb when probing for it.

Here's the respective line of the FreeBSD port for AVRDUDE:

CONFIGURE_ENV=  CFLAGS=-I${LOCALBASE}/include LDFLAGS=-L${LOCALBASE}/lib

${LOCAL_BASE} defaults to /usr/local which is the location where all
these ports are configured for.

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

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



_______________________________________________
AVR-chat mailing list
[email protected]
http://lists.nongnu.org/mailman/listinfo/avr-chat

Reply via email to