OK, got the svn tarball and did ./bootstrap (I'll use that from now on) and ./configure. It seemed to work as mingw32-make ran but I hit this problem:
usbasp.c: In function 'libusb_to_errno': usbasp.c:81:10: error: 'ETIMEDOUT' undeclared (first use in this function) usbasp.c:81:10: note: each undeclared identifier is reported only once for each function it appears in usbasp.c:83:10: error: 'EOVERFLOW' undeclared (first use in this function) mingw32-make[2]: *** [libavrdude_a-usbasp.o] Error 1 mingw32-make[2]: Leaving directory `C:/temp/av/avrdude-5.10svn' mingw32-make[1]: *** [all-recursive] Error 1 mingw32-make[1]: Leaving directory `C:/temp/av/avrdude-5.10svn' mingw32-make: *** [all] Error 2 I my FTDI232H patch for Windows I commented out those lines to get it to build to completion. Something hasn't made it into MinGW it seems. 8< ------------------ $ ./configure checking build system type... i686-pc-cygwin checking host system type... i686-pc-cygwin checking target system type... i686-pc-cygwin checking for a BSD-compatible install... /usr/bin/install -c checking whether build environment is sane... yes checking for a thread-safe mkdir -p... /usr/bin/mkdir -p checking for gawk... gawk checking whether make sets $(MAKE)... yes checking for gcc... gcc checking whether the C compiler works... yes checking for C compiler default output file name... a.exe checking for suffix of executables... .exe checking whether we are cross compiling... no 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 ISO C89... none needed checking for style of include used by make... GNU checking dependency style of gcc... gcc3 checking for bison... bison -y checking for flex... flex checking lex output file root... lex.yy checking lex library... none needed checking whether yytext is a pointer... no checking for ranlib... ranlib checking whether gcc and cc understand -c and -o together... yes checking for tputs in -ltermcap... no checking for tputs in -lncurses... no checking for readline in -lreadline... no checking for library containing gethostent... no checking for library containing setsockopt... no checking for usb_get_string_simple in -lusb... yes checking for libusb_init in -lusb-1.0... yes checking how to run the C preprocessor... gcc -E checking for grep that handles long lines and -e... /usr/bin/grep checking for egrep... /usr/bin/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 libusb-1.0/libusb.h usability... no checking libusb-1.0/libusb.h presence... no checking for libusb-1.0/libusb.h... no checking libusb.h usability... yes checking libusb.h presence... yes checking for libusb.h... yes checking for libusb_init in -lusb... no checking for libusb.h... (cached) yes checking for ftdi_init in -lftdi... 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... no checking sys/ioctl.h presence... no checking for sys/ioctl.h... no checking sys/time.h usability... yes checking sys/time.h presence... yes checking for sys/time.h... yes checking termios.h usability... no checking termios.h presence... no checking for termios.h... no checking for unistd.h... (cached) yes checking for ddk/hidsdi.h... yes checking for an ANSI C-conforming const... yes checking whether time.h and sys/time.h may both be included... yes checking for memset... yes checking for select... no 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 usleep... yes checking for a Win32 HID libray... yes checking for uint_t... no checking for ulong_t... no checking for parallel device... lpt1 checking for serial device... com1 checking if gcc accepts -Wno-pointer-sign ... yes checking if gcc accepts -mno-cygwin... yes checking if linker accepts -static... yes 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: executing depfiles commands _______________________________________________ avrdude-dev mailing list [email protected] https://lists.nongnu.org/mailman/listinfo/avrdude-dev
