Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

auto-tools build: missing ws2_32 library under Windows MSYS2 MinGW #957

Closed
mcuee opened this issue May 10, 2022 · 10 comments · Fixed by #1279
Closed

auto-tools build: missing ws2_32 library under Windows MSYS2 MinGW #957

mcuee opened this issue May 10, 2022 · 10 comments · Fixed by #1279
Labels
bug Something isn't working

Comments

@mcuee
Copy link
Collaborator

mcuee commented May 10, 2022

Build log under MSYS2 mingw64

MINGW64 /c/work/avr/avrdude-7.0
$ make V=1
make  all-recursive
make[1]: Entering directory '/c/work/avr/avrdude-7.0'
Making all in .
make[2]: Entering directory '/c/work/avr/avrdude-7.0'
/bin/sh ./libtool  --tag=CC   --mode=link gcc -Wall -Wno-pointer-sign -g -O2 -DWIN32NATIVE  -static -o avrdude.exe avrdude-main.o avrdude-whereami.o avrdude-term.o ./libavrdude.a -lusb-1.0  -lusb -lftdi1  -lhid -lsetupapi -lelf -lpthread -lm -lhidapi -lreadline -lncurses -ltermcap  -lftdi1
libtool: link: gcc -Wall -Wno-pointer-sign -g -O2 -DWIN32NATIVE -o avrdude.exe avrdude-main.o avrdude-whereami.o avrdude-term.o  ./libavrdude.a -lusb-1.0 -lusb -lhid -lsetupapi -lelf -lpthread -lhidapi -lreadline -lncurses -ltermcap -lftdi1
C:/msys64/mingw64/bin/../lib/gcc/x86_64-w64-mingw32/11.3.0/../../../../x86_64-w64-mingw32/bin/ld.exe: ./libavrdude.a(libavrdude_a-ser_win32.o): in function `net_drain':
C:\work\avr\avrdude-7.0/ser_win32.c:660: undefined reference to `__imp_select'
C:/msys64/mingw64/bin/../lib/gcc/x86_64-w64-mingw32/11.3.0/../../../../x86_64-w64-mingw32/bin/ld.exe: C:\work\avr\avrdude-7.0/ser_win32.c:676: undefined reference to `__imp_WSAGetLastError'
C:/msys64/mingw64/bin/../lib/gcc/x86_64-w64-mingw32/11.3.0/../../../../x86_64-w64-mingw32/bin/ld.exe: C:\work\avr\avrdude-7.0/ser_win32.c:696: undefined reference to `__imp_recv'
C:/msys64/mingw64/bin/../lib/gcc/x86_64-w64-mingw32/11.3.0/../../../../x86_64-w64-mingw32/bin/ld.exe: C:\work\avr\avrdude-7.0/ser_win32.c:703: undefined reference to `__imp_WSAGetLastError'
C:/msys64/mingw64/bin/../lib/gcc/x86_64-w64-mingw32/11.3.0/../../../../x86_64-w64-mingw32/bin/ld.exe: ./libavrdude.a(libavrdude_a-ser_win32.o): in function `net_recv':
C:\work\avr\avrdude-7.0/ser_win32.c:510: undefined reference to `__imp_WSAGetLastError'
C:/msys64/mingw64/bin/../lib/gcc/x86_64-w64-mingw32/11.3.0/../../../../x86_64-w64-mingw32/bin/ld.exe: C:\work\avr\avrdude-7.0/ser_win32.c:486: undefined reference to `__imp_select'
C:/msys64/mingw64/bin/../lib/gcc/x86_64-w64-mingw32/11.3.0/../../../../x86_64-w64-mingw32/bin/ld.exe: C:\work\avr\avrdude-7.0/ser_win32.c:530: undefined reference to `__imp_recv'
C:/msys64/mingw64/bin/../lib/gcc/x86_64-w64-mingw32/11.3.0/../../../../x86_64-w64-mingw32/bin/ld.exe: C:\work\avr\avrdude-7.0/ser_win32.c:537: undefined reference to `__imp_WSAGetLastError'
C:/msys64/mingw64/bin/../lib/gcc/x86_64-w64-mingw32/11.3.0/../../../../x86_64-w64-mingw32/bin/ld.exe: ./libavrdude.a(libavrdude_a-ser_win32.o): in function `net_open':
C:\work\avr\avrdude-7.0/ser_win32.c:165: undefined reference to `__imp_WSAStartup'
C:/msys64/mingw64/bin/../lib/gcc/x86_64-w64-mingw32/11.3.0/../../../../x86_64-w64-mingw32/bin/ld.exe: C:\work\avr\avrdude-7.0/ser_win32.c:194: undefined reference to `__imp_gethostbyname'
C:/msys64/mingw64/bin/../lib/gcc/x86_64-w64-mingw32/11.3.0/../../../../x86_64-w64-mingw32/bin/ld.exe: C:\work\avr\avrdude-7.0/ser_win32.c:202: undefined reference to `__imp_socket'
C:/msys64/mingw64/bin/../lib/gcc/x86_64-w64-mingw32/11.3.0/../../../../x86_64-w64-mingw32/bin/ld.exe: C:\work\avr\avrdude-7.0/ser_win32.c:220: undefined reference to `__imp_htons'
C:/msys64/mingw64/bin/../lib/gcc/x86_64-w64-mingw32/11.3.0/../../../../x86_64-w64-mingw32/bin/ld.exe: C:\work\avr\avrdude-7.0/ser_win32.c:223: undefined reference to `__imp_connect'
C:/msys64/mingw64/bin/../lib/gcc/x86_64-w64-mingw32/11.3.0/../../../../x86_64-w64-mingw32/bin/ld.exe: C:\work\avr\avrdude-7.0/ser_win32.c:208: undefined reference to `__imp_WSAGetLastError'
C:/msys64/mingw64/bin/../lib/gcc/x86_64-w64-mingw32/11.3.0/../../../../x86_64-w64-mingw32/bin/ld.exe: C:\work\avr\avrdude-7.0/ser_win32.c:229: undefined reference to `__imp_WSAGetLastError'
C:/msys64/mingw64/bin/../lib/gcc/x86_64-w64-mingw32/11.3.0/../../../../x86_64-w64-mingw32/bin/ld.exe: ./libavrdude.a(libavrdude_a-ser_win32.o): in function `ser_close':
C:\work\avr\avrdude-7.0/ser_win32.c:331: undefined reference to `__imp_closesocket'
C:/msys64/mingw64/bin/../lib/gcc/x86_64-w64-mingw32/11.3.0/../../../../x86_64-w64-mingw32/bin/ld.exe: C:\work\avr\avrdude-7.0/ser_win32.c:332: undefined reference to `__imp_WSACleanup'
C:/msys64/mingw64/bin/../lib/gcc/x86_64-w64-mingw32/11.3.0/../../../../x86_64-w64-mingw32/bin/ld.exe: ./libavrdude.a(libavrdude_a-ser_win32.o): in function `net_send':
C:\work\avr\avrdude-7.0/ser_win32.c:376: undefined reference to `__imp_send'
C:/msys64/mingw64/bin/../lib/gcc/x86_64-w64-mingw32/11.3.0/../../../../x86_64-w64-mingw32/bin/ld.exe: C:\work\avr\avrdude-7.0/ser_win32.c:403: undefined reference to `__imp_WSAGetLastError'
collect2.exe: error: ld returned 1 exit status
make[2]: [Makefile:969: avrdude.exe] Error 1 (ignored)

$ /bin/sh ./libtool  --tag=CC   --mode=link gcc -Wall -Wno-pointer-sign -g -O2 -DWIN32NATIVE  -static -o avrdude.exe avrdude-main.o avrdude-whereami.o avrdude-term.o ./libavrdude.a -lusb-1.0  -lusb -lftdi1  -lhid -lsetupapi -lelf -lpthread -lm -lhidapi -lreadline -lncurses -ltermcap  -lftdi1 -lws2_32
libtool: link: gcc -Wall -Wno-pointer-sign -g -O2 -DWIN32NATIVE -o avrdude.exe avrdude-main.o avrdude-whereami.o avrdude-term.o  ./libavrdude.a -lusb-1.0 -lusb -lhid -lsetupapi -lelf -lpthread -lhidapi -lreadline -lncurses -ltermcap -lftdi1 -lws2_32

$ ./avrdude.exe
Usage: avrdude.exe [options]
Options:
  -p <partno>                Required. Specify AVR device.
  -b <baudrate>              Override RS-232 baud rate.
  -B <bitclock>              Specify JTAG/STK500v2 bit clock period (us).
  -C <config-file>           Specify location of configuration file.
  -c <programmer>            Specify programmer type.
  -D                         Disable auto erase for flash memory
  -i <delay>                 ISP Clock Delay [in microseconds]
  -P <port>                  Specify connection port.
  -F                         Override invalid signature check.
  -e                         Perform a chip erase.
  -O                         Perform RC oscillator calibration (see AVR053).
  -U <memtype>:r|w|v:<filename>[:format]
                             Memory operation specification.
                             Multiple -U options are allowed, each request
                             is performed in the order specified.
  -n                         Do not write anything to the device.
  -V                         Do not verify.
  -t                         Enter terminal mode.
  -E <exitspec>[,<exitspec>] List programmer exit specifications.
  -x <extended_param>        Pass <extended_param> to programmer.
  -v                         Verbose output. -v -v for more.
  -q                         Quell progress output. -q -q for less.
  -l logfile                 Use logfile rather than stderr for diagnostics.
  -?                         Display this usage.

avrdude version 7.0, URL: <https://github.com/avrdudes/avrdude>

@mcuee
Copy link
Collaborator Author

mcuee commented May 10, 2022

Same for the static lib build.

Shared lib build is not possible as of now.

$ /bin/sh ./libtool  --tag=CC   --mode=link gcc -Wall -Wno-pointer-sign -g -O2 -DWIN32NATIVE -version-info 1:0 -static -o libavrdude.la -rpath /mingw64/lib libavrdude_la-config_gram.lo libavrdude_la-lexer.lo libavrdude_la-arduino.lo libavrdude_la-avr.lo libavrdude_la-avr910.lo libavrdude_la-avrftdi.lo libavrdude_la-avrftdi_tpi.lo libavrdude_la-avrpart.lo libavrdude_la-bitbang.lo libavrdude_la-buspirate.lo libavrdude_la-butterfly.lo libavrdude_la-config.lo libavrdude_la-confwin.lo libavrdude_la-crc16.lo libavrdude_la-dfu.lo libavrdude_la-fileio.lo libavrdude_la-flip1.lo libavrdude_la-flip2.lo libavrdude_la-ft245r.lo libavrdude_la-jtagmkI.lo libavrdude_la-jtagmkII.lo libavrdude_la-jtag3.lo libavrdude_la-linuxgpio.lo libavrdude_la-linuxspi.lo libavrdude_la-lists.lo libavrdude_la-micronucleus.lo libavrdude_la-par.lo libavrdude_la-pgm.lo libavrdude_la-pgm_type.lo libavrdude_la-pickit2.lo libavrdude_la-pindefs.lo libavrdude_la-ppi.lo libavrdude_la-ppiwin.lo libavrdude_la-serbb_posix.lo libavrdude_la-serbb_win32.lo libavrdude_la-ser_avrdoper.lo libavrdude_la-ser_posix.lo libavrdude_la-ser_win32.lo libavrdude_la-stk500.lo libavrdude_la-stk500v2.lo libavrdude_la-stk500generic.lo libavrdude_la-teensy.lo libavrdude_la-usbasp.lo libavrdude_la-serialupdi.lo libavrdude_la-updi_link.lo libavrdude_la-updi_state.lo libavrdude_la-updi_readwrite.lo libavrdude_la-updi_nvm.lo libavrdude_la-usb_hidapi.lo libavrdude_la-usb_libusb.lo libavrdude_la-usbtiny.lo libavrdude_la-update.lo libavrdude_la-wiring.lo libavrdude_la-xbee.lo  -lhidapi -lreadline -lncurses -ltermcap  -lftdi1 -lws2_32
libtool: warning: undefined symbols not allowed in x86_64-w64-mingw32 shared libraries; building static only
libtool: link: rm -fr  .libs/libavrdude.a .libs/libavrdude.la .libs/libavrdude.lai
libtool: link: ar cru .libs/libavrdude.a  libavrdude_la-config_gram.o libavrdude_la-lexer.o libavrdude_la-arduino.o libavrdude_la-avr.o libavrdude_la-avr910.o libavrdude_la-avrftdi.o libavrdude_la-avrftdi_tpi.o libavrdude_la-avrpart.o libavrdude_la-bitbang.o libavrdude_la-buspirate.o libavrdude_la-butterfly.o libavrdude_la-config.o libavrdude_la-confwin.o libavrdude_la-crc16.o libavrdude_la-dfu.o libavrdude_la-fileio.o libavrdude_la-flip1.o libavrdude_la-flip2.o libavrdude_la-ft245r.o libavrdude_la-jtagmkI.o libavrdude_la-jtagmkII.o libavrdude_la-jtag3.o libavrdude_la-linuxgpio.o libavrdude_la-linuxspi.o libavrdude_la-lists.o libavrdude_la-micronucleus.o libavrdude_la-par.o libavrdude_la-pgm.o libavrdude_la-pgm_type.o libavrdude_la-pickit2.o libavrdude_la-pindefs.o libavrdude_la-ppi.o libavrdude_la-ppiwin.o libavrdude_la-serbb_posix.o libavrdude_la-serbb_win32.o libavrdude_la-ser_avrdoper.o libavrdude_la-ser_posix.o libavrdude_la-ser_win32.o libavrdude_la-stk500.o libavrdude_la-stk500v2.o libavrdude_la-stk500generic.o libavrdude_la-teensy.o libavrdude_la-usbasp.o libavrdude_la-serialupdi.o libavrdude_la-updi_link.o libavrdude_la-updi_state.o libavrdude_la-updi_readwrite.o libavrdude_la-updi_nvm.o libavrdude_la-usb_hidapi.o libavrdude_la-usb_libusb.o libavrdude_la-usbtiny.o libavrdude_la-update.o libavrdude_la-wiring.o libavrdude_la-xbee.o
C:\msys64\mingw64\bin\ar.exe: `u' modifier ignored since `D' is the default (see `U')
libtool: link: ranlib .libs/libavrdude.a
libtool: link: ( cd ".libs" && rm -f "libavrdude.la" && cp -pR "../libavrdude.la" "libavrdude.la" )

$ ls *.a
libavrdude.a

$ file libavrdude.a
libavrdude.a: current ar archive

@mcuee
Copy link
Collaborator Author

mcuee commented May 10, 2022

But I guess this is not a real issue as of now since CMake tarball is fine to build avrdude binary and static lib (not possible to build shared lib).

@mcuee
Copy link
Collaborator Author

mcuee commented May 10, 2022

The good thing is that the resultant avrdude.exe is dynamcally link to the dependancies dlls, which is actually what I want in #955.

So it will be good that this "classic" tarball is kept in the foreseable future.

@mariusgreuel
Copy link
Contributor

Please use CMake instead. The automake files are no longer maintained for all targets.

@mcuee
Copy link
Collaborator Author

mcuee commented May 11, 2022

Fair enough. I will close this issue.

@mcuee mcuee closed this as completed May 11, 2022
@mcuee mcuee closed this as not planned Won't fix, can't repro, duplicate, stale Jun 20, 2022
@mcuee mcuee added the wontfix This will not be worked on label Jun 20, 2022
@mcuee mcuee changed the title Release tarball with configure script -- mising ws2_32 libary under Windows MSYS2 MinGW-w64 Release tarball with configure script -- mising ws2_32 library under Windows MSYS2 MinGW-w64 Jan 12, 2023
@mcuee
Copy link
Collaborator Author

mcuee commented Jan 12, 2023

The following simple fix seems to fix the issue.

diff --git a/src/configure.ac b/src/configure.ac
index b57af4a..5be8e2b 100644
--- a/src/configure.ac
+++ b/src/configure.ac
@@ -78,6 +78,9 @@ dnl Makefile.am:77: compiling `config_gram.c' with per-target flags requires `AM
 AM_PROG_CC_C_O

 # Checks for libraries.
+# For MinGW.
+AC_CHECK_LIB([ws2_32], [WSAStartup])
+
 AC_CHECK_LIB([termcap], [tputs])
 AC_CHECK_LIB([ncurses], [tputs])
 AC_CHECK_LIB([readline], [readline])

@mcuee mcuee changed the title Release tarball with configure script -- mising ws2_32 library under Windows MSYS2 MinGW-w64 auto-tools build: missing ws2_32 library under Windows MSYS2 MinGW Jan 12, 2023
@mcuee
Copy link
Collaborator Author

mcuee commented Jan 12, 2023

Build log for latest git main (or same for avrdude 7.1 release).

Even though it says no GNU Readline support, but the end binary does have GNU Readline support.

