Hi,
cd /usr/src/Arduino
svn co svn://svn.savannah.nongnu.org/avrdude/trunk/avrdude
cd avrdude
./bootstrap
...
bootstrap gives me the following error message:
Unless you want to build AVRDUDE from SVN, you should not need to
bootstrap. I think there are now Arduino patches in the regular
AVRDUDE patch trackers which you should be able to apply on top of a
standard AVRDUDE distribution.
OK! I omitted the bootstrap and tried to do configure and "make all"
directly.
cd avrdude-5.8
./configure
make all
This led to
-bash-3.00# make all
make all-recursive
make[1]: Entering directory `/usr/share/src/Arduino/avrdude-5.8'
make[2]: Entering directory `/usr/share/src/Arduino/avrdude-5.8'
/bin/bash ./ylwrap config_gram.y y.tab.c config_gram.c y.tab.h
config_gram.h y.output config_gram.output -- bison -y -d
updating config_gram.h
gcc -DHAVE_CONFIG_H -I. -DCONFIG_DIR=\"/usr/local/etc\" -Wall -g -O2
-MT libavrdude_a-config_gram.o -MD -MP -MF
.deps/libavrdude_a-config_gram.Tpo -c -o libavrdude_a-config_gram.o
`test -f 'config_gram.c' || echo './'`config_gram.c
mv -f .deps/libavrdude_a-config_gram.Tpo
.deps/libavrdude_a-config_gram.Po
/bin/bash ./ylwrap lexer.l lex.yy.c lexer.c -- flex
m4: bad option: -P
./ylwrap: line 109: 25245 Broken Pipe "$prog" "$input"
make[2]: *** [lexer.c] Error 1
make[2]: Leaving directory `/usr/share/src/Arduino/avrdude-5.8'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/usr/share/src/Arduino/avrdude-5.8'
make: *** [all] Error 2
Can it be that difficult? What is this "AVRDUDE patch tracker" thing?
Anybody got avrdude to run on Solaris? If so how do you connect your
Arduino board to the Solaris machine (USB, PSI,...)? I am still not
sure what components (programmer, cables,...) are required to flash
this thing with avrdude!? Sorry, for the newbie noise!
Thanks,
Andreas
_______________________________________________
AVR-GCC-list mailing list
AVR-GCC-list@nongnu.org
http://lists.nongnu.org/mailman/listinfo/avr-gcc-list