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.

[参考译文] TMS320F28379D:CCS C++编译失败且带有"subdir_rules.mk:9:目标的配方*失败"

Guru**** 2522770 points


请注意,本文内容源自机器翻译,可能存在语法或其它翻译错误,仅供参考。如需获取准确内容,请参阅链接中的英语原文或自行翻译。

https://e2e.ti.com/support/microcontrollers/c2000-microcontrollers-group/c2000/f/c2000-microcontrollers-forum/1394050/tms320f28379d-ccs-c-builds-fail-with-subdir_rules-mk-9-recipe-for-target-failed

器件型号:TMS320F28379D

工具与软件:

我的项目具有16种构建配置、可处理目标硬件的差异。 直到最近、所有版本都运行良好。  来自任何 有效编译配置的源代码模块的工作编译始终采用以下形式:  

"C:\\TI\\ccs1240\\ccs\\utils\\bin\\gmake"-k  对象

构建文件:" / .cpp"
正在调用:C2000编译器...

最近、一个编译配置的编译阶段无法编译所有源文件。 所有编译失败都会报告表单的错误消息:

subdir_rules.mk:9:目标"的配方 .obj'失败
Process_BEGIN: CreateProcess ( \make30384-1.bat、 \make30384-1.bat,...)失败。
make (e=267):目录名称无效。

每次尝试 make 时、make*.bat 文件上的数字标记都会更改。 在导致此编译失败错误的未通过编译的配置中、可能更改了哪些内容?

我们使用的是 CCS 版本12.4和 C2000编译器版本22.6.0.LTS。

  • 请注意,本文内容源自机器翻译,可能存在语法或其它翻译错误,仅供参考。如需获取准确内容,请参阅链接中的英语原文或自行翻译。

    您好!

    [quote userid="159004" url="~/support/microcontrollers/c2000-microcontrollers-group/c2000/f/c2000-microcontrollers-forum/1394050/tms320f28379d-ccs-c-builds-fail-with-subdir_rules-mk-9-recipe-for-target-failed (e=267):目录名无效。

    编译所用的任何路径中是否有空格或非字母数字字符?

    谢谢

    Ki