make error in chibistudio
Posted: Tue Apr 16, 2013 8:50 am
hello,
i am trying to bulid the chibios stm32f4 discovery demo in chibistudio and i keep getting the following errors:
17:46:25 **** Build of configuration Default for project Test ****
make -k -j all
Compiling ../../os/ports/GCC/ARMCMx/crt0.c
Compiling ../../os/ports/GCC/ARMCMx/STM32F4xx/vectors.c
Compiling ../../os/ports/GCC/ARMCMx/chcore.c
Compiling ../../os/ports/GCC/ARMCMx/chcore_v7m.c
Compiling ../../os/ports/common/ARMCMx/nvic.c
Compiling ../../os/kernel/src/chsys.c
Compiling ../../os/kernel/src/chdebug.c
Compiling ../../os/kernel/src/chlists.c
Compiling ../../os/kernel/src/chschd.c
Compiling ../../os/kernel/src/chthreads.c
Compiling ../../os/kernel/src/chdynamic.c
Compiling ../../os/kernel/src/chsem.c
Compiling ../../os/kernel/src/chvt.c
Compiling ../../os/kernel/src/chregistry.c
Compiling ../../os/kernel/src/chcond.c
Compiling ../../os/kernel/src/chmtx.c
Compiling ../../os/kernel/src/chmsg.c
Compiling ../../os/kernel/src/chevents.c
Compiling ../../os/kernel/src/chmboxes.c
Compiling ../../os/kernel/src/chqueues.c
Compiling ../../os/kernel/src/chmemcore.c
Compiling ../../os/kernel/src/chheap.c
Compiling ../../os/kernel/src/chmempools.c
Compiling ../../test/test.c
Compiling ../../test/testthd.c
Compiling ../../test/testsem.c
Compiling ../../test/testmtx.c
Compiling ../../test/testmsg.c
Compiling ../../test/testevt.c
Compiling ../../test/testmbox.c
Compiling ../../test/testdyn.c
Compiling ../../test/testpools.c
Compiling ../../test/testqueues.c
Compiling ../../test/testheap.c
Compiling ../../test/testbmk.c
Compiling ../../os/hal/src/hal.c
Compiling ../../os/hal/src/adc.c
Compiling ../../os/hal/src/can.c
Compiling ../../os/hal/src/ext.c
Compiling ../../os/hal/src/gpt.c
Compiling ../../os/hal/src/i2c.c
Compiling ../../os/hal/src/icu.c
Compiling ../../os/hal/src/mac.c
Compiling ../../os/hal/src/pal.c
Compiling ../../os/hal/src/sdc.c
Compiling ../../os/hal/src/pwm.c
Compiling ../../os/hal/src/serial.c
Compiling ../../os/hal/src/spi.c
Compiling ../../os/hal/src/uart.c
Compiling ../../os/hal/src/usb.c
Compiling ../../os/hal/src/tm.c
Compiling ../../os/hal/src/mmc_spi.c
Compiling ../../os/hal/src/serial_usb.c
Compiling ../../os/hal/src/rtc.c
Compiling ../../os/hal/platforms/STM32F4xx/stm32_dma.c
Compiling ../../os/hal/platforms/STM32F4xx/hal_lld.c
Compiling ../../os/hal/platforms/STM32F4xx/adc_lld.c
Compiling ../../os/hal/platforms/STM32/can_lld.c
Compiling ../../os/hal/platforms/STM32/ext_lld.c
Compiling ../../os/hal/platforms/STM32/gpt_lld.c
Compiling ../../os/hal/platforms/STM32/icu_lld.c
Compiling ../../os/hal/platforms/STM32/i2c_lld.c
Compiling ../../os/hal/platforms/STM32/pwm_lld.c
Compiling ../../os/hal/platforms/STM32/mac_lld.c
process_begin: CreateProcess(NULL, arm-none-eabi-gcc -c -mcpu=cortex-m4 -O2 -ggdb -fomit-frame-pointer -falign-functions=16 -ffunction-sections -fdata-sections -fno-common -Wall -Wextra -Wstrict-prototypes -Wa,-alms=build/lst/crt0.lst -DCORTEX_USE_FPU=FALSE -DTHUMB_PRESENT -mno-thumb-interwork -DTHUMB_NO_INTERWORKING -MD -MP -MF .dep/crt0.o.d -mthumb -DTHUMB -I. -I../../os/ports/common/ARMCMx/CMSIS/include -I../../os/ports/common/ARMCMx -I../../os/ports/GCC/ARMCMx -I../../os/ports/GCC/ARMCMx/STM32F4xx -I../../os/kernel/include -I../../test -I../../os/hal/include -I../../os/hal/platforms/STM32F4xx -I../../os/hal/platforms/STM32 -I../../os/hal/platforms/STM32/GPIOv2 -I../../boards/ST_STM32F4_DISCOVERY -I../../os/various ../../os/ports/GCC/ARMCMx/crt0.c -o build/obj/crt0.o, ...) failed.
make (e=2): The system cannot find the file specified.
make: *** [build/obj/crt0.o] Error 2
Compiling main.c
process_begin: CreateProcess(NULL, arm-none-eabi-gcc -c -mcpu=cortex-m4 -O2 -ggdb -fomit-frame-pointer -falign-functions=16 -ffunction-sections -fdata-sections -fno-common -Wall -Wextra -Wstrict-prototypes -Wa,-alms=build/lst/vectors.lst -DCORTEX_USE_FPU=FALSE -DTHUMB_PRESENT -mno-thumb-interwork -DTHUMB_NO_INTERWORKING -MD -MP -MF .dep/vectors.o.d -mthumb -DTHUMB -I. -I../../os/ports/common/ARMCMx/CMSIS/include -I../../os/ports/common/ARMCMx -I../../os/ports/GCC/ARMCMx -I../../os/ports/GCC/ARMCMx/STM32F4xx -I../../os/kernel/include -I../../test -I../../os/hal/include -I../../os/hal/platforms/STM32F4xx -I../../os/hal/platforms/STM32 -I../../os/hal/platforms/STM32/GPIOv2 -I../../boards/ST_STM32F4_DISCOVERY -I../../os/various ../../os/ports/GCC/ARMCMx/STM32F4xx/vectors.c -o build/obj/vectors.o, ...) failed.
Compiling ../../os/various/chprintf.c
make (e=2): The system cannot find the file specified.
and i just keep getting more errors if i let it go what am i doing wrong??
i have not modified the demo code at all.
thanks
i am trying to bulid the chibios stm32f4 discovery demo in chibistudio and i keep getting the following errors:
17:46:25 **** Build of configuration Default for project Test ****
make -k -j all
Compiling ../../os/ports/GCC/ARMCMx/crt0.c
Compiling ../../os/ports/GCC/ARMCMx/STM32F4xx/vectors.c
Compiling ../../os/ports/GCC/ARMCMx/chcore.c
Compiling ../../os/ports/GCC/ARMCMx/chcore_v7m.c
Compiling ../../os/ports/common/ARMCMx/nvic.c
Compiling ../../os/kernel/src/chsys.c
Compiling ../../os/kernel/src/chdebug.c
Compiling ../../os/kernel/src/chlists.c
Compiling ../../os/kernel/src/chschd.c
Compiling ../../os/kernel/src/chthreads.c
Compiling ../../os/kernel/src/chdynamic.c
Compiling ../../os/kernel/src/chsem.c
Compiling ../../os/kernel/src/chvt.c
Compiling ../../os/kernel/src/chregistry.c
Compiling ../../os/kernel/src/chcond.c
Compiling ../../os/kernel/src/chmtx.c
Compiling ../../os/kernel/src/chmsg.c
Compiling ../../os/kernel/src/chevents.c
Compiling ../../os/kernel/src/chmboxes.c
Compiling ../../os/kernel/src/chqueues.c
Compiling ../../os/kernel/src/chmemcore.c
Compiling ../../os/kernel/src/chheap.c
Compiling ../../os/kernel/src/chmempools.c
Compiling ../../test/test.c
Compiling ../../test/testthd.c
Compiling ../../test/testsem.c
Compiling ../../test/testmtx.c
Compiling ../../test/testmsg.c
Compiling ../../test/testevt.c
Compiling ../../test/testmbox.c
Compiling ../../test/testdyn.c
Compiling ../../test/testpools.c
Compiling ../../test/testqueues.c
Compiling ../../test/testheap.c
Compiling ../../test/testbmk.c
Compiling ../../os/hal/src/hal.c
Compiling ../../os/hal/src/adc.c
Compiling ../../os/hal/src/can.c
Compiling ../../os/hal/src/ext.c
Compiling ../../os/hal/src/gpt.c
Compiling ../../os/hal/src/i2c.c
Compiling ../../os/hal/src/icu.c
Compiling ../../os/hal/src/mac.c
Compiling ../../os/hal/src/pal.c
Compiling ../../os/hal/src/sdc.c
Compiling ../../os/hal/src/pwm.c
Compiling ../../os/hal/src/serial.c
Compiling ../../os/hal/src/spi.c
Compiling ../../os/hal/src/uart.c
Compiling ../../os/hal/src/usb.c
Compiling ../../os/hal/src/tm.c
Compiling ../../os/hal/src/mmc_spi.c
Compiling ../../os/hal/src/serial_usb.c
Compiling ../../os/hal/src/rtc.c
Compiling ../../os/hal/platforms/STM32F4xx/stm32_dma.c
Compiling ../../os/hal/platforms/STM32F4xx/hal_lld.c
Compiling ../../os/hal/platforms/STM32F4xx/adc_lld.c
Compiling ../../os/hal/platforms/STM32/can_lld.c
Compiling ../../os/hal/platforms/STM32/ext_lld.c
Compiling ../../os/hal/platforms/STM32/gpt_lld.c
Compiling ../../os/hal/platforms/STM32/icu_lld.c
Compiling ../../os/hal/platforms/STM32/i2c_lld.c
Compiling ../../os/hal/platforms/STM32/pwm_lld.c
Compiling ../../os/hal/platforms/STM32/mac_lld.c
process_begin: CreateProcess(NULL, arm-none-eabi-gcc -c -mcpu=cortex-m4 -O2 -ggdb -fomit-frame-pointer -falign-functions=16 -ffunction-sections -fdata-sections -fno-common -Wall -Wextra -Wstrict-prototypes -Wa,-alms=build/lst/crt0.lst -DCORTEX_USE_FPU=FALSE -DTHUMB_PRESENT -mno-thumb-interwork -DTHUMB_NO_INTERWORKING -MD -MP -MF .dep/crt0.o.d -mthumb -DTHUMB -I. -I../../os/ports/common/ARMCMx/CMSIS/include -I../../os/ports/common/ARMCMx -I../../os/ports/GCC/ARMCMx -I../../os/ports/GCC/ARMCMx/STM32F4xx -I../../os/kernel/include -I../../test -I../../os/hal/include -I../../os/hal/platforms/STM32F4xx -I../../os/hal/platforms/STM32 -I../../os/hal/platforms/STM32/GPIOv2 -I../../boards/ST_STM32F4_DISCOVERY -I../../os/various ../../os/ports/GCC/ARMCMx/crt0.c -o build/obj/crt0.o, ...) failed.
make (e=2): The system cannot find the file specified.
make: *** [build/obj/crt0.o] Error 2
Compiling main.c
process_begin: CreateProcess(NULL, arm-none-eabi-gcc -c -mcpu=cortex-m4 -O2 -ggdb -fomit-frame-pointer -falign-functions=16 -ffunction-sections -fdata-sections -fno-common -Wall -Wextra -Wstrict-prototypes -Wa,-alms=build/lst/vectors.lst -DCORTEX_USE_FPU=FALSE -DTHUMB_PRESENT -mno-thumb-interwork -DTHUMB_NO_INTERWORKING -MD -MP -MF .dep/vectors.o.d -mthumb -DTHUMB -I. -I../../os/ports/common/ARMCMx/CMSIS/include -I../../os/ports/common/ARMCMx -I../../os/ports/GCC/ARMCMx -I../../os/ports/GCC/ARMCMx/STM32F4xx -I../../os/kernel/include -I../../test -I../../os/hal/include -I../../os/hal/platforms/STM32F4xx -I../../os/hal/platforms/STM32 -I../../os/hal/platforms/STM32/GPIOv2 -I../../boards/ST_STM32F4_DISCOVERY -I../../os/various ../../os/ports/GCC/ARMCMx/STM32F4xx/vectors.c -o build/obj/vectors.o, ...) failed.
Compiling ../../os/various/chprintf.c
make (e=2): The system cannot find the file specified.
and i just keep getting more errors if i let it go what am i doing wrong??
i have not modified the demo code at all.
thanks