On 03/11/2010, at 12:23 AM, Laurent Gauch wrote:

> under Cygwin with external JIM TCL 0.63 in ./openocd/jimtcl, the make error 
> is :
> 
> ../../../src/helper/command.h:34:17: jim.h: No such file or directory

Did you forget 'make install' in ./openocd/jimtcl?

This is the symptom I see when that step is missed.

(Although as someone pointed out, it would be nice to have
 a single stage configure/build without needing to install jimtcl)

> 
>> checking whether standard drivers can be built... yes
>> checking for ftd2xx.lib exists (win32)... checking whether ftd2xx library 
>> works.
>> .. Success!
>> checking for ftd2xx highspeed device support... yes
>> checking for environ in unistd.h and stdlib.h... yes
>> checking for a C compiler for build tools... gcc -mno-cygwin -std=gnu99
>> checking for suffix of executable build tools... .exe
>> configure: creating ./config.status
>> config.status: creating Makefile
>> config.status: creating src/Makefile
>> config.status: creating src/helper/Makefile
>> config.status: creating src/jtag/Makefile
>> config.status: creating src/jtag/drivers/Makefile
>> config.status: creating src/xsvf/Makefile
>> config.status: creating src/svf/Makefile
>> config.status: creating src/target/Makefile
>> config.status: creating src/server/Makefile
>> config.status: creating src/flash/Makefile
>> config.status: creating src/flash/nor/Makefile
>> config.status: creating src/flash/nand/Makefile
>> config.status: creating src/pld/Makefile
>> config.status: creating doc/Makefile
>> config.status: creating config.h
>> config.status: executing depfiles commands
>> config.status: executing libtool commands
>> make  all-recursive
>> make[1]: Entering directory `/cygdrive/c/amontec/openocd-builder/git/openocd'
>> Making all in src
>> make[2]: Entering directory 
>> `/cygdrive/c/amontec/openocd-builder/git/openocd/src
>> '
>> cat helper/startup.tcl jtag/startup.tcl target/startup.tcl flash/startup.tcl 
>> ser
>> ver/startup.tcl > startup.tcl
>> make  all-recursive
>> make[3]: Entering directory 
>> `/cygdrive/c/amontec/openocd-builder/git/openocd/src
>> '
>> Making all in jtag
>> make[4]: Entering directory 
>> `/cygdrive/c/amontec/openocd-builder/git/openocd/src
>> /jtag'
>> cp drivers/minidriver_imp.h minidriver_imp.h
>> make  all-recursive
>> make[5]: Entering directory 
>> `/cygdrive/c/amontec/openocd-builder/git/openocd/src
>> /jtag'
>> Making all in drivers
>> make[6]: Entering directory 
>> `/cygdrive/c/amontec/openocd-builder/git/openocd/src
>> /jtag/drivers'
>> /bin/sh ../../../libtool --tag=CC   --mode=compile gcc -mno-cygwin 
>> -std=gnu99 -D
>> HAVE_CONFIG_H -I. -I../../..  -I../../../src -I../../../src   -g -O2 
>> -I/cygdrive
>> /c/amontec/jtagkey/driver/d2xx/nt -Wall -Wstrict-prototypes 
>> -Wformat-security -W
>> shadow -Wextra -Wno-unused-parameter -Wbad-function-cast -Wcast-align 
>> -Wredundan
>> t-decls -MT driver.lo -MD -MP -MF .deps/driver.Tpo -c -o driver.lo driver.c
>> libtool: compile:  gcc -mno-cygwin -std=gnu99 -DHAVE_CONFIG_H -I. -I../../.. 
>> -I.
>> ./../../src -I../../../src -g -O2 
>> -I/cygdrive/c/amontec/jtagkey/driver/d2xx/nt -
>> Wall -Wstrict-prototypes -Wformat-security -Wshadow -Wextra 
>> -Wno-unused-paramete
>> r -Wbad-function-cast -Wcast-align -Wredundant-decls -MT driver.lo -MD -MP 
>> -MF .
>> deps/driver.Tpo -c driver.c -o driver.o
>> In file included from ../../../src/helper/log.h:29,
>>                 from ../../../src/jtag/jtag.h:27,
>>                 from driver.c:34:
>> ../../../src/helper/command.h:34:17: jim.h: No such file or directory
>> ../../../src/helper/command.h:35:21: jim-nvp.h: No such file or directory
> 
> Regards,
> Laurent
> http://www.amontec.com
> 
> _______________________________________________
> Openocd-development mailing list
> Openocd-development@lists.berlios.de
> https://lists.berlios.de/mailman/listinfo/openocd-development
> 

--
µWeb: Embedded Web Framework - http://uweb.workware.net.au/
WorkWare Systems Pty Ltd
W: www.workware.net.au      P: 0434 921 300
E: ste...@workware.net.au   F: 07 3102 9221




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

Reply via email to