Click for the detail build log
$ ./bootstrap
+ rm -rf autom4te.cache
+ LIBTOOLIZE=libtoolize
+ glibtoolize --version
+ libtoolize
libtoolize: putting auxiliary files in '.'.
libtoolize: linking file './ltmain.sh'
libtoolize: putting macros in AC_CONFIG_MACRO_DIRS, 'm4'.
libtoolize: linking file 'm4/libtool.m4'
libtoolize: linking file 'm4/ltoptions.m4'
libtoolize: linking file 'm4/ltsugar.m4'
libtoolize: linking file 'm4/ltversion.m4'
libtoolize: linking file 'm4/lt~obsolete.m4'
+ aclocal
+ autoheader
+ autoconf
configure.ac:46: warning: AC_PROG_LEX without either yywrap or noyywrap is obsolete
../autoconf-2.71/lib/autoconf/programs.m4:716: _AC_PROG_LEX is expanded from...
../autoconf-2.71/lib/autoconf/programs.m4:709: AC_PROG_LEX is expanded from...
configure.ac:46: the top level
configure.ac:123: warning: The macro `AC_HELP_STRING' is obsolete.
configure.ac:123: You should run autoupdate.
../autoconf-2.71/lib/autoconf/general.m4:204: AC_HELP_STRING is expanded from...
configure.ac:123: the top level
configure.ac:230: warning: The macro `AC_HEADER_TIME' is obsolete.
configure.ac:230: You should run autoupdate.
../autoconf-2.71/lib/autoconf/headers.m4:743: AC_HEADER_TIME is expanded from...
configure.ac:230: the top level
configure.ac:252: warning: The macro `AC_TRY_LINK' is obsolete.
configure.ac:252: You should run autoupdate.
../autoconf-2.71/lib/autoconf/general.m4:2920: AC_TRY_LINK is expanded from...
configure.ac:252: the top level
configure.ac:284: warning: The macro `AC_HELP_STRING' is obsolete.
configure.ac:284: You should run autoupdate.
../autoconf-2.71/lib/autoconf/general.m4:204: AC_HELP_STRING is expanded from...
configure.ac:284: the top level
configure.ac:302: warning: The macro `AC_HELP_STRING' is obsolete.
configure.ac:302: You should run autoupdate.
../autoconf-2.71/lib/autoconf/general.m4:204: AC_HELP_STRING is expanded from...
configure.ac:302: the top level
configure.ac:314: warning: The macro `AC_HELP_STRING' is obsolete.
configure.ac:314: You should run autoupdate.
../autoconf-2.71/lib/autoconf/general.m4:204: AC_HELP_STRING is expanded from...
configure.ac:314: the top level
configure.ac:326: warning: The macro `AC_HELP_STRING' is obsolete.
configure.ac:326: You should run autoupdate.
../autoconf-2.71/lib/autoconf/general.m4:204: AC_HELP_STRING is expanded from...
configure.ac:326: the top level
configure.ac:338: warning: The macro `AC_HELP_STRING' is obsolete.
configure.ac:338: You should run autoupdate.
../autoconf-2.71/lib/autoconf/general.m4:204: AC_HELP_STRING is expanded from...
configure.ac:338: the top level
configure.ac:443: warning: The macro `AC_TRY_COMPILE' is obsolete.
configure.ac:443: You should run autoupdate.
../autoconf-2.71/lib/autoconf/general.m4:2847: AC_TRY_COMPILE is expanded from...
configure.ac:443: the top level
configure.ac:468: warning: The macro `AC_TRY_COMPILE' is obsolete.
configure.ac:468: You should run autoupdate.
../autoconf-2.71/lib/autoconf/general.m4:2847: AC_TRY_COMPILE is expanded from...
configure.ac:468: the top level
configure.ac:492: warning: The macro `AC_TRY_LINK' is obsolete.
configure.ac:492: You should run autoupdate.
../autoconf-2.71/lib/autoconf/general.m4:2920: AC_TRY_LINK is expanded from...
configure.ac:492: the top level
+ automake -a -c
configure.ac:37: installing './compile'
configure.ac:28: installing './config.guess'
configure.ac:28: installing './config.sub'
configure.ac:33: installing './install-sh'
configure.ac:33: installing './missing'
Makefile.am: installing './depcomp'
configure.ac: installing './ylwrap'
doc/Makefile.am:33: installing 'doc/mdate-sh'
doc/Makefile.am:33: installing 'doc/texinfo.tex'

$ ./configure
configure: loading site script /etc/config.site
checking build system type... x86_64-w64-mingw32
checking host system type... x86_64-w64-mingw32
checking target system type... x86_64-w64-mingw32
checking for a BSD-compatible install... /usr/bin/install -c
checking whether build environment is sane... yes
checking for a race-free mkdir -p... /usr/bin/mkdir -p
checking for gawk... gawk
checking whether make sets $(MAKE)... yes
checking whether make supports nested variables... yes
checking how to print strings... printf
checking whether make supports the include directive... yes (GNU style)
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 the compiler supports GNU C... yes
checking whether gcc accepts -g... yes
checking for gcc option to enable C11 features... none needed
checking whether gcc understands -c and -o together... yes
checking dependency style of gcc... gcc3
checking for a sed that does not truncate output... /usr/bin/sed
checking for grep that handles long lines and -e... /usr/bin/grep
checking for egrep... /usr/bin/grep -E
checking for fgrep... /usr/bin/grep -F
checking for ld used by gcc... C:/msys64/mingw64/x86_64-w64-mingw32/bin/ld.exe
checking if the linker (C:/msys64/mingw64/x86_64-w64-mingw32/bin/ld.exe) is GNU ld... yes
checking for BSD- or MS-compatible name lister (nm)... /mingw64/bin/nm -B
checking the name lister (/mingw64/bin/nm -B) interface... BSD nm
checking whether ln -s works... no, using cp -pR
checking the maximum length of command line arguments... 8192
checking how to convert x86_64-w64-mingw32 file names to x86_64-w64-mingw32 format... func_convert_file_msys_to_w32
checking how to convert x86_64-w64-mingw32 file names to toolchain format... func_convert_file_msys_to_w32
checking for C:/msys64/mingw64/x86_64-w64-mingw32/bin/ld.exe option to reload object files... -r
checking for file... file
checking for objdump... objdump
checking how to recognize dependent libraries... file_magic ^x86 archive import|^x86 DLL
checking for dlltool... dlltool
checking how to associate runtime and link libraries... func_cygming_dll_for_implib
checking for ar... ar
checking for archiver @FILE support... @
checking for strip... strip
checking for ranlib... ranlib
checking command to parse /mingw64/bin/nm -B output from gcc object... ok
checking for sysroot... no
checking for a working dd... /usr/bin/dd
checking how to truncate binary pipes... /usr/bin/dd bs=4096 count=1
checking for mt... no
checking if : is a manifest tool... no
checking for stdio.h... yes
checking for stdlib.h... yes
checking for string.h... yes
checking for inttypes.h... yes
checking for stdint.h... yes
checking for strings.h... yes
checking for sys/stat.h... yes
checking for sys/types.h... yes
checking for unistd.h... yes
checking for sys/time.h... yes
checking for dlfcn.h... no
checking for objdir... .libs
checking if gcc supports -fno-rtti -fno-exceptions... no
checking for gcc option to produce PIC... -DDLL_EXPORT -DPIC
checking if gcc PIC flag -DDLL_EXPORT -DPIC works... yes
checking if gcc static flag -static works... yes
checking if gcc supports -c -o file.o... yes
checking if gcc supports -c -o file.o... (cached) yes
checking whether the gcc linker (C:/msys64/mingw64/x86_64-w64-mingw32/bin/ld.exe) supports shared libraries... yes
checking whether -lc should be explicitly linked in... yes
checking dynamic linker characteristics... Win32 ld.exe
checking how to hardcode library paths into programs... immediate
checking whether stripping libraries is possible... yes
checking if libtool supports shared libraries... yes
checking whether to build shared libraries... yes
checking whether to build static libraries... yes
checking whether make supports nested variables... (cached) yes
checking for gcc... (cached) gcc
checking whether the compiler supports GNU C... (cached) yes
checking whether gcc accepts -g... (cached) yes
checking for gcc option to enable C11 features... (cached) none needed
checking whether gcc understands -c and -o together... (cached) yes
checking dependency style of gcc... (cached) gcc3
checking for a sed that does not truncate output... (cached) /usr/bin/sed
checking for bison... bison -y
checking for flex... flex
checking for lex output file root... lex.yy
checking for lex library... none needed
checking for library containing yywrap... no
checking whether yytext is a pointer... yes
checking for -ar... ar
checking whether yylex_destroy is generated by flex... version 2.6.4 => yes
checking for WSAStartup in -lws2_32... yes
checking for tputs in -ltermcap... yes
checking for tputs in -lncurses... yes
checking for readline in -lreadline... yes
checking for elf_getshdrstrndx in -lelf... yes
checking for libelf.h... yes
checking for libelf/libelf.h... yes
checking for library containing gethostent... no
checking for library containing setsockopt... none required
checking for usb_get_string_simple in -lusb... yes
checking for usb.h... no
checking for lusb0_usb.h... yes
checking for libusb_init in -lusb-1.0... yes
checking for libusb-1.0/libusb.h... yes
checking for libusb.h... no
checking for libusb_init in -lusb... no
checking for libusb.h... (cached) no
checking for library containing hid_init... -lhidapi
checking for hidapi/hidapi.h... yes
checking for ftdi_new in -lftdi1... yes
checking for ftdi_usb_get_strings in -lftdi... no
checking for ftdi_tcioflush... yes
checking for pthread.h... yes
checking for pthread_create in -lpthread... yes
checking for limits.h... yes
checking for stdlib.h... (cached) yes
checking for string.h... (cached) yes
checking for fcntl.h... yes
checking for sys/ioctl.h... no
checking for sys/time.h... (cached) yes
checking for termios.h... no
checking for unistd.h... (cached) yes
checking for ddk/hidsdi.h... no
checking for an ANSI C-conforming const... yes
checking for netinet/in.h... no
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 usleep... yes
checking for getaddrinfo... yes
checking for a Win32 HID library... yes
checking for uint_t... no
checking for ulong_t... no
checking for serial device... com1
checking if gcc accepts -Wno-pointer-sign ... yes
checking if gcc accepts -mno-cygwin... no
configure: Your compiler does not understand the -mno-cygwin option.
configure: You might want to select an alternative compiler, like
configure:
configure: CC=mingw32-gcc ./configure
configure:
checking if linker accepts -static... yes
checking that generated files are newer than configure... done
configure: creating ./config.status
config.status: creating doc/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
config.status: executing libtool commands


Configuration summary:
----------------------
DO HAVE    libelf
DO HAVE    libusb
DO HAVE    libusb_1_0
DO HAVE    libftdi1
DON'T HAVE libftdi
DO HAVE    libhid
DO HAVE    libhidapi
DON'T HAVE libreadline
DO HAVE    pthread
DISABLED   doc
DISABLED   parport
DISABLED   linuxgpio
DISABLED   linuxspi

$ make
  YACC     config_gram.c
updating config_gram.h
  LEX      lexer.c
make  all-recursive
make[1]: Entering directory '/c/work/avr/avrdude_test/avrdude_main/src'
Making all in .
make[2]: Entering directory '/c/work/avr/avrdude_test/avrdude_main/src'
  CC       avrdude-main.o
  CC       avrdude-whereami.o
  CC       avrdude-avrintel.o
  CC       avrdude-developer_opts.o
  CC       avrdude-term.o
In function 'tokenize',
    inlined from 'process_line' at term.c:1294:10:
term.c:1202:17: warning: pointer 'buf' may be used after 'realloc' [-Wuse-after-free]
 1202 |       ptrdiff_t k = buf - bufp;
      |                 ^
term.c:1186:18: note: call to 'realloc' here
 1186 |       buf_tmp  = realloc(buf, bufsize);
      |                  ^~~~~~~~~~~~~~~~~~~~~
  CC       libavrdude_a-config_gram.o
  CC       libavrdude_a-lexer.o
  CC       libavrdude_a-arduino.o
  CC       libavrdude_a-avr.o
  CC       libavrdude_a-avr910.o
  CC       libavrdude_a-avrcache.o
  CC       libavrdude_a-avrftdi.o
  CC       libavrdude_a-avrftdi_tpi.o
  CC       libavrdude_a-avrpart.o
  CC       libavrdude_a-bitbang.o
  CC       libavrdude_a-buspirate.o
  CC       libavrdude_a-butterfly.o
  CC       libavrdude_a-config.o
  CC       libavrdude_a-confwin.o
  CC       libavrdude_a-crc16.o
  CC       libavrdude_a-dfu.o
  CC       libavrdude_a-fileio.o
  CC       libavrdude_a-flip1.o
  CC       libavrdude_a-flip2.o
  CC       libavrdude_a-ft245r.o
  CC       libavrdude_a-jtagmkI.o
  CC       libavrdude_a-jtagmkII.o
  CC       libavrdude_a-jtag3.o
  CC       libavrdude_a-linuxgpio.o
  CC       libavrdude_a-linuxspi.o
  CC       libavrdude_a-lists.o
  CC       libavrdude_a-micronucleus.o
  CC       libavrdude_a-par.o
  CC       libavrdude_a-pgm.o
  CC       libavrdude_a-pgm_type.o
  CC       libavrdude_a-pickit2.o
  CC       libavrdude_a-pindefs.o
  CC       libavrdude_a-ppi.o
  CC       libavrdude_a-ppiwin.o
  CC       libavrdude_a-serbb_posix.o
  CC       libavrdude_a-serbb_win32.o
  CC       libavrdude_a-ser_avrdoper.o
  CC       libavrdude_a-ser_posix.o
  CC       libavrdude_a-ser_win32.o
  CC       libavrdude_a-stk500.o
  CC       libavrdude_a-stk500v2.o
  CC       libavrdude_a-stk500generic.o
  CC       libavrdude_a-teensy.o
  CC       libavrdude_a-usbasp.o
  CC       libavrdude_a-serialupdi.o
  CC       libavrdude_a-updi_link.o
  CC       libavrdude_a-updi_state.o
  CC       libavrdude_a-updi_readwrite.o
  CC       libavrdude_a-updi_nvm.o
  CC       libavrdude_a-urclock.o
  CC       libavrdude_a-usb_hidapi.o
  CC       libavrdude_a-usb_libusb.o
  CC       libavrdude_a-usbtiny.o
  CC       libavrdude_a-update.o
  CC       libavrdude_a-wiring.o
  CC       libavrdude_a-xbee.o
  AR       libavrdude.a
C:\msys64\mingw64\bin\ar.exe: `u' modifier ignored since `D' is the default (see `U')
  CCLD     avrdude.exe
  CC       libavrdude_la-config_gram.lo
  CC       libavrdude_la-lexer.lo
  CC       libavrdude_la-arduino.lo
  CC       libavrdude_la-avr.lo
  CC       libavrdude_la-avr910.lo
  CC       libavrdude_la-avrcache.lo
  CC       libavrdude_la-avrftdi.lo
  CC       libavrdude_la-avrftdi_tpi.lo
  CC       libavrdude_la-avrpart.lo
  CC       libavrdude_la-bitbang.lo
  CC       libavrdude_la-buspirate.lo
  CC       libavrdude_la-butterfly.lo
  CC       libavrdude_la-config.lo
  CC       libavrdude_la-confwin.lo
  CC       libavrdude_la-crc16.lo
  CC       libavrdude_la-dfu.lo
  CC       libavrdude_la-fileio.lo
  CC       libavrdude_la-flip1.lo
  CC       libavrdude_la-flip2.lo
  CC       libavrdude_la-ft245r.lo
  CC       libavrdude_la-jtagmkI.lo
  CC       libavrdude_la-jtagmkII.lo
  CC       libavrdude_la-jtag3.lo
  CC       libavrdude_la-linuxgpio.lo
  CC       libavrdude_la-linuxspi.lo
  CC       libavrdude_la-lists.lo
  CC       libavrdude_la-micronucleus.lo
  CC       libavrdude_la-par.lo
  CC       libavrdude_la-pgm.lo
  CC       libavrdude_la-pgm_type.lo
  CC       libavrdude_la-pickit2.lo
  CC       libavrdude_la-pindefs.lo
  CC       libavrdude_la-ppi.lo
  CC       libavrdude_la-ppiwin.lo
  CC       libavrdude_la-serbb_posix.lo
  CC       libavrdude_la-serbb_win32.lo
  CC       libavrdude_la-ser_avrdoper.lo
  CC       libavrdude_la-ser_posix.lo
  CC       libavrdude_la-ser_win32.lo
  CC       libavrdude_la-stk500.lo
  CC       libavrdude_la-stk500v2.lo
  CC       libavrdude_la-stk500generic.lo
  CC       libavrdude_la-teensy.lo
  CC       libavrdude_la-usbasp.lo
  CC       libavrdude_la-serialupdi.lo
  CC       libavrdude_la-updi_link.lo
  CC       libavrdude_la-updi_state.lo
  CC       libavrdude_la-updi_readwrite.lo
  CC       libavrdude_la-updi_nvm.lo
  CC       libavrdude_la-urclock.lo
  CC       libavrdude_la-usb_hidapi.lo
  CC       libavrdude_la-usb_libusb.lo
  CC       libavrdude_la-usbtiny.lo
  CC       libavrdude_la-update.lo
  CC       libavrdude_la-wiring.lo
  CC       libavrdude_la-xbee.lo
  CCLD     libavrdude.la
libtool: warning: undefined symbols not allowed in x86_64-w64-mingw32 shared libraries; building static only
make[2]: Leaving directory '/c/work/avr/avrdude_test/avrdude_main/src'
make[1]: Leaving directory '/c/work/avr/avrdude_test/avrdude_main/src'

Result binary is working.

$ make install
make  install-recursive
make[1]: Entering directory '/c/work/avr/avrdude_test/avrdude_main/src'
Making install in .
make[2]: Entering directory '/c/work/avr/avrdude_test/avrdude_main/src'
make[3]: Entering directory '/c/work/avr/avrdude_test/avrdude_main/src'
 /usr/bin/mkdir -p '/mingw64/lib'
 /bin/sh ./libtool   --mode=install /usr/bin/install -c   libavrdude.la '/mingw64/lib'
libtool: install: /usr/bin/install -c .libs/libavrdude.lai /mingw64/lib/libavrdude.la
libtool: install: /usr/bin/install -c .libs/libavrdude.a /mingw64/lib/libavrdude.a
libtool: install: chmod 644 /mingw64/lib/libavrdude.a
libtool: install: ranlib /mingw64/lib/libavrdude.a
 /usr/bin/mkdir -p '/mingw64/bin'
  /bin/sh ./libtool   --mode=install /usr/bin/install -c avrdude.exe '/mingw64/bin'
libtool: install: /usr/bin/install -c avrdude.exe /mingw64/bin/avrdude.exe
Backing up avrdude.conf in /mingw64/etc
 /usr/bin/mkdir -p '/mingw64/etc'
 /usr/bin/install -c -m 644 avrdude.conf '/mingw64/etc'
 /usr/bin/mkdir -p '/mingw64/include'
 /usr/bin/install -c -m 644 libavrdude.h '/mingw64/include'
 /usr/bin/mkdir -p '/mingw64/share/man/man1'
 /usr/bin/install -c -m 644 avrdude.1 '/mingw64/share/man/man1'
make[3]: Leaving directory '/c/work/avr/avrdude_test/avrdude_main/src'
make[2]: Leaving directory '/c/work/avr/avrdude_test/avrdude_main/src'
make[1]: Leaving directory '/c/work/avr/avrdude_test/avrdude_main/src'

$ ldd /mingw64/bin/avrdude.exe
        ntdll.dll => /c/WINDOWS/SYSTEM32/ntdll.dll (0x7ffa1fd10000)
        KERNEL32.DLL => /c/WINDOWS/System32/KERNEL32.DLL (0x7ffa1e7f0000)
        KERNELBASE.dll => /c/WINDOWS/System32/KERNELBASE.dll (0x7ffa1d530000)
        msvcrt.dll => /c/WINDOWS/System32/msvcrt.dll (0x7ffa1ea00000)
        SETUPAPI.dll => /c/WINDOWS/System32/SETUPAPI.dll (0x7ffa1eed0000)
        libftdi1.dll => /mingw64/bin/libftdi1.dll (0x7ffa15060000)
        libhidapi-0.dll => /mingw64/bin/libhidapi-0.dll (0x7ffa15090000)
        HID.DLL => /c/WINDOWS/SYSTEM32/HID.DLL (0x7ffa1ac10000)
        cfgmgr32.dll => /c/WINDOWS/System32/cfgmgr32.dll (0x7ffa1daa0000)
        ucrtbase.dll => /c/WINDOWS/System32/ucrtbase.dll (0x7ffa1d430000)
        libreadline8.dll => /mingw64/bin/libreadline8.dll (0x7ff9ec170000)
        libusb-1.0.dll => /mingw64/bin/libusb-1.0.dll (0x7ffa07d50000)
        RPCRT4.dll => /c/WINDOWS/System32/RPCRT4.dll (0x7ffa1e8b0000)
        USER32.dll => /c/WINDOWS/System32/USER32.dll (0x7ffa1de00000)
        bcrypt.dll => /c/WINDOWS/System32/bcrypt.dll (0x7ffa1dd20000)
        win32u.dll => /c/WINDOWS/System32/win32u.dll (0x7ffa1d400000)
        WS2_32.dll => /c/WINDOWS/System32/WS2_32.dll (0x7ffa1eb50000)
        libtermcap-0.dll => /mingw64/bin/libtermcap-0.dll (0x6ac40000)
        GDI32.dll => /c/WINDOWS/System32/GDI32.dll (0x7ffa1fa90000)
        libusb-0-1-4.dll => /mingw64/bin/libusb-0-1-4.dll (0x7ffa14f20000)
        gdi32full.dll => /c/WINDOWS/System32/gdi32full.dll (0x7ffa1daf0000)
        msvcp_win.dll => /c/WINDOWS/System32/msvcp_win.dll (0x7ffa1da00000)

$ avrdude
Usage: avrdude [options]
Options:
  -p <partno>                Specify AVR device
  -p <wildcard>/<flags>      Run developer options for matched AVR devices
  -b <baudrate>              Override RS-232 baud rate
  -B <bitclock>              Specify bit clock period (us)
  -C <config-file>           Specify location of configuration file
  -c <programmer>            Specify programmer type
  -c <wildcard>/<flags>      Run developer options for matched programmers
  -A                         Disable trailing-0xff removal from file and AVR read
  -D                         Disable auto erase for flash memory; implies -A
  -i <delay>                 ISP Clock Delay [in microseconds]
  -P <port>                  Specify connection port
  -F                         Override invalid signature or initialisation check
  -e                         Perform a chip erase
  -O                         Perform RC oscillator calibration (see AVR053)
  -U <memtype>:r|w|v:<filename>[:format]
                             Memory operation specification
                             Multiple -U options are allowed, each request
                             is performed in the order specified
  -n                         Do not write anything to the device
  -V                         Do not verify
  -t                         Enter terminal mode
  -E <exitspec>[,<exitspec>] List programmer exit specifications
  -x <extended_param>        Pass <extended_param> to programmer
  -v                         Verbose output; -v -v for more
  -q                         Quell progress output; -q -q for less
  -l logfile                 Use logfile rather than stderr for diagnostics
  -?                         Display this usage

avrdude version 7.1-20230108, URL: <https://github.com/avrdudes/avrdude>

mcuee added a commit to mcuee/avrdude that referenced this issue Jan 12, 2023
Fix avrdudes#957.

Even though we are only supporting CMake build now, the fix is simple enough and not affecting CMake.
mcuee added a commit to mcuee/avrdude that referenced this issue Jan 12, 2023
Fix avrdudes#957.
Even though we are only supporting CMake build now, the fix is simple enough and not affecting CMake.
@mcuee
Copy link
Collaborator Author

mcuee commented Jan 13, 2023

With both #1279 and #1280, the build log is like this.

$ ./bootstrap
+ rm -rf autom4te.cache
+ LIBTOOLIZE=libtoolize
+ glibtoolize --version
+ libtoolize
+ aclocal
+ autoheader
+ autoconf
configure.ac:46: warning: AC_PROG_LEX without either yywrap or noyywrap is obsolete
../autoconf-2.71/lib/autoconf/programs.m4:716: _AC_PROG_LEX is expanded from...
../autoconf-2.71/lib/autoconf/programs.m4:709: AC_PROG_LEX is expanded from...
configure.ac:46: the top level
configure.ac:123: warning: The macro `AC_HELP_STRING' is obsolete.
configure.ac:123: You should run autoupdate.
../autoconf-2.71/lib/autoconf/general.m4:204: AC_HELP_STRING is expanded from...
configure.ac:123: the top level
configure.ac:230: warning: The macro `AC_HEADER_TIME' is obsolete.
configure.ac:230: You should run autoupdate.
../autoconf-2.71/lib/autoconf/headers.m4:743: AC_HEADER_TIME is expanded from...
configure.ac:230: the top level
configure.ac:252: warning: The macro `AC_TRY_LINK' is obsolete.
configure.ac:252: You should run autoupdate.
../autoconf-2.71/lib/autoconf/general.m4:2920: AC_TRY_LINK is expanded from...
configure.ac:252: the top level
configure.ac:284: warning: The macro `AC_HELP_STRING' is obsolete.
configure.ac:284: You should run autoupdate.
../autoconf-2.71/lib/autoconf/general.m4:204: AC_HELP_STRING is expanded from...
configure.ac:284: the top level
configure.ac:302: warning: The macro `AC_HELP_STRING' is obsolete.
configure.ac:302: You should run autoupdate.
../autoconf-2.71/lib/autoconf/general.m4:204: AC_HELP_STRING is expanded from...
configure.ac:302: the top level
configure.ac:314: warning: The macro `AC_HELP_STRING' is obsolete.
configure.ac:314: You should run autoupdate.
../autoconf-2.71/lib/autoconf/general.m4:204: AC_HELP_STRING is expanded from...
configure.ac:314: the top level
configure.ac:326: warning: The macro `AC_HELP_STRING' is obsolete.
configure.ac:326: You should run autoupdate.
../autoconf-2.71/lib/autoconf/general.m4:204: AC_HELP_STRING is expanded from...
configure.ac:326: the top level
configure.ac:338: warning: The macro `AC_HELP_STRING' is obsolete.
configure.ac:338: You should run autoupdate.
../autoconf-2.71/lib/autoconf/general.m4:204: AC_HELP_STRING is expanded from...
configure.ac:338: the top level
configure.ac:443: warning: The macro `AC_TRY_COMPILE' is obsolete.
configure.ac:443: You should run autoupdate.
../autoconf-2.71/lib/autoconf/general.m4:2847: AC_TRY_COMPILE is expanded from...
configure.ac:443: the top level
configure.ac:468: warning: The macro `AC_TRY_COMPILE' is obsolete.
configure.ac:468: You should run autoupdate.
../autoconf-2.71/lib/autoconf/general.m4:2847: AC_TRY_COMPILE is expanded from...
configure.ac:468: the top level
configure.ac:492: warning: The macro `AC_TRY_LINK' is obsolete.
configure.ac:492: You should run autoupdate.
../autoconf-2.71/lib/autoconf/general.m4:2920: AC_TRY_LINK is expanded from...
configure.ac:492: the top level
+ automake -a -c

$ ./configure
configure: loading site script /etc/config.site
checking build system type... x86_64-w64-mingw32
checking host system type... x86_64-w64-mingw32
checking target system type... x86_64-w64-mingw32
checking for a BSD-compatible install... /usr/bin/install -c
checking whether build environment is sane... yes
checking for a race-free mkdir -p... /usr/bin/mkdir -p
checking for gawk... gawk
checking whether make sets $(MAKE)... yes
checking whether make supports nested variables... yes
checking how to print strings... printf
checking whether make supports the include directive... yes (GNU style)
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 the compiler supports GNU C... yes
checking whether gcc accepts -g... yes
checking for gcc option to enable C11 features... none needed
checking whether gcc understands -c and -o together... yes
checking dependency style of gcc... gcc3
checking for a sed that does not truncate output... /usr/bin/sed
checking for grep that handles long lines and -e... /usr/bin/grep
checking for egrep... /usr/bin/grep -E
checking for fgrep... /usr/bin/grep -F
checking for ld used by gcc... C:/msys64/mingw64/x86_64-w64-mingw32/bin/ld.exe
checking if the linker (C:/msys64/mingw64/x86_64-w64-mingw32/bin/ld.exe) is GNU ld... yes
checking for BSD- or MS-compatible name lister (nm)... /mingw64/bin/nm -B
checking the name lister (/mingw64/bin/nm -B) interface... BSD nm
checking whether ln -s works... no, using cp -pR
checking the maximum length of command line arguments... 8192
checking how to convert x86_64-w64-mingw32 file names to x86_64-w64-mingw32 format... func_convert_file_msys_to_w32
checking how to convert x86_64-w64-mingw32 file names to toolchain format... func_convert_file_msys_to_w32
checking for C:/msys64/mingw64/x86_64-w64-mingw32/bin/ld.exe option to reload object files... -r
checking for file... file
checking for objdump... objdump
checking how to recognize dependent libraries... file_magic ^x86 archive import|^x86 DLL
checking for dlltool... dlltool
checking how to associate runtime and link libraries... func_cygming_dll_for_implib
checking for ar... ar
checking for archiver @FILE support... @
checking for strip... strip
checking for ranlib... ranlib
checking command to parse /mingw64/bin/nm -B output from gcc object... ok
checking for sysroot... no
checking for a working dd... /usr/bin/dd
checking how to truncate binary pipes... /usr/bin/dd bs=4096 count=1
checking for mt... no
checking if : is a manifest tool... no
checking for stdio.h... yes
checking for stdlib.h... yes
checking for string.h... yes
checking for inttypes.h... yes
checking for stdint.h... yes
checking for strings.h... yes
checking for sys/stat.h... yes
checking for sys/types.h... yes
checking for unistd.h... yes
checking for sys/time.h... yes
checking for dlfcn.h... no
checking for objdir... .libs
checking if gcc supports -fno-rtti -fno-exceptions... no
checking for gcc option to produce PIC... -DDLL_EXPORT -DPIC
checking if gcc PIC flag -DDLL_EXPORT -DPIC works... yes
checking if gcc static flag -static works... yes
checking if gcc supports -c -o file.o... yes
checking if gcc supports -c -o file.o... (cached) yes
checking whether the gcc linker (C:/msys64/mingw64/x86_64-w64-mingw32/bin/ld.exe) supports shared libraries... yes
checking whether -lc should be explicitly linked in... yes
checking dynamic linker characteristics... Win32 ld.exe
checking how to hardcode library paths into programs... immediate
checking whether stripping libraries is possible... yes
checking if libtool supports shared libraries... yes
checking whether to build shared libraries... yes
checking whether to build static libraries... yes
checking whether make supports nested variables... (cached) yes
checking for gcc... (cached) gcc
checking whether the compiler supports GNU C... (cached) yes
checking whether gcc accepts -g... (cached) yes
checking for gcc option to enable C11 features... (cached) none needed
checking whether gcc understands -c and -o together... (cached) yes
checking dependency style of gcc... (cached) gcc3
checking for a sed that does not truncate output... (cached) /usr/bin/sed
checking for bison... bison -y
checking for flex... flex
checking for lex output file root... lex.yy
checking for lex library... none needed
checking for library containing yywrap... no
checking whether yytext is a pointer... yes
checking for -ar... ar
checking whether yylex_destroy is generated by flex... version 2.6.4 => yes
checking for WSAStartup in -lws2_32... yes
checking for tputs in -ltermcap... yes
checking for tputs in -lncurses... yes
checking for readline in -lreadline... yes
checking for elf_getshdrstrndx in -lelf... yes
checking for libelf.h... yes
checking for libelf/libelf.h... yes
checking for library containing gethostent... no
checking for library containing setsockopt... none required
checking for usb_get_string_simple in -lusb... yes
checking for usb.h... no
checking for lusb0_usb.h... yes
checking for libusb_init in -lusb-1.0... yes
checking for libusb-1.0/libusb.h... yes
checking for libusb.h... no
checking for libusb_init in -lusb... no
checking for libusb.h... (cached) no
checking for library containing hid_init... -lhidapi
checking for hidapi/hidapi.h... yes
checking for ftdi_new in -lftdi1... yes
checking for ftdi_usb_get_strings in -lftdi... no
checking for ftdi_tcioflush... yes
checking for pthread.h... yes
checking for pthread_create in -lpthread... yes
checking for limits.h... yes
checking for stdlib.h... (cached) yes
checking for string.h... (cached) yes
checking for fcntl.h... yes
checking for sys/ioctl.h... no
checking for sys/time.h... (cached) yes
checking for termios.h... no
checking for unistd.h... (cached) yes
checking for ddk/hidsdi.h... no
checking for an ANSI C-conforming const... yes
checking for netinet/in.h... no
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 usleep... yes
checking for getaddrinfo... yes
checking for a Win32 HID library... yes
checking for uint_t... no
checking for ulong_t... no
checking for serial device... com1
checking if gcc accepts -Wno-pointer-sign ... yes
checking if gcc accepts -mno-cygwin... no
configure: Your compiler does not understand the -mno-cygwin option.
configure: You might want to select an alternative compiler, like
configure:
configure: CC=mingw32-gcc ./configure
configure:
checking if linker accepts -static... yes
checking that generated files are newer than configure... done
configure: creating ./config.status
config.status: creating doc/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
config.status: executing libtool commands


Configuration summary:
----------------------
DO HAVE    libelf
DO HAVE    libusb
DO HAVE    libusb_1_0
DO HAVE    libftdi1
DON'T HAVE libftdi
DO HAVE    libhid
DO HAVE    libhidapi
DO HAVE    libreadline
DO HAVE    pthread
DISABLED   doc
DISABLED   parport
DISABLED   linuxgpio
DISABLED   linuxspi

Build log:

More details
$ make V=1
/bin/sh ./ylwrap config_gram.y y.tab.c config_gram.c y.tab.h `echo config_gram.c | sed -e s/cc$/hh/ -e s/cpp$/hpp/ -e s/cxx$/hxx/ -e s/c++$/h++/ -e s/c$/h/` y.output config_gram.output -- bison -y -d
updating config_gram.h
/bin/sh ./ylwrap lexer.l lex.yy.c lexer.c -- flex
make  all-recursive
make[1]: Entering directory '/c/work/avr/avrdude_test/avrdude_main/src'
Making all in .
make[2]: Entering directory '/c/work/avr/avrdude_test/avrdude_main/src'
gcc -DHAVE_CONFIG_H -I.  -DCONFIG_DIR=\"/mingw64/etc\"  -Wall -Wno-pointer-sign -g -O2 -DWIN32NATIVE -MT avrdude-main.o -MD -MP -MF .deps/avrdude-main.Tpo -c -o avrdude-main.o `test -f 'main.c' || echo './'`main.c
mv -f .deps/avrdude-main.Tpo .deps/avrdude-main.Po
gcc -DHAVE_CONFIG_H -I.  -DCONFIG_DIR=\"/mingw64/etc\"  -Wall -Wno-pointer-sign -g -O2 -DWIN32NATIVE -MT avrdude-whereami.o -MD -MP -MF .deps/avrdude-whereami.Tpo -c -o avrdude-whereami.o `test -f 'whereami.c' || echo './'`whereami.c
mv -f .deps/avrdude-whereami.Tpo .deps/avrdude-whereami.Po
gcc -DHAVE_CONFIG_H -I.  -DCONFIG_DIR=\"/mingw64/etc\"  -Wall -Wno-pointer-sign -g -O2 -DWIN32NATIVE -MT avrdude-avrintel.o -MD -MP -MF .deps/avrdude-avrintel.Tpo -c -o avrdude-avrintel.o `test -f 'avrintel.c' || echo './'`avrintel.c
mv -f .deps/avrdude-avrintel.Tpo .deps/avrdude-avrintel.Po
gcc -DHAVE_CONFIG_H -I.  -DCONFIG_DIR=\"/mingw64/etc\"  -Wall -Wno-pointer-sign -g -O2 -DWIN32NATIVE -MT avrdude-developer_opts.o -MD -MP -MF .deps/avrdude-developer_opts.Tpo -c -o avrdude-developer_opts.o `test -f 'developer_opts.c' || echo './'`developer_opts.c
mv -f .deps/avrdude-developer_opts.Tpo .deps/avrdude-developer_opts.Po
gcc -DHAVE_CONFIG_H -I.  -DCONFIG_DIR=\"/mingw64/etc\"  -Wall -Wno-pointer-sign -g -O2 -DWIN32NATIVE -MT avrdude-term.o -MD -MP -MF .deps/avrdude-term.Tpo -c -o avrdude-term.o `test -f 'term.c' || echo './'`term.c
In function 'tokenize',
    inlined from 'process_line' at term.c:1294:10,
    inlined from 'terminal_mode_noninteractive' at term.c:1420:14:
term.c:1202:17: warning: pointer 'buf' may be used after 'realloc' [-Wuse-after-free]
 1202 |       ptrdiff_t k = buf - bufp;
      |                 ^
term.c:1186:18: note: call to 'realloc' here
 1186 |       buf_tmp  = realloc(buf, bufsize);
      |                  ^~~~~~~~~~~~~~~~~~~~~
mv -f .deps/avrdude-term.Tpo .deps/avrdude-term.Po
gcc -DHAVE_CONFIG_H -I.  -DCONFIG_DIR=\"/mingw64/etc\"  -Wall -Wno-pointer-sign -g -O2 -DWIN32NATIVE -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
gcc -DHAVE_CONFIG_H -I.  -DCONFIG_DIR=\"/mingw64/etc\"  -Wall -Wno-pointer-sign -g -O2 -DWIN32NATIVE -MT libavrdude_a-lexer.o -MD -MP -MF .deps/libavrdude_a-lexer.Tpo -c -o libavrdude_a-lexer.o `test -f 'lexer.c' || echo './'`lexer.c
mv -f .deps/libavrdude_a-lexer.Tpo .deps/libavrdude_a-lexer.Po
gcc -DHAVE_CONFIG_H -I.  -DCONFIG_DIR=\"/mingw64/etc\"  -Wall -Wno-pointer-sign -g -O2 -DWIN32NATIVE -MT libavrdude_a-arduino.o -MD -MP -MF .deps/libavrdude_a-arduino.Tpo -c -o libavrdude_a-arduino.o `test -f 'arduino.c' || echo './'`arduino.c
mv -f .deps/libavrdude_a-arduino.Tpo .deps/libavrdude_a-arduino.Po
gcc -DHAVE_CONFIG_H -I.  -DCONFIG_DIR=\"/mingw64/etc\"  -Wall -Wno-pointer-sign -g -O2 -DWIN32NATIVE -MT libavrdude_a-avr.o -MD -MP -MF .deps/libavrdude_a-avr.Tpo -c -o libavrdude_a-avr.o `test -f 'avr.c' || echo './'`avr.c
mv -f .deps/libavrdude_a-avr.Tpo .deps/libavrdude_a-avr.Po
gcc -DHAVE_CONFIG_H -I.  -DCONFIG_DIR=\"/mingw64/etc\"  -Wall -Wno-pointer-sign -g -O2 -DWIN32NATIVE -MT libavrdude_a-avr910.o -MD -MP -MF .deps/libavrdude_a-avr910.Tpo -c -o libavrdude_a-avr910.o `test -f 'avr910.c' || echo './'`avr910.c
mv -f .deps/libavrdude_a-avr910.Tpo .deps/libavrdude_a-avr910.Po
gcc -DHAVE_CONFIG_H -I.  -DCONFIG_DIR=\"/mingw64/etc\"  -Wall -Wno-pointer-sign -g -O2 -DWIN32NATIVE -MT libavrdude_a-avrcache.o -MD -MP -MF .deps/libavrdude_a-avrcache.Tpo -c -o libavrdude_a-avrcache.o `test -f 'avrcache.c' || echo './'`avrcache.c
mv -f .deps/libavrdude_a-avrcache.Tpo .deps/libavrdude_a-avrcache.Po
gcc -DHAVE_CONFIG_H -I.  -DCONFIG_DIR=\"/mingw64/etc\"  -Wall -Wno-pointer-sign -g -O2 -DWIN32NATIVE -MT libavrdude_a-avrftdi.o -MD -MP -MF .deps/libavrdude_a-avrftdi.Tpo -c -o libavrdude_a-avrftdi.o `test -f 'avrftdi.c' || echo './'`avrftdi.c
mv -f .deps/libavrdude_a-avrftdi.Tpo .deps/libavrdude_a-avrftdi.Po
gcc -DHAVE_CONFIG_H -I.  -DCONFIG_DIR=\"/mingw64/etc\"  -Wall -Wno-pointer-sign -g -O2 -DWIN32NATIVE -MT libavrdude_a-avrftdi_tpi.o -MD -MP -MF .deps/libavrdude_a-avrftdi_tpi.Tpo -c -o libavrdude_a-avrftdi_tpi.o `test -f 'avrftdi_tpi.c' || echo './'`avrftdi_tpi.c
mv -f .deps/libavrdude_a-avrftdi_tpi.Tpo .deps/libavrdude_a-avrftdi_tpi.Po
gcc -DHAVE_CONFIG_H -I.  -DCONFIG_DIR=\"/mingw64/etc\"  -Wall -Wno-pointer-sign -g -O2 -DWIN32NATIVE -MT libavrdude_a-avrpart.o -MD -MP -MF .deps/libavrdude_a-avrpart.Tpo -c -o libavrdude_a-avrpart.o `test -f 'avrpart.c' || echo './'`avrpart.c
mv -f .deps/libavrdude_a-avrpart.Tpo .deps/libavrdude_a-avrpart.Po
gcc -DHAVE_CONFIG_H -I.  -DCONFIG_DIR=\"/mingw64/etc\"  -Wall -Wno-pointer-sign -g -O2 -DWIN32NATIVE -MT libavrdude_a-bitbang.o -MD -MP -MF .deps/libavrdude_a-bitbang.Tpo -c -o libavrdude_a-bitbang.o `test -f 'bitbang.c' || echo './'`bitbang.c
mv -f .deps/libavrdude_a-bitbang.Tpo .deps/libavrdude_a-bitbang.Po
gcc -DHAVE_CONFIG_H -I.  -DCONFIG_DIR=\"/mingw64/etc\"  -Wall -Wno-pointer-sign -g -O2 -DWIN32NATIVE -MT libavrdude_a-buspirate.o -MD -MP -MF .deps/libavrdude_a-buspirate.Tpo -c -o libavrdude_a-buspirate.o `test -f 'buspirate.c' || echo './'`buspirate.c
mv -f .deps/libavrdude_a-buspirate.Tpo .deps/libavrdude_a-buspirate.Po
gcc -DHAVE_CONFIG_H -I.  -DCONFIG_DIR=\"/mingw64/etc\"  -Wall -Wno-pointer-sign -g -O2 -DWIN32NATIVE -MT libavrdude_a-butterfly.o -MD -MP -MF .deps/libavrdude_a-butterfly.Tpo -c -o libavrdude_a-butterfly.o `test -f 'butterfly.c' || echo './'`butterfly.c
mv -f .deps/libavrdude_a-butterfly.Tpo .deps/libavrdude_a-butterfly.Po
gcc -DHAVE_CONFIG_H -I.  -DCONFIG_DIR=\"/mingw64/etc\"  -Wall -Wno-pointer-sign -g -O2 -DWIN32NATIVE -MT libavrdude_a-config.o -MD -MP -MF .deps/libavrdude_a-config.Tpo -c -o libavrdude_a-config.o `test -f 'config.c' || echo './'`config.c
mv -f .deps/libavrdude_a-config.Tpo .deps/libavrdude_a-config.Po
gcc -DHAVE_CONFIG_H -I.  -DCONFIG_DIR=\"/mingw64/etc\"  -Wall -Wno-pointer-sign -g -O2 -DWIN32NATIVE -MT libavrdude_a-confwin.o -MD -MP -MF .deps/libavrdude_a-confwin.Tpo -c -o libavrdude_a-confwin.o `test -f 'confwin.c' || echo './'`confwin.c
mv -f .deps/libavrdude_a-confwin.Tpo .deps/libavrdude_a-confwin.Po
gcc -DHAVE_CONFIG_H -I.  -DCONFIG_DIR=\"/mingw64/etc\"  -Wall -Wno-pointer-sign -g -O2 -DWIN32NATIVE -MT libavrdude_a-crc16.o -MD -MP -MF .deps/libavrdude_a-crc16.Tpo -c -o libavrdude_a-crc16.o `test -f 'crc16.c' || echo './'`crc16.c
mv -f .deps/libavrdude_a-crc16.Tpo .deps/libavrdude_a-crc16.Po
gcc -DHAVE_CONFIG_H -I.  -DCONFIG_DIR=\"/mingw64/etc\"  -Wall -Wno-pointer-sign -g -O2 -DWIN32NATIVE -MT libavrdude_a-dfu.o -MD -MP -MF .deps/libavrdude_a-dfu.Tpo -c -o libavrdude_a-dfu.o `test -f 'dfu.c' || echo './'`dfu.c
mv -f .deps/libavrdude_a-dfu.Tpo .deps/libavrdude_a-dfu.Po
gcc -DHAVE_CONFIG_H -I.  -DCONFIG_DIR=\"/mingw64/etc\"  -Wall -Wno-pointer-sign -g -O2 -DWIN32NATIVE -MT libavrdude_a-fileio.o -MD -MP -MF .deps/libavrdude_a-fileio.Tpo -c -o libavrdude_a-fileio.o `test -f 'fileio.c' || echo './'`fileio.c
mv -f .deps/libavrdude_a-fileio.Tpo .deps/libavrdude_a-fileio.Po
gcc -DHAVE_CONFIG_H -I.  -DCONFIG_DIR=\"/mingw64/etc\"  -Wall -Wno-pointer-sign -g -O2 -DWIN32NATIVE -MT libavrdude_a-flip1.o -MD -MP -MF .deps/libavrdude_a-flip1.Tpo -c -o libavrdude_a-flip1.o `test -f 'flip1.c' || echo './'`flip1.c
mv -f .deps/libavrdude_a-flip1.Tpo .deps/libavrdude_a-flip1.Po
gcc -DHAVE_CONFIG_H -I.  -DCONFIG_DIR=\"/mingw64/etc\"  -Wall -Wno-pointer-sign -g -O2 -DWIN32NATIVE -MT libavrdude_a-flip2.o -MD -MP -MF .deps/libavrdude_a-flip2.Tpo -c -o libavrdude_a-flip2.o `test -f 'flip2.c' || echo './'`flip2.c
mv -f .deps/libavrdude_a-flip2.Tpo .deps/libavrdude_a-flip2.Po
gcc -DHAVE_CONFIG_H -I.  -DCONFIG_DIR=\"/mingw64/etc\"  -Wall -Wno-pointer-sign -g -O2 -DWIN32NATIVE -MT libavrdude_a-ft245r.o -MD -MP -MF .deps/libavrdude_a-ft245r.Tpo -c -o libavrdude_a-ft245r.o `test -f 'ft245r.c' || echo './'`ft245r.c
mv -f .deps/libavrdude_a-ft245r.Tpo .deps/libavrdude_a-ft245r.Po
gcc -DHAVE_CONFIG_H -I.  -DCONFIG_DIR=\"/mingw64/etc\"  -Wall -Wno-pointer-sign -g -O2 -DWIN32NATIVE -MT libavrdude_a-jtagmkI.o -MD -MP -MF .deps/libavrdude_a-jtagmkI.Tpo -c -o libavrdude_a-jtagmkI.o `test -f 'jtagmkI.c' || echo './'`jtagmkI.c
mv -f .deps/libavrdude_a-jtagmkI.Tpo .deps/libavrdude_a-jtagmkI.Po
gcc -DHAVE_CONFIG_H -I.  -DCONFIG_DIR=\"/mingw64/etc\"  -Wall -Wno-pointer-sign -g -O2 -DWIN32NATIVE -MT libavrdude_a-jtagmkII.o -MD -MP -MF .deps/libavrdude_a-jtagmkII.Tpo -c -o libavrdude_a-jtagmkII.o `test -f 'jtagmkII.c' || echo './'`jtagmkII.c
mv -f .deps/libavrdude_a-jtagmkII.Tpo .deps/libavrdude_a-jtagmkII.Po
gcc -DHAVE_CONFIG_H -I.  -DCONFIG_DIR=\"/mingw64/etc\"  -Wall -Wno-pointer-sign -g -O2 -DWIN32NATIVE -MT libavrdude_a-jtag3.o -MD -MP -MF .deps/libavrdude_a-jtag3.Tpo -c -o libavrdude_a-jtag3.o `test -f 'jtag3.c' || echo './'`jtag3.c
mv -f .deps/libavrdude_a-jtag3.Tpo .deps/libavrdude_a-jtag3.Po
gcc -DHAVE_CONFIG_H -I.  -DCONFIG_DIR=\"/mingw64/etc\"  -Wall -Wno-pointer-sign -g -O2 -DWIN32NATIVE -MT libavrdude_a-linuxgpio.o -MD -MP -MF .deps/libavrdude_a-linuxgpio.Tpo -c -o libavrdude_a-linuxgpio.o `test -f 'linuxgpio.c' || echo './'`linuxgpio.c
mv -f .deps/libavrdude_a-linuxgpio.Tpo .deps/libavrdude_a-linuxgpio.Po
gcc -DHAVE_CONFIG_H -I.  -DCONFIG_DIR=\"/mingw64/etc\"  -Wall -Wno-pointer-sign -g -O2 -DWIN32NATIVE -MT libavrdude_a-linuxspi.o -MD -MP -MF .deps/libavrdude_a-linuxspi.Tpo -c -o libavrdude_a-linuxspi.o `test -f 'linuxspi.c' || echo './'`linuxspi.c
mv -f .deps/libavrdude_a-linuxspi.Tpo .deps/libavrdude_a-linuxspi.Po
gcc -DHAVE_CONFIG_H -I.  -DCONFIG_DIR=\"/mingw64/etc\"  -Wall -Wno-pointer-sign -g -O2 -DWIN32NATIVE -MT libavrdude_a-lists.o -MD -MP -MF .deps/libavrdude_a-lists.Tpo -c -o libavrdude_a-lists.o `test -f 'lists.c' || echo './'`lists.c
mv -f .deps/libavrdude_a-lists.Tpo .deps/libavrdude_a-lists.Po
gcc -DHAVE_CONFIG_H -I.  -DCONFIG_DIR=\"/mingw64/etc\"  -Wall -Wno-pointer-sign -g -O2 -DWIN32NATIVE -MT libavrdude_a-micronucleus.o -MD -MP -MF .deps/libavrdude_a-micronucleus.Tpo -c -o libavrdude_a-micronucleus.o `test -f 'micronucleus.c' || echo './'`micronucleus.c
mv -f .deps/libavrdude_a-micronucleus.Tpo .deps/libavrdude_a-micronucleus.Po
gcc -DHAVE_CONFIG_H -I.  -DCONFIG_DIR=\"/mingw64/etc\"  -Wall -Wno-pointer-sign -g -O2 -DWIN32NATIVE -MT libavrdude_a-par.o -MD -MP -MF .deps/libavrdude_a-par.Tpo -c -o libavrdude_a-par.o `test -f 'par.c' || echo './'`par.c
mv -f .deps/libavrdude_a-par.Tpo .deps/libavrdude_a-par.Po
gcc -DHAVE_CONFIG_H -I.  -DCONFIG_DIR=\"/mingw64/etc\"  -Wall -Wno-pointer-sign -g -O2 -DWIN32NATIVE -MT libavrdude_a-pgm.o -MD -MP -MF .deps/libavrdude_a-pgm.Tpo -c -o libavrdude_a-pgm.o `test -f 'pgm.c' || echo './'`pgm.c
mv -f .deps/libavrdude_a-pgm.Tpo .deps/libavrdude_a-pgm.Po
gcc -DHAVE_CONFIG_H -I.  -DCONFIG_DIR=\"/mingw64/etc\"  -Wall -Wno-pointer-sign -g -O2 -DWIN32NATIVE -MT libavrdude_a-pgm_type.o -MD -MP -MF .deps/libavrdude_a-pgm_type.Tpo -c -o libavrdude_a-pgm_type.o `test -f 'pgm_type.c' || echo './'`pgm_type.c
mv -f .deps/libavrdude_a-pgm_type.Tpo .deps/libavrdude_a-pgm_type.Po
gcc -DHAVE_CONFIG_H -I.  -DCONFIG_DIR=\"/mingw64/etc\"  -Wall -Wno-pointer-sign -g -O2 -DWIN32NATIVE -MT libavrdude_a-pickit2.o -MD -MP -MF .deps/libavrdude_a-pickit2.Tpo -c -o libavrdude_a-pickit2.o `test -f 'pickit2.c' || echo './'`pickit2.c
mv -f .deps/libavrdude_a-pickit2.Tpo .deps/libavrdude_a-pickit2.Po
gcc -DHAVE_CONFIG_H -I.  -DCONFIG_DIR=\"/mingw64/etc\"  -Wall -Wno-pointer-sign -g -O2 -DWIN32NATIVE -MT libavrdude_a-pindefs.o -MD -MP -MF .deps/libavrdude_a-pindefs.Tpo -c -o libavrdude_a-pindefs.o `test -f 'pindefs.c' || echo './'`pindefs.c
mv -f .deps/libavrdude_a-pindefs.Tpo .deps/libavrdude_a-pindefs.Po
gcc -DHAVE_CONFIG_H -I.  -DCONFIG_DIR=\"/mingw64/etc\"  -Wall -Wno-pointer-sign -g -O2 -DWIN32NATIVE -MT libavrdude_a-ppi.o -MD -MP -MF .deps/libavrdude_a-ppi.Tpo -c -o libavrdude_a-ppi.o `test -f 'ppi.c' || echo './'`ppi.c
mv -f .deps/libavrdude_a-ppi.Tpo .deps/libavrdude_a-ppi.Po
gcc -DHAVE_CONFIG_H -I.  -DCONFIG_DIR=\"/mingw64/etc\"  -Wall -Wno-pointer-sign -g -O2 -DWIN32NATIVE -MT libavrdude_a-ppiwin.o -MD -MP -MF .deps/libavrdude_a-ppiwin.Tpo -c -o libavrdude_a-ppiwin.o `test -f 'ppiwin.c' || echo './'`ppiwin.c
mv -f .deps/libavrdude_a-ppiwin.Tpo .deps/libavrdude_a-ppiwin.Po
gcc -DHAVE_CONFIG_H -I.  -DCONFIG_DIR=\"/mingw64/etc\"  -Wall -Wno-pointer-sign -g -O2 -DWIN32NATIVE -MT libavrdude_a-serbb_posix.o -MD -MP -MF .deps/libavrdude_a-serbb_posix.Tpo -c -o libavrdude_a-serbb_posix.o `test -f 'serbb_posix.c' || echo './'`serbb_posix.c
mv -f .deps/libavrdude_a-serbb_posix.Tpo .deps/libavrdude_a-serbb_posix.Po
gcc -DHAVE_CONFIG_H -I.  -DCONFIG_DIR=\"/mingw64/etc\"  -Wall -Wno-pointer-sign -g -O2 -DWIN32NATIVE -MT libavrdude_a-serbb_win32.o -MD -MP -MF .deps/libavrdude_a-serbb_win32.Tpo -c -o libavrdude_a-serbb_win32.o `test -f 'serbb_win32.c' || echo './'`serbb_win32.c
mv -f .deps/libavrdude_a-serbb_win32.Tpo .deps/libavrdude_a-serbb_win32.Po
gcc -DHAVE_CONFIG_H -I.  -DCONFIG_DIR=\"/mingw64/etc\"  -Wall -Wno-pointer-sign -g -O2 -DWIN32NATIVE -MT libavrdude_a-ser_avrdoper.o -MD -MP -MF .deps/libavrdude_a-ser_avrdoper.Tpo -c -o libavrdude_a-ser_avrdoper.o `test -f 'ser_avrdoper.c' || echo './'`ser_avrdoper.c
mv -f .deps/libavrdude_a-ser_avrdoper.Tpo .deps/libavrdude_a-ser_avrdoper.Po
gcc -DHAVE_CONFIG_H -I.  -DCONFIG_DIR=\"/mingw64/etc\"  -Wall -Wno-pointer-sign -g -O2 -DWIN32NATIVE -MT libavrdude_a-ser_posix.o -MD -MP -MF .deps/libavrdude_a-ser_posix.Tpo -c -o libavrdude_a-ser_posix.o `test -f 'ser_posix.c' || echo './'`ser_posix.c
mv -f .deps/libavrdude_a-ser_posix.Tpo .deps/libavrdude_a-ser_posix.Po
gcc -DHAVE_CONFIG_H -I.  -DCONFIG_DIR=\"/mingw64/etc\"  -Wall -Wno-pointer-sign -g -O2 -DWIN32NATIVE -MT libavrdude_a-ser_win32.o -MD -MP -MF .deps/libavrdude_a-ser_win32.Tpo -c -o libavrdude_a-ser_win32.o `test -f 'ser_win32.c' || echo './'`ser_win32.c
mv -f .deps/libavrdude_a-ser_win32.Tpo .deps/libavrdude_a-ser_win32.Po
gcc -DHAVE_CONFIG_H -I.  -DCONFIG_DIR=\"/mingw64/etc\"  -Wall -Wno-pointer-sign -g -O2 -DWIN32NATIVE -MT libavrdude_a-stk500.o -MD -MP -MF .deps/libavrdude_a-stk500.Tpo -c -o libavrdude_a-stk500.o `test -f 'stk500.c' || echo './'`stk500.c
mv -f .deps/libavrdude_a-stk500.Tpo .deps/libavrdude_a-stk500.Po
gcc -DHAVE_CONFIG_H -I.  -DCONFIG_DIR=\"/mingw64/etc\"  -Wall -Wno-pointer-sign -g -O2 -DWIN32NATIVE -MT libavrdude_a-stk500v2.o -MD -MP -MF .deps/libavrdude_a-stk500v2.Tpo -c -o libavrdude_a-stk500v2.o `test -f 'stk500v2.c' || echo './'`stk500v2.c
mv -f .deps/libavrdude_a-stk500v2.Tpo .deps/libavrdude_a-stk500v2.Po
gcc -DHAVE_CONFIG_H -I.  -DCONFIG_DIR=\"/mingw64/etc\"  -Wall -Wno-pointer-sign -g -O2 -DWIN32NATIVE -MT libavrdude_a-stk500generic.o -MD -MP -MF .deps/libavrdude_a-stk500generic.Tpo -c -o libavrdude_a-stk500generic.o `test -f 'stk500generic.c' || echo './'`stk500generic.c
mv -f .deps/libavrdude_a-stk500generic.Tpo .deps/libavrdude_a-stk500generic.Po
gcc -DHAVE_CONFIG_H -I.  -DCONFIG_DIR=\"/mingw64/etc\"  -Wall -Wno-pointer-sign -g -O2 -DWIN32NATIVE -MT libavrdude_a-teensy.o -MD -MP -MF .deps/libavrdude_a-teensy.Tpo -c -o libavrdude_a-teensy.o `test -f 'teensy.c' || echo './'`teensy.c
mv -f .deps/libavrdude_a-teensy.Tpo .deps/libavrdude_a-teensy.Po
gcc -DHAVE_CONFIG_H -I.  -DCONFIG_DIR=\"/mingw64/etc\"  -Wall -Wno-pointer-sign -g -O2 -DWIN32NATIVE -MT libavrdude_a-usbasp.o -MD -MP -MF .deps/libavrdude_a-usbasp.Tpo -c -o libavrdude_a-usbasp.o `test -f 'usbasp.c' || echo './'`usbasp.c
mv -f .deps/libavrdude_a-usbasp.Tpo .deps/libavrdude_a-usbasp.Po
gcc -DHAVE_CONFIG_H -I.  -DCONFIG_DIR=\"/mingw64/etc\"  -Wall -Wno-pointer-sign -g -O2 -DWIN32NATIVE -MT libavrdude_a-serialupdi.o -MD -MP -MF .deps/libavrdude_a-serialupdi.Tpo -c -o libavrdude_a-serialupdi.o `test -f 'serialupdi.c' || echo './'`serialupdi.c
mv -f .deps/libavrdude_a-serialupdi.Tpo .deps/libavrdude_a-serialupdi.Po
gcc -DHAVE_CONFIG_H -I.  -DCONFIG_DIR=\"/mingw64/etc\"  -Wall -Wno-pointer-sign -g -O2 -DWIN32NATIVE -MT libavrdude_a-updi_link.o -MD -MP -MF .deps/libavrdude_a-updi_link.Tpo -c -o libavrdude_a-updi_link.o `test -f 'updi_link.c' || echo './'`updi_link.c
mv -f .deps/libavrdude_a-updi_link.Tpo .deps/libavrdude_a-updi_link.Po
gcc -DHAVE_CONFIG_H -I.  -DCONFIG_DIR=\"/mingw64/etc\"  -Wall -Wno-pointer-sign -g -O2 -DWIN32NATIVE -MT libavrdude_a-updi_state.o -MD -MP -MF .deps/libavrdude_a-updi_state.Tpo -c -o libavrdude_a-updi_state.o `test -f 'updi_state.c' || echo './'`updi_state.c
mv -f .deps/libavrdude_a-updi_state.Tpo .deps/libavrdude_a-updi_state.Po
gcc -DHAVE_CONFIG_H -I.  -DCONFIG_DIR=\"/mingw64/etc\"  -Wall -Wno-pointer-sign -g -O2 -DWIN32NATIVE -MT libavrdude_a-updi_readwrite.o -MD -MP -MF .deps/libavrdude_a-updi_readwrite.Tpo -c -o libavrdude_a-updi_readwrite.o `test -f 'updi_readwrite.c' || echo './'`updi_readwrite.c
mv -f .deps/libavrdude_a-updi_readwrite.Tpo .deps/libavrdude_a-updi_readwrite.Po
gcc -DHAVE_CONFIG_H -I.  -DCONFIG_DIR=\"/mingw64/etc\"  -Wall -Wno-pointer-sign -g -O2 -DWIN32NATIVE -MT libavrdude_a-updi_nvm.o -MD -MP -MF .deps/libavrdude_a-updi_nvm.Tpo -c -o libavrdude_a-updi_nvm.o `test -f 'updi_nvm.c' || echo './'`updi_nvm.c
mv -f .deps/libavrdude_a-updi_nvm.Tpo .deps/libavrdude_a-updi_nvm.Po
gcc -DHAVE_CONFIG_H -I.  -DCONFIG_DIR=\"/mingw64/etc\"  -Wall -Wno-pointer-sign -g -O2 -DWIN32NATIVE -MT libavrdude_a-urclock.o -MD -MP -MF .deps/libavrdude_a-urclock.Tpo -c -o libavrdude_a-urclock.o `test -f 'urclock.c' || echo './'`urclock.c
mv -f .deps/libavrdude_a-urclock.Tpo .deps/libavrdude_a-urclock.Po
gcc -DHAVE_CONFIG_H -I.  -DCONFIG_DIR=\"/mingw64/etc\"  -Wall -Wno-pointer-sign -g -O2 -DWIN32NATIVE -MT libavrdude_a-usb_hidapi.o -MD -MP -MF .deps/libavrdude_a-usb_hidapi.Tpo -c -o libavrdude_a-usb_hidapi.o `test -f 'usb_hidapi.c' || echo './'`usb_hidapi.c
mv -f .deps/libavrdude_a-usb_hidapi.Tpo .deps/libavrdude_a-usb_hidapi.Po
gcc -DHAVE_CONFIG_H -I.  -DCONFIG_DIR=\"/mingw64/etc\"  -Wall -Wno-pointer-sign -g -O2 -DWIN32NATIVE -MT libavrdude_a-usb_libusb.o -MD -MP -MF .deps/libavrdude_a-usb_libusb.Tpo -c -o libavrdude_a-usb_libusb.o `test -f 'usb_libusb.c' || echo './'`usb_libusb.c
mv -f .deps/libavrdude_a-usb_libusb.Tpo .deps/libavrdude_a-usb_libusb.Po
gcc -DHAVE_CONFIG_H -I.  -DCONFIG_DIR=\"/mingw64/etc\"  -Wall -Wno-pointer-sign -g -O2 -DWIN32NATIVE -MT libavrdude_a-usbtiny.o -MD -MP -MF .deps/libavrdude_a-usbtiny.Tpo -c -o libavrdude_a-usbtiny.o `test -f 'usbtiny.c' || echo './'`usbtiny.c
mv -f .deps/libavrdude_a-usbtiny.Tpo .deps/libavrdude_a-usbtiny.Po
gcc -DHAVE_CONFIG_H -I.  -DCONFIG_DIR=\"/mingw64/etc\"  -Wall -Wno-pointer-sign -g -O2 -DWIN32NATIVE -MT libavrdude_a-update.o -MD -MP -MF .deps/libavrdude_a-update.Tpo -c -o libavrdude_a-update.o `test -f 'update.c' || echo './'`update.c
mv -f .deps/libavrdude_a-update.Tpo .deps/libavrdude_a-update.Po
gcc -DHAVE_CONFIG_H -I.  -DCONFIG_DIR=\"/mingw64/etc\"  -Wall -Wno-pointer-sign -g -O2 -DWIN32NATIVE -MT libavrdude_a-wiring.o -MD -MP -MF .deps/libavrdude_a-wiring.Tpo -c -o libavrdude_a-wiring.o `test -f 'wiring.c' || echo './'`wiring.c
mv -f .deps/libavrdude_a-wiring.Tpo .deps/libavrdude_a-wiring.Po
gcc -DHAVE_CONFIG_H -I.  -DCONFIG_DIR=\"/mingw64/etc\"  -Wall -Wno-pointer-sign -g -O2 -DWIN32NATIVE -MT libavrdude_a-xbee.o -MD -MP -MF .deps/libavrdude_a-xbee.Tpo -c -o libavrdude_a-xbee.o `test -f 'xbee.c' || echo './'`xbee.c
mv -f .deps/libavrdude_a-xbee.Tpo .deps/libavrdude_a-xbee.Po
rm -f libavrdude.a
ar cru libavrdude.a libavrdude_a-config_gram.o libavrdude_a-lexer.o libavrdude_a-arduino.o libavrdude_a-avr.o libavrdude_a-avr910.o libavrdude_a-avrcache.o libavrdude_a-avrftdi.o libavrdude_a-avrftdi_tpi.o libavrdude_a-avrpart.o libavrdude_a-bitbang.o libavrdude_a-buspirate.o libavrdude_a-butterfly.o libavrdude_a-config.o libavrdude_a-confwin.o libavrdude_a-crc16.o libavrdude_a-dfu.o libavrdude_a-fileio.o libavrdude_a-flip1.o libavrdude_a-flip2.o libavrdude_a-ft245r.o libavrdude_a-jtagmkI.o libavrdude_a-jtagmkII.o libavrdude_a-jtag3.o libavrdude_a-linuxgpio.o libavrdude_a-linuxspi.o libavrdude_a-lists.o libavrdude_a-micronucleus.o libavrdude_a-par.o libavrdude_a-pgm.o libavrdude_a-pgm_type.o libavrdude_a-pickit2.o libavrdude_a-pindefs.o libavrdude_a-ppi.o libavrdude_a-ppiwin.o libavrdude_a-serbb_posix.o libavrdude_a-serbb_win32.o libavrdude_a-ser_avrdoper.o libavrdude_a-ser_posix.o libavrdude_a-ser_win32.o libavrdude_a-stk500.o libavrdude_a-stk500v2.o libavrdude_a-stk500generic.o libavrdude_a-teensy.o libavrdude_a-usbasp.o libavrdude_a-serialupdi.o libavrdude_a-updi_link.o libavrdude_a-updi_state.o libavrdude_a-updi_readwrite.o libavrdude_a-updi_nvm.o libavrdude_a-urclock.o libavrdude_a-usb_hidapi.o libavrdude_a-usb_libusb.o libavrdude_a-usbtiny.o libavrdude_a-update.o libavrdude_a-wiring.o libavrdude_a-xbee.o
C:\msys64\mingw64\bin\ar.exe: `u' modifier ignored since `D' is the default (see `U')
ranlib libavrdude.a
/bin/sh ./libtool  --tag=CC   --mode=link gcc -Wall -Wno-pointer-sign -g -O2 -DWIN32NATIVE  -static -o avrdude.exe avrdude-main.o avrdude-whereami.o avrdude-avrintel.o avrdude-developer_opts.o avrdude-term.o ./libavrdude.a -lusb-1.0  -lusb -lftdi1  -lhid -lsetupapi -lelf -lpthread -lm -lhidapi -lncurses -ltermcap -lws2_32  -lftdi1
libtool: link: gcc -Wall -Wno-pointer-sign -g -O2 -DWIN32NATIVE -o avrdude.exe avrdude-main.o avrdude-whereami.o avrdude-avrintel.o avrdude-developer_opts.o avrdude-term.o  ./libavrdude.a -lusb-1.0 -lusb -lhid -lelf -lpthread /mingw64/lib/libhidapi.dll.a -lsetupapi -lncurses -ltermcap -lws2_32 -lftdi1 -L/mingw64/lib -L/mingw64/lib
/bin/sh ./libtool  --tag=CC   --mode=compile gcc -DHAVE_CONFIG_H -I.  -DCONFIG_DIR=\"/mingw64/etc\"  -Wall -Wno-pointer-sign -g -O2 -DWIN32NATIVE -MT libavrdude_la-config_gram.lo -MD -MP -MF .deps/libavrdude_la-config_gram.Tpo -c -o libavrdude_la-config_gram.lo `test -f 'config_gram.c' || echo './'`config_gram.c
libtool: compile:  gcc -DHAVE_CONFIG_H -I. -DCONFIG_DIR=\"/mingw64/etc\" -Wall -Wno-pointer-sign -g -O2 -DWIN32NATIVE -MT libavrdude_la-config_gram.lo -MD -MP -MF .deps/libavrdude_la-config_gram.Tpo -c config_gram.c  -DDLL_EXPORT -DPIC -o .libs/libavrdude_la-config_gram.o
libtool: compile:  gcc -DHAVE_CONFIG_H -I. -DCONFIG_DIR=\"/mingw64/etc\" -Wall -Wno-pointer-sign -g -O2 -DWIN32NATIVE -MT libavrdude_la-config_gram.lo -MD -MP -MF .deps/libavrdude_la-config_gram.Tpo -c config_gram.c -o libavrdude_la-config_gram.o >/dev/null 2>&1
mv -f .deps/libavrdude_la-config_gram.Tpo .deps/libavrdude_la-config_gram.Plo
/bin/sh ./libtool  --tag=CC   --mode=compile gcc -DHAVE_CONFIG_H -I.  -DCONFIG_DIR=\"/mingw64/etc\"  -Wall -Wno-pointer-sign -g -O2 -DWIN32NATIVE -MT libavrdude_la-lexer.lo -MD -MP -MF .deps/libavrdude_la-lexer.Tpo -c -o libavrdude_la-lexer.lo `test -f 'lexer.c' || echo './'`lexer.c
libtool: compile:  gcc -DHAVE_CONFIG_H -I. -DCONFIG_DIR=\"/mingw64/etc\" -Wall -Wno-pointer-sign -g -O2 -DWIN32NATIVE -MT libavrdude_la-lexer.lo -MD -MP -MF .deps/libavrdude_la-lexer.Tpo -c lexer.c  -DDLL_EXPORT -DPIC -o .libs/libavrdude_la-lexer.o
libtool: compile:  gcc -DHAVE_CONFIG_H -I. -DCONFIG_DIR=\"/mingw64/etc\" -Wall -Wno-pointer-sign -g -O2 -DWIN32NATIVE -MT libavrdude_la-lexer.lo -MD -MP -MF .deps/libavrdude_la-lexer.Tpo -c lexer.c -o libavrdude_la-lexer.o >/dev/null 2>&1
mv -f .deps/libavrdude_la-lexer.Tpo .deps/libavrdude_la-lexer.Plo
/bin/sh ./libtool  --tag=CC   --mode=compile gcc -DHAVE_CONFIG_H -I.  -DCONFIG_DIR=\"/mingw64/etc\"  -Wall -Wno-pointer-sign -g -O2 -DWIN32NATIVE -MT libavrdude_la-arduino.lo -MD -MP -MF .deps/libavrdude_la-arduino.Tpo -c -o libavrdude_la-arduino.lo `test -f 'arduino.c' || echo './'`arduino.c
libtool: compile:  gcc -DHAVE_CONFIG_H -I. -DCONFIG_DIR=\"/mingw64/etc\" -Wall -Wno-pointer-sign -g -O2 -DWIN32NATIVE -MT libavrdude_la-arduino.lo -MD -MP -MF .deps/libavrdude_la-arduino.Tpo -c arduino.c  -DDLL_EXPORT -DPIC -o .libs/libavrdude_la-arduino.o
libtool: compile:  gcc -DHAVE_CONFIG_H -I. -DCONFIG_DIR=\"/mingw64/etc\" -Wall -Wno-pointer-sign -g -O2 -DWIN32NATIVE -MT libavrdude_la-arduino.lo -MD -MP -MF .deps/libavrdude_la-arduino.Tpo -c arduino.c -o libavrdude_la-arduino.o >/dev/null 2>&1
mv -f .deps/libavrdude_la-arduino.Tpo .deps/libavrdude_la-arduino.Plo
/bin/sh ./libtool  --tag=CC   --mode=compile gcc -DHAVE_CONFIG_H -I.  -DCONFIG_DIR=\"/mingw64/etc\"  -Wall -Wno-pointer-sign -g -O2 -DWIN32NATIVE -MT libavrdude_la-avr.lo -MD -MP -MF .deps/libavrdude_la-avr.Tpo -c -o libavrdude_la-avr.lo `test -f 'avr.c' || echo './'`avr.c
libtool: compile:  gcc -DHAVE_CONFIG_H -I. -DCONFIG_DIR=\"/mingw64/etc\" -Wall -Wno-pointer-sign -g -O2 -DWIN32NATIVE -MT libavrdude_la-avr.lo -MD -MP -MF .deps/libavrdude_la-avr.Tpo -c avr.c  -DDLL_EXPORT -DPIC -o .libs/libavrdude_la-avr.o
libtool: compile:  gcc -DHAVE_CONFIG_H -I. -DCONFIG_DIR=\"/mingw64/etc\" -Wall -Wno-pointer-sign -g -O2 -DWIN32NATIVE -MT libavrdude_la-avr.lo -MD -MP -MF .deps/libavrdude_la-avr.Tpo -c avr.c -o libavrdude_la-avr.o >/dev/null 2>&1
mv -f .deps/libavrdude_la-avr.Tpo .deps/libavrdude_la-avr.Plo
/bin/sh ./libtool  --tag=CC   --mode=compile gcc -DHAVE_CONFIG_H -I.  -DCONFIG_DIR=\"/mingw64/etc\"  -Wall -Wno-pointer-sign -g -O2 -DWIN32NATIVE -MT libavrdude_la-avr910.lo -MD -MP -MF .deps/libavrdude_la-avr910.Tpo -c -o libavrdude_la-avr910.lo `test -f 'avr910.c' || echo './'`avr910.c
libtool: compile:  gcc -DHAVE_CONFIG_H -I. -DCONFIG_DIR=\"/mingw64/etc\" -Wall -Wno-pointer-sign -g -O2 -DWIN32NATIVE -MT libavrdude_la-avr910.lo -MD -MP -MF .deps/libavrdude_la-avr910.Tpo -c avr910.c  -DDLL_EXPORT -DPIC -o .libs/libavrdude_la-avr910.o
libtool: compile:  gcc -DHAVE_CONFIG_H -I. -DCONFIG_DIR=\"/mingw64/etc\" -Wall -Wno-pointer-sign -g -O2 -DWIN32NATIVE -MT libavrdude_la-avr910.lo -MD -MP -MF .deps/libavrdude_la-avr910.Tpo -c avr910.c -o libavrdude_la-avr910.o >/dev/null 2>&1
mv -f .deps/libavrdude_la-avr910.Tpo .deps/libavrdude_la-avr910.Plo
/bin/sh ./libtool  --tag=CC   --mode=compile gcc -DHAVE_CONFIG_H -I.  -DCONFIG_DIR=\"/mingw64/etc\"  -Wall -Wno-pointer-sign -g -O2 -DWIN32NATIVE -MT libavrdude_la-avrcache.lo -MD -MP -MF .deps/libavrdude_la-avrcache.Tpo -c -o libavrdude_la-avrcache.lo `test -f 'avrcache.c' || echo './'`avrcache.c
libtool: compile:  gcc -DHAVE_CONFIG_H -I. -DCONFIG_DIR=\"/mingw64/etc\" -Wall -Wno-pointer-sign -g -O2 -DWIN32NATIVE -MT libavrdude_la-avrcache.lo -MD -MP -MF .deps/libavrdude_la-avrcache.Tpo -c avrcache.c  -DDLL_EXPORT -DPIC -o .libs/libavrdude_la-avrcache.o
libtool: compile:  gcc -DHAVE_CONFIG_H -I. -DCONFIG_DIR=\"/mingw64/etc\" -Wall -Wno-pointer-sign -g -O2 -DWIN32NATIVE -MT libavrdude_la-avrcache.lo -MD -MP -MF .deps/libavrdude_la-avrcache.Tpo -c avrcache.c -o libavrdude_la-avrcache.o >/dev/null 2>&1
mv -f .deps/libavrdude_la-avrcache.Tpo .deps/libavrdude_la-avrcache.Plo
/bin/sh ./libtool  --tag=CC   --mode=compile gcc -DHAVE_CONFIG_H -I.  -DCONFIG_DIR=\"/mingw64/etc\"  -Wall -Wno-pointer-sign -g -O2 -DWIN32NATIVE -MT libavrdude_la-avrftdi.lo -MD -MP -MF .deps/libavrdude_la-avrftdi.Tpo -c -o libavrdude_la-avrftdi.lo `test -f 'avrftdi.c' || echo './'`avrftdi.c
libtool: compile:  gcc -DHAVE_CONFIG_H -I. -DCONFIG_DIR=\"/mingw64/etc\" -Wall -Wno-pointer-sign -g -O2 -DWIN32NATIVE -MT libavrdude_la-avrftdi.lo -MD -MP -MF .deps/libavrdude_la-avrftdi.Tpo -c avrftdi.c  -DDLL_EXPORT -DPIC -o .libs/libavrdude_la-avrftdi.o
libtool: compile:  gcc -DHAVE_CONFIG_H -I. -DCONFIG_DIR=\"/mingw64/etc\" -Wall -Wno-pointer-sign -g -O2 -DWIN32NATIVE -MT libavrdude_la-avrftdi.lo -MD -MP -MF .deps/libavrdude_la-avrftdi.Tpo -c avrftdi.c -o libavrdude_la-avrftdi.o >/dev/null 2>&1
mv -f .deps/libavrdude_la-avrftdi.Tpo .deps/libavrdude_la-avrftdi.Plo
/bin/sh ./libtool  --tag=CC   --mode=compile gcc -DHAVE_CONFIG_H -I.  -DCONFIG_DIR=\"/mingw64/etc\"  -Wall -Wno-pointer-sign -g -O2 -DWIN32NATIVE -MT libavrdude_la-avrftdi_tpi.lo -MD -MP -MF .deps/libavrdude_la-avrftdi_tpi.Tpo -c -o libavrdude_la-avrftdi_tpi.lo `test -f 'avrftdi_tpi.c' || echo './'`avrftdi_tpi.c
libtool: compile:  gcc -DHAVE_CONFIG_H -I. -DCONFIG_DIR=\"/mingw64/etc\" -Wall -Wno-pointer-sign -g -O2 -DWIN32NATIVE -MT libavrdude_la-avrftdi_tpi.lo -MD -MP -MF .deps/libavrdude_la-avrftdi_tpi.Tpo -c avrftdi_tpi.c  -DDLL_EXPORT -DPIC -o .libs/libavrdude_la-avrftdi_tpi.o
libtool: compile:  gcc -DHAVE_CONFIG_H -I. -DCONFIG_DIR=\"/mingw64/etc\" -Wall -Wno-pointer-sign -g -O2 -DWIN32NATIVE -MT libavrdude_la-avrftdi_tpi.lo -MD -MP -MF .deps/libavrdude_la-avrftdi_tpi.Tpo -c avrftdi_tpi.c -o libavrdude_la-avrftdi_tpi.o >/dev/null 2>&1
mv -f .deps/libavrdude_la-avrftdi_tpi.Tpo .deps/libavrdude_la-avrftdi_tpi.Plo
/bin/sh ./libtool  --tag=CC   --mode=compile gcc -DHAVE_CONFIG_H -I.  -DCONFIG_DIR=\"/mingw64/etc\"  -Wall -Wno-pointer-sign -g -O2 -DWIN32NATIVE -MT libavrdude_la-avrpart.lo -MD -MP -MF .deps/libavrdude_la-avrpart.Tpo -c -o libavrdude_la-avrpart.lo `test -f 'avrpart.c' || echo './'`avrpart.c
libtool: compile:  gcc -DHAVE_CONFIG_H -I. -DCONFIG_DIR=\"/mingw64/etc\" -Wall -Wno-pointer-sign -g -O2 -DWIN32NATIVE -MT libavrdude_la-avrpart.lo -MD -MP -MF .deps/libavrdude_la-avrpart.Tpo -c avrpart.c  -DDLL_EXPORT -DPIC -o .libs/libavrdude_la-avrpart.o
libtool: compile:  gcc -DHAVE_CONFIG_H -I. -DCONFIG_DIR=\"/mingw64/etc\" -Wall -Wno-pointer-sign -g -O2 -DWIN32NATIVE -MT libavrdude_la-avrpart.lo -MD -MP -MF .deps/libavrdude_la-avrpart.Tpo -c avrpart.c -o libavrdude_la-avrpart.o >/dev/null 2>&1
mv -f .deps/libavrdude_la-avrpart.Tpo .deps/libavrdude_la-avrpart.Plo
/bin/sh ./libtool  --tag=CC   --mode=compile gcc -DHAVE_CONFIG_H -I.  -DCONFIG_DIR=\"/mingw64/etc\"  -Wall -Wno-pointer-sign -g -O2 -DWIN32NATIVE -MT libavrdude_la-bitbang.lo -MD -MP -MF .deps/libavrdude_la-bitbang.Tpo -c -o libavrdude_la-bitbang.lo `test -f 'bitbang.c' || echo './'`bitbang.c
libtool: compile:  gcc -DHAVE_CONFIG_H -I. -DCONFIG_DIR=\"/mingw64/etc\" -Wall -Wno-pointer-sign -g -O2 -DWIN32NATIVE -MT libavrdude_la-bitbang.lo -MD -MP -MF .deps/libavrdude_la-bitbang.Tpo -c bitbang.c  -DDLL_EXPORT -DPIC -o .libs/libavrdude_la-bitbang.o
libtool: compile:  gcc -DHAVE_CONFIG_H -I. -DCONFIG_DIR=\"/mingw64/etc\" -Wall -Wno-pointer-sign -g -O2 -DWIN32NATIVE -MT libavrdude_la-bitbang.lo -MD -MP -MF .deps/libavrdude_la-bitbang.Tpo -c bitbang.c -o libavrdude_la-bitbang.o >/dev/null 2>&1
mv -f .deps/libavrdude_la-bitbang.Tpo .deps/libavrdude_la-bitbang.Plo
/bin/sh ./libtool  --tag=CC   --mode=compile gcc -DHAVE_CONFIG_H -I.  -DCONFIG_DIR=\"/mingw64/etc\"  -Wall -Wno-pointer-sign -g -O2 -DWIN32NATIVE -MT libavrdude_la-buspirate.lo -MD -MP -MF .deps/libavrdude_la-buspirate.Tpo -c -o libavrdude_la-buspirate.lo `test -f 'buspirate.c' || echo './'`buspirate.c
libtool: compile:  gcc -DHAVE_CONFIG_H -I. -DCONFIG_DIR=\"/mingw64/etc\" -Wall -Wno-pointer-sign -g -O2 -DWIN32NATIVE -MT libavrdude_la-buspirate.lo -MD -MP -MF .deps/libavrdude_la-buspirate.Tpo -c buspirate.c  -DDLL_EXPORT -DPIC -o .libs/libavrdude_la-buspirate.o
libtool: compile:  gcc -DHAVE_CONFIG_H -I. -DCONFIG_DIR=\"/mingw64/etc\" -Wall -Wno-pointer-sign -g -O2 -DWIN32NATIVE -MT libavrdude_la-buspirate.lo -MD -MP -MF .deps/libavrdude_la-buspirate.Tpo -c buspirate.c -o libavrdude_la-buspirate.o >/dev/null 2>&1
mv -f .deps/libavrdude_la-buspirate.Tpo .deps/libavrdude_la-buspirate.Plo
/bin/sh ./libtool  --tag=CC   --mode=compile gcc -DHAVE_CONFIG_H -I.  -DCONFIG_DIR=\"/mingw64/etc\"  -Wall -Wno-pointer-sign -g -O2 -DWIN32NATIVE -MT libavrdude_la-butterfly.lo -MD -MP -MF .deps/libavrdude_la-butterfly.Tpo -c -o libavrdude_la-butterfly.lo `test -f 'butterfly.c' || echo './'`butterfly.c
libtool: compile:  gcc -DHAVE_CONFIG_H -I. -DCONFIG_DIR=\"/mingw64/etc\" -Wall -Wno-pointer-sign -g -O2 -DWIN32NATIVE -MT libavrdude_la-butterfly.lo -MD -MP -MF .deps/libavrdude_la-butterfly.Tpo -c butterfly.c  -DDLL_EXPORT -DPIC -o .libs/libavrdude_la-butterfly.o
libtool: compile:  gcc -DHAVE_CONFIG_H -I. -DCONFIG_DIR=\"/mingw64/etc\" -Wall -Wno-pointer-sign -g -O2 -DWIN32NATIVE -MT libavrdude_la-butterfly.lo -MD -MP -MF .deps/libavrdude_la-butterfly.Tpo -c butterfly.c -o libavrdude_la-butterfly.o >/dev/null 2>&1
mv -f .deps/libavrdude_la-butterfly.Tpo .deps/libavrdude_la-butterfly.Plo
/bin/sh ./libtool  --tag=CC   --mode=compile gcc -DHAVE_CONFIG_H -I.  -DCONFIG_DIR=\"/mingw64/etc\"  -Wall -Wno-pointer-sign -g -O2 -DWIN32NATIVE -MT libavrdude_la-config.lo -MD -MP -MF .deps/libavrdude_la-config.Tpo -c -o libavrdude_la-config.lo `test -f 'config.c' || echo './'`config.c
libtool: compile:  gcc -DHAVE_CONFIG_H -I. -DCONFIG_DIR=\"/mingw64/etc\" -Wall -Wno-pointer-sign -g -O2 -DWIN32NATIVE -MT libavrdude_la-config.lo -MD -MP -MF .deps/libavrdude_la-config.Tpo -c config.c  -DDLL_EXPORT -DPIC -o .libs/libavrdude_la-config.o
libtool: compile:  gcc -DHAVE_CONFIG_H -I. -DCONFIG_DIR=\"/mingw64/etc\" -Wall -Wno-pointer-sign -g -O2 -DWIN32NATIVE -MT libavrdude_la-config.lo -MD -MP -MF .deps/libavrdude_la-config.Tpo -c config.c -o libavrdude_la-config.o >/dev/null 2>&1
mv -f .deps/libavrdude_la-config.Tpo .deps/libavrdude_la-config.Plo
/bin/sh ./libtool  --tag=CC   --mode=compile gcc -DHAVE_CONFIG_H -I.  -DCONFIG_DIR=\"/mingw64/etc\"  -Wall -Wno-pointer-sign -g -O2 -DWIN32NATIVE -MT libavrdude_la-confwin.lo -MD -MP -MF .deps/libavrdude_la-confwin.Tpo -c -o libavrdude_la-confwin.lo `test -f 'confwin.c' || echo './'`confwin.c
libtool: compile:  gcc -DHAVE_CONFIG_H -I. -DCONFIG_DIR=\"/mingw64/etc\" -Wall -Wno-pointer-sign -g -O2 -DWIN32NATIVE -MT libavrdude_la-confwin.lo -MD -MP -MF .deps/libavrdude_la-confwin.Tpo -c confwin.c  -DDLL_EXPORT -DPIC -o .libs/libavrdude_la-confwin.o
libtool: compile:  gcc -DHAVE_CONFIG_H -I. -DCONFIG_DIR=\"/mingw64/etc\" -Wall -Wno-pointer-sign -g -O2 -DWIN32NATIVE -MT libavrdude_la-confwin.lo -MD -MP -MF .deps/libavrdude_la-confwin.Tpo -c confwin.c -o libavrdude_la-confwin.o >/dev/null 2>&1
mv -f .deps/libavrdude_la-confwin.Tpo .deps/libavrdude_la-confwin.Plo
/bin/sh ./libtool  --tag=CC   --mode=compile gcc -DHAVE_CONFIG_H -I.  -DCONFIG_DIR=\"/mingw64/etc\"  -Wall -Wno-pointer-sign -g -O2 -DWIN32NATIVE -MT libavrdude_la-crc16.lo -MD -MP -MF .deps/libavrdude_la-crc16.Tpo -c -o libavrdude_la-crc16.lo `test -f 'crc16.c' || echo './'`crc16.c
libtool: compile:  gcc -DHAVE_CONFIG_H -I. -DCONFIG_DIR=\"/mingw64/etc\" -Wall -Wno-pointer-sign -g -O2 -DWIN32NATIVE -MT libavrdude_la-crc16.lo -MD -MP -MF .deps/libavrdude_la-crc16.Tpo -c crc16.c  -DDLL_EXPORT -DPIC -o .libs/libavrdude_la-crc16.o
libtool: compile:  gcc -DHAVE_CONFIG_H -I. -DCONFIG_DIR=\"/mingw64/etc\" -Wall -Wno-pointer-sign -g -O2 -DWIN32NATIVE -MT libavrdude_la-crc16.lo -MD -MP -MF .deps/libavrdude_la-crc16.Tpo -c crc16.c -o libavrdude_la-crc16.o >/dev/null 2>&1
mv -f .deps/libavrdude_la-crc16.Tpo .deps/libavrdude_la-crc16.Plo
/bin/sh ./libtool  --tag=CC   --mode=compile gcc -DHAVE_CONFIG_H -I.  -DCONFIG_DIR=\"/mingw64/etc\"  -Wall -Wno-pointer-sign -g -O2 -DWIN32NATIVE -MT libavrdude_la-dfu.lo -MD -MP -MF .deps/libavrdude_la-dfu.Tpo -c -o libavrdude_la-dfu.lo `test -f 'dfu.c' || echo './'`dfu.c
libtool: compile:  gcc -DHAVE_CONFIG_H -I. -DCONFIG_DIR=\"/mingw64/etc\" -Wall -Wno-pointer-sign -g -O2 -DWIN32NATIVE -MT libavrdude_la-dfu.lo -MD -MP -MF .deps/libavrdude_la-dfu.Tpo -c dfu.c  -DDLL_EXPORT -DPIC -o .libs/libavrdude_la-dfu.o
libtool: compile:  gcc -DHAVE_CONFIG_H -I. -DCONFIG_DIR=\"/mingw64/etc\" -Wall -Wno-pointer-sign -g -O2 -DWIN32NATIVE -MT libavrdude_la-dfu.lo -MD -MP -MF .deps/libavrdude_la-dfu.Tpo -c dfu.c -o libavrdude_la-dfu.o >/dev/null 2>&1
mv -f .deps/libavrdude_la-dfu.Tpo .deps/libavrdude_la-dfu.Plo
/bin/sh ./libtool  --tag=CC   --mode=compile gcc -DHAVE_CONFIG_H -I.  -DCONFIG_DIR=\"/mingw64/etc\"  -Wall -Wno-pointer-sign -g -O2 -DWIN32NATIVE -MT libavrdude_la-fileio.lo -MD -MP -MF .deps/libavrdude_la-fileio.Tpo -c -o libavrdude_la-fileio.lo `test -f 'fileio.c' || echo './'`fileio.c
libtool: compile:  gcc -DHAVE_CONFIG_H -I. -DCONFIG_DIR=\"/mingw64/etc\" -Wall -Wno-pointer-sign -g -O2 -DWIN32NATIVE -MT libavrdude_la-fileio.lo -MD -MP -MF .deps/libavrdude_la-fileio.Tpo -c fileio.c  -DDLL_EXPORT -DPIC -o .libs/libavrdude_la-fileio.o
libtool: compile:  gcc -DHAVE_CONFIG_H -I. -DCONFIG_DIR=\"/mingw64/etc\" -Wall -Wno-pointer-sign -g -O2 -DWIN32NATIVE -MT libavrdude_la-fileio.lo -MD -MP -MF .deps/libavrdude_la-fileio.Tpo -c fileio.c -o libavrdude_la-fileio.o >/dev/null 2>&1
mv -f .deps/libavrdude_la-fileio.Tpo .deps/libavrdude_la-fileio.Plo
/bin/sh ./libtool  --tag=CC   --mode=compile gcc -DHAVE_CONFIG_H -I.  -DCONFIG_DIR=\"/mingw64/etc\"  -Wall -Wno-pointer-sign -g -O2 -DWIN32NATIVE -MT libavrdude_la-flip1.lo -MD -MP -MF .deps/libavrdude_la-flip1.Tpo -c -o libavrdude_la-flip1.lo `test -f 'flip1.c' || echo './'`flip1.c
libtool: compile:  gcc -DHAVE_CONFIG_H -I. -DCONFIG_DIR=\"/mingw64/etc\" -Wall -Wno-pointer-sign -g -O2 -DWIN32NATIVE -MT libavrdude_la-flip1.lo -MD -MP -MF .deps/libavrdude_la-flip1.Tpo -c flip1.c  -DDLL_EXPORT -DPIC -o .libs/libavrdude_la-flip1.o
libtool: compile:  gcc -DHAVE_CONFIG_H -I. -DCONFIG_DIR=\"/mingw64/etc\" -Wall -Wno-pointer-sign -g -O2 -DWIN32NATIVE -MT libavrdude_la-flip1.lo -MD -MP -MF .deps/libavrdude_la-flip1.Tpo -c flip1.c -o libavrdude_la-flip1.o >/dev/null 2>&1
mv -f .deps/libavrdude_la-flip1.Tpo .deps/libavrdude_la-flip1.Plo
/bin/sh ./libtool  --tag=CC   --mode=compile gcc -DHAVE_CONFIG_H -I.  -DCONFIG_DIR=\"/mingw64/etc\"  -Wall -Wno-pointer-sign -g -O2 -DWIN32NATIVE -MT libavrdude_la-flip2.lo -MD -MP -MF .deps/libavrdude_la-flip2.Tpo -c -o libavrdude_la-flip2.lo `test -f 'flip2.c' || echo './'`flip2.c
libtool: compile:  gcc -DHAVE_CONFIG_H -I. -DCONFIG_DIR=\"/mingw64/etc\" -Wall -Wno-pointer-sign -g -O2 -DWIN32NATIVE -MT libavrdude_la-flip2.lo -MD -MP -MF .deps/libavrdude_la-flip2.Tpo -c flip2.c  -DDLL_EXPORT -DPIC -o .libs/libavrdude_la-flip2.o
libtool: compile:  gcc -DHAVE_CONFIG_H -I. -DCONFIG_DIR=\"/mingw64/etc\" -Wall -Wno-pointer-sign -g -O2 -DWIN32NATIVE -MT libavrdude_la-flip2.lo -MD -MP -MF .deps/libavrdude_la-flip2.Tpo -c flip2.c -o libavrdude_la-flip2.o >/dev/null 2>&1
mv -f .deps/libavrdude_la-flip2.Tpo .deps/libavrdude_la-flip2.Plo
/bin/sh ./libtool  --tag=CC   --mode=compile gcc -DHAVE_CONFIG_H -I.  -DCONFIG_DIR=\"/mingw64/etc\"  -Wall -Wno-pointer-sign -g -O2 -DWIN32NATIVE -MT libavrdude_la-ft245r.lo -MD -MP -MF .deps/libavrdude_la-ft245r.Tpo -c -o libavrdude_la-ft245r.lo `test -f 'ft245r.c' || echo './'`ft245r.c
libtool: compile:  gcc -DHAVE_CONFIG_H -I. -DCONFIG_DIR=\"/mingw64/etc\" -Wall -Wno-pointer-sign -g -O2 -DWIN32NATIVE -MT libavrdude_la-ft245r.lo -MD -MP -MF .deps/libavrdude_la-ft245r.Tpo -c ft245r.c  -DDLL_EXPORT -DPIC -o .libs/libavrdude_la-ft245r.o
libtool: compile:  gcc -DHAVE_CONFIG_H -I. -DCONFIG_DIR=\"/mingw64/etc\" -Wall -Wno-pointer-sign -g -O2 -DWIN32NATIVE -MT libavrdude_la-ft245r.lo -MD -MP -MF .deps/libavrdude_la-ft245r.Tpo -c ft245r.c -o libavrdude_la-ft245r.o >/dev/null 2>&1
mv -f .deps/libavrdude_la-ft245r.Tpo .deps/libavrdude_la-ft245r.Plo
/bin/sh ./libtool  --tag=CC   --mode=compile gcc -DHAVE_CONFIG_H -I.  -DCONFIG_DIR=\"/mingw64/etc\"  -Wall -Wno-pointer-sign -g -O2 -DWIN32NATIVE -MT libavrdude_la-jtagmkI.lo -MD -MP -MF .deps/libavrdude_la-jtagmkI.Tpo -c -o libavrdude_la-jtagmkI.lo `test -f 'jtagmkI.c' || echo './'`jtagmkI.c
libtool: compile:  gcc -DHAVE_CONFIG_H -I. -DCONFIG_DIR=\"/mingw64/etc\" -Wall -Wno-pointer-sign -g -O2 -DWIN32NATIVE -MT libavrdude_la-jtagmkI.lo -MD -MP -MF .deps/libavrdude_la-jtagmkI.Tpo -c jtagmkI.c  -DDLL_EXPORT -DPIC -o .libs/libavrdude_la-jtagmkI.o
libtool: compile:  gcc -DHAVE_CONFIG_H -I. -DCONFIG_DIR=\"/mingw64/etc\" -Wall -Wno-pointer-sign -g -O2 -DWIN32NATIVE -MT libavrdude_la-jtagmkI.lo -MD -MP -MF .deps/libavrdude_la-jtagmkI.Tpo -c jtagmkI.c -o libavrdude_la-jtagmkI.o >/dev/null 2>&1
mv -f .deps/libavrdude_la-jtagmkI.Tpo .deps/libavrdude_la-jtagmkI.Plo
/bin/sh ./libtool  --tag=CC   --mode=compile gcc -DHAVE_CONFIG_H -I.  -DCONFIG_DIR=\"/mingw64/etc\"  -Wall -Wno-pointer-sign -g -O2 -DWIN32NATIVE -MT libavrdude_la-jtagmkII.lo -MD -MP -MF .deps/libavrdude_la-jtagmkII.Tpo -c -o libavrdude_la-jtagmkII.lo `test -f 'jtagmkII.c' || echo './'`jtagmkII.c
libtool: compile:  gcc -DHAVE_CONFIG_H -I. -DCONFIG_DIR=\"/mingw64/etc\" -Wall -Wno-pointer-sign -g -O2 -DWIN32NATIVE -MT libavrdude_la-jtagmkII.lo -MD -MP -MF .deps/libavrdude_la-jtagmkII.Tpo -c jtagmkII.c  -DDLL_EXPORT -DPIC -o .libs/libavrdude_la-jtagmkII.o
libtool: compile:  gcc -DHAVE_CONFIG_H -I. -DCONFIG_DIR=\"/mingw64/etc\" -Wall -Wno-pointer-sign -g -O2 -DWIN32NATIVE -MT libavrdude_la-jtagmkII.lo -MD -MP -MF .deps/libavrdude_la-jtagmkII.Tpo -c jtagmkII.c -o libavrdude_la-jtagmkII.o >/dev/null 2>&1
mv -f .deps/libavrdude_la-jtagmkII.Tpo .deps/libavrdude_la-jtagmkII.Plo
/bin/sh ./libtool  --tag=CC   --mode=compile gcc -DHAVE_CONFIG_H -I.  -DCONFIG_DIR=\"/mingw64/etc\"  -Wall -Wno-pointer-sign -g -O2 -DWIN32NATIVE -MT libavrdude_la-jtag3.lo -MD -MP -MF .deps/libavrdude_la-jtag3.Tpo -c -o libavrdude_la-jtag3.lo `test -f 'jtag3.c' || echo './'`jtag3.c
libtool: compile:  gcc -DHAVE_CONFIG_H -I. -DCONFIG_DIR=\"/mingw64/etc\" -Wall -Wno-pointer-sign -g -O2 -DWIN32NATIVE -MT libavrdude_la-jtag3.lo -MD -MP -MF .deps/libavrdude_la-jtag3.Tpo -c jtag3.c  -DDLL_EXPORT -DPIC -o .libs/libavrdude_la-jtag3.o
libtool: compile:  gcc -DHAVE_CONFIG_H -I. -DCONFIG_DIR=\"/mingw64/etc\" -Wall -Wno-pointer-sign -g -O2 -DWIN32NATIVE -MT libavrdude_la-jtag3.lo -MD -MP -MF .deps/libavrdude_la-jtag3.Tpo -c jtag3.c -o libavrdude_la-jtag3.o >/dev/null 2>&1
mv -f .deps/libavrdude_la-jtag3.Tpo .deps/libavrdude_la-jtag3.Plo
/bin/sh ./libtool  --tag=CC   --mode=compile gcc -DHAVE_CONFIG_H -I.  -DCONFIG_DIR=\"/mingw64/etc\"  -Wall -Wno-pointer-sign -g -O2 -DWIN32NATIVE -MT libavrdude_la-linuxgpio.lo -MD -MP -MF .deps/libavrdude_la-linuxgpio.Tpo -c -o libavrdude_la-linuxgpio.lo `test -f 'linuxgpio.c' || echo './'`linuxgpio.c
libtool: compile:  gcc -DHAVE_CONFIG_H -I. -DCONFIG_DIR=\"/mingw64/etc\" -Wall -Wno-pointer-sign -g -O2 -DWIN32NATIVE -MT libavrdude_la-linuxgpio.lo -MD -MP -MF .deps/libavrdude_la-linuxgpio.Tpo -c linuxgpio.c  -DDLL_EXPORT -DPIC -o .libs/libavrdude_la-linuxgpio.o
libtool: compile:  gcc -DHAVE_CONFIG_H -I. -DCONFIG_DIR=\"/mingw64/etc\" -Wall -Wno-pointer-sign -g -O2 -DWIN32NATIVE -MT libavrdude_la-linuxgpio.lo -MD -MP -MF .deps/libavrdude_la-linuxgpio.Tpo -c linuxgpio.c -o libavrdude_la-linuxgpio.o >/dev/null 2>&1
mv -f .deps/libavrdude_la-linuxgpio.Tpo .deps/libavrdude_la-linuxgpio.Plo
/bin/sh ./libtool  --tag=CC   --mode=compile gcc -DHAVE_CONFIG_H -I.  -DCONFIG_DIR=\"/mingw64/etc\"  -Wall -Wno-pointer-sign -g -O2 -DWIN32NATIVE -MT libavrdude_la-linuxspi.lo -MD -MP -MF .deps/libavrdude_la-linuxspi.Tpo -c -o libavrdude_la-linuxspi.lo `test -f 'linuxspi.c' || echo './'`linuxspi.c
libtool: compile:  gcc -DHAVE_CONFIG_H -I. -DCONFIG_DIR=\"/mingw64/etc\" -Wall -Wno-pointer-sign -g -O2 -DWIN32NATIVE -MT libavrdude_la-linuxspi.lo -MD -MP -MF .deps/libavrdude_la-linuxspi.Tpo -c linuxspi.c  -DDLL_EXPORT -DPIC -o .libs/libavrdude_la-linuxspi.o
libtool: compile:  gcc -DHAVE_CONFIG_H -I. -DCONFIG_DIR=\"/mingw64/etc\" -Wall -Wno-pointer-sign -g -O2 -DWIN32NATIVE -MT libavrdude_la-linuxspi.lo -MD -MP -MF .deps/libavrdude_la-linuxspi.Tpo -c linuxspi.c -o libavrdude_la-linuxspi.o >/dev/null 2>&1
mv -f .deps/libavrdude_la-linuxspi.Tpo .deps/libavrdude_la-linuxspi.Plo
/bin/sh ./libtool  --tag=CC   --mode=compile gcc -DHAVE_CONFIG_H -I.  -DCONFIG_DIR=\"/mingw64/etc\"  -Wall -Wno-pointer-sign -g -O2 -DWIN32NATIVE -MT libavrdude_la-lists.lo -MD -MP -MF .deps/libavrdude_la-lists.Tpo -c -o libavrdude_la-lists.lo `test -f 'lists.c' || echo './'`lists.c
libtool: compile:  gcc -DHAVE_CONFIG_H -I. -DCONFIG_DIR=\"/mingw64/etc\" -Wall -Wno-pointer-sign -g -O2 -DWIN32NATIVE -MT libavrdude_la-lists.lo -MD -MP -MF .deps/libavrdude_la-lists.Tpo -c lists.c  -DDLL_EXPORT -DPIC -o .libs/libavrdude_la-lists.o
libtool: compile:  gcc -DHAVE_CONFIG_H -I. -DCONFIG_DIR=\"/mingw64/etc\" -Wall -Wno-pointer-sign -g -O2 -DWIN32NATIVE -MT libavrdude_la-lists.lo -MD -MP -MF .deps/libavrdude_la-lists.Tpo -c lists.c -o libavrdude_la-lists.o >/dev/null 2>&1
mv -f .deps/libavrdude_la-lists.Tpo .deps/libavrdude_la-lists.Plo
/bin/sh ./libtool  --tag=CC   --mode=compile gcc -DHAVE_CONFIG_H -I.  -DCONFIG_DIR=\"/mingw64/etc\"  -Wall -Wno-pointer-sign -g -O2 -DWIN32NATIVE -MT libavrdude_la-micronucleus.lo -MD -MP -MF .deps/libavrdude_la-micronucleus.Tpo -c -o libavrdude_la-micronucleus.lo `test -f 'micronucleus.c' || echo './'`micronucleus.c
libtool: compile:  gcc -DHAVE_CONFIG_H -I. -DCONFIG_DIR=\"/mingw64/etc\" -Wall -Wno-pointer-sign -g -O2 -DWIN32NATIVE -MT libavrdude_la-micronucleus.lo -MD -MP -MF .deps/libavrdude_la-micronucleus.Tpo -c micronucleus.c  -DDLL_EXPORT -DPIC -o .libs/libavrdude_la-micronucleus.o
libtool: compile:  gcc -DHAVE_CONFIG_H -I. -DCONFIG_DIR=\"/mingw64/etc\" -Wall -Wno-pointer-sign -g -O2 -DWIN32NATIVE -MT libavrdude_la-micronucleus.lo -MD -MP -MF .deps/libavrdude_la-micronucleus.Tpo -c micronucleus.c -o libavrdude_la-micronucleus.o >/dev/null 2>&1
mv -f .deps/libavrdude_la-micronucleus.Tpo .deps/libavrdude_la-micronucleus.Plo
/bin/sh ./libtool  --tag=CC   --mode=compile gcc -DHAVE_CONFIG_H -I.  -DCONFIG_DIR=\"/mingw64/etc\"  -Wall -Wno-pointer-sign -g -O2 -DWIN32NATIVE -MT libavrdude_la-par.lo -MD -MP -MF .deps/libavrdude_la-par.Tpo -c -o libavrdude_la-par.lo `test -f 'par.c' || echo './'`par.c
libtool: compile:  gcc -DHAVE_CONFIG_H -I. -DCONFIG_DIR=\"/mingw64/etc\" -Wall -Wno-pointer-sign -g -O2 -DWIN32NATIVE -MT libavrdude_la-par.lo -MD -MP -MF .deps/libavrdude_la-par.Tpo -c par.c  -DDLL_EXPORT -DPIC -o .libs/libavrdude_la-par.o
libtool: compile:  gcc -DHAVE_CONFIG_H -I. -DCONFIG_DIR=\"/mingw64/etc\" -Wall -Wno-pointer-sign -g -O2 -DWIN32NATIVE -MT libavrdude_la-par.lo -MD -MP -MF .deps/libavrdude_la-par.Tpo -c par.c -o libavrdude_la-par.o >/dev/null 2>&1
mv -f .deps/libavrdude_la-par.Tpo .deps/libavrdude_la-par.Plo
/bin/sh ./libtool  --tag=CC   --mode=compile gcc -DHAVE_CONFIG_H -I.  -DCONFIG_DIR=\"/mingw64/etc\"  -Wall -Wno-pointer-sign -g -O2 -DWIN32NATIVE -MT libavrdude_la-pgm.lo -MD -MP -MF .deps/libavrdude_la-pgm.Tpo -c -o libavrdude_la-pgm.lo `test -f 'pgm.c' || echo './'`pgm.c
libtool: compile:  gcc -DHAVE_CONFIG_H -I. -DCONFIG_DIR=\"/mingw64/etc\" -Wall -Wno-pointer-sign -g -O2 -DWIN32NATIVE -MT libavrdude_la-pgm.lo -MD -MP -MF .deps/libavrdude_la-pgm.Tpo -c pgm.c  -DDLL_EXPORT -DPIC -o .libs/libavrdude_la-pgm.o
libtool: compile:  gcc -DHAVE_CONFIG_H -I. -DCONFIG_DIR=\"/mingw64/etc\" -Wall -Wno-pointer-sign -g -O2 -DWIN32NATIVE -MT libavrdude_la-pgm.lo -MD -MP -MF .deps/libavrdude_la-pgm.Tpo -c pgm.c -o libavrdude_la-pgm.o >/dev/null 2>&1
mv -f .deps/libavrdude_la-pgm.Tpo .deps/libavrdude_la-pgm.Plo
/bin/sh ./libtool  --tag=CC   --mode=compile gcc -DHAVE_CONFIG_H -I.  -DCONFIG_DIR=\"/mingw64/etc\"  -Wall -Wno-pointer-sign -g -O2 -DWIN32NATIVE -MT libavrdude_la-pgm_type.lo -MD -MP -MF .deps/libavrdude_la-pgm_type.Tpo -c -o libavrdude_la-pgm_type.lo `test -f 'pgm_type.c' || echo './'`pgm_type.c
libtool: compile:  gcc -DHAVE_CONFIG_H -I. -DCONFIG_DIR=\"/mingw64/etc\" -Wall -Wno-pointer-sign -g -O2 -DWIN32NATIVE -MT libavrdude_la-pgm_type.lo -MD -MP -MF .deps/libavrdude_la-pgm_type.Tpo -c pgm_type.c  -DDLL_EXPORT -DPIC -o .libs/libavrdude_la-pgm_type.o
libtool: compile:  gcc -DHAVE_CONFIG_H -I. -DCONFIG_DIR=\"/mingw64/etc\" -Wall -Wno-pointer-sign -g -O2 -DWIN32NATIVE -MT libavrdude_la-pgm_type.lo -MD -MP -MF .deps/libavrdude_la-pgm_type.Tpo -c pgm_type.c -o libavrdude_la-pgm_type.o >/dev/null 2>&1
mv -f .deps/libavrdude_la-pgm_type.Tpo .deps/libavrdude_la-pgm_type.Plo
/bin/sh ./libtool  --tag=CC   --mode=compile gcc -DHAVE_CONFIG_H -I.  -DCONFIG_DIR=\"/mingw64/etc\"  -Wall -Wno-pointer-sign -g -O2 -DWIN32NATIVE -MT libavrdude_la-pickit2.lo -MD -MP -MF .deps/libavrdude_la-pickit2.Tpo -c -o libavrdude_la-pickit2.lo `test -f 'pickit2.c' || echo './'`pickit2.c
libtool: compile:  gcc -DHAVE_CONFIG_H -I. -DCONFIG_DIR=\"/mingw64/etc\" -Wall -Wno-pointer-sign -g -O2 -DWIN32NATIVE -MT libavrdude_la-pickit2.lo -MD -MP -MF .deps/libavrdude_la-pickit2.Tpo -c pickit2.c  -DDLL_EXPORT -DPIC -o .libs/libavrdude_la-pickit2.o
libtool: compile:  gcc -DHAVE_CONFIG_H -I. -DCONFIG_DIR=\"/mingw64/etc\" -Wall -Wno-pointer-sign -g -O2 -DWIN32NATIVE -MT libavrdude_la-pickit2.lo -MD -MP -MF .deps/libavrdude_la-pickit2.Tpo -c pickit2.c -o libavrdude_la-pickit2.o >/dev/null 2>&1
mv -f .deps/libavrdude_la-pickit2.Tpo .deps/libavrdude_la-pickit2.Plo
/bin/sh ./libtool  --tag=CC   --mode=compile gcc -DHAVE_CONFIG_H -I.  -DCONFIG_DIR=\"/mingw64/etc\"  -Wall -Wno-pointer-sign -g -O2 -DWIN32NATIVE -MT libavrdude_la-pindefs.lo -MD -MP -MF .deps/libavrdude_la-pindefs.Tpo -c -o libavrdude_la-pindefs.lo `test -f 'pindefs.c' || echo './'`pindefs.c
libtool: compile:  gcc -DHAVE_CONFIG_H -I. -DCONFIG_DIR=\"/mingw64/etc\" -Wall -Wno-pointer-sign -g -O2 -DWIN32NATIVE -MT libavrdude_la-pindefs.lo -MD -MP -MF .deps/libavrdude_la-pindefs.Tpo -c pindefs.c  -DDLL_EXPORT -DPIC -o .libs/libavrdude_la-pindefs.o
libtool: compile:  gcc -DHAVE_CONFIG_H -I. -DCONFIG_DIR=\"/mingw64/etc\" -Wall -Wno-pointer-sign -g -O2 -DWIN32NATIVE -MT libavrdude_la-pindefs.lo -MD -MP -MF .deps/libavrdude_la-pindefs.Tpo -c pindefs.c -o libavrdude_la-pindefs.o >/dev/null 2>&1
mv -f .deps/libavrdude_la-pindefs.Tpo .deps/libavrdude_la-pindefs.Plo
/bin/sh ./libtool  --tag=CC   --mode=compile gcc -DHAVE_CONFIG_H -I.  -DCONFIG_DIR=\"/mingw64/etc\"  -Wall -Wno-pointer-sign -g -O2 -DWIN32NATIVE -MT libavrdude_la-ppi.lo -MD -MP -MF .deps/libavrdude_la-ppi.Tpo -c -o libavrdude_la-ppi.lo `test -f 'ppi.c' || echo './'`ppi.c
libtool: compile:  gcc -DHAVE_CONFIG_H -I. -DCONFIG_DIR=\"/mingw64/etc\" -Wall -Wno-pointer-sign -g -O2 -DWIN32NATIVE -MT libavrdude_la-ppi.lo -MD -MP -MF .deps/libavrdude_la-ppi.Tpo -c ppi.c  -DDLL_EXPORT -DPIC -o .libs/libavrdude_la-ppi.o
libtool: compile:  gcc -DHAVE_CONFIG_H -I. -DCONFIG_DIR=\"/mingw64/etc\" -Wall -Wno-pointer-sign -g -O2 -DWIN32NATIVE -MT libavrdude_la-ppi.lo -MD -MP -MF .deps/libavrdude_la-ppi.Tpo -c ppi.c -o libavrdude_la-ppi.o >/dev/null 2>&1
mv -f .deps/libavrdude_la-ppi.Tpo .deps/libavrdude_la-ppi.Plo
/bin/sh ./libtool  --tag=CC   --mode=compile gcc -DHAVE_CONFIG_H -I.  -DCONFIG_DIR=\"/mingw64/etc\"  -Wall -Wno-pointer-sign -g -O2 -DWIN32NATIVE -MT libavrdude_la-ppiwin.lo -MD -MP -MF .deps/libavrdude_la-ppiwin.Tpo -c -o libavrdude_la-ppiwin.lo `test -f 'ppiwin.c' || echo './'`ppiwin.c
libtool: compile:  gcc -DHAVE_CONFIG_H -I. -DCONFIG_DIR=\"/mingw64/etc\" -Wall -Wno-pointer-sign -g -O2 -DWIN32NATIVE -MT libavrdude_la-ppiwin.lo -MD -MP -MF .deps/libavrdude_la-ppiwin.Tpo -c ppiwin.c  -DDLL_EXPORT -DPIC -o .libs/libavrdude_la-ppiwin.o
libtool: compile:  gcc -DHAVE_CONFIG_H -I. -DCONFIG_DIR=\"/mingw64/etc\" -Wall -Wno-pointer-sign -g -O2 -DWIN32NATIVE -MT libavrdude_la-ppiwin.lo -MD -MP -MF .deps/libavrdude_la-ppiwin.Tpo -c ppiwin.c -o libavrdude_la-ppiwin.o >/dev/null 2>&1
mv -f .deps/libavrdude_la-ppiwin.Tpo .deps/libavrdude_la-ppiwin.Plo
/bin/sh ./libtool  --tag=CC   --mode=compile gcc -DHAVE_CONFIG_H -I.  -DCONFIG_DIR=\"/mingw64/etc\"  -Wall -Wno-pointer-sign -g -O2 -DWIN32NATIVE -MT libavrdude_la-serbb_posix.lo -MD -MP -MF .deps/libavrdude_la-serbb_posix.Tpo -c -o libavrdude_la-serbb_posix.lo `test -f 'serbb_posix.c' || echo './'`serbb_posix.c
libtool: compile:  gcc -DHAVE_CONFIG_H -I. -DCONFIG_DIR=\"/mingw64/etc\" -Wall -Wno-pointer-sign -g -O2 -DWIN32NATIVE -MT libavrdude_la-serbb_posix.lo -MD -MP -MF .deps/libavrdude_la-serbb_posix.Tpo -c serbb_posix.c  -DDLL_EXPORT -DPIC -o .libs/libavrdude_la-serbb_posix.o
libtool: compile:  gcc -DHAVE_CONFIG_H -I. -DCONFIG_DIR=\"/mingw64/etc\" -Wall -Wno-pointer-sign -g -O2 -DWIN32NATIVE -MT libavrdude_la-serbb_posix.lo -MD -MP -MF .deps/libavrdude_la-serbb_posix.Tpo -c serbb_posix.c -o libavrdude_la-serbb_posix.o >/dev/null 2>&1
mv -f .deps/libavrdude_la-serbb_posix.Tpo .deps/libavrdude_la-serbb_posix.Plo
/bin/sh ./libtool  --tag=CC   --mode=compile gcc -DHAVE_CONFIG_H -I.  -DCONFIG_DIR=\"/mingw64/etc\"  -Wall -Wno-pointer-sign -g -O2 -DWIN32NATIVE -MT libavrdude_la-serbb_win32.lo -MD -MP -MF .deps/libavrdude_la-serbb_win32.Tpo -c -o libavrdude_la-serbb_win32.lo `test -f 'serbb_win32.c' || echo './'`serbb_win32.c
libtool: compile:  gcc -DHAVE_CONFIG_H -I. -DCONFIG_DIR=\"/mingw64/etc\" -Wall -Wno-pointer-sign -g -O2 -DWIN32NATIVE -MT libavrdude_la-serbb_win32.lo -MD -MP -MF .deps/libavrdude_la-serbb_win32.Tpo -c serbb_win32.c  -DDLL_EXPORT -DPIC -o .libs/libavrdude_la-serbb_win32.o
libtool: compile:  gcc -DHAVE_CONFIG_H -I. -DCONFIG_DIR=\"/mingw64/etc\" -Wall -Wno-pointer-sign -g -O2 -DWIN32NATIVE -MT libavrdude_la-serbb_win32.lo -MD -MP -MF .deps/libavrdude_la-serbb_win32.Tpo -c serbb_win32.c -o libavrdude_la-serbb_win32.o >/dev/null 2>&1
mv -f .deps/libavrdude_la-serbb_win32.Tpo .deps/libavrdude_la-serbb_win32.Plo
/bin/sh ./libtool  --tag=CC   --mode=compile gcc -DHAVE_CONFIG_H -I.  -DCONFIG_DIR=\"/mingw64/etc\"  -Wall -Wno-pointer-sign -g -O2 -DWIN32NATIVE -MT libavrdude_la-ser_avrdoper.lo -MD -MP -MF .deps/libavrdude_la-ser_avrdoper.Tpo -c -o libavrdude_la-ser_avrdoper.lo `test -f 'ser_avrdoper.c' || echo './'`ser_avrdoper.c
libtool: compile:  gcc -DHAVE_CONFIG_H -I. -DCONFIG_DIR=\"/mingw64/etc\" -Wall -Wno-pointer-sign -g -O2 -DWIN32NATIVE -MT libavrdude_la-ser_avrdoper.lo -MD -MP -MF .deps/libavrdude_la-ser_avrdoper.Tpo -c ser_avrdoper.c  -DDLL_EXPORT -DPIC -o .libs/libavrdude_la-ser_avrdoper.o
libtool: compile:  gcc -DHAVE_CONFIG_H -I. -DCONFIG_DIR=\"/mingw64/etc\" -Wall -Wno-pointer-sign -g -O2 -DWIN32NATIVE -MT libavrdude_la-ser_avrdoper.lo -MD -MP -MF .deps/libavrdude_la-ser_avrdoper.Tpo -c ser_avrdoper.c -o libavrdude_la-ser_avrdoper.o >/dev/null 2>&1
mv -f .deps/libavrdude_la-ser_avrdoper.Tpo .deps/libavrdude_la-ser_avrdoper.Plo
/bin/sh ./libtool  --tag=CC   --mode=compile gcc -DHAVE_CONFIG_H -I.  -DCONFIG_DIR=\"/mingw64/etc\"  -Wall -Wno-pointer-sign -g -O2 -DWIN32NATIVE -MT libavrdude_la-ser_posix.lo -MD -MP -MF .deps/libavrdude_la-ser_posix.Tpo -c -o libavrdude_la-ser_posix.lo `test -f 'ser_posix.c' || echo './'`ser_posix.c
libtool: compile:  gcc -DHAVE_CONFIG_H -I. -DCONFIG_DIR=\"/mingw64/etc\" -Wall -Wno-pointer-sign -g -O2 -DWIN32NATIVE -MT libavrdude_la-ser_posix.lo -MD -MP -MF .deps/libavrdude_la-ser_posix.Tpo -c ser_posix.c  -DDLL_EXPORT -DPIC -o .libs/libavrdude_la-ser_posix.o
libtool: compile:  gcc -DHAVE_CONFIG_H -I. -DCONFIG_DIR=\"/mingw64/etc\" -Wall -Wno-pointer-sign -g -O2 -DWIN32NATIVE -MT libavrdude_la-ser_posix.lo -MD -MP -MF .deps/libavrdude_la-ser_posix.Tpo -c ser_posix.c -o libavrdude_la-ser_posix.o >/dev/null 2>&1
mv -f .deps/libavrdude_la-ser_posix.Tpo .deps/libavrdude_la-ser_posix.Plo
/bin/sh ./libtool  --tag=CC   --mode=compile gcc -DHAVE_CONFIG_H -I.  -DCONFIG_DIR=\"/mingw64/etc\"  -Wall -Wno-pointer-sign -g -O2 -DWIN32NATIVE -MT libavrdude_la-ser_win32.lo -MD -MP -MF .deps/libavrdude_la-ser_win32.Tpo -c -o libavrdude_la-ser_win32.lo `test -f 'ser_win32.c' || echo './'`ser_win32.c
libtool: compile:  gcc -DHAVE_CONFIG_H -I. -DCONFIG_DIR=\"/mingw64/etc\" -Wall -Wno-pointer-sign -g -O2 -DWIN32NATIVE -MT libavrdude_la-ser_win32.lo -MD -MP -MF .deps/libavrdude_la-ser_win32.Tpo -c ser_win32.c  -DDLL_EXPORT -DPIC -o .libs/libavrdude_la-ser_win32.o
libtool: compile:  gcc -DHAVE_CONFIG_H -I. -DCONFIG_DIR=\"/mingw64/etc\" -Wall -Wno-pointer-sign -g -O2 -DWIN32NATIVE -MT libavrdude_la-ser_win32.lo -MD -MP -MF .deps/libavrdude_la-ser_win32.Tpo -c ser_win32.c -o libavrdude_la-ser_win32.o >/dev/null 2>&1
mv -f .deps/libavrdude_la-ser_win32.Tpo .deps/libavrdude_la-ser_win32.Plo
/bin/sh ./libtool  --tag=CC   --mode=compile gcc -DHAVE_CONFIG_H -I.  -DCONFIG_DIR=\"/mingw64/etc\"  -Wall -Wno-pointer-sign -g -O2 -DWIN32NATIVE -MT libavrdude_la-stk500.lo -MD -MP -MF .deps/libavrdude_la-stk500.Tpo -c -o libavrdude_la-stk500.lo `test -f 'stk500.c' || echo './'`stk500.c
libtool: compile:  gcc -DHAVE_CONFIG_H -I. -DCONFIG_DIR=\"/mingw64/etc\" -Wall -Wno-pointer-sign -g -O2 -DWIN32NATIVE -MT libavrdude_la-stk500.lo -MD -MP -MF .deps/libavrdude_la-stk500.Tpo -c stk500.c  -DDLL_EXPORT -DPIC -o .libs/libavrdude_la-stk500.o
libtool: compile:  gcc -DHAVE_CONFIG_H -I. -DCONFIG_DIR=\"/mingw64/etc\" -Wall -Wno-pointer-sign -g -O2 -DWIN32NATIVE -MT libavrdude_la-stk500.lo -MD -MP -MF .deps/libavrdude_la-stk500.Tpo -c stk500.c -o libavrdude_la-stk500.o >/dev/null 2>&1
mv -f .deps/libavrdude_la-stk500.Tpo .deps/libavrdude_la-stk500.Plo
/bin/sh ./libtool  --tag=CC   --mode=compile gcc -DHAVE_CONFIG_H -I.  -DCONFIG_DIR=\"/mingw64/etc\"  -Wall -Wno-pointer-sign -g -O2 -DWIN32NATIVE -MT libavrdude_la-stk500v2.lo -MD -MP -MF .deps/libavrdude_la-stk500v2.Tpo -c -o libavrdude_la-stk500v2.lo `test -f 'stk500v2.c' || echo './'`stk500v2.c
libtool: compile:  gcc -DHAVE_CONFIG_H -I. -DCONFIG_DIR=\"/mingw64/etc\" -Wall -Wno-pointer-sign -g -O2 -DWIN32NATIVE -MT libavrdude_la-stk500v2.lo -MD -MP -MF .deps/libavrdude_la-stk500v2.Tpo -c stk500v2.c  -DDLL_EXPORT -DPIC -o .libs/libavrdude_la-stk500v2.o
libtool: compile:  gcc -DHAVE_CONFIG_H -I. -DCONFIG_DIR=\"/mingw64/etc\" -Wall -Wno-pointer-sign -g -O2 -DWIN32NATIVE -MT libavrdude_la-stk500v2.lo -MD -MP -MF .deps/libavrdude_la-stk500v2.Tpo -c stk500v2.c -o libavrdude_la-stk500v2.o >/dev/null 2>&1
mv -f .deps/libavrdude_la-stk500v2.Tpo .deps/libavrdude_la-stk500v2.Plo
/bin/sh ./libtool  --tag=CC   --mode=compile gcc -DHAVE_CONFIG_H -I.  -DCONFIG_DIR=\"/mingw64/etc\"  -Wall -Wno-pointer-sign -g -O2 -DWIN32NATIVE -MT libavrdude_la-stk500generic.lo -MD -MP -MF .deps/libavrdude_la-stk500generic.Tpo -c -o libavrdude_la-stk500generic.lo `test -f 'stk500generic.c' || echo './'`stk500generic.c
libtool: compile:  gcc -DHAVE_CONFIG_H -I. -DCONFIG_DIR=\"/mingw64/etc\" -Wall -Wno-pointer-sign -g -O2 -DWIN32NATIVE -MT libavrdude_la-stk500generic.lo -MD -MP -MF .deps/libavrdude_la-stk500generic.Tpo -c stk500generic.c  -DDLL_EXPORT -DPIC -o .libs/libavrdude_la-stk500generic.o
libtool: compile:  gcc -DHAVE_CONFIG_H -I. -DCONFIG_DIR=\"/mingw64/etc\" -Wall -Wno-pointer-sign -g -O2 -DWIN32NATIVE -MT libavrdude_la-stk500generic.lo -MD -MP -MF .deps/libavrdude_la-stk500generic.Tpo -c stk500generic.c -o libavrdude_la-stk500generic.o >/dev/null 2>&1
mv -f .deps/libavrdude_la-stk500generic.Tpo .deps/libavrdude_la-stk500generic.Plo
/bin/sh ./libtool  --tag=CC   --mode=compile gcc -DHAVE_CONFIG_H -I.  -DCONFIG_DIR=\"/mingw64/etc\"  -Wall -Wno-pointer-sign -g -O2 -DWIN32NATIVE -MT libavrdude_la-teensy.lo -MD -MP -MF .deps/libavrdude_la-teensy.Tpo -c -o libavrdude_la-teensy.lo `test -f 'teensy.c' || echo './'`teensy.c
libtool: compile:  gcc -DHAVE_CONFIG_H -I. -DCONFIG_DIR=\"/mingw64/etc\" -Wall -Wno-pointer-sign -g -O2 -DWIN32NATIVE -MT libavrdude_la-teensy.lo -MD -MP -MF .deps/libavrdude_la-teensy.Tpo -c teensy.c  -DDLL_EXPORT -DPIC -o .libs/libavrdude_la-teensy.o
libtool: compile:  gcc -DHAVE_CONFIG_H -I. -DCONFIG_DIR=\"/mingw64/etc\" -Wall -Wno-pointer-sign -g -O2 -DWIN32NATIVE -MT libavrdude_la-teensy.lo -MD -MP -MF .deps/libavrdude_la-teensy.Tpo -c teensy.c -o libavrdude_la-teensy.o >/dev/null 2>&1
mv -f .deps/libavrdude_la-teensy.Tpo .deps/libavrdude_la-teensy.Plo
/bin/sh ./libtool  --tag=CC   --mode=compile gcc -DHAVE_CONFIG_H -I.  -DCONFIG_DIR=\"/mingw64/etc\"  -Wall -Wno-pointer-sign -g -O2 -DWIN32NATIVE -MT libavrdude_la-usbasp.lo -MD -MP -MF .deps/libavrdude_la-usbasp.Tpo -c -o libavrdude_la-usbasp.lo `test -f 'usbasp.c' || echo './'`usbasp.c
libtool: compile:  gcc -DHAVE_CONFIG_H -I. -DCONFIG_DIR=\"/mingw64/etc\" -Wall -Wno-pointer-sign -g -O2 -DWIN32NATIVE -MT libavrdude_la-usbasp.lo -MD -MP -MF .deps/libavrdude_la-usbasp.Tpo -c usbasp.c  -DDLL_EXPORT -DPIC -o .libs/libavrdude_la-usbasp.o
libtool: compile:  gcc -DHAVE_CONFIG_H -I. -DCONFIG_DIR=\"/mingw64/etc\" -Wall -Wno-pointer-sign -g -O2 -DWIN32NATIVE -MT libavrdude_la-usbasp.lo -MD -MP -MF .deps/libavrdude_la-usbasp.Tpo -c usbasp.c -o libavrdude_la-usbasp.o >/dev/null 2>&1
mv -f .deps/libavrdude_la-usbasp.Tpo .deps/libavrdude_la-usbasp.Plo
/bin/sh ./libtool  --tag=CC   --mode=compile gcc -DHAVE_CONFIG_H -I.  -DCONFIG_DIR=\"/mingw64/etc\"  -Wall -Wno-pointer-sign -g -O2 -DWIN32NATIVE -MT libavrdude_la-serialupdi.lo -MD -MP -MF .deps/libavrdude_la-serialupdi.Tpo -c -o libavrdude_la-serialupdi.lo `test -f 'serialupdi.c' || echo './'`serialupdi.c
libtool: compile:  gcc -DHAVE_CONFIG_H -I. -DCONFIG_DIR=\"/mingw64/etc\" -Wall -Wno-pointer-sign -g -O2 -DWIN32NATIVE -MT libavrdude_la-serialupdi.lo -MD -MP -MF .deps/libavrdude_la-serialupdi.Tpo -c serialupdi.c  -DDLL_EXPORT -DPIC -o .libs/libavrdude_la-serialupdi.o
libtool: compile:  gcc -DHAVE_CONFIG_H -I. -DCONFIG_DIR=\"/mingw64/etc\" -Wall -Wno-pointer-sign -g -O2 -DWIN32NATIVE -MT libavrdude_la-serialupdi.lo -MD -MP -MF .deps/libavrdude_la-serialupdi.Tpo -c serialupdi.c -o libavrdude_la-serialupdi.o >/dev/null 2>&1
mv -f .deps/libavrdude_la-serialupdi.Tpo .deps/libavrdude_la-serialupdi.Plo
/bin/sh ./libtool  --tag=CC   --mode=compile gcc -DHAVE_CONFIG_H -I.  -DCONFIG_DIR=\"/mingw64/etc\"  -Wall -Wno-pointer-sign -g -O2 -DWIN32NATIVE -MT libavrdude_la-updi_link.lo -MD -MP -MF .deps/libavrdude_la-updi_link.Tpo -c -o libavrdude_la-updi_link.lo `test -f 'updi_link.c' || echo './'`updi_link.c
libtool: compile:  gcc -DHAVE_CONFIG_H -I. -DCONFIG_DIR=\"/mingw64/etc\" -Wall -Wno-pointer-sign -g -O2 -DWIN32NATIVE -MT libavrdude_la-updi_link.lo -MD -MP -MF .deps/libavrdude_la-updi_link.Tpo -c updi_link.c  -DDLL_EXPORT -DPIC -o .libs/libavrdude_la-updi_link.o
libtool: compile:  gcc -DHAVE_CONFIG_H -I. -DCONFIG_DIR=\"/mingw64/etc\" -Wall -Wno-pointer-sign -g -O2 -DWIN32NATIVE -MT libavrdude_la-updi_link.lo -MD -MP -MF .deps/libavrdude_la-updi_link.Tpo -c updi_link.c -o libavrdude_la-updi_link.o >/dev/null 2>&1
mv -f .deps/libavrdude_la-updi_link.Tpo .deps/libavrdude_la-updi_link.Plo
/bin/sh ./libtool  --tag=CC   --mode=compile gcc -DHAVE_CONFIG_H -I.  -DCONFIG_DIR=\"/mingw64/etc\"  -Wall -Wno-pointer-sign -g -O2 -DWIN32NATIVE -MT libavrdude_la-updi_state.lo -MD -MP -MF .deps/libavrdude_la-updi_state.Tpo -c -o libavrdude_la-updi_state.lo `test -f 'updi_state.c' || echo './'`updi_state.c
libtool: compile:  gcc -DHAVE_CONFIG_H -I. -DCONFIG_DIR=\"/mingw64/etc\" -Wall -Wno-pointer-sign -g -O2 -DWIN32NATIVE -MT libavrdude_la-updi_state.lo -MD -MP -MF .deps/libavrdude_la-updi_state.Tpo -c updi_state.c  -DDLL_EXPORT -DPIC -o .libs/libavrdude_la-updi_state.o
libtool: compile:  gcc -DHAVE_CONFIG_H -I. -DCONFIG_DIR=\"/mingw64/etc\" -Wall -Wno-pointer-sign -g -O2 -DWIN32NATIVE -MT libavrdude_la-updi_state.lo -MD -MP -MF .deps/libavrdude_la-updi_state.Tpo -c updi_state.c -o libavrdude_la-updi_state.o >/dev/null 2>&1
mv -f .deps/libavrdude_la-updi_state.Tpo .deps/libavrdude_la-updi_state.Plo
/bin/sh ./libtool  --tag=CC   --mode=compile gcc -DHAVE_CONFIG_H -I.  -DCONFIG_DIR=\"/mingw64/etc\"  -Wall -Wno-pointer-sign -g -O2 -DWIN32NATIVE -MT libavrdude_la-updi_readwrite.lo -MD -MP -MF .deps/libavrdude_la-updi_readwrite.Tpo -c -o libavrdude_la-updi_readwrite.lo `test -f 'updi_readwrite.c' || echo './'`updi_readwrite.c
libtool: compile:  gcc -DHAVE_CONFIG_H -I. -DCONFIG_DIR=\"/mingw64/etc\" -Wall -Wno-pointer-sign -g -O2 -DWIN32NATIVE -MT libavrdude_la-updi_readwrite.lo -MD -MP -MF .deps/libavrdude_la-updi_readwrite.Tpo -c updi_readwrite.c  -DDLL_EXPORT -DPIC -o .libs/libavrdude_la-updi_readwrite.o
libtool: compile:  gcc -DHAVE_CONFIG_H -I. -DCONFIG_DIR=\"/mingw64/etc\" -Wall -Wno-pointer-sign -g -O2 -DWIN32NATIVE -MT libavrdude_la-updi_readwrite.lo -MD -MP -MF .deps/libavrdude_la-updi_readwrite.Tpo -c updi_readwrite.c -o libavrdude_la-updi_readwrite.o >/dev/null 2>&1
mv -f .deps/libavrdude_la-updi_readwrite.Tpo .deps/libavrdude_la-updi_readwrite.Plo
/bin/sh ./libtool  --tag=CC   --mode=compile gcc -DHAVE_CONFIG_H -I.  -DCONFIG_DIR=\"/mingw64/etc\"  -Wall -Wno-pointer-sign -g -O2 -DWIN32NATIVE -MT libavrdude_la-updi_nvm.lo -MD -MP -MF .deps/libavrdude_la-updi_nvm.Tpo -c -o libavrdude_la-updi_nvm.lo `test -f 'updi_nvm.c' || echo './'`updi_nvm.c
libtool: compile:  gcc -DHAVE_CONFIG_H -I. -DCONFIG_DIR=\"/mingw64/etc\" -Wall -Wno-pointer-sign -g -O2 -DWIN32NATIVE -MT libavrdude_la-updi_nvm.lo -MD -MP -MF .deps/libavrdude_la-updi_nvm.Tpo -c updi_nvm.c  -DDLL_EXPORT -DPIC -o .libs/libavrdude_la-updi_nvm.o
libtool: compile:  gcc -DHAVE_CONFIG_H -I. -DCONFIG_DIR=\"/mingw64/etc\" -Wall -Wno-pointer-sign -g -O2 -DWIN32NATIVE -MT libavrdude_la-updi_nvm.lo -MD -MP -MF .deps/libavrdude_la-updi_nvm.Tpo -c updi_nvm.c -o libavrdude_la-updi_nvm.o >/dev/null 2>&1
mv -f .deps/libavrdude_la-updi_nvm.Tpo .deps/libavrdude_la-updi_nvm.Plo
/bin/sh ./libtool  --tag=CC   --mode=compile gcc -DHAVE_CONFIG_H -I.  -DCONFIG_DIR=\"/mingw64/etc\"  -Wall -Wno-pointer-sign -g -O2 -DWIN32NATIVE -MT libavrdude_la-urclock.lo -MD -MP -MF .deps/libavrdude_la-urclock.Tpo -c -o libavrdude_la-urclock.lo `test -f 'urclock.c' || echo './'`urclock.c
libtool: compile:  gcc -DHAVE_CONFIG_H -I. -DCONFIG_DIR=\"/mingw64/etc\" -Wall -Wno-pointer-sign -g -O2 -DWIN32NATIVE -MT libavrdude_la-urclock.lo -MD -MP -MF .deps/libavrdude_la-urclock.Tpo -c urclock.c  -DDLL_EXPORT -DPIC -o .libs/libavrdude_la-urclock.o
libtool: compile:  gcc -DHAVE_CONFIG_H -I. -DCONFIG_DIR=\"/mingw64/etc\" -Wall -Wno-pointer-sign -g -O2 -DWIN32NATIVE -MT libavrdude_la-urclock.lo -MD -MP -MF .deps/libavrdude_la-urclock.Tpo -c urclock.c -o libavrdude_la-urclock.o >/dev/null 2>&1
mv -f .deps/libavrdude_la-urclock.Tpo .deps/libavrdude_la-urclock.Plo
/bin/sh ./libtool  --tag=CC   --mode=compile gcc -DHAVE_CONFIG_H -I.  -DCONFIG_DIR=\"/mingw64/etc\"  -Wall -Wno-pointer-sign -g -O2 -DWIN32NATIVE -MT libavrdude_la-usb_hidapi.lo -MD -MP -MF .deps/libavrdude_la-usb_hidapi.Tpo -c -o libavrdude_la-usb_hidapi.lo `test -f 'usb_hidapi.c' || echo './'`usb_hidapi.c
libtool: compile:  gcc -DHAVE_CONFIG_H -I. -DCONFIG_DIR=\"/mingw64/etc\" -Wall -Wno-pointer-sign -g -O2 -DWIN32NATIVE -MT libavrdude_la-usb_hidapi.lo -MD -MP -MF .deps/libavrdude_la-usb_hidapi.Tpo -c usb_hidapi.c  -DDLL_EXPORT -DPIC -o .libs/libavrdude_la-usb_hidapi.o
libtool: compile:  gcc -DHAVE_CONFIG_H -I. -DCONFIG_DIR=\"/mingw64/etc\" -Wall -Wno-pointer-sign -g -O2 -DWIN32NATIVE -MT libavrdude_la-usb_hidapi.lo -MD -MP -MF .deps/libavrdude_la-usb_hidapi.Tpo -c usb_hidapi.c -o libavrdude_la-usb_hidapi.o >/dev/null 2>&1
mv -f .deps/libavrdude_la-usb_hidapi.Tpo .deps/libavrdude_la-usb_hidapi.Plo
/bin/sh ./libtool  --tag=CC   --mode=compile gcc -DHAVE_CONFIG_H -I.  -DCONFIG_DIR=\"/mingw64/etc\"  -Wall -Wno-pointer-sign -g -O2 -DWIN32NATIVE -MT libavrdude_la-usb_libusb.lo -MD -MP -MF .deps/libavrdude_la-usb_libusb.Tpo -c -o libavrdude_la-usb_libusb.lo `test -f 'usb_libusb.c' || echo './'`usb_libusb.c
libtool: compile:  gcc -DHAVE_CONFIG_H -I. -DCONFIG_DIR=\"/mingw64/etc\" -Wall -Wno-pointer-sign -g -O2 -DWIN32NATIVE -MT libavrdude_la-usb_libusb.lo -MD -MP -MF .deps/libavrdude_la-usb_libusb.Tpo -c usb_libusb.c  -DDLL_EXPORT -DPIC -o .libs/libavrdude_la-usb_libusb.o
libtool: compile:  gcc -DHAVE_CONFIG_H -I. -DCONFIG_DIR=\"/mingw64/etc\" -Wall -Wno-pointer-sign -g -O2 -DWIN32NATIVE -MT libavrdude_la-usb_libusb.lo -MD -MP -MF .deps/libavrdude_la-usb_libusb.Tpo -c usb_libusb.c -o libavrdude_la-usb_libusb.o >/dev/null 2>&1
mv -f .deps/libavrdude_la-usb_libusb.Tpo .deps/libavrdude_la-usb_libusb.Plo
/bin/sh ./libtool  --tag=CC   --mode=compile gcc -DHAVE_CONFIG_H -I.  -DCONFIG_DIR=\"/mingw64/etc\"  -Wall -Wno-pointer-sign -g -O2 -DWIN32NATIVE -MT libavrdude_la-usbtiny.lo -MD -MP -MF .deps/libavrdude_la-usbtiny.Tpo -c -o libavrdude_la-usbtiny.lo `test -f 'usbtiny.c' || echo './'`usbtiny.c
libtool: compile:  gcc -DHAVE_CONFIG_H -I. -DCONFIG_DIR=\"/mingw64/etc\" -Wall -Wno-pointer-sign -g -O2 -DWIN32NATIVE -MT libavrdude_la-usbtiny.lo -MD -MP -MF .deps/libavrdude_la-usbtiny.Tpo -c usbtiny.c  -DDLL_EXPORT -DPIC -o .libs/libavrdude_la-usbtiny.o
libtool: compile:  gcc -DHAVE_CONFIG_H -I. -DCONFIG_DIR=\"/mingw64/etc\" -Wall -Wno-pointer-sign -g -O2 -DWIN32NATIVE -MT libavrdude_la-usbtiny.lo -MD -MP -MF .deps/libavrdude_la-usbtiny.Tpo -c usbtiny.c -o libavrdude_la-usbtiny.o >/dev/null 2>&1
mv -f .deps/libavrdude_la-usbtiny.Tpo .deps/libavrdude_la-usbtiny.Plo
/bin/sh ./libtool  --tag=CC   --mode=compile gcc -DHAVE_CONFIG_H -I.  -DCONFIG_DIR=\"/mingw64/etc\"  -Wall -Wno-pointer-sign -g -O2 -DWIN32NATIVE -MT libavrdude_la-update.lo -MD -MP -MF .deps/libavrdude_la-update.Tpo -c -o libavrdude_la-update.lo `test -f 'update.c' || echo './'`update.c
libtool: compile:  gcc -DHAVE_CONFIG_H -I. -DCONFIG_DIR=\"/mingw64/etc\" -Wall -Wno-pointer-sign -g -O2 -DWIN32NATIVE -MT libavrdude_la-update.lo -MD -MP -MF .deps/libavrdude_la-update.Tpo -c update.c  -DDLL_EXPORT -DPIC -o .libs/libavrdude_la-update.o
libtool: compile:  gcc -DHAVE_CONFIG_H -I. -DCONFIG_DIR=\"/mingw64/etc\" -Wall -Wno-pointer-sign -g -O2 -DWIN32NATIVE -MT libavrdude_la-update.lo -MD -MP -MF .deps/libavrdude_la-update.Tpo -c update.c -o libavrdude_la-update.o >/dev/null 2>&1
mv -f .deps/libavrdude_la-update.Tpo .deps/libavrdude_la-update.Plo
/bin/sh ./libtool  --tag=CC   --mode=compile gcc -DHAVE_CONFIG_H -I.  -DCONFIG_DIR=\"/mingw64/etc\"  -Wall -Wno-pointer-sign -g -O2 -DWIN32NATIVE -MT libavrdude_la-wiring.lo -MD -MP -MF .deps/libavrdude_la-wiring.Tpo -c -o libavrdude_la-wiring.lo `test -f 'wiring.c' || echo './'`wiring.c
libtool: compile:  gcc -DHAVE_CONFIG_H -I. -DCONFIG_DIR=\"/mingw64/etc\" -Wall -Wno-pointer-sign -g -O2 -DWIN32NATIVE -MT libavrdude_la-wiring.lo -MD -MP -MF .deps/libavrdude_la-wiring.Tpo -c wiring.c  -DDLL_EXPORT -DPIC -o .libs/libavrdude_la-wiring.o
libtool: compile:  gcc -DHAVE_CONFIG_H -I. -DCONFIG_DIR=\"/mingw64/etc\" -Wall -Wno-pointer-sign -g -O2 -DWIN32NATIVE -MT libavrdude_la-wiring.lo -MD -MP -MF .deps/libavrdude_la-wiring.Tpo -c wiring.c -o libavrdude_la-wiring.o >/dev/null 2>&1
mv -f .deps/libavrdude_la-wiring.Tpo .deps/libavrdude_la-wiring.Plo
/bin/sh ./libtool  --tag=CC   --mode=compile gcc -DHAVE_CONFIG_H -I.  -DCONFIG_DIR=\"/mingw64/etc\"  -Wall -Wno-pointer-sign -g -O2 -DWIN32NATIVE -MT libavrdude_la-xbee.lo -MD -MP -MF .deps/libavrdude_la-xbee.Tpo -c -o libavrdude_la-xbee.lo `test -f 'xbee.c' || echo './'`xbee.c
libtool: compile:  gcc -DHAVE_CONFIG_H -I. -DCONFIG_DIR=\"/mingw64/etc\" -Wall -Wno-pointer-sign -g -O2 -DWIN32NATIVE -MT libavrdude_la-xbee.lo -MD -MP -MF .deps/libavrdude_la-xbee.Tpo -c xbee.c  -DDLL_EXPORT -DPIC -o .libs/libavrdude_la-xbee.o
libtool: compile:  gcc -DHAVE_CONFIG_H -I. -DCONFIG_DIR=\"/mingw64/etc\" -Wall -Wno-pointer-sign -g -O2 -DWIN32NATIVE -MT libavrdude_la-xbee.lo -MD -MP -MF .deps/libavrdude_la-xbee.Tpo -c xbee.c -o libavrdude_la-xbee.o >/dev/null 2>&1
mv -f .deps/libavrdude_la-xbee.Tpo .deps/libavrdude_la-xbee.Plo
/bin/sh ./libtool  --tag=CC   --mode=link gcc -Wall -Wno-pointer-sign -g -O2 -DWIN32NATIVE -version-info 1:0 -static -o libavrdude.la -rpath /mingw64/lib libavrdude_la-config_gram.lo libavrdude_la-lexer.lo libavrdude_la-arduino.lo libavrdude_la-avr.lo libavrdude_la-avr910.lo libavrdude_la-avrcache.lo libavrdude_la-avrftdi.lo libavrdude_la-avrftdi_tpi.lo libavrdude_la-avrpart.lo libavrdude_la-bitbang.lo libavrdude_la-buspirate.lo libavrdude_la-butterfly.lo libavrdude_la-config.lo libavrdude_la-confwin.lo libavrdude_la-crc16.lo libavrdude_la-dfu.lo libavrdude_la-fileio.lo libavrdude_la-flip1.lo libavrdude_la-flip2.lo libavrdude_la-ft245r.lo libavrdude_la-jtagmkI.lo libavrdude_la-jtagmkII.lo libavrdude_la-jtag3.lo libavrdude_la-linuxgpio.lo libavrdude_la-linuxspi.lo libavrdude_la-lists.lo libavrdude_la-micronucleus.lo libavrdude_la-par.lo libavrdude_la-pgm.lo libavrdude_la-pgm_type.lo libavrdude_la-pickit2.lo libavrdude_la-pindefs.lo libavrdude_la-ppi.lo libavrdude_la-ppiwin.lo libavrdude_la-serbb_posix.lo libavrdude_la-serbb_win32.lo libavrdude_la-ser_avrdoper.lo libavrdude_la-ser_posix.lo libavrdude_la-ser_win32.lo libavrdude_la-stk500.lo libavrdude_la-stk500v2.lo libavrdude_la-stk500generic.lo libavrdude_la-teensy.lo libavrdude_la-usbasp.lo libavrdude_la-serialupdi.lo libavrdude_la-updi_link.lo libavrdude_la-updi_state.lo libavrdude_la-updi_readwrite.lo libavrdude_la-updi_nvm.lo libavrdude_la-urclock.lo libavrdude_la-usb_hidapi.lo libavrdude_la-usb_libusb.lo libavrdude_la-usbtiny.lo libavrdude_la-update.lo libavrdude_la-wiring.lo libavrdude_la-xbee.lo  -lhidapi -lncurses -ltermcap -lws2_32  -lftdi1
libtool: warning: undefined symbols not allowed in x86_64-w64-mingw32 shared libraries; building static only
libtool: link: ar cr .libs/libavrdude.a  libavrdude_la-config_gram.o libavrdude_la-lexer.o libavrdude_la-arduino.o libavrdude_la-avr.o libavrdude_la-avr910.o libavrdude_la-avrcache.o libavrdude_la-avrftdi.o libavrdude_la-avrftdi_tpi.o libavrdude_la-avrpart.o libavrdude_la-bitbang.o libavrdude_la-buspirate.o libavrdude_la-butterfly.o libavrdude_la-config.o libavrdude_la-confwin.o libavrdude_la-crc16.o libavrdude_la-dfu.o libavrdude_la-fileio.o libavrdude_la-flip1.o libavrdude_la-flip2.o libavrdude_la-ft245r.o libavrdude_la-jtagmkI.o libavrdude_la-jtagmkII.o libavrdude_la-jtag3.o libavrdude_la-linuxgpio.o libavrdude_la-linuxspi.o libavrdude_la-lists.o libavrdude_la-micronucleus.o libavrdude_la-par.o libavrdude_la-pgm.o libavrdude_la-pgm_type.o libavrdude_la-pickit2.o libavrdude_la-pindefs.o libavrdude_la-ppi.o libavrdude_la-ppiwin.o libavrdude_la-serbb_posix.o libavrdude_la-serbb_win32.o libavrdude_la-ser_avrdoper.o libavrdude_la-ser_posix.o libavrdude_la-ser_win32.o libavrdude_la-stk500.o libavrdude_la-stk500v2.o libavrdude_la-stk500generic.o libavrdude_la-teensy.o libavrdude_la-usbasp.o libavrdude_la-serialupdi.o libavrdude_la-updi_link.o libavrdude_la-updi_state.o libavrdude_la-updi_readwrite.o libavrdude_la-updi_nvm.o libavrdude_la-urclock.o libavrdude_la-usb_hidapi.o libavrdude_la-usb_libusb.o libavrdude_la-usbtiny.o libavrdude_la-update.o libavrdude_la-wiring.o libavrdude_la-xbee.o
libtool: link: ranlib .libs/libavrdude.a
libtool: link: ( cd ".libs" && rm -f "libavrdude.la" && cp -pR "../libavrdude.la" "libavrdude.la" )
make[2]: Leaving directory '/c/work/avr/avrdude_test/avrdude_main/src'
make[1]: Leaving directory '/c/work/avr/avrdude_test/avrdude_main/src'

