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.

No rule to make target '|'

Other Parts Discussed in Thread: TM4C129ENCPDT, SYSBIOS

Since latest CCSV6 tools updates my project fails to compile properly.

It gives the following error

C:\ti\ccsv6\utils\bin\gmake: *** No rule to make target `|', needed by `configPkg/compiler.opt'. RM3118_TIVA  Unknown C/C++ Problem

How do I track down what has caused this error?

"C:\\ti\\ccsv6\\utils\\bin\\gmake" -k all

C:\ti\ccsv6\utils\bin\gmake: *** No rule to make target `|', needed by `configPkg/compiler.opt'.

'Building file: ../RM3118.cfg'

'Invoking: XDCtools'

"c:/ti/xdctools_3_30_06_67_core/xs" --xdcpath="C:/ti/tirtos_tivac_2_10_01_38/packages;C:/ti/tirtos_tivac_2_10_01_38/products/bios_6_41_00_26/packages;C:/ti/tirtos_tivac_2_10_01_38/products/ndk_2_24_01_18/packages;C:/ti/tirtos_tivac_2_10_01_38/products/uia_2_00_02_39/packages;C:/ti/ccsv6/ccs_base;" xdc.tools.configuro -o configPkg -t ti.targets.arm.elf.M4F -p ti.platforms.tiva:TM4C129ENCPDT -r debug -c "C:/ti/ccsv6/tools/compiler/arm_5.1.10" "../RM3118.cfg"

making package.mak (because of package.bld) ...

generating interfaces for package configPkg (because package/package.xdc.inc is older than package.xdc) ...

configuring RM3118.xem4f from package/cfg/RM3118_pem4f.cfg ...

generating custom ti.sysbios library makefile ...

Starting build of library sources ...

making C:/Data/projects/CCS_V6_Workspace/RM3118_TIVA/src/sysbios/sysbios.aem4f ...

gmake[1]: Entering directory `C:/Data/projects/CCS_V6_Workspace/RM3118_TIVA/src/sysbios'

gmake[1]: Nothing to be done for `all'.

gmake[1]: Leaving directory `C:/Data/projects/CCS_V6_Workspace/RM3118_TIVA/src/sysbios'

Build of libraries done.

clem4f package/cfg/RM3118_pem4f.c ...

'Finished building: ../RM3118.cfg'

' '

I have tried doing a clean build.

I have tried an uninstall and reinstall of CCSV6  (Version: 6.1.0.00104)

It would seem to indicate a corrupted config somewhere but I don't know where to start looking?

 

  • Additional information.
    The error goes away if I build with gmake version 3.81
    If I compile with the default gmake as provided with CCSV6 which is version 3.78 I get the error.

    However msp430 projects won't compile properly with the gmake version 3.81, they only work with the provided gmake 3.78.
    So I'd like to determine what it is that gmake 3.78 doesn't like so I can fix it and use the one version of gmake throughout the CCSV6 environment.
  • Looks like the managed makefile is using commands for gmake that aren't supported by the version released with CCSV6.

    Within the automatically generated subdir_rules.mk have found the following command

    configPkg/compiler.opt: | configPkg/linker.cmd
    configPkg/: | configPkg/linker.cmd

    According to this discussion this didn't come in till gmake 3.80 but the gmake distributed as default in ccsV6 is 3.78
    www.kolpackov.net/.../000001.html
  • Hi,

    According to this post from Ki, it seems you may have another release of gmake in your system path (Cygwin or other packages may have put that there).

    I can also confirm what was said by Ki: my copies of CCS since v5 come with gmake 3.8x.

    Hope this helps,

    Rafael