# FreeRTOS compile problem

**URL:** <https://forums.freertos.org/t/freertos-compile-problem/3087>\
**Category:** Kernel\
**Created:** [January 3, 2008, 10:21am UTC](https://forums.freertos.org/t/freertos-compile-problem/3087 "2008-01-03T10:21:28Z")\
**Posts on this page:** 10\
**Page:** 1

<div class="post-metadata">

**Author:** ![system](https://d2v6vdsk2p900z.cloudfront.net/original/1X/7fc8fdb729c645aab5b20282bbe34e57cb407be6.jpeg) [@system](https://forums.freertos.org/u/system)\
**Post date:** [January 3, 2008, 10:21am UTC](https://forums.freertos.org/t/freertos-compile-problem/3087/1 "2008-01-03T10:21:28Z")

</div>

**[pinnor](https://sourceforge.net/u/pinnor/)** wrote on [Thursday, January 03, 2008](https://sourceforge.net/p/freertos/discussion/382005/thread/86834445/#c3f8):

Hi to all, i’m trying to compile the LPC2368 Demo with Eclipse/GNU GCC. I followed the instructions present on the FreeRTOS’s site, so I installed Eclipse and the Yagarto Gcc tools but when I try to build-all project, I get this error:  
‘%.o’ does not exist - don’t know how to make it

Can someone help me?  
Regards,  
Renato

---

<div class="post-metadata">

**Author:** ![system](https://d2v6vdsk2p900z.cloudfront.net/original/1X/7fc8fdb729c645aab5b20282bbe34e57cb407be6.jpeg) [@system](https://forums.freertos.org/u/system)\
**Post date:** [January 3, 2008, 10:32am UTC](https://forums.freertos.org/t/freertos-compile-problem/3087/2 "2008-01-03T10:32:28Z")

</div>

**[davedoors](https://sourceforge.net/u/davedoors/)** wrote on [Thursday, January 03, 2008](https://sourceforge.net/p/freertos/discussion/382005/thread/86834445/#c3f8/26d3):

Can you check that the bin directory of the Yagarto tools is in your path and which make is being used.

Open a command prompt and type

‘arm-elf-gcc --version’ - what is the result.  
‘make --version’ - what is the result?

if you what which installed then also try

‘which make’

---

<div class="post-metadata">

**Author:** ![system](https://d2v6vdsk2p900z.cloudfront.net/original/1X/7fc8fdb729c645aab5b20282bbe34e57cb407be6.jpeg) [@system](https://forums.freertos.org/u/system)\
**Post date:** [January 3, 2008, 11:19am UTC](https://forums.freertos.org/t/freertos-compile-problem/3087/3 "2008-01-03T11:19:30Z")

</div>

**[pinnor](https://sourceforge.net/u/pinnor/)** wrote on [Thursday, January 03, 2008](https://sourceforge.net/p/freertos/discussion/382005/thread/86834445/#c3f8/1731):

hello, I installed the YAGARTO GNU ARM toolchain and these are the answer of commands:  
arm-elf-gcc --version  
arm-elf-gcc (GCC) 4.2.2  
Copyright (C) 2007 Free Software Foundation, Inc.  
This is free software; see the source for copying conditions.&nbsp; There is NO  
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.

make --version  
"make" non è riconosciuto come comando interno o esterno,  
un programma eseguibile o un file batch.

it seems that make commands is not found. which software have I to install to fix this problem?

thank you,  
Renato

---

<div class="post-metadata">

**Author:** ![system](https://d2v6vdsk2p900z.cloudfront.net/original/1X/7fc8fdb729c645aab5b20282bbe34e57cb407be6.jpeg) [@system](https://forums.freertos.org/u/system)\
**Post date:** [January 3, 2008, 11:26am UTC](https://forums.freertos.org/t/freertos-compile-problem/3087/4 "2008-01-03T11:26:56Z")

</div>

**[davedoors](https://sourceforge.net/u/davedoors/)** wrote on [Thursday, January 03, 2008](https://sourceforge.net/p/freertos/discussion/382005/thread/86834445/#c3f8/1731/fe8e):

Go to [http://sourceforge.net/project/showfiles.php?group\_id=9328](http://sourceforge.net/project/showfiles.php?group_id=9328) and download the zip file that contains the binaries. Extract make.exe from the zip file and place it in your Yagarto/bin directory. Does that fix the problem?

---

<div class="post-metadata">

**Author:** ![system](https://d2v6vdsk2p900z.cloudfront.net/original/1X/7fc8fdb729c645aab5b20282bbe34e57cb407be6.jpeg) [@system](https://forums.freertos.org/u/system)\
**Post date:** [January 3, 2008, 11:35am UTC](https://forums.freertos.org/t/freertos-compile-problem/3087/5 "2008-01-03T11:35:31Z")

</div>

**[pinnor](https://sourceforge.net/u/pinnor/)** wrote on [Thursday, January 03, 2008](https://sourceforge.net/p/freertos/discussion/382005/thread/86834445/#c3f8/7558):

Now seems that make command is found, but if I press F7 (build all) this is the message on the console window:

\*\*\*\* Build of configuration Default for project RTOSDemo \*\*\*\*

make all  
arm-elf-gcc -c -g -O1 -Tlpc2368.ld -I . -I …/…/…/Source/include -I …/…/…/Source/portable/GCC/ARM7\_LPC23xx -I …/…/Common/include -I ./webserver -I …/…/Common/ethernet/uIP/uip-1.0/uip -D ROWLEY\_LPC23xx -D THUMB\_INTERWORK -mcpu=arm7tdmi -D PACK\_STRUCT\_END=\_\_attribute\(\(packed\)\) -D ALIGN\_STRUCT\_END=\_\_attribute\(\(aligned\(4\)\)\) -fomit-frame-pointer -mthumb-interwork -mthumb main.c -o main.o  
arm-elf-gcc: CreateProcess: No such file or directory  
make: \*\*\* [main.o] Error 1

---

<div class="post-metadata">

**Author:** ![system](https://d2v6vdsk2p900z.cloudfront.net/original/1X/7fc8fdb729c645aab5b20282bbe34e57cb407be6.jpeg) [@system](https://forums.freertos.org/u/system)\
**Post date:** [January 3, 2008, 11:50am UTC](https://forums.freertos.org/t/freertos-compile-problem/3087/6 "2008-01-03T11:50:09Z")

</div>

**[davedoors](https://sourceforge.net/u/davedoors/)** wrote on [Thursday, January 03, 2008](https://sourceforge.net/p/freertos/discussion/382005/thread/86834445/#c3f8/7558/e910):

I dont know why you would get the createprocess error.&nbsp; Neither yagarto or the make from UnxUtils need cygwin. If it cannot find a file you should get the following error [I renamed main.c to generate this error].

make: \*\*\* No rule to make target `main.c’, needed by `main.o’.&nbsp; Stop.

You could try installing some of the cygwin stuff but really this should not be necessary.

---

<div class="post-metadata">

**Author:** ![system](https://d2v6vdsk2p900z.cloudfront.net/original/1X/7fc8fdb729c645aab5b20282bbe34e57cb407be6.jpeg) [@system](https://forums.freertos.org/u/system)\
**Post date:** [January 3, 2008, 2:55pm UTC](https://forums.freertos.org/t/freertos-compile-problem/3087/7 "2008-01-03T14:55:21Z")

</div>

**[pinnor](https://sourceforge.net/u/pinnor/)** wrote on [Thursday, January 03, 2008](https://sourceforge.net/p/freertos/discussion/382005/thread/86834445/#c3f8/5bc6):

Finally I am able to build all…using the make.exe file inside the OpenOCD installation folder but now I discover that the DemoProject is configured to run with wiggler debug interface but I have the amontec JTAGTiny. I follow the instructions presents on the freertos site and i change the external tools configuration but when i try to start the debug I get this message  
Info:&nbsp;&nbsp;&nbsp; openocd.c:93 main(): Open On-Chip Debugger (2007-12-30 17:00 CET) svn: 247  
Info:&nbsp;&nbsp;&nbsp; openocd.c:94 main(): $URL: [http://svn.berlios.de/svnroot/repos/openocd/trunk/src/openocd.c](http://svn.berlios.de/svnroot/repos/openocd/trunk/src/openocd.c) $  
Info:&nbsp;&nbsp;&nbsp; configuration.c:50 configuration\_output\_handler(): Command parport\_port not found  
Info:&nbsp;&nbsp;&nbsp; configuration.c:50 configuration\_output\_handler(): Command parport\_cable not found  
Error:&nbsp;&nbsp; jtag.c:1464 jtag\_init(): No valid jtag interface found (parport)  
Error:&nbsp;&nbsp; jtag.c:1465 jtag\_init(): compiled-in jtag interfaces:  
Error:&nbsp;&nbsp; jtag.c:1468 jtag\_init(): 0: ft2232

Is there something wrong?..What can I do to fix this problem?  
Regards,  
Renato

---

<div class="post-metadata">

**Author:** ![system](https://d2v6vdsk2p900z.cloudfront.net/original/1X/7fc8fdb729c645aab5b20282bbe34e57cb407be6.jpeg) [@system](https://forums.freertos.org/u/system)\
**Post date:** [January 3, 2008, 3:04pm UTC](https://forums.freertos.org/t/freertos-compile-problem/3087/8 "2008-01-03T15:04:40Z")

</div>

**[pinnor](https://sourceforge.net/u/pinnor/)** wrote on [Thursday, January 03, 2008](https://sourceforge.net/p/freertos/discussion/382005/thread/86834445/#c3f8/e095):

now the error message when i start the debug is:  
Info:&nbsp;&nbsp;&nbsp; openocd.c:93 main(): Open On-Chip Debugger (2007-12-30 17:00 CET) svn: 247  
Info:&nbsp;&nbsp;&nbsp; openocd.c:94 main(): $URL: [http://svn.berlios.de/svnroot/repos/openocd/trunk/src/openocd.c](http://svn.berlios.de/svnroot/repos/openocd/trunk/src/openocd.c) $  
Error:&nbsp;&nbsp; ft2232.c:1381 ft2232\_init\_ftd2xx(): unable to open ftdi device: 2  
Error:&nbsp;&nbsp; ft2232.c:1396 ft2232\_init\_ftd2xx(): ListDevices: 2

Error:&nbsp;&nbsp; ft2232.c:1398 ft2232\_init\_ftd2xx(): 0: Amontec JTAGkey B  
Error:&nbsp;&nbsp; ft2232.c:1398 ft2232\_init\_ftd2xx(): 1: Y?  
…What can I do to fix this problem?  
Regards,  
Renato

---

<div class="post-metadata">

**Author:** ![system](https://d2v6vdsk2p900z.cloudfront.net/original/1X/7fc8fdb729c645aab5b20282bbe34e57cb407be6.jpeg) [@system](https://forums.freertos.org/u/system)\
**Post date:** [January 3, 2008, 5:02pm UTC](https://forums.freertos.org/t/freertos-compile-problem/3087/9 "2008-01-03T17:02:31Z")

</div>

**[davedoors](https://sourceforge.net/u/davedoors/)** wrote on [Thursday, January 03, 2008](https://sourceforge.net/p/freertos/discussion/382005/thread/86834445/#c3f8/5bc6/3892):

It clearly states on the documentation page that it is configured to use the Wiggler. To change the interface you will also need to change the OpenOCD config file to be correct for the Amontec. Also note the comments about disabling the MAM unless you have a revision of the LPC2000 chip that actually works.

---

<div class="post-metadata">

**Author:** ![system](https://d2v6vdsk2p900z.cloudfront.net/original/1X/7fc8fdb729c645aab5b20282bbe34e57cb407be6.jpeg) [@system](https://forums.freertos.org/u/system)\
**Post date:** [January 4, 2008, 8:25am UTC](https://forums.freertos.org/t/freertos-compile-problem/3087/10 "2008-01-04T08:25:58Z")

</div>

**[pinnor](https://sourceforge.net/u/pinnor/)** wrote on [Friday, January 04, 2008](https://sourceforge.net/p/freertos/discussion/382005/thread/86834445/#c3f8/879f):

Yes, I know that the demo project is configured to use the Wiggler…and for this reason I reconfigure the Items OpenOCD Server and OpenOCD Programmer present in the external tools menu, to use the openocd-ftd2xx.exe program insted of openocd-pp.exe. For the OpenOCD Server I set the lpc2xxx\_jtagkey.cfg file as arguments but I still get this error message:  
Info:&nbsp;&nbsp;&nbsp; openocd.c:93 main(): Open On-Chip Debugger (2007-12-30 17:00 CET) svn: 247  
Info:&nbsp;&nbsp;&nbsp; openocd.c:94 main(): $URL: [http://svn.berlios.de/svnroot/repos/openocd/trunk/src/openocd.c](http://svn.berlios.de/svnroot/repos/openocd/trunk/src/openocd.c) $  
Error:&nbsp;&nbsp; jtag.c:1253 jtag\_examine\_chain(): JTAG communication failure, check connection, JTAG interface, target power etc.  
Error:&nbsp;&nbsp; jtag.c:1442 jtag\_init(): trying to validate configured JTAG chain anyway…  
Error:&nbsp;&nbsp; embeddedice.c:181 embeddedice\_build\_reg\_cache(): unknown EmbeddedICE version (comms ctrl: 0x00000000)  
Warning: arm7\_9\_common.c:742 arm7\_9\_assert\_reset(): srst resets test logic, too

But the MCB2300 target board is power on.  
What can I do to fix this problem?  
Regards,  
Renato