@mcuee
Copy link
Collaborator Author

mcuee commented Jan 13, 2023

avrdude 7.1 source tarball to be use with configure script, generated from Ubuntu 20.04 Linux.
avrdude-7.1-20230108.tar.gz

Build results under Ubuntu 20.04.

BTW, the tarball is also working on MSYS2 mingw.

mcuee@UbuntuSwift3:~/build/avr/avrdude-7.1-20230108$ ./configure --enable-linuxgpio --enable-linuxspi --enable-parport
checking build system type... x86_64-pc-linux-gnu
checking host system type... x86_64-pc-linux-gnu
checking target system type... x86_64-pc-linux-gnu
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 whether make supports nested variables... yes
checking how to print strings... printf
checking whether make supports the include directive... yes (GNU style)
checking for gcc... gcc
checking whether the C compiler works... yes
checking for C compiler default output file name... a.out
checking for suffix of executables... 
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 whether gcc understands -c and -o together... yes
checking dependency style of gcc... gcc3
checking for a sed that does not truncate output... /usr/bin/sed
checking for grep that handles long lines and -e... /usr/bin/grep
checking for egrep... /usr/bin/grep -E
checking for fgrep... /usr/bin/grep -F
checking for ld used by gcc... /usr/bin/ld
checking if the linker (/usr/bin/ld) is GNU ld... yes
checking for BSD- or MS-compatible name lister (nm)... /usr/bin/nm -B
checking the name lister (/usr/bin/nm -B) interface... BSD nm
checking whether ln -s works... yes
checking the maximum length of command line arguments... 1572864
checking how to convert x86_64-pc-linux-gnu file names to x86_64-pc-linux-gnu format... func_convert_file_noop
checking how to convert x86_64-pc-linux-gnu file names to toolchain format... func_convert_file_noop
checking for /usr/bin/ld option to reload object files... -r
checking for objdump... objdump
checking how to recognize dependent libraries... pass_all
checking for dlltool... no
checking how to associate runtime and link libraries... printf %s\n
checking for ar... ar
checking for archiver @FILE support... @
checking for strip... strip
checking for ranlib... ranlib
checking command to parse /usr/bin/nm -B output from gcc object... ok
checking for sysroot... no
checking for a working dd... /usr/bin/dd
checking how to truncate binary pipes... /usr/bin/dd bs=4096 count=1
checking for mt... mt
checking if mt is a manifest tool... no
checking how to run the C preprocessor... gcc -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 for dlfcn.h... yes
checking for objdir... .libs
checking if gcc supports -fno-rtti -fno-exceptions... no
checking for gcc option to produce PIC... -fPIC -DPIC
checking if gcc PIC flag -fPIC -DPIC works... yes
checking if gcc static flag -static works... yes
checking if gcc supports -c -o file.o... yes
checking if gcc supports -c -o file.o... (cached) yes
checking whether the gcc linker (/usr/bin/ld -m elf_x86_64) supports shared libraries... yes
checking whether -lc should be explicitly linked in... no
checking dynamic linker characteristics... GNU/Linux ld.so
checking how to hardcode library paths into programs... immediate
checking whether stripping libraries is possible... yes
checking if libtool supports shared libraries... yes
checking whether to build shared libraries... yes
checking whether to build static libraries... yes
checking whether make supports nested variables... (cached) yes
checking for gcc... (cached) gcc
checking whether we are using the GNU C compiler... (cached) yes
checking whether gcc accepts -g... (cached) yes
checking for gcc option to accept ISO C89... (cached) none needed
checking whether gcc understands -c and -o together... (cached) yes
checking dependency style of gcc... (cached) gcc3
checking for a sed that does not truncate output... (cached) /usr/bin/sed
checking for bison... bison -y
checking for flex... flex
checking lex output file root... lex.yy
checking lex library... -lfl
checking whether yytext is a pointer... yes
checking for -ar... ar
checking whether yylex_destroy is generated by flex... version 2.6.4 => yes
checking for WSAStartup in -lws2_32... no
checking for tputs in -ltermcap... yes
checking for tputs in -lncurses... yes
checking for readline in -lreadline... yes
checking for elf_getshdrstrndx in -lelf... yes
checking libelf.h usability... yes
checking libelf.h presence... yes
checking for libelf.h... yes
checking libelf/libelf.h usability... no
checking libelf/libelf.h presence... no
checking for libelf/libelf.h... no
checking for library containing gethostent... none required
checking for library containing setsockopt... none required
checking for usb_get_string_simple in -lusb... yes
checking usb.h usability... yes
checking usb.h presence... yes
checking for usb.h... yes
checking lusb0_usb.h usability... no
checking lusb0_usb.h presence... no
checking for lusb0_usb.h... no
checking for libusb_init in -lusb-1.0... yes
checking libusb-1.0/libusb.h usability... yes
checking libusb-1.0/libusb.h presence... yes
checking for libusb-1.0/libusb.h... yes
checking libusb.h usability... no
checking libusb.h presence... no
checking for libusb.h... no
checking for libusb_init in -lusb... no
checking for libusb.h... (cached) no
checking for library containing hid_init... -lhidapi-libusb
checking hidapi/hidapi.h usability... yes
checking hidapi/hidapi.h presence... yes
checking for hidapi/hidapi.h... yes
checking for ftdi_new in -lftdi1... yes
checking for ftdi_usb_get_strings in -lftdi... yes
checking for ftdi_tcioflush... yes
checking pthread.h usability... yes
checking pthread.h presence... yes
checking for pthread.h... yes
checking for pthread_create in -lpthread... 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 netinet/in.h usability... yes
checking netinet/in.h presence... yes
checking for netinet/in.h... 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 usleep... yes
checking for getaddrinfo... yes
checking for a Win32 HID library... no
checking for uint_t... no
checking for ulong_t... no
checking for parallel device... /dev/parport0
checking for serial device... /dev/ttyS0
checking if gcc accepts -Wno-pointer-sign ... yes
checking that generated files are newer than configure... done
configure: creating ./config.status
config.status: creating doc/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
config.status: executing libtool commands


