On Wed, Aug 10, 2011 at 3:39 PM, Xiaofan Chen <xiaof...@gmail.com> wrote:
> On Wed, Aug 10, 2011 at 3:34 PM, Olivier Schonken
> <olivier.schon...@gmail.com> wrote:
>> Hi Xiaofan
>>
>> In my case I struggled with the same problem for  a day or two.  That is why
>> I need to know if it is the checkout of the version, or the updating of the
>> mingw32 compiler that fixed the problem.
>>
>> After doing the ./bootstrap command, the head revision of JimTCL is cloned
>> from its repository - afaik.  Thus, to get version 0.63 checked out do the
>> following
>> cd jimtcl
>> git tag -l (Gives you a list of the tags for the jimtcl repository)
>> git checkout 0.63
>>
>> The version of Jimtcl in the directory should now be 0.63.  To view the tags
>> of the openocd source, and checkout for instance 0.5.0-rc2 the same
>> procedure is used.
>>
>> Hopefully this helps, cause I've been trying to replicate the problem
>> without success for a while now.
>>
>
> This is clear now. I will make sure that my MinGW/Cygwin setup
> are up to date and see if that helps. If not, I will follow your suggestion
> and downgrade jimtcl to see if that help. Thanks for the helps!
>

For my Vista 32bit MinGW setup where the 0.5.0 release does not
work, downgrading jimtcl to 0.63 does help -- now it works. There
are lots of warnings about jimautoconf.h but in the end it works.

../../../jimtcl/jimautoconf.h:113:0: warning: "PACKAGE_BUGREPORT" redefined
../../../config.h:231:0: note: this is the location of the previous definition
../../../jimtcl/jimautoconf.h:116:0: warning: "PACKAGE_NAME" redefined
../../../config.h:234:0: note: this is the location of the previous definition
../../../jimtcl/jimautoconf.h:119:0: warning: "PACKAGE_STRING" redefined
../../../config.h:237:0: note: this is the location of the previous definition
../../../jimtcl/jimautoconf.h:122:0: warning: "PACKAGE_TARNAME" redefined
../../../config.h:240:0: note: this is the location of the previous definition
../../../jimtcl/jimautoconf.h:128:0: warning: "PACKAGE_VERSION" redefined
../../../config.h:246:0: note: this is the location of the previous definition

For those who do not use git, you can download the jimtcl 0.63 zip
file from github mirror. Replace the jimtcl with this version
and then you should be able to build with MinGW.
https://github.com/msteveb/jimtcl/zipball/0.63

But I think this is just a temp workaround.

-- 
Xiaofan
_______________________________________________
Openocd-development mailing list
Openocd-development@lists.berlios.de
https://lists.berlios.de/mailman/listinfo/openocd-development

Reply via email to