$ make
...
headers finished
make -r -C hal/cortexm/arch/current build
make[1]: Entering directory `/ecos-dev/hal/cortexm/arch/current'
arm-eabi-gcc -c -I/ecos-dev/install/include
-I/ecos/packages/hal/cortexm/arch/current
-I/ecos/packages/hal/cortexm/arch/current/src
-I/ecos/packages/hal/cortexm/arch/current/tests -I.
-I/ecos/packages/hal/cortexm/arch/current/src/ -finline-limit=7000 -Wall
-Wpointer-arith -Wstrict-prototypes -Wundef -Wno-write-strings
-mcpu=cortex-m3 -mthumb -g -O2 -ffunction-sections -fdata-sections
-fno-exceptions -Wp,-MD,src/hal_misc.tmp -o
src/hal_cortexm_arch_hal_misc.o
/ecos/packages/hal/cortexm/arch/current/src/hal_misc.c
make[1]: *** [src/hal_misc.o.d] Error 1
make[1]: Leaving directory `/ecos-dev/hal/cortexm/arch/current'
make: *** [build] Error 2
I have never faced such error. May be additional configuration should be
performed?