../../../../../binutils-gdb/gdb/ser-mingw.c: In function 'int pipe_windows_open(serial*, const char*)': ../../../../../binutils-gdb/gdb/ser-mingw.c:870:3: error: 'gdb_argv' was not declared in this scope 870 | gdb_argv argv (name); | ^~~~~~~~ ../../../../../binutils-gdb/gdb/ser-mingw.c:872:9: error: 'argv' was not declared in this scope 872 | if (! argv[0] || argv[0][0] == '\0') | ^~~~ ../../../../../binutils-gdb/gdb/ser-mingw.c:889:18: error: 'argv' was not declared in this scope 889 | argv[0], argv.get (), NULL, NULL, | ^~~~ make[2]: *** [Makefile:1650: ser-mingw.o] Error 1 make[2]: *** Waiting for unfinished jobs....
missing #include "gdbsupport/buildargv.h" https://github.com/bminor/binutils-gdb/commit/2ddd4c6082edcc92d57115152f8311f67b7bdd95 I guess this is an issue for all hosts.
Fixed: https://sourceware.org/git/?p=binutils-gdb.git;a=commit;h=ed09c325ec7f9d7784025185b181d3a9d884ecb8