title: How to fix "*** [obj/flash_board_cstartup.o] Error 2"
body: <p>I am trying to get up to speed with the SAM7S examples pack "at91sam7s-ek" available from the Atmel website.</p>
  
  <p>When I load any project into Eclipse I get the following error after building project.</p>
  
  <pre><code>make: *** [obj/flash_board_cstartup.o] Error 2
  </code></pre>
  
  <p>I have checked that paths are correct and that the files are where they are supposed to be.</p>
  
  <p>Is there anyone that can help me to get this running or can anyone recommend a better set of examples that actually work for the SAM7S devices?</p>
  
  <p>The CDT build console is :</p>
  
  <pre><code>18:58:29 **** Incremental Build of configuration Default for project test_project ****
  make all 
  arm-none-eabi-gcc -g -O0 -I../at91lib/boards/asn442g -I../at91lib/peripherals  -I../at91lib/components -I../at91lib -I. -I../at91lib/utility -I../external_libs/ethernet/lwip/src/include -I../external_libs/ethernet/lwip/src/include/lwip -I../external_libs/ethernet/lwip/src/include/ipv4 -I./system/modbus/tcp -I./system/modbus/tcp/arch -I./system/dal/dalAdc -I./system/dal/dalHoldingRegisters -I./system/dal/dalTimer -I./system/bll/bllModbusTCP -I./system/drivers/drvGprsLink -I./system/drivers/drvAtmBus -I./system/hal/halUsart1 -I./system/hal/halGpio -I./system/hal/halUsart0 -I./system/drv/drvAtmBus -Dat91sam7x256 -D__ASSEMBLY__ -Dflash -c -o obj/flash_board_cstartup.o ../at91lib/boards/asn442g/board_cstartup.S
  process_begin: CreateProcess(NULL, arm-none-eabi-gcc -g -O0 -I../at91lib/boards/asn442g -I../at91lib/peripherals -I../at91lib/components -I../at91lib -I. -I../at91lib/utility -I../external_libs/ethernet/lwip/src/include -I../external_libs/ethernet/lwip/src/include/lwip -I../external_libs/ethernet/lwip/src/include/ipv4 -I./system/modbus/tcp -I./system/modbus/tcp/arch -I./system/dal/dalAdc -I./system/dal/dalHoldingRegisters -I./system/dal/dalTimer -I./system/bll/bllModbusTCP -I./system/drivers/drvGprsLink -I./system/drivers/drvAtmBus -I./system/hal/halUsart1 -I./system/hal/halGpio -I./system/hal/halUsart0 -I./system/drv/drvAtmBus -Dat91sam7x256 -D__ASSEMBLY__ -Dflash -c -o obj/flash_board_cstartup.o../at91lib/boards/asn442g/board_cstartup.S, ...) failed.
  make (e=2): The system cannot find the file specified.
  make: *** [obj/flash_board_cstartup.o] Error 2
  
  18:58:33 Build Finished (took 3s.647ms)
  </code></pre>