Arudino動いた
- 2008年10月11日(土)
[arduino] avrdude again
config.log眺めてたら、libusbが見つかって無かった。
で、以下のように作成。
fuji [ work/arduino/avrdude-5.4-arduino-src ] % CFLAGS=-I/usr/local/include LDFLAGS=-L/usr/local/lib ./configure checking build system type... i386-unknown-freebsd7.1 checking host system type... i386-unknown-freebsd7.1 checking target system type... i386-unknown-freebsd7.1 checking for a BSD-compatible install... /usr/bin/install -c checking whether build environment is sane... yes checking for gawk... gawk checking whether make sets $(MAKE)... yes checking for gcc... gcc checking for C compiler default output file name... a.out checking whether the C compiler works... yes checking whether we are cross compiling... no checking for suffix of executables... checking for suffix of object files... o checking whether we are using the GNU C compiler... yes checking whether gcc accepts -g... yes checking for gcc option to accept ANSI C... none needed checking for style of include used by make... GNU checking dependency style of gcc... gcc3 checking for a BSD-compatible install... /usr/bin/install -c checking for bison... bison -y checking for flex... flex checking for yywrap in -lfl... yes checking lex output file root... lex.yy checking whether yytext is a pointer... yes checking for ranlib... ranlib checking for tputs in -ltermcap... yes checking for tputs in -lncurses... yes checking for readline in -lreadline... yes checking for usb_get_string_simple in -lusb... yes checking how to run the C preprocessor... gcc -E checking for egrep... grep -E checking for ANSI C header files... yes checking for sys/types.h... yes checking for sys/stat.h... yes checking for stdlib.h... yes checking for string.h... yes checking for memory.h... yes checking for strings.h... yes checking for inttypes.h... yes checking for stdint.h... yes checking for unistd.h... yes checking limits.h usability... yes checking limits.h presence... yes checking for limits.h... yes checking for stdlib.h... (cached) yes checking for string.h... (cached) yes checking fcntl.h usability... yes checking fcntl.h presence... yes checking for fcntl.h... yes checking sys/ioctl.h usability... yes checking sys/ioctl.h presence... yes checking for sys/ioctl.h... yes checking sys/time.h usability... yes checking sys/time.h presence... yes checking for sys/time.h... yes checking termios.h usability... yes checking termios.h presence... yes checking for termios.h... yes checking for unistd.h... (cached) yes checking for ddk/hidsdi.h... no checking for an ANSI C-conforming const... yes checking whether time.h and sys/time.h may both be included... yes checking whether gcc needs -traditional... no checking for stdlib.h... (cached) yes checking for GNU libc compatible malloc... yes checking for memset... yes checking for select... yes checking for strcasecmp... yes checking for strdup... yes checking for strerror... yes checking for strncasecmp... yes checking for strtol... yes checking for strtoul... yes checking for gettimeofday... yes checking for a Win32 HID libray... no checking for parallel device... /dev/ppi0 checking for serial device... /dev/cuaa0 configure: creating ./config.status config.status: creating doc/Makefile config.status: creating windows/Makefile config.status: creating avrdude.spec config.status: creating Makefile config.status: creating avrdude.conf.tmp config.status: creating ac_cfg.h config.status: ac_cfg.h is unchanged config.status: executing depfiles commands
これで、作ったらOK。 でも、以下のエラーあり。
Couldn't determine program size: text data bss dec hexfilename
[kof2008] 申し込み終了
あーあ、申し込み終了しているし。
で、necoさんの突っ込みが入って、ishitさんが申し込んでくださった。 多謝。