On 16/08/2011, at 8:32 PM, Spencer Oliver wrote: > On 16 August 2011 11:13, Spencer Oliver <s...@spen-soft.co.uk> wrote: >> On 16 August 2011 11:03, Steve Bennett <ste...@workware.net.au> wrote: >>> On 12/08/2011, at 11:12 PM, Xiaofan Chen wrote: >>> >>>> 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! >>>>> >>>> >>> >>> Good news. Spencer and I sorted out the jimtcl build problem on mingw. >>> The fix is in the jimtcl git repo. >>> See: >>> http://repo.or.cz/w/jimtcl.git/commit/645ed6fd4b6f9038c7e1d85d74c3872b3cb9a507 >>> >>> Cheers, >>> Steve >>> >> >> yah - i will update the openocd jim version >> > > just updated to latest jim master 645ed6fd4b6f9038c7e1d85d74c3872b3cb9a507 > get a jimtcl build error now on cygwin and linux - msys is working fine. > > cc -g -O2 -rdynamic -o jimsh jimsh.o _initjimsh.o libjim.a -ldl > _initjimsh.o: In function `Jim_initjimshInit': > /home/soliver/openocd/openocd-rel/jimtcl/_initjimsh.c:6: undefined > reference to `Jim_Eval_Named' > collect2: ld returned 1 exit status > make[2]: *** [jimsh] Error 1
Is this with a clean tree? Jim_Eval_Named() is now a macro rather than a function in jim.h Cheers, Steve -- µWeb: Embedded Web Framework - http://uweb.workware.net.au/ WorkWare Systems Pty Ltd W: www.workware.net.au P: +61 434 921 300 E: ste...@workware.net.au F: +61 7 3391 6002 _______________________________________________ Openocd-development mailing list Openocd-development@lists.berlios.de https://lists.berlios.de/mailman/listinfo/openocd-development