Configuration summary:
----------------------
DO HAVE    libelf
DO HAVE    libusb
DO HAVE    libusb_1_0
DO HAVE    libftdi1
DO HAVE    libftdi (but prefer to use libftdi1)
DON'T HAVE libhid
DO HAVE    libhidapi
DO HAVE    libreadline
DO HAVE    pthread
DISABLED   doc
ENABLED    parport
ENABLED    linuxgpio
ENABLED    linuxspi
mcuee@UbuntuSwift3:~/build/avr/avrdude-7.1-20230108$ make
  YACC     config_gram.c
updating config_gram.h
  LEX      lexer.c
make  all-recursive
make[1]: Entering directory '/home/mcuee/build/avr/avrdude-7.1-20230108'
Making all in .
make[2]: Entering directory '/home/mcuee/build/avr/avrdude-7.1-20230108'
  CC       avrdude-main.o
  CC       avrdude-whereami.o
  CC       avrdude-avrintel.o
  CC       avrdude-developer_opts.o
  CC       avrdude-term.o
  CC       libavrdude_a-config_gram.o
  CC       libavrdude_a-lexer.o
  CC       libavrdude_a-arduino.o
  CC       libavrdude_a-avr.o
  CC       libavrdude_a-avr910.o
  CC       libavrdude_a-avrcache.o
  CC       libavrdude_a-avrftdi.o
  CC       libavrdude_a-avrftdi_tpi.o
  CC       libavrdude_a-avrpart.o
  CC       libavrdude_a-bitbang.o
  CC       libavrdude_a-buspirate.o
  CC       libavrdude_a-butterfly.o
  CC       libavrdude_a-config.o
  CC       libavrdude_a-confwin.o
  CC       libavrdude_a-crc16.o
  CC       libavrdude_a-dfu.o
  CC       libavrdude_a-fileio.o
  CC       libavrdude_a-flip1.o
  CC       libavrdude_a-flip2.o
  CC       libavrdude_a-ft245r.o
  CC       libavrdude_a-jtagmkI.o
  CC       libavrdude_a-jtagmkII.o
  CC       libavrdude_a-jtag3.o
  CC       libavrdude_a-linuxgpio.o
  CC       libavrdude_a-linuxspi.o
  CC       libavrdude_a-lists.o
  CC       libavrdude_a-micronucleus.o
  CC       libavrdude_a-par.o
  CC       libavrdude_a-pgm.o
  CC       libavrdude_a-pgm_type.o
  CC       libavrdude_a-pickit2.o
  CC       libavrdude_a-pindefs.o
  CC       libavrdude_a-ppi.o
  CC       libavrdude_a-ppiwin.o
  CC       libavrdude_a-serbb_posix.o
  CC       libavrdude_a-serbb_win32.o
  CC       libavrdude_a-ser_avrdoper.o
  CC       libavrdude_a-ser_posix.o
  CC       libavrdude_a-ser_win32.o
  CC       libavrdude_a-stk500.o
  CC       libavrdude_a-stk500v2.o
  CC       libavrdude_a-stk500generic.o
  CC       libavrdude_a-teensy.o
  CC       libavrdude_a-usbasp.o
  CC       libavrdude_a-serialupdi.o
  CC       libavrdude_a-updi_link.o
  CC       libavrdude_a-updi_state.o
  CC       libavrdude_a-updi_readwrite.o
  CC       libavrdude_a-updi_nvm.o
  CC       libavrdude_a-urclock.o
  CC       libavrdude_a-usb_hidapi.o
  CC       libavrdude_a-usb_libusb.o
  CC       libavrdude_a-usbtiny.o
  CC       libavrdude_a-update.o
  CC       libavrdude_a-wiring.o
  CC       libavrdude_a-xbee.o
  AR       libavrdude.a
