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.

CCSTUDIO: GMAKE error no rule to build, and other errors cannot find files

Part Number: CCSTUDIO
Other Parts Discussed in Thread: CC1310, SYSBIOS

Hi im building a project which i cloned to my new pc. the project has a dependency project  "tirtos_builds_CC1310_LAUNCHXL_debug_ccs", at first when i imported both the projects it said 
Build stopped as the referenced RTSC project...something liek that and the other project said something like below


gmake[1]: *** No rule to make target 'xdc/runtime/Registry.c', needed by 'rom_sysbios.obj'.

Then now whats happening is the main project says  errors like the below one (100 +)
error #10056: symbol "PINCC26XX_setMux" redefined: first defined in "./PINCC26XX.obj"; redefined in "../Debug__TI/PINCC26XX.obj"

Pls help i tried to bring the project settings file from my colleagues pc and still not working

Compiler and sdk settings are all updated to be same on both (sdk is 1.50)

Thanks

  • Hello,

    Hi im building a project which i cloned to my new pc.

    Did you just re-import the project from the other PC and copy over any other dependencies like SDKs? If so, is everything in the same paths?

    Thanks

    ki

  • i cloned from bitbucket, i tried transfering from my machine.  
    now to my surprise it worked first time when i imprted the project

    but then i changed the commit by clearing the build files (in a hope that it will be regenrated again in next build)

    but it went on to show the same error, even switching back to the succesful commit is now showing the same error

    from the main project i am getting below output 

    Buildfile generation error occurred..
    Cannot build project. Referenced RTSC Configuration project 'tirtos_builds_CC1310_LAUNCHXL_debug_ccs' contains build-errors.
    Build stopped..

    the below is the output from tirtos_builds_cc1310_launchxl_debug_ccs

    ../src/makefile.libs:56: recipe for target '../src/sysbios/rom_sysbios.aem3' failed
    gmake[1]: *** No rule to make target 'xdc/runtime/xdc_noinit.c', needed by 'rom_sysbios.obj'.
    gmake[1]: *** No rule to make target 'xdc/runtime/Assert.c', needed by 'rom_sysbios.obj'.
    gmake[1]: *** No rule to make target 'xdc/runtime/Core-mem.c', needed by 'rom_sysbios.obj'.
    gmake[1]: *** No rule to make target 'xdc/runtime/Core-smem.c', needed by 'rom_sysbios.obj'.
    gmake[1]: *** No rule to make target 'xdc/runtime/Core-label.c', needed by 'rom_sysbios.obj'.
    gmake[1]: *** No rule to make target 'xdc/runtime/Core-params.c', needed by 'rom_sysbios.obj'.
    gmake[1]: *** No rule to make target 'xdc/runtime/Diags.c', needed by 'rom_sysbios.obj'.
    gmake[1]: *** No rule to make target 'xdc/runtime/Error.c', needed by 'rom_sysbios.obj'.
    gmake[1]: *** No rule to make target 'xdc/runtime/Gate.c', needed by 'rom_sysbios.obj'.
    gmake[1]: *** No rule to make target 'xdc/runtime/Log.c', needed by 'rom_sysbios.obj'.
    gmake[1]: *** No rule to make target 'xdc/runtime/Memory.c', needed by 'rom_sysbios.obj'.
    gmake[1]: *** No rule to make target 'xdc/runtime/Registry.c', needed by 'rom_sysbios.obj'.
    gmake[1]: *** No rule to make target 'xdc/runtime/Startup.c', needed by 'rom_sysbios.obj'.
    gmake[1]: *** No rule to make target 'xdc/runtime/System.c', needed by 'rom_sysbios.obj'.
    gmake[1]: *** No rule to make target 'xdc/runtime/SysCallback.c', needed by 'rom_sysbios.obj'.
    gmake[1]: *** No rule to make target 'xdc/runtime/SysMin.c', needed by 'rom_sysbios.obj'.
    gmake[1]: *** No rule to make target 'xdc/runtime/Text.c', needed by 'rom_sysbios.obj'.
    gmake[1]: *** No rule to make target 'xdc/runtime/Timestamp.c', needed by 'rom_sysbios.obj'.
    gmake[1]: Target 'all' not remade because of errors.
    gmake: *** [../src/sysbios/rom_sysbios.aem3] Error 2
    gmake: Target 'all' not remade because of errors.

  • but then i changed the commit by clearing the build files (in a hope that it will be regenrated again in next build)

    What exact files got cleared?

    Did you try cleaning the dependent ti-rtos project?