Roberto Pariset wrote: > Package: avrdude > Version: 5.1-1 > Severity: important > Justification: fails to build from source > > Hello, > on amd64 compilation fails like this: > > if cc -DHAVE_CONFIG_H -I. -I. -I. -DCONFIG_DIR=\"/etc\" -Wall -g -Wall > -O2 -MT avrdude-lexer.o -MD -MP -MF ".deps/avrdude-lexer.Tpo" -c -o > avrdude-lexer.o `test -f 'lexer.c' || echo './'`lexer.c; \ > then mv -f ".deps/avrdude-lexer.Tpo" ".deps/avrdude-lexer.Po"; else rm -f > ".deps/avrdude-lexer.Tpo"; exit 1; fi > In file included from /usr/include/sys/stat.h:105, > from lexer.l:29: > /usr/include/bits/stat.h:103: error: syntax error before '[' token > make[3]: *** [avrdude-lexer.o] Error 1
Could you please delete the lexer.c file manually and try again. I guess the lexer.c file that is shipped with avrdude is not correct and has to be rebuilt by flex. Thanks, Michael -- Why is it that all of the instruments seeking intelligent life in the universe are pointed away from Earth?
signature.asc
Description: OpenPGP digital signature