ar: `u' modifier ignored since `D' is the default (see `U')
  CCLD     avrdude
  CC       libavrdude_la-config_gram.lo
  CC       libavrdude_la-lexer.lo
  CC       libavrdude_la-arduino.lo
  CC       libavrdude_la-avr.lo
  CC       libavrdude_la-avr910.lo
  CC       libavrdude_la-avrcache.lo
  CC       libavrdude_la-avrftdi.lo
  CC       libavrdude_la-avrftdi_tpi.lo
  CC       libavrdude_la-avrpart.lo
  CC       libavrdude_la-bitbang.lo
  CC       libavrdude_la-buspirate.lo
  CC       libavrdude_la-butterfly.lo
  CC       libavrdude_la-config.lo
  CC       libavrdude_la-confwin.lo
  CC       libavrdude_la-crc16.lo
  CC       libavrdude_la-dfu.lo
  CC       libavrdude_la-fileio.lo
  CC       libavrdude_la-flip1.lo
  CC       libavrdude_la-flip2.lo
  CC       libavrdude_la-ft245r.lo
  CC       libavrdude_la-jtagmkI.lo
  CC       libavrdude_la-jtagmkII.lo
  CC       libavrdude_la-jtag3.lo
  CC       libavrdude_la-linuxgpio.lo
  CC       libavrdude_la-linuxspi.lo
  CC       libavrdude_la-lists.lo
  CC       libavrdude_la-micronucleus.lo
  CC       libavrdude_la-par.lo
  CC       libavrdude_la-pgm.lo
  CC       libavrdude_la-pgm_type.lo
  CC       libavrdude_la-pickit2.lo
  CC       libavrdude_la-pindefs.lo
  CC       libavrdude_la-ppi.lo
  CC       libavrdude_la-ppiwin.lo
  CC       libavrdude_la-serbb_posix.lo
  CC       libavrdude_la-serbb_win32.lo
  CC       libavrdude_la-ser_avrdoper.lo
  CC       libavrdude_la-ser_posix.lo
  CC       libavrdude_la-ser_win32.lo
  CC       libavrdude_la-stk500.lo
  CC       libavrdude_la-stk500v2.lo
  CC       libavrdude_la-stk500generic.lo
  CC       libavrdude_la-teensy.lo
  CC       libavrdude_la-usbasp.lo
  CC       libavrdude_la-serialupdi.lo
  CC       libavrdude_la-updi_link.lo
  CC       libavrdude_la-updi_state.lo
  CC       libavrdude_la-updi_readwrite.lo
  CC       libavrdude_la-updi_nvm.lo
  CC       libavrdude_la-urclock.lo
  CC       libavrdude_la-usb_hidapi.lo
  CC       libavrdude_la-usb_libusb.lo
  CC       libavrdude_la-usbtiny.lo
  CC       libavrdude_la-update.lo
  CC       libavrdude_la-wiring.lo
  CC       libavrdude_la-xbee.lo
  CCLD     libavrdude.la

