1 Reply Latest reply on May 20, 2013 5:05 PM by james_patterson

    codebench lite build error

    aihua.zhang

      Hi,

        while build project,I met an eror:

       

       

      /bin/sh: -c: line 0: syntax error near unexpected token `('
      /bin/sh: -c: line 0: `C:\Program Files (x86)\CodeSourcery\Sourcery_CodeBench_Lit
      e_for_ARM_EABI/bin/arm-none-eabi-gcc  --verbose -g -c -fno-builtin-printf -pipe
      -ftree-vectorize -ffast-math -funsafe-math-optimizations -fsingle-precision-cons
      tant -ffreestanding -marm -Werror -Wall -Wstrict-prototypes -fno-stack-protector
      -isystem  -D__DEBUG__ -O0 -march=armv7-a -mtune=cortex-a9 -mcpu=cortex-a9 -mfpu
      =neon -mfloat-abi=softfp  -g -D__ARM__ -DCONFIG_ARM -D__KERNEL__ -DHAVE_HPS_BASE
      _ADDRS_H -DHAVE_HPS_CLOCK_MANAGER_REGS_H -DHAVE_HPS_DW_APB_TIMERS_H -DHAVE_HPS_D
      W_APB_UART_H -DHAVE_HPS_INTERRUPTS_H -DHAVE_HPS_RESET_MANAGER_REGS_H -DCONFIG_ZE
      RO_BSS -DCONFIG_ENABLE_NEON -DPLATFORM_DEV5XS1 -DEXP_MIDR_VAL=0x412FC092  -DINLI
      NE=inline -DPLATFORM_DEV5XS1 -DRAM_BASE_ADDRESS=0x00000000 -DBUILD_TARGET=ROM -D
      BUILD_TARGET_ROM -I/cygdrive/e/Micrium/Port/uCOSIICycloneVSoC/APP -I/cygdrive/e/
      Micrium/Port/uCOSIICycloneVSoC/BSP -I/cygdrive/e/Micrium/Port/uCOSIICycloneVSoC/
      uC-CPU -I/cygdrive/e/Micrium/Port/uCOSIICycloneVSoC/uC-CPU/ARM-Cortex-A9/GNU -I/
      cygdrive/e/Micrium/Port/uCOSIICycloneVSoC/uC-CSP/MCU -I/cygdrive/e/Micrium/Port/
      uCOSIICycloneVSoC/uC-CSP/MCU/Altera/Cortex-A9_MPCore -I/cygdrive/e/Micrium/Port/
      uCOSIICycloneVSoC/uC-CSP/MCU/Altera/Cortex-A9_MPCore/DEV-5XS1 -I/cygdrive/e/Micr
      ium/Port/uCOSIICycloneVSoC/uC-Serial -I/cygdrive/e/Micrium/Port/uCOSIICycloneVSo
      C/uC-Serial/Source -I/cygdrive/e/Micrium/Port/uCOSIICycloneVSoC/uC-Serial/Line -
      I/cygdrive/e/Micrium/Port/uCOSIICycloneVSoC/uC-Serial/OS -I/cygdrive/e/Micrium/P
      ort/uCOSIICycloneVSoC/uC-Serial/OS/uCOS-II -I/cygdrive/e/Micrium/Port/uCOSIICycl
      oneVSoC/uC-Serial/Driver/Altera -I/cygdrive/e/Micrium/Port/uCOSIICycloneVSoC/uC-
      Serial/Driver/Altera/SOC-FPGA_Virtual -I/cygdrive/e/Micrium/Port/uCOSIICycloneVS
      oC/uC-LIB -I/cygdrive/e/Micrium/Port/uCOSIICycloneVSoC/uCOS-II/Ports/ARM-Cortex-
      A9/Generic/GNU -I/cygdrive/e/Micrium/Port/uCOSIICycloneVSoC/uCOS-II/Ports/ARM-Co
      rtex-A9/CSP/cygdrive/e/Micrium/Port/uCOSIICycloneVSoC/uCOS-II\Ports\ARM-Cortex-A
      9\CSP\Altera\Cortex-A9_MPCore -I/cygdrive/e/Micrium/Port/uCOSIICycloneVSoC/uCOS-
      II/Source -I/cygdrive/e/Micrium/Port/uCOSIICycloneVSoC/socal -MD -o BSP/bsp.o BS
      P/bsp.c'
      Makefile:187: recipe for target `BSP/bsp.o' failed
      make: *** [BSP/bsp.o] Error 1

      from the makefile:

      I onley modified :BUILD_TOOL_ROOT := C:\Program Files(x86)\CodeSourcery\Sourcery_CodeBench_Lite_for_ARM_EABI

      anyone could give me some advice about the error?

      >