avrdude-dev
[Top][All Lists]
Advanced

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

Re: [avrdude-dev] Windows building advice


From: Joerg Wunsch
Subject: Re: [avrdude-dev] Windows building advice
Date: Mon, 9 Sep 2013 10:49:37 +0200
User-agent: Mutt/1.5.21 (2010-09-15)

As Joerg Wunsch wrote:

> I just tried the script on my FreeBSD, and it still compiles.  Will
> try a Linux version later today.

It stops here:

i686-w64-mingw32-gcc -Wall -Wno-pointer-sign -g -O2 -DWIN32NATIVE  
-L/usr/i686-w64-mingw32/lib -static -o avrdude.exe avrdude-main.o 
avrdude-term.o ./libavrdude.a        -lm 
./libavrdude.a: could not read symbols: Archive has no index; run ranlib to add 
one

Even though before, ranlib did run on the archive:

ar cru libavrdude.a libavrdude_a-config_gram.o libavrdude_a-lexer.o 
libavrdude_a-arduino.o libavrdude_a-avr.o libavrdude_a-avr910.o 
libavrdude_a-avrftdi.o libavrdude_a-avrftdi_tpi.o libavrdude_a-avrpart.o 
libavrdude_a-bitbang.o libavrdude_a-buspirate.o libavrdude_a-butterfly.o 
libavrdude_a-config.o libavrdude_a-confwin.o libavrdude_a-crc16.o 
libavrdude_a-fileio.o libavrdude_a-ft245r.o libavrdude_a-jtagmkI.o 
libavrdude_a-jtagmkII.o libavrdude_a-jtag3.o libavrdude_a-linuxgpio.o 
libavrdude_a-lists.o libavrdude_a-par.o libavrdude_a-pgm.o 
libavrdude_a-pgm_type.o libavrdude_a-pickit2.o libavrdude_a-pindefs.o 
libavrdude_a-ppi.o libavrdude_a-ppiwin.o libavrdude_a-safemode.o 
libavrdude_a-serbb_posix.o libavrdude_a-serbb_win32.o 
libavrdude_a-ser_avrdoper.o libavrdude_a-ser_posix.o libavrdude_a-ser_win32.o 
libavrdude_a-stk500.o libavrdude_a-stk500v2.o libavrdude_a-stk500generic.o 
libavrdude_a-usbasp.o libavrdude_a-usb_libusb.o libavrdude_a-usbtiny.o 
libavrdude_a-update.o libavrdude_a-wiring.o 
ranlib libavrdude.a

For whatever reason, one has to explicitly run

i686-w64-mingw32-ranlib libavrdude.a

If someone has ideas, how to fix this in configure.ac, they are
certainly welcome.
-- 
cheers, Joerg               .-.-.   --... ...--   -.. .  DL8DTL

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



reply via email to

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