Compile OpenOCD under Windows_7 failed

Tip / Sign in to post questions, reply, level up, and achieve exciting badges. Know more

cross mob
Anonymous
Not applicable

Greating,

Current WICED-SDK 2.4.1 have provided OpenOCD download/compile script.

I have prepared the MinGW environment in Windown 7 system.

My MinGW environment is  : "MINGW32_NT-6.1"

mingw-gcc version is : gcc version 4.8.1 (GCC)

When I execute OpenOCD/build_all.sh compule OpenOcd, jimtcl/jim.c have one error :

libjim.a(jim.o): In function `JimStringIs':c:\sdk\OpenOCD\openocd-build\jimtcl/../../openocd/jimtcl/jim.c:3027: undefined reference to `isascii'

collect2.exe: error: ld returned 1 exit status

make[2]: *** [jimsh.exe] Error 1

make[2]: Leaving directory `/c/sdk/OpenOCD/openocd-build/jimtcl'

make[1]: *** [all-recursive] Error 1

make[1]: Leaving directory `/c/sdk/OpenOCD/openocd-build'

make: *** [all] Error 2

That looks strange, as I know this funciton was define in "ctype.h" and jim.c have included it.

I write a simple program, compile it under MinGW environmen and verify isascii() funciton. It work correctly.

Have any body can help me resolve this issue?

Thank you.

0 Likes
4 Replies
Anonymous
Not applicable

Why do you wish to build the OpenOCD?

The SDK comes with the OpenOCD executables for Windows, Linux, and OSX.

0 Likes
Anonymous
Not applicable

Dear Nikvh,

Thanks for your reply. Because we have serval ST-Link/V2 JTAG card.

We hope we can use it on our product line for firmware download or other RD team debug.

I have enabled ST-Link with current OpenOCD branch support J-Link/FT2232/Olimex under Linux environment.

But for Windows system, we meet this situation.

Could you please give us some suggestion.

Thank you.

0 Likes

Hello ,

Have you been able to resolve this?

0 Likes
Anonymous
Not applicable

Discussion is being locked. If you have any follow-up, please start a new discussion.

0 Likes