mcuee@UbuntuSwift3:~/build/avr/avrdude-7.1-20230108$ sudo make install
[sudo] password for mcuee: 
make  install-recursive
make[1]: Entering directory '/home/mcuee/build/avr/avrdude-7.1-20230108'
Making install in .
make[2]: Entering directory '/home/mcuee/build/avr/avrdude-7.1-20230108'
make[3]: Entering directory '/home/mcuee/build/avr/avrdude-7.1-20230108'
 /usr/bin/mkdir -p '/usr/local/lib'
 /bin/bash ./libtool   --mode=install /usr/bin/install -c   libavrdude.la '/usr/local/lib'
libtool: install: /usr/bin/install -c .libs/libavrdude.so.1.0.0 /usr/local/lib/libavrdude.so.1.0.0
libtool: install: (cd /usr/local/lib && { ln -s -f libavrdude.so.1.0.0 libavrdude.so.1 || { rm -f libavrdude.so.1 && ln -s libavrdude.so.1.0.0 libavrdude.so.1; }; })
libtool: install: (cd /usr/local/lib && { ln -s -f libavrdude.so.1.0.0 libavrdude.so || { rm -f libavrdude.so && ln -s libavrdude.so.1.0.0 libavrdude.so; }; })
libtool: install: /usr/bin/install -c .libs/libavrdude.lai /usr/local/lib/libavrdude.la
libtool: install: /usr/bin/install -c .libs/libavrdude.a /usr/local/lib/libavrdude.a
libtool: install: chmod 644 /usr/local/lib/libavrdude.a
libtool: install: ranlib /usr/local/lib/libavrdude.a
libtool: finish: PATH="/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/snap/bin:/sbin" ldconfig -n /usr/local/lib
----------------------------------------------------------------------
Libraries have been installed in:
   /usr/local/lib

