This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

CCS/EK-TM4C1294XL: TI-RTOS FOR TIVA C

Part Number: EK-TM4C1294XL
Other Parts Discussed in Thread: CC3100

Tool/software: Code Composer Studio

Hi,

  I  have TM4C1294 Evaluation Kit  and cc3100 boosterpack and i have installed  tirtos_tivac_2_16_01_14.   When i try to build debug for the example codes from Tiva RTOS Tiva C series  examples, I'm getting an Error ...

xdc.cfg.SourceDir : Build of generated source libraries failed: exit status = 2: .xdchelp /udpEchoCC3X00_DK_TM4C129X_TI_TivaTM4C129XNCZAD line 209 C/C++ Problem

getting Same error with other wi fi examples.What will be the problem? 

Thanks 

Rohit

  • Hi Rohit,

    What CCS are you using? What is the full path of the workspace you are using? Can you attach the full build log? Also, does the driver/empty import and build properly? What about Kernel/typical?

    Todd
  • Hi  ToddMullanix,

    Thanks for your reply..!

    I'm Using CCS Version: 6.1.1.00022 , yeah i tried to import and build empty project but its showing the same error. 

    Where i can find the kernal /typical ?

    Thanks 

    Rohit

  • Don't worry about typical. Can you you attach the full build log for the drivers/empty project?
  • Sorry, not build settings. Build output (e.g. all the compiler/linker output). For example these contents. I'd like you to copy and paste the entire text into a file and attach that file.

  • Hi ToddMullanix,

     

               I have attached the Build output file .

    **** Build of configuration Debug for project empty_EK_TM4C129EXL_TI_TivaTM4C129ENCPDT ****
    
    "C:\\ti\\ccsv6\\utils\\bin\\gmake" -k all 
    'Building file: ../empty.cfg'
    'Invoking: XDCtools'
    "C:/ti/xdctools_3_31_00_24_core/xs" --xdcpath="C:/ti/tirtos_tivac_2_16_01_14/packages;C:/ti/tirtos_tivac_2_16_01_14/products/tidrivers_tivac_2_16_01_13/packages;C:/ti/tirtos_tivac_2_16_01_14/products/bios_6_45_02_31/packages;C:/ti/tirtos_tivac_2_16_01_14/products/ndk_2_25_00_09/packages;C:/ti/tirtos_tivac_2_16_01_14/products/uia_2_00_05_50/packages;C:/ti/tirtos_tivac_2_16_01_14/products/ns_1_11_00_10/packages;C:/ti/ccsv6/ccs_base;" xdc.tools.configuro -o configPkg -t ti.targets.arm.elf.M4F -p ti.platforms.tiva:TM4C129ENCPDT -r release -c "C:/ti/ccsv6/tools/compiler/ti-cgt-arm_17.3.0.STS" --compileOptions "-mv7M4 --code_state=16 --float_support=FPv4SPD16 -me --include_path=\"C:/ti/ccsv6/tools/compiler/ti-cgt-arm_17.3.0.STS/include\" --include_path=\"C:/Users/user1/Desktop/code composer/empty_EK_TM4C129EXL_TI_TivaTM4C129ENCPDT\" --include_path=\"C:/ti/tirtos_tivac_2_16_01_14/products/TivaWare_C_Series-2.1.1.71b\" --include_path=\"C:/ti/tirtos_tivac_2_16_01_14/products/bios_6_45_02_31/packages/ti/sysbios/posix\" --define=ccs=\"ccs\" --define=PART_TM4C129ENCPDT --define=ccs --define=TIVAWARE -g --gcc --diag_warning=225 --diag_warning=255 --diag_wrap=off --display_error_number --gen_func_subsections=on --abi=eabi  " "../empty.cfg"
    making package.mak (because of package.bld) ...
    generating interfaces for package configPkg (because package/package.xdc.inc is older than package.xdc) ...
    configuring empty.xem4f from package/cfg/empty_pem4f.cfg ...
    generating custom ti.sysbios library makefile ... 
    Starting build of library sources ...
    making C:/Users/user1/Desktop/CODECO~2/empty_EK_TM4C129EXL_TI_TivaTM4C129ENCPDT/src/sysbios/sysbios.aem4f ...
    gmake[1]: Entering directory `C:/Users/user1/Desktop/CODECO~2/empty_EK_TM4C129EXL_TI_TivaTM4C129ENCPDT/src/sysbios'
    clem4f C:/ti/tirtos_tivac_2_16_01_14/products/bios_6_45_02_31/packages/ti/sysbios/BIOS.c ...
    C:/Users/user1/AppData/Local/Temp/make65660-1.sh: 1: Syntax error: Unterminated quoted string
    gmake[1]: *** [BIOS.obj] Error 2
    gmake[1]: Leaving directory `C:/Users/user1/Desktop/CODECO~2/empty_EK_TM4C129EXL_TI_TivaTM4C129ENCPDT/src/sysbios'
    gmake: *** [C:/Users/user1/Desktop/CODECO~2/empty_EK_TM4C129EXL_TI_TivaTM4C129ENCPDT/src/sysbios/sysbios.aem4f] Error 2
    Build of libraries failed.
    error: xdc.cfg.SourceDir: "C:/ti/xdctools_3_31_00_24_core/packages/xdc/cfg/SourceDir.xs", line 184: xdc.cfg.SourceDir : Build of generated source libraries failed: exit status = 2:
    
    js: "C:/ti/xdctools_3_31_00_24_core/packages/xdc/cfg/Main.xs", line 160: Error: Configuration failed!
    gmake.exe: *** [package/cfg/empty_pem4f.xdl] Error 1
    gmake.exe: *** Deleting file `package/cfg/empty_pem4f.xdl'
    gmake.exe: *** [package/cfg/empty_pem4f.xdl] Deleting file `package/cfg/empty_pem4f.h'
    gmake.exe: *** [package/cfg/empty_pem4f.xdl] Deleting file `package/cfg/empty_pem4f.c'
    js: "C:/ti/xdctools_3_31_00_24_core/packages/xdc/tools/Cmdr.xs", line 51: Error: xdc.tools.configuro: configuration failed due to earlier errors (status = 2); 'linker.cmd' deleted.
    gmake: Target `all' not remade because of errors.
    
    **** Build Finished ****
    

  • Rohit Togale said:
     I have attached the Build output file .

    The build output shows the following error:

    C:/Users/user1/AppData/Local/Temp/make65660-1.sh: 1: Syntax error: Unterminated quoted string

    That error can be caused by spaces in the pathnames used during the build.

    The build output show there is a space in the workspace directory name:

    C:/Users/user1/Desktop/code composer/empty_EK_TM4C129EXL_TI_TivaTM4C129ENCPDT

    Can you rename the workspace directory from:

    code composer 

    To:

    code_composer

    And see if that fixes the error.

  • Hi ToddMullanix,

    Finally No Error  ..!!!

    Thank you so much :)