4 Replies Latest reply on Jun 15, 2015 2:22 PM by hmoore

    Compile OpenOCD under Windows_7 failed



      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.