If you ever happen to want to link against installed libraries
in a given directory, LIBDIR, you must either use libtool, and
specify the full pathname of the library, or use the '-LLIBDIR'
flag during linking and do at least one of the following:
   - add LIBDIR to the 'LD_LIBRARY_PATH' environment variable
     during execution
   - add LIBDIR to the 'LD_RUN_PATH' environment variable
     during linking
   - use the '-Wl,-rpath -Wl,LIBDIR' linker flag
   - have your system administrator add LIBDIR to '/etc/ld.so.conf'

See any operating system documentation about shared libraries for
more information, such as the ld(1) and ld.so(8) manual pages.
----------------------------------------------------------------------
 /usr/bin/mkdir -p '/usr/local/bin'
  /bin/bash ./libtool   --mode=install /usr/bin/install -c avrdude '/usr/local/bin'
libtool: install: /usr/bin/install -c avrdude /usr/local/bin/avrdude
Backing up avrdude.conf in /usr/local/etc
 /usr/bin/mkdir -p '/usr/local/etc'
 /usr/bin/install -c -m 644 avrdude.conf '/usr/local/etc'
 /usr/bin/mkdir -p '/usr/local/include'
 /usr/bin/install -c -m 644 libavrdude.h '/usr/local/include'
 /usr/bin/mkdir -p '/usr/local/share/man/man1'
 /usr/bin/install -c -m 644 avrdude.1 '/usr/local/share/man/man1'
