There is no USPS pickup on Monday Feb 15th, 2016 because of President's Day. USPS orders placed after 11am EST Fri February 12th will go out Tuesday February 16. UPS orders will ship as normal.

problems compiling patched avrdude
Moderators: adafruit_support_bill, adafruit

Please be positive and constructive with your questions and comments.

problems compiling patched avrdude

by stopgo on Sat Sep 08, 2007 10:38 pm

Code: Select all | TOGGLE FULL SIZE
~/robot/avrdude-5.3.1$ make
make  all-recursive
make[1]: Entering directory `/home/stopgo/robot/avrdude-5.3.1'
make[2]: Entering directory `/home/stopgo/robot/avrdude-5.3.1'
yacc  -d config_gram.y
config_gram.y:145.8-18: warning: symbol K_WRITEPAGE redeclared
if test -f y.tab.h; then \
          to=`echo "config_gram_H" | sed \
                -e 'y/abcdefghijklmnopqrstuvwxyz/ABCDEFGHIJKLMNOPQRSTUVWXYZ/' \
                -e 's/[^ABCDEFGHIJKLMNOPQRSTUVWXYZ]/_/g'`; \
          sed -e "/^#/!b" -e "s/Y_TAB_H/$to/g" -e "s|y\.tab\.h|config_gram.h|" \
            y.tab.h >config_gram.ht; \
          rm -f y.tab.h; \
          if cmp -s config_gram.ht config_gram.h; then \
            rm -f config_gram.ht ;\
          else \
            mv config_gram.ht config_gram.h; \
          fi; \
        fi
if test -f y.output; then \
          mv y.output config_gram.output; \
        fi
sed '/^#/ s|y\.tab\.c|config_gram.c|' y.tab.c >config_gram.ct && mv config_gram.ct config_gram.c
rm -f y.tab.c
if gcc -DHAVE_CONFIG_H -I. -I. -I.  -DCONFIG_DIR=\"/usr/local/etc\"  -Wall   -g -O2 -MT avrdude-config_gram.o -MD -MP -MF ".deps/avrdude-config_gram.Tpo" -c -o avrdude-config_gram.o `test -f 'config_gram.c' || echo './'`config_gram.c; \
        then mv -f ".deps/avrdude-config_gram.Tpo" ".deps/avrdude-config_gram.Po"; else rm -f ".deps/avrdude-config_gram.Tpo"; exit 1; fi
/bin/bash /home/stopgo/robot/avrdude-5.3.1/missing --run flex   lexer.l
sed '/^#/ s|\.c|lexer.c|' .c >lexer.c
sed: can't read .c: No such file or directory
make[2]: *** [lexer.c] Error 2
make[2]: Leaving directory `/home/stopgo/robot/avrdude-5.3.1'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/home/stopgo/robot/avrdude-5.3.1'
make: *** [all] Error 2


I can get further in the compilation if I make again, but then I get a linker error. Any thoughts?

Also, you might want to include a check for flex and bison in your configure script, as the project seems to need it (or just mention the requirement when you mention that it needs libusb-dev).
stopgo
 
Posts: 3
Joined: Sat Sep 08, 2007 10:33 pm

by stopgo on Sat Sep 08, 2007 10:44 pm

Erg, I just realized I didn't set up the AVR toolchain. That's probably my problem. Let me do that first.
stopgo
 
Posts: 3
Joined: Sat Sep 08, 2007 10:33 pm

by stopgo on Sat Sep 08, 2007 10:51 pm

Yeah, that fixed it. Sorry for the noise!
stopgo
 
Posts: 3
Joined: Sat Sep 08, 2007 10:33 pm

Please be positive and constructive with your questions and comments.