Hi Attila, What guide did you use to compile the OpenOCD source code? Personally I use this one:
https://www.playembedded.org/blog/building-openocd-under-windows-using-msys2/ I've also spoken to the writer Rocco Marco Guglielmi. He encouraged me to use mingw32.exe instead of mingw64.exe to build the source code (in other words: he encouraged me to compile a 32-bit version instead of a 64-bit version). The 32-bit version is compatible with both 64-bit and 32-bit computers, and seems to be more stable (but I don't know why). Some time ago, I was worried that the build-OpenOCD-tutorial from the link above is not giving me the latest OpenOCD builds. That's because it pulls a git repository from a guy named "Alex Pux", and I did not see it pulling the official OpenOCD git repository. However, Mr. Rocco Marco Guglielmi ensured me that there's nothing to worry about. This git repository that's pulled from "Alex Pux" is just containing the build recipes. Within those build recipes is the command to pull the official OpenOCD git repository. So you do get the latest OpenOCD build. Also, Mr. "Alex Pux" is one of the lead developers of MSYS2, so you can trust his resources. Best of luck. Kind greetings, Kristof Mulier Van: "Attila Csosz" <csos...@gmail.com> Aan: "openocd-devel" <openocd-devel@lists.sourceforge.net> Verzonden: Zondag 28 juli 2019 08:26:57 Onderwerp: [OpenOCD-devel] can't run openocd after compiling from the git repository Hi, I've compiled openocd on mingw-w64 platform from the git repository by using the following commands #! /bin/sh ./bootstrap ./configure --enable-stlink --enable-ftdi --disable-doxygen-html --disable-werror make make install After starting it says: "d:\msys64\usr\bin\openocd.exe" -f "d:\msys64\usr\share\openocd\scripts\board\stm32f4discovery.cfg" Open On-Chip Debugger 0.10.0+dev-00922-gefa20839-dirty (2019-07-28-06:45) Licensed under GNU GPL v2 For bug reports, read [ http://openocd.org/doc/doxygen/bugs.html | http://openocd.org/doc/doxygen/bugs.html ] Info : The selected transport took over low-level target control. The results might differ compared to plain JTAG/SWD srst_only separate srst_nogate srst_open_drain connect_deassert_srst Error: error creating socket: No such file or directory Board: stm32f4discovery I've successfully used the OpenOCD-20190426-0.10.0 binary previously however I'd like to compile it from source. What may the problem? Thanks for your help Attila _______________________________________________ OpenOCD-devel mailing list OpenOCD-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/openocd-devel
_______________________________________________ OpenOCD-devel mailing list OpenOCD-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/openocd-devel