make[3]: Leaving directory '/home/mcuee/build/avr/avrdude-7.1-20230108'
make[2]: Leaving directory '/home/mcuee/build/avr/avrdude-7.1-20230108'
make[1]: Leaving directory '/home/mcuee/build/avr/avrdude-7.1-20230108'
mcuee@UbuntuSwift3:~/build/avr/avrdude-7.1-20230108$ ldd /usr/local/lib/libavrdude.so
	linux-vdso.so.1 (0x00007ffeb91ed000)
	libhidapi-libusb.so.0 => /usr/local/lib/libhidapi-libusb.so.0 (0x00007fa89702d000)
	libftdi1.so.2 => /usr/local/lib/libftdi1.so.2 (0x00007fa89701c000)
	libpthread.so.0 => /lib/x86_64-linux-gnu/libpthread.so.0 (0x00007fa896ff9000)
	libc.so.6 => /lib/x86_64-linux-gnu/libc.so.6 (0x00007fa896e07000)
	libusb-1.0.so.0 => /usr/local/lib/libusb-1.0.so.0 (0x00007fa896de7000)
	/lib64/ld-linux-x86-64.so.2 (0x00007fa89711d000)
	libudev.so.1 => /lib/x86_64-linux-gnu/libudev.so.1 (0x00007fa896dba000)


@mcuee mcuee added bug Something isn't working and removed wontfix This will not be worked on labels Jan 13, 2023
@mcuee
Copy link
Collaborator Author

mcuee commented Jan 14, 2023

It is also good under macOS.

mcuee@mcuees-Mac-mini avrdude-7.1-20230108 % CFLAGS="-I/opt/homebrew/include" LDFLAGS="-L/opt/homebrew/lib" ./configure  --prefix=/Users/mcuee/bin64
checking build system type... arm-apple-darwin22.2.0
checking host system type... arm-apple-darwin22.2.0
checking target system type... arm-apple-darwin22.2.0
checking for a BSD-compatible install... /opt/homebrew/bin/ginstall -c
checking whether build environment is sane... yes
checking for a thread-safe mkdir -p... /opt/homebrew/bin/gmkdir -p
checking for gawk... gawk
checking whether make sets $(MAKE)... yes
checking whether make supports nested variables... yes
checking how to print strings... printf
checking whether make supports the include directive... yes (GNU style)
checking for gcc... gcc
checking whether the C compiler works... yes
checking for C compiler default output file name... a.out
checking for suffix of executables... 
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 whether gcc understands -c and -o together... yes
checking dependency style of gcc... gcc3
checking for a sed that does not truncate output... /opt/homebrew/bin/gsed
checking for grep that handles long lines and -e... /usr/bin/grep
checking for egrep... /usr/bin/grep -E
checking for fgrep... /usr/bin/grep -F
checking for ld used by gcc... /Library/Developer/CommandLineTools/usr/bin/ld
checking if the linker (/Library/Developer/CommandLineTools/usr/bin/ld) is GNU ld... no
checking for BSD- or MS-compatible name lister (nm)... /usr/bin/nm -B
checking the name lister (/usr/bin/nm -B) interface... BSD nm
checking whether ln -s works... yes
checking the maximum length of command line arguments... 786432
checking how to convert arm-apple-darwin22.2.0 file names to arm-apple-darwin22.2.0 format... func_convert_file_noop
checking how to convert arm-apple-darwin22.2.0 file names to toolchain format... func_convert_file_noop
checking for /Library/Developer/CommandLineTools/usr/bin/ld option to reload object files... -r
checking for objdump... objdump
checking how to recognize dependent libraries... pass_all
checking for dlltool... no
checking how to associate runtime and link libraries... printf %s\n
checking for ar... ar
checking for archiver @FILE support... no
checking for strip... strip
checking for ranlib... ranlib
checking command to parse /usr/bin/nm -B output from gcc object... ok
checking for sysroot... no
checking for a working dd... /bin/dd
checking how to truncate binary pipes... /bin/dd bs=4096 count=1
checking for mt... no
checking if : is a manifest tool... no
checking for dsymutil... dsymutil
checking for nmedit... nmedit
checking for lipo... lipo
checking for otool... otool
checking for otool64... no
checking for -single_module linker flag... yes
checking for -exported_symbols_list linker flag... yes
checking for -force_load linker flag... yes
checking how to run the C preprocessor... gcc -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 for dlfcn.h... yes
checking for objdir... .libs
checking if gcc supports -fno-rtti -fno-exceptions... yes
checking for gcc option to produce PIC... -fno-common -DPIC
checking if gcc PIC flag -fno-common -DPIC works... yes
checking if gcc static flag -static works... no
checking if gcc supports -c -o file.o... yes
checking if gcc supports -c -o file.o... (cached) yes
checking whether the gcc linker (/Library/Developer/CommandLineTools/usr/bin/ld) supports shared libraries... yes
checking dynamic linker characteristics... darwin22.2.0 dyld
checking how to hardcode library paths into programs... immediate
checking whether stripping libraries is possible... yes
checking if libtool supports shared libraries... yes
checking whether to build shared libraries... yes
checking whether to build static libraries... yes
checking whether make supports nested variables... (cached) yes
checking for gcc... (cached) gcc
checking whether we are using the GNU C compiler... (cached) yes
checking whether gcc accepts -g... (cached) yes
checking for gcc option to accept ISO C89... (cached) none needed
checking whether gcc understands -c and -o together... (cached) yes
checking dependency style of gcc... (cached) gcc3
checking for a sed that does not truncate output... (cached) /opt/homebrew/bin/gsed
checking for bison... bison -y
checking for flex... flex
checking lex output file root... lex.yy
checking lex library... -ll
checking whether yytext is a pointer... yes
checking for -ar... ar
checking whether yylex_destroy is generated by flex... version Apple(flex-34) => yes
checking for WSAStartup in -lws2_32... no
checking for tputs in -ltermcap... yes
checking for tputs in -lncurses... yes
checking for readline in -lreadline... yes
checking for elf_getshdrstrndx in -lelf... yes
checking libelf.h usability... no
checking libelf.h presence... no
checking for libelf.h... no
checking libelf/libelf.h usability... yes
checking libelf/libelf.h presence... yes
checking for libelf/libelf.h... yes
checking for library containing gethostent... none required
checking for library containing setsockopt... none required
checking for usb_get_string_simple in -lusb... yes
checking usb.h usability... yes
checking usb.h presence... yes
checking for usb.h... yes
checking lusb0_usb.h usability... no
checking lusb0_usb.h presence... no
checking for lusb0_usb.h... no
checking for libusb_init in -lusb-1.0... yes
checking libusb-1.0/libusb.h usability... yes
checking libusb-1.0/libusb.h presence... yes
checking for libusb-1.0/libusb.h... yes
checking libusb.h usability... no
checking libusb.h presence... no
checking for libusb.h... no
checking for libusb_init in -lusb... no
checking for libusb.h... (cached) no
checking for library containing hid_init... -lhidapi
checking hidapi/hidapi.h usability... yes
checking hidapi/hidapi.h presence... yes
checking for hidapi/hidapi.h... yes
checking for ftdi_new in -lftdi1... yes
checking for ftdi_usb_get_strings in -lftdi... yes
checking for ftdi_tcioflush... yes
checking pthread.h usability... yes
checking pthread.h presence... yes
checking for pthread.h... yes
checking for pthread_create in -lpthread... 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 netinet/in.h usability... yes
checking netinet/in.h presence... yes
checking for netinet/in.h... 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 usleep... yes
checking for getaddrinfo... yes
checking for a Win32 HID library... no
checking for uint_t... no
checking for ulong_t... no
checking for serial device... unknown
checking if gcc accepts -Wno-pointer-sign ... no
checking that generated files are newer than configure... done
configure: creating ./config.status
config.status: creating doc/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
config.status: executing libtool commands


Configuration summary:
----------------------
DO HAVE    libelf
DO HAVE    libusb
DO HAVE    libusb_1_0
DO HAVE    libftdi1
DO HAVE    libftdi (but prefer to use libftdi1)
DON'T HAVE libhid
DO HAVE    libhidapi
DO HAVE    libreadline
DO HAVE    pthread
DISABLED   doc
DISABLED   parport
DISABLED   linuxgpio
DISABLED   linuxspi
mcuee@mcuees-Mac-mini avrdude-7.1-20230108 % make
  YACC     config_gram.c
updating config_gram.h
  LEX      lexer.c
/Library/Developer/CommandLineTools/usr/bin/make  all-recursive
Making all in .
  CC       avrdude-main.o
  CC       avrdude-whereami.o
  CC       avrdude-avrintel.o
  CC       avrdude-developer_opts.o
  CC       avrdude-term.o
  CC       libavrdude_a-config_gram.o
  CC       libavrdude_a-lexer.o
  CC       libavrdude_a-arduino.o
  CC       libavrdude_a-avr.o
  CC       libavrdude_a-avr910.o
  CC       libavrdude_a-avrcache.o
  CC       libavrdude_a-avrftdi.o
  CC       libavrdude_a-avrftdi_tpi.o
  CC       libavrdude_a-avrpart.o
  CC       libavrdude_a-bitbang.o
  CC       libavrdude_a-buspirate.o
  CC       libavrdude_a-butterfly.o
  CC       libavrdude_a-config.o
  CC       libavrdude_a-confwin.o
  CC       libavrdude_a-crc16.o
  CC       libavrdude_a-dfu.o
  CC       libavrdude_a-fileio.o
  CC       libavrdude_a-flip1.o
  CC       libavrdude_a-flip2.o
  CC       libavrdude_a-ft245r.o
  CC       libavrdude_a-jtagmkI.o
  CC       libavrdude_a-jtagmkII.o
  CC       libavrdude_a-jtag3.o
  CC       libavrdude_a-linuxgpio.o
  CC       libavrdude_a-linuxspi.o
  CC       libavrdude_a-lists.o
  CC       libavrdude_a-micronucleus.o
  CC       libavrdude_a-par.o
  CC       libavrdude_a-pgm.o
  CC       libavrdude_a-pgm_type.o
  CC       libavrdude_a-pickit2.o
  CC       libavrdude_a-pindefs.o
  CC       libavrdude_a-ppi.o
  CC       libavrdude_a-ppiwin.o
  CC       libavrdude_a-serbb_posix.o
  CC       libavrdude_a-serbb_win32.o
  CC       libavrdude_a-ser_avrdoper.o
  CC       libavrdude_a-ser_posix.o
  CC       libavrdude_a-ser_win32.o
  CC       libavrdude_a-stk500.o
  CC       libavrdude_a-stk500v2.o
  CC       libavrdude_a-stk500generic.o
  CC       libavrdude_a-teensy.o
  CC       libavrdude_a-usbasp.o
  CC       libavrdude_a-serialupdi.o
  CC       libavrdude_a-updi_link.o
  CC       libavrdude_a-updi_state.o
  CC       libavrdude_a-updi_readwrite.o
  CC       libavrdude_a-updi_nvm.o
  CC       libavrdude_a-urclock.o
  CC       libavrdude_a-usb_hidapi.o
  CC       libavrdude_a-usb_libusb.o
  CC       libavrdude_a-usbtiny.o
  CC       libavrdude_a-update.o
  CC       libavrdude_a-wiring.o
  CC       libavrdude_a-xbee.o
  AR       libavrdude.a
  CCLD     avrdude
ld: warning: directory not found for option '-FCoreFoundation'
  CC       libavrdude_la-config_gram.lo
  CC       libavrdude_la-lexer.lo
  CC       libavrdude_la-arduino.lo
  CC       libavrdude_la-avr.lo
  CC       libavrdude_la-avr910.lo
  CC       libavrdude_la-avrcache.lo
  CC       libavrdude_la-avrftdi.lo
  CC       libavrdude_la-avrftdi_tpi.lo
  CC       libavrdude_la-avrpart.lo
  CC       libavrdude_la-bitbang.lo
  CC       libavrdude_la-buspirate.lo
  CC       libavrdude_la-butterfly.lo
  CC       libavrdude_la-config.lo
  CC       libavrdude_la-confwin.lo
  CC       libavrdude_la-crc16.lo
  CC       libavrdude_la-dfu.lo
  CC       libavrdude_la-fileio.lo
  CC       libavrdude_la-flip1.lo
  CC       libavrdude_la-flip2.lo
  CC       libavrdude_la-ft245r.lo
  CC       libavrdude_la-jtagmkI.lo
  CC       libavrdude_la-jtagmkII.lo
  CC       libavrdude_la-jtag3.lo
  CC       libavrdude_la-linuxgpio.lo
  CC       libavrdude_la-linuxspi.lo
  CC       libavrdude_la-lists.lo
  CC       libavrdude_la-micronucleus.lo
  CC       libavrdude_la-par.lo
  CC       libavrdude_la-pgm.lo
  CC       libavrdude_la-pgm_type.lo
  CC       libavrdude_la-pickit2.lo
  CC       libavrdude_la-pindefs.lo
  CC       libavrdude_la-ppi.lo
  CC       libavrdude_la-ppiwin.lo
  CC       libavrdude_la-serbb_posix.lo
  CC       libavrdude_la-serbb_win32.lo
  CC       libavrdude_la-ser_avrdoper.lo
  CC       libavrdude_la-ser_posix.lo
  CC       libavrdude_la-ser_win32.lo
  CC       libavrdude_la-stk500.lo
  CC       libavrdude_la-stk500v2.lo
  CC       libavrdude_la-stk500generic.lo
  CC       libavrdude_la-teensy.lo
  CC       libavrdude_la-usbasp.lo
  CC       libavrdude_la-serialupdi.lo
  CC       libavrdude_la-updi_link.lo
  CC       libavrdude_la-updi_state.lo
  CC       libavrdude_la-updi_readwrite.lo
  CC       libavrdude_la-updi_nvm.lo
  CC       libavrdude_la-urclock.lo
  CC       libavrdude_la-usb_hidapi.lo
  CC       libavrdude_la-usb_libusb.lo
  CC       libavrdude_la-usbtiny.lo
  CC       libavrdude_la-update.lo
  CC       libavrdude_la-wiring.lo
  CC       libavrdude_la-xbee.lo
  CCLD     libavrdude.la
mcuee@mcuees-Mac-mini avrdude-7.1-20230108 % make install
/Library/Developer/CommandLineTools/usr/bin/make  install-recursive
Making install in .
 /opt/homebrew/bin/gmkdir -p '/Users/mcuee/bin64/lib'
 /bin/sh ./libtool   --mode=install /opt/homebrew/bin/ginstall -c   libavrdude.la '/Users/mcuee/bin64/lib'
libtool: install: /opt/homebrew/bin/ginstall -c .libs/libavrdude.1.dylib /Users/mcuee/bin64/lib/libavrdude.1.dylib
libtool: install: (cd /Users/mcuee/bin64/lib && { ln -s -f libavrdude.1.dylib libavrdude.dylib || { rm -f libavrdude.dylib && ln -s libavrdude.1.dylib libavrdude.dylib; }; })
libtool: install: /opt/homebrew/bin/ginstall -c .libs/libavrdude.lai /Users/mcuee/bin64/lib/libavrdude.la
libtool: install: /opt/homebrew/bin/ginstall -c .libs/libavrdude.a /Users/mcuee/bin64/lib/libavrdude.a
libtool: install: chmod 644 /Users/mcuee/bin64/lib/libavrdude.a
libtool: install: ranlib /Users/mcuee/bin64/lib/libavrdude.a
 /opt/homebrew/bin/gmkdir -p '/Users/mcuee/bin64/bin'
  /bin/sh ./libtool   --mode=install /opt/homebrew/bin/ginstall -c avrdude '/Users/mcuee/bin64/bin'
libtool: install: /opt/homebrew/bin/ginstall -c avrdude /Users/mcuee/bin64/bin/avrdude
Backing up avrdude.conf in /Users/mcuee/bin64/etc
 /opt/homebrew/bin/gmkdir -p '/Users/mcuee/bin64/etc'
 /opt/homebrew/bin/ginstall -c -m 644 avrdude.conf '/Users/mcuee/bin64/etc'
 /opt/homebrew/bin/gmkdir -p '/Users/mcuee/bin64/include'
 /opt/homebrew/bin/ginstall -c -m 644 libavrdude.h '/Users/mcuee/bin64/include'
 /opt/homebrew/bin/gmkdir -p '/Users/mcuee/bin64/share/man/man1'
 /opt/homebrew/bin/ginstall -c -m 644 avrdude.1 '/Users/mcuee/bin64/share/man/man1'

mcuee@mcuees-Mac-mini avrdude-7.1-20230108 % otool -L ~/bin64/bin/avrdude 
/Users/mcuee/bin64/bin/avrdude:
	/opt/homebrew/opt/libusb/lib/libusb-1.0.0.dylib (compatibility version 4.0.0, current version 4.0.0)
	/System/Library/Frameworks/IOKit.framework/Versions/A/IOKit (compatibility version 1.0.0, current version 275.0.0)
	/opt/homebrew/opt/libusb-compat/lib/libusb-0.1.4.dylib (compatibility version 9.0.0, current version 9.4.0)
	/System/Library/Frameworks/CoreFoundation.framework/Versions/A/CoreFoundation (compatibility version 150.0.0, current version 1953.255.0)
	/usr/lib/libSystem.B.dylib (compatibility version 1.0.0, current version 1319.0.0)
	/opt/homebrew/opt/hidapi/lib/libhidapi.0.dylib (compatibility version 0.0.0, current version 0.12.0)
	/usr/lib/libncurses.5.4.dylib (compatibility version 5.4.0, current version 5.4.0)
	/opt/homebrew/opt/libftdi/lib/libftdi1.2.dylib (compatibility version 2.0.0, current version 2.5.0)
mcuee@mcuees-Mac-mini avrdude-7.1-20230108 % otool -L ~/bin64/lib/libavrdude.dylib 
/Users/mcuee/bin64/lib/libavrdude.dylib:
	/Users/mcuee/bin64/lib/libavrdude.1.dylib (compatibility version 2.0.0, current version 2.0.0)
	/opt/homebrew/opt/hidapi/lib/libhidapi.0.dylib (compatibility version 0.0.0, current version 0.12.0)
	/usr/lib/libncurses.5.4.dylib (compatibility version 5.4.0, current version 5.4.0)
	/opt/homebrew/opt/libftdi/lib/libftdi1.2.dylib (compatibility version 2.0.0, current version 2.5.0)
	/usr/lib/libSystem.B.dylib (compatibility version 1.0.0, current version 1319.0.0)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
2 participants