problems compiling patched avrdude

USB AVR Programmer and SPI interface. Adafruit's USBtinyISP.

Moderators: adafruit_support_bill, adafruit

problems compiling patched avrdude

Postby stopgo » Sat Sep 08, 2007 9:38 pm

Code: Select all
~/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 9:33 pm

Postby stopgo » Sat Sep 08, 2007 9: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 9:33 pm

Postby stopgo » Sat Sep 08, 2007 9:51 pm

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


Return to USBtinyISP

Who is online

Users browsing this forum: No registered users and 2 guests

Stuff to buy from the Adafruit store and links to product documentation!


New Products [103]

Raspberry Pi[80]
 
FLORA[23]
 
Bunnie Studios[9]
 
FPGA[1]
 
mbed[11]
Arduino[60]
 
NETduino[14]
 
BeagleBone[24]
 
Android[6]
 
XBee[10]
More Dev Boards[30]


 
BoArduino[8]
 
SpokePOV[4]
 
TV-B-Gone[4]
 
MiniPOV[3]
 
SIM reader[3]
 
Microtouch[5]
 
Clocks & Watches[18]
 
Drawdio[4]
 
Brain Machine[1]
 
Game of Life[2]
 
MintyBoost[2]
More DIY Kits[16]


 
MaKey MaKey[3]
 
Tweet-a-Watt[5]
 
Young Engineers[33]
 
Discover Electronics[2]
 
Snap Circuits[4]
 
littleBits[3]
 
Project packs[8]


 
Breakout Boards[33]
LCDs & Displays[48]
Components & Parts[69]
Batteries & Power[49]
EL Wire/Tape/Panel[52]
LEDs[109]
 
Wireless[14]
Cables[61]
 
Lasers[6]
Sensors/Parts[145]
 
Enclosures/Cases[11]
 
Solar[11]
 
RFID / NFC[13]
Prototyping[70]
 
iDevices[13]
Tools[71]
 
Wearables[39]
 
CNC[37]
 
Robotics[29]
 
3D printing[1]
 
Materials[24]


 
Stickers[41]
 
Skill badges[55]
 
Books[25]
 
Circuit Playground[7]
 
Gift Certificates[4]