# Facing problem with "make"

**URL:** <https://forums.freertos.org/t/facing-problem-with-make/4580>\
**Category:** Kernel\
**Created:** [September 28, 2007, 1:56pm UTC](https://forums.freertos.org/t/facing-problem-with-make/4580 "2007-09-28T13:56:04Z")\
**Posts on this page:** 17\
**Page:** 1

<div class="post-metadata">

**Author:** ![brishak](https://avatars.discourse-cdn.com/v4/letter/b/b5e925/32.png) [@brishak](https://forums.freertos.org/u/brishak)\
**Post date:** [September 28, 2007, 1:56pm UTC](https://forums.freertos.org/t/facing-problem-with-make/4580/1 "2007-09-28T13:56:04Z")

</div>

**[brishak](https://sourceforge.net/u/brishak/)** wrote on [Friday, September 28, 2007](https://sourceforge.net/p/freertos/discussion/382005/thread/c9c531ff/#7b36):

Hi

I am using the FreeRTOS 8051 port with SDCC and make utility from [http://unxutils.sourceforge.net/](http://unxutils.sourceforge.net/).

When I type make in the …\Demo\Cygnal directory I get the following error. Could anyone please clarrify how to build the project.

# Error

sdcc -c --model-large -I. -I…/Common/include -I…/include -I…/…/Source/includ  
e -DSDCC\_CYGNAL --debug --less-pedantic --xram-size 8448 --stack-auto --no-peep  
–int-long-reent --float-reent ParTest/ParTest.c  
process\_begin: CreateProcess((null), sdcc -c --model-large -I. -I…/Common/inclu  
de -I…/include -I…/…/Source/include -DSDCC\_CYGNAL --debug --less-pedantic --x  
ram-size 8448 --stack-auto --no-peep --int-long-reent --float-reent ParTest/ParT  
est.c, …) failed.  
make (e=2): The system cannot find the file specified.  
make: \*\*\* [ParTest/ParTest.rel] Error 2

Thanks

---

<div class="post-metadata">

**Author:** ![rtel](https://d3iykfbgfh8zhg.cloudfront.net/user_avatar/forums.freertos.org/rtel/32/31_2.png) [@rtel](https://forums.freertos.org/u/rtel)\
**Post date:** [September 28, 2007, 2:14pm UTC](https://forums.freertos.org/t/facing-problem-with-make/4580/2 "2007-09-28T14:14:45Z")

</div>

**[rtel](https://sourceforge.net/u/rtel/)** wrote on [Friday, September 28, 2007](https://sourceforge.net/p/freertos/discussion/382005/thread/c9c531ff/#7b36/99d7):

I have just tired doing the same with UnxTools make and here is my output:

C:\Temp\452\_again\FreeRTOS\Demo\Cygnal\>make  
sdcc -c --model-large -I. -I…/Common/include -I…/include -I…/…/Source/include -DSDCC\_CYGNAL --debug --less-pedantic --xram-size 8448 --s  
tack-auto --no-peep --int-long-reent --float-reent ParTest/ParTest.c  
sdcc -c --model-large -I. -I…/Common/include -I…/include -I…/…/Source/include -DSDCC\_CYGNAL --debug --less-pedantic --xram-size 8448 --s  
tack-auto --no-peep --int-long-reent --float-reent serial/serial.c  
sdcc -c --model-large -I. -I…/Common/include -I…/include -I…/…/Source/include -DSDCC\_CYGNAL --debug --less-pedantic --xram-size 8448 --s  
tack-auto --no-peep --int-long-reent --float-reent …/Common/Full/flash.c  
sdcc -c --model-large -I. -I…/Common/include -I…/include -I…/…/Source/include -DSDCC\_CYGNAL --debug --less-pedantic --xram-size 8448 --s  
tack-auto --no-peep --int-long-reent --float-reent …/Common/Full/print.c  
sdcc -c --model-large -I. -I…/Common/include -I…/include -I…/…/Source/include -DSDCC\_CYGNAL --debug --less-pedantic --xram-size 8448 --s  
tack-auto --no-peep --int-long-reent --float-reent …/Common/Minimal/integer.c  
sdcc -c --model-large -I. -I…/Common/include -I…/include -I…/…/Source/include -DSDCC\_CYGNAL --debug --less-pedantic --xram-size 8448 --s  
tack-auto --no-peep --int-long-reent --float-reent …/Common/Minimal/PollQ.c  
sdcc -c --model-large -I. -I…/Common/include -I…/include -I…/…/Source/include -DSDCC\_CYGNAL --debug --less-pedantic --xram-size 8448 --s  
tack-auto --no-peep --int-long-reent --float-reent …/Common/Minimal/comtest.c  
sdcc -c --model-large -I. -I…/Common/include -I…/include -I…/…/Source/include -DSDCC\_CYGNAL --debug --less-pedantic --xram-size 8448 --s  
tack-auto --no-peep --int-long-reent --float-reent …/Common/Full/semtest.c  
sdcc -c --model-large -I. -I…/Common/include -I…/include -I…/…/Source/include -DSDCC\_CYGNAL --debug --less-pedantic --xram-size 8448 --s  
tack-auto --no-peep --int-long-reent --float-reent …/…/Source/tasks.c  
sdcc -c --model-large -I. -I…/Common/include -I…/include -I…/…/Source/include -DSDCC\_CYGNAL --debug --less-pedantic --xram-size 8448 --s  
tack-auto --no-peep --int-long-reent --float-reent …/…/Source/queue.c  
sdcc -c --model-large -I. -I…/Common/include -I…/include -I…/…/Source/include -DSDCC\_CYGNAL --debug --less-pedantic --xram-size 8448 --s  
tack-auto --no-peep --int-long-reent --float-reent …/…/Source/list.c  
sdcc -c --model-large -I. -I…/Common/include -I…/include -I…/…/Source/include -DSDCC\_CYGNAL --debug --less-pedantic --xram-size 8448 --s  
tack-auto --no-peep --int-long-reent --float-reent …/…/Source/portable/MemMang/heap\_1.c  
sdcc -c --model-large -I. -I…/Common/include -I…/include -I…/…/Source/include -DSDCC\_CYGNAL --debug --less-pedantic --xram-size 8448 --s  
tack-auto --no-peep --int-long-reent --float-reent …/…/Source/portable/SDCC/Cygnal/port.c  
sdcc --model-large -I. -I…/Common/include -I…/include -I…/…/Source/include -DSDCC\_CYGNAL --debug --less-pedantic --xram-size 8448 --stac  
k-auto --no-peep --int-long-reent --float-reent main.c ParTest/ParTest.rel serial/serial.rel …/Common/Full/flash.rel …/Common/Full/print.r  
el …/Common/Minimal/integer.rel …/Common/Minimal/PollQ.rel …/Common/Minimal/comtest.rel …/Common/Full/semtest.rel …/…/Source/tasks.rel  
…/…/Source/queue.rel …/…/Source/list.rel …/…/Source/portable/MemMang/heap\_1.rel …/…/Source/portable/SDCC/Cygnal/port.rel

I have seen the CreateProcess((null) problem in the GCC MSP430 port where the Cygwin.dll file was an incorrect version and not compatible with the GCC build version.

Does SDCC make use of Cygwin?&nbsp; If so, how many copies of Cygwin.dll are on your machine?&nbsp; Is the correct one being used?

Regards.

---

<div class="post-metadata">

**Author:** ![brishak](https://avatars.discourse-cdn.com/v4/letter/b/b5e925/32.png) [@brishak](https://forums.freertos.org/u/brishak)\
**Post date:** [September 29, 2007, 3:43pm UTC](https://forums.freertos.org/t/facing-problem-with-make/4580/3 "2007-09-29T15:43:58Z")

</div>

**[brishak](https://sourceforge.net/u/brishak/)** wrote on [Saturday, September 29, 2007](https://sourceforge.net/p/freertos/discussion/382005/thread/c9c531ff/#7b36/99d7/2186):

Hi Richard

There are no Cygwin.dll in my machine and i dont know if Cygwin is required by SDCC.  
I am able to compile individual c files with SDCC.

---

<div class="post-metadata">

**Author:** ![jwestmoreland](https://avatars.discourse-cdn.com/v4/letter/j/d6d6ee/32.png) [@jwestmoreland](https://forums.freertos.org/u/jwestmoreland)\
**Post date:** [September 30, 2007, 7:16am UTC](https://forums.freertos.org/t/facing-problem-with-make/4580/4 "2007-09-30T07:16:40Z")

</div>

**[jwestmoreland](https://sourceforge.net/u/jwestmoreland/)** wrote on [Sunday, September 30, 2007](https://sourceforge.net/p/freertos/discussion/382005/thread/c9c531ff/#7b36/ce67):

Brishak,

SDCC and the unxtools do not need Cygwin.dll to work.

I had the same problem as you did in trying to rebuild the 8051 port.&nbsp; That error message means the \*.rel files are not  
being found by the linker.

A way to get around this is to use the commented part of the makefile:

######################################  
# THIS VERSION WILL ONLY BUILD FILES THAT HAVE CHANGED, BUT MAY HAVE A DANGEROUS  
# COMMAND LINE.&nbsp; IT WORKS FINE UNDER WINDOWS, BUT I HAVE COMMENTED IT OUT IN  
# CASE IT CAUSES PROBLEMS ON OTHER SYSTEMS.

main : main.c Makefile …/…/Source/portable/SDCC/Cygnal/portmacro.h $(OBJ)  
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; $(CC) $(CFLAGS) main.c $(OBJ)

%.rel : %.c Makefile …/…/Source/portable/SDCC/Cygnal/portmacro.h  
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; $(CC) -c $(CFLAGS) -o$\< $\<

######################################  
# INSTEAD OF THE FOUR LINES ABOVE, THIS VERSION CAN BE USED BUT WILL CAUSE ALL  
# FILES TO BUILD EVERY TIME.

# main : main.c Makefile …/…/Source/portable/SDCC/Cygnal/portmacro.h $(OBJ)  
#&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; $(CC) $(CFLAGS) main.c $(OBJ)

# %.rel : %.c Makefile …/…/Source/portable/SDCC/Cygnal/portmacro.h  
#&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; $(CC) -c $(CFLAGS) $\<

The latter version causes (at least on my machine) to have all of the \*.rel files to be in the directory in which make was invoked - but the linker looks for the \*.rel files in the respective directories.&nbsp; You can either use the ‘first’ version above - or you can compile all of your \*.rel files and then manually copy them into the respective directories - e.g. - copy serial.rel to .\serial (provided you’re in the …\demo\cygnal directory when you compile.

Don’t forget to look in the main.mem file to see where to adjust configSTACK\_START - on my build - I had to fix this to 0x22.  
Also - make sure all of the tools are in your path.&nbsp; I also had to add this to my makefile:

–lib-path c:/sdcc/lib/large to CFLAGS in the makefile so it would find the correct libs.

HTH,

John W.

---

<div class="post-metadata">

**Author:** ![brishak](https://avatars.discourse-cdn.com/v4/letter/b/b5e925/32.png) [@brishak](https://forums.freertos.org/u/brishak)\
**Post date:** [September 30, 2007, 1:59pm UTC](https://forums.freertos.org/t/facing-problem-with-make/4580/5 "2007-09-30T13:59:32Z")

</div>

**[brishak](https://sourceforge.net/u/brishak/)** wrote on [Sunday, September 30, 2007](https://sourceforge.net/p/freertos/discussion/382005/thread/c9c531ff/#7b36/a490):

Hi John

I used the commented part of the make file. The problem still remains the same.

First of all .rel files are not generated when i type "make" in Demo\Cygnal directory

Regards,  
Brishak

---

<div class="post-metadata">

**Author:** ![jwestmoreland](https://avatars.discourse-cdn.com/v4/letter/j/d6d6ee/32.png) [@jwestmoreland](https://forums.freertos.org/u/jwestmoreland)\
**Post date:** [September 30, 2007, 11:04pm UTC](https://forums.freertos.org/t/facing-problem-with-make/4580/6 "2007-09-30T23:04:00Z")

</div>

**[jwestmoreland](https://sourceforge.net/u/jwestmoreland/)** wrote on [Sunday, September 30, 2007](https://sourceforge.net/p/freertos/discussion/382005/thread/c9c531ff/#7b36/efc8):

Brishak,

Where are your \*.rel files being placed then?

Or - are you saying the \*.rel files are never being made?

Regards,  
John

---

<div class="post-metadata">

**Author:** ![brishak](https://avatars.discourse-cdn.com/v4/letter/b/b5e925/32.png) [@brishak](https://forums.freertos.org/u/brishak)\
**Post date:** [October 1, 2007, 1:04pm UTC](https://forums.freertos.org/t/facing-problem-with-make/4580/7 "2007-10-01T13:04:14Z")

</div>

**[brishak](https://sourceforge.net/u/brishak/)** wrote on [Monday, October 01, 2007](https://sourceforge.net/p/freertos/discussion/382005/thread/c9c531ff/#7b36/5a63):

Hi John,  
Yes, \*.rel files are not made.  
I just get the above error (as in my first post) and no files are generated.

Regards,  
Brishak

---

<div class="post-metadata">

**Author:** ![jwestmoreland](https://avatars.discourse-cdn.com/v4/letter/j/d6d6ee/32.png) [@jwestmoreland](https://forums.freertos.org/u/jwestmoreland)\
**Post date:** [October 1, 2007, 9:11pm UTC](https://forums.freertos.org/t/facing-problem-with-make/4580/8 "2007-10-01T21:11:00Z")

</div>

**[jwestmoreland](https://sourceforge.net/u/jwestmoreland/)** wrote on [Monday, October 01, 2007](https://sourceforge.net/p/freertos/discussion/382005/thread/c9c531ff/#7b36/a965):

Brishak,

Try the following - it builds the files for me.&nbsp; If it doesn’t work for you - then I have to conclude you are not following the instructions on [http://www.freertos.org/portcygn.html](http://www.freertos.org/portcygn.html)

#&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; [FreeRTOS.org](http://FreeRTOS.org) V4.5.0 - Copyright (C) 2003-2007 Richard Barry.  
#  
#&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; This file is part of the [FreeRTOS.org](http://FreeRTOS.org) distribution.  
#  
#&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; [FreeRTOS.org](http://FreeRTOS.org) is free software; you can redistribute it and/or modify  
#&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; it under the terms of the GNU General Public License as published by  
#&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; the Free Software Foundation; either version 2 of the License, or  
#&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; (at your option) any later version.  
#  
#&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; [FreeRTOS.org](http://FreeRTOS.org) is distributed in the hope that it will be useful,  
#&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; but WITHOUT ANY WARRANTY; without even the implied warranty of  
#&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.&nbsp; See the  
#&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; GNU General Public License for more details.  
#  
#&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; You should have received a copy of the GNU General Public License  
#&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; along with [FreeRTOS.org](http://FreeRTOS.org); if not, write to the Free Software  
#&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA&nbsp; 02111-1307&nbsp; US  
A  
#  
#&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; A special exception to the GPL can be applied should you wish to distrib  
ute  
#&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; a combined work that includes [FreeRTOS.org](http://FreeRTOS.org), without being obliged to pro  
vide  
#&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; the source code for any proprietary components.&nbsp; See the licensing secti  
on  
#&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; of [http://www.FreeRTOS.org](http://www.FreeRTOS.org) for full details of how and when the exceptio  
n  
#&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; can be applied.  
#  
#&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; \*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*  
\*\*\*  
#&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; See [http://www.FreeRTOS.org](http://www.FreeRTOS.org) for documentation, latest information, licen  
se  
#&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; and contact details.&nbsp; Please ensure to read the configuration and releva  
nt  
#&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; port sections of the online documentation.  
#&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; \*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*  
\*\*\*

CC=sdcc  
NO\_OPT=–nogcse --noinvariant --noinduction --nojtbound --noloopreverse --nolabe  
lopt --nooverlay --peep-asm  
DEBUG=–debug

CFLAGS=–model-large -I. -I…/Common/include -I…/include -I…/…/Source/include  
  
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; -DSDCC\_CYGNAL $(DEBUG) --less-pedantic --xram-size 8448 --stack-  
auto   
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; --no-peep --int-long-reent --float-reent --lib-path c:/sdcc/lib/  
large  
LFLAGS= --lib-path c:/sdcc/lib/large

DEMO\_DIR = …/Common  
SOURCE\_DIR = …/…/Source  
PORT\_DIR = …/…/Source/portable/SDCC/Cygnal

SRC&nbsp;&nbsp;&nbsp;&nbsp; =   
$(DEMO\_DIR)/Full/flash.c   
$(DEMO\_DIR)/Full/print.c   
$(DEMO\_DIR)/Minimal/integer.c   
$(DEMO\_DIR)/Minimal/PollQ.c   
$(DEMO\_DIR)/Minimal/comtest.c   
$(DEMO\_DIR)/Full/semtest.c   
$(SOURCE\_DIR)/tasks.c   
$(SOURCE\_DIR)/queue.c   
$(SOURCE\_DIR)/list.c   
$(SOURCE\_DIR)/portable/MemMang/heap\_1.c   
$(PORT\_DIR)/port.c   
ParTest/ParTest.c   
serial/serial.c

# Define all object files.  
OBJ = $(SRC:.c=.rel)

######################################  
# THIS VERSION WILL ONLY BUILD FILES THAT HAVE CHANGED, BUT MAY HAVE A DANGEROUS

# COMMAND LINE.&nbsp; IT WORKS FINE UNDER WINDOWS, BUT I HAVE COMMENTED IT OUT IN  
# CASE IT CAUSES PROBLEMS ON OTHER SYSTEMS.

main : main.c Makefile …/…/Source/portable/SDCC/Cygnal/portmacro.h $(OBJ)  
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; $(CC) $(CFLAGS) main.c $(OBJ)

%.rel : %.c Makefile …/…/Source/portable/SDCC/Cygnal/portmacro.h  
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; $(CC) -c $(CFLAGS) -o$\< $\<

######################################  
# INSTEAD OF THE FOUR LINES ABOVE, THIS VERSION CAN BE USED BUT WILL CAUSE ALL  
# FILES TO BUILD EVERY TIME.

# main : main.c Makefile …/…/Source/portable/SDCC/Cygnal/portmacro.h $(OBJ)  
#&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; $(CC) $(CFLAGS) main.c $(OBJ)

# %.rel : %.c Makefile …/…/Source/portable/SDCC/Cygnal/portmacro.h  
#&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; $(CC) -c $(CFLAGS) $\<

# end of makefile

You may have to fix-up the formatting - I didn’t see any way to make an attachment to this post.

Regards,  
John

---

<div class="post-metadata">

**Author:** ![brishak](https://avatars.discourse-cdn.com/v4/letter/b/b5e925/32.png) [@brishak](https://forums.freertos.org/u/brishak)\
**Post date:** [October 2, 2007, 12:39pm UTC](https://forums.freertos.org/t/facing-problem-with-make/4580/9 "2007-10-02T12:39:09Z")

</div>

**[brishak](https://sourceforge.net/u/brishak/)** wrote on [Tuesday, October 02, 2007](https://sourceforge.net/p/freertos/discussion/382005/thread/c9c531ff/#7b36/f3cc):

Hi John

I used the makefile posted by you. I get "missing separator" error in many lines.  
Can you forward that file to my email id.

My email id is  
[xxxx@xxxx.com](mailto:xxxx@xxxx.com)

Regards,  
Brishak

---

<div class="post-metadata">

**Author:** ![jwestmoreland](https://avatars.discourse-cdn.com/v4/letter/j/d6d6ee/32.png) [@jwestmoreland](https://forums.freertos.org/u/jwestmoreland)\
**Post date:** [October 2, 2007, 1:03pm UTC](https://forums.freertos.org/t/facing-problem-with-make/4580/10 "2007-10-02T13:03:58Z")

</div>

**[jwestmoreland](https://sourceforge.net/u/jwestmoreland/)** wrote on [Tuesday, October 02, 2007](https://sourceforge.net/p/freertos/discussion/382005/thread/c9c531ff/#7b36/240e):

Brishak,

Just sent it.

Regards,  
John W.

---

<div class="post-metadata">

**Author:** ![brishak](https://avatars.discourse-cdn.com/v4/letter/b/b5e925/32.png) [@brishak](https://forums.freertos.org/u/brishak)\
**Post date:** [October 2, 2007, 2:26pm UTC](https://forums.freertos.org/t/facing-problem-with-make/4580/11 "2007-10-02T14:26:57Z")

</div>

**[brishak](https://sourceforge.net/u/brishak/)** wrote on [Tuesday, October 02, 2007](https://sourceforge.net/p/freertos/discussion/382005/thread/c9c531ff/#7b36/d2c7):

Hi John,

I’m sorry… Again i get the same error.

First i tell you what all i did…

1. I downloaded sdcc-2.7.0-setup and intalled it. (I compiled many C files using this SDCC before)

2. Then i downloaded UnxUtils and saved it in C: (I set the path using the following command  
D:&gt;path %path%;C:\UnxUtils\usr\local\wbin  
Is that ok)

3.Then I downloaded FreeRTOS4.5.0 and unzipped it in D:

4.Then i go to D:\FreeRTOS\Demo\Cygnal and type make, I get the same error. Then i used your make file, the error is same but the file name is different.

After this i could now move forward…

Now can you guess what should be done…

Regards,  
Brishak

---

<div class="post-metadata">

**Author:** ![system](https://d2v6vdsk2p900z.cloudfront.net/original/1X/7fc8fdb729c645aab5b20282bbe34e57cb407be6.jpeg) [@system](https://forums.freertos.org/u/system)\
**Post date:** [October 2, 2007, 2:42pm UTC](https://forums.freertos.org/t/facing-problem-with-make/4580/12 "2007-10-02T14:42:04Z")

</div>

**[sotd](https://sourceforge.net/u/sotd/)** wrote on [Tuesday, October 02, 2007](https://sourceforge.net/p/freertos/discussion/382005/thread/c9c531ff/#7b36/d2c7/f955):

How many versions of make.exe do you have on your computer?&nbsp; I suspect you are using the wrong one.&nbsp; If you have which installed try typing "which make" to see which one you are actually invoking.&nbsp; Otherwise, try renaming your copy of make.exe within the unxtools directory so it will not get invoked, then try typing "make" to see if there is still a make executable within your path.

---

<div class="post-metadata">

**Author:** ![brishak](https://avatars.discourse-cdn.com/v4/letter/b/b5e925/32.png) [@brishak](https://forums.freertos.org/u/brishak)\
**Post date:** [October 4, 2007, 12:27pm UTC](https://forums.freertos.org/t/facing-problem-with-make/4580/13 "2007-10-04T12:27:52Z")

</div>

**[brishak](https://sourceforge.net/u/brishak/)** wrote on [Thursday, October 04, 2007](https://sourceforge.net/p/freertos/discussion/382005/thread/c9c531ff/#7b36/60a5):

Hi,

There is only one make file in my system. When i type "which make" it displays the message shown below…

D:\FreeRTOS\Demo\Cygnal\>which make  
which: no make in (C:\WINDOWS\system32;C:\WINDOWS;C:\WINDOWS\System32\Wbem;c:\Pr  
ogram Files\ATI Technologies\ATI.ACE;C:\Program Files\QuickTime\QTSystem;c:\al  
tera\71\quartus\bin;C:\altera\71\modelsim\_ae\win32aloem;C:\WINDOWS\system32;C:\W  
INDOWS;C:\WINDOWS\System32\Wbem;c:\Program Files\ATI Technologies\ATI.ACE;C:\Pr  
ogram Files\QuickTime\QTSystem;c:\altera\71\quartus\bin;C:\Program Files\SDCC\b  
in;C:\UnxUtils\usr\local\wbin)

If i rename that make file, no make is invoked

Regards,  
Brishak

---

<div class="post-metadata">

**Author:** ![jwestmoreland](https://avatars.discourse-cdn.com/v4/letter/j/d6d6ee/32.png) [@jwestmoreland](https://forums.freertos.org/u/jwestmoreland)\
**Post date:** [October 4, 2007, 12:35pm UTC](https://forums.freertos.org/t/facing-problem-with-make/4580/14 "2007-10-04T12:35:43Z")

</div>

**[jwestmoreland](https://sourceforge.net/u/jwestmoreland/)** wrote on [Thursday, October 04, 2007](https://sourceforge.net/p/freertos/discussion/382005/thread/c9c531ff/#7b36/bdc9):

Brishak,

Move your tools to a dir that doesn’t have any spaces - your SDCC dir is in c:\Program \<space\> Files\SDCC…

I’ve seen strange behaviour in the past with GNU based tools and spaces in the paths.&nbsp; This may not be the issue 100% but  
it’s worth doing.

It probably would be a good idea to place the tools at the beginning of your path instead of the end also -  
set path=c:\SDCC\bin;c:\UnxUtils\usr\local\bin;%path%

HTH,  
John W.

---

<div class="post-metadata">

**Author:** ![brishak](https://avatars.discourse-cdn.com/v4/letter/b/b5e925/32.png) [@brishak](https://forums.freertos.org/u/brishak)\
**Post date:** [October 4, 2007, 12:56pm UTC](https://forums.freertos.org/t/facing-problem-with-make/4580/15 "2007-10-04T12:56:28Z")

</div>

**[brishak](https://sourceforge.net/u/brishak/)** wrote on [Thursday, October 04, 2007](https://sourceforge.net/p/freertos/discussion/382005/thread/c9c531ff/#7b36/bdc9/b1b5):

Hi John

I did… but no use…  
The status is same…

Regards  
Brishak

---

<div class="post-metadata">

**Author:** ![jwestmoreland](https://avatars.discourse-cdn.com/v4/letter/j/d6d6ee/32.png) [@jwestmoreland](https://forums.freertos.org/u/jwestmoreland)\
**Post date:** [October 4, 2007, 1:12pm UTC](https://forums.freertos.org/t/facing-problem-with-make/4580/16 "2007-10-04T13:12:21Z")

</div>

**[jwestmoreland](https://sourceforge.net/u/jwestmoreland/)** wrote on [Thursday, October 04, 2007](https://sourceforge.net/p/freertos/discussion/382005/thread/c9c531ff/#7b36/6c74):

Brishak,

At this point - I’d say try the following - keeping in mind all that has been discussed to this point -

uninstall all of the tools - everything that is related to the build - and do a complete reinstall.&nbsp; If it doesn’t work  
then - then the only choice you have is to try this all again on another machine.&nbsp; If that still doesn’t help - ask someone  
that is familiar with this type of work to sit down with you and get the build working.

HTH,  
John W.

---

<div class="post-metadata">

**Author:** ![brishak](https://avatars.discourse-cdn.com/v4/letter/b/b5e925/32.png) [@brishak](https://forums.freertos.org/u/brishak)\
**Post date:** [October 4, 2007, 1:18pm UTC](https://forums.freertos.org/t/facing-problem-with-make/4580/17 "2007-10-04T13:18:34Z")

</div>

**[brishak](https://sourceforge.net/u/brishak/)** wrote on [Thursday, October 04, 2007](https://sourceforge.net/p/freertos/discussion/382005/thread/c9c531ff/#7b36/6c74/59c8):

OK

i’ll try to do and get back sometime later

Regards  
Brishak
