error: L6235E: More than one section matches selector - cannot all be FIRST/LAST.

Posted ranger001

tags:

篇首语:本文由小常识网(cha138.com)小编为大家整理,主要介绍了error: L6235E: More than one section matches selector - cannot all be FIRST/LAST.相关的知识,希望对你有一定的参考价值。

编译环境:RVMDK

CPU :STM32F103VC

错误:.objmovSERVO.sct(7): error: L6235E: More than one section matches selector - cannot all be FIRST/LAST.

原因:项目中同时包含以下启动文件,

   startup_stm32f10x_hd.s

        startup_stm32f10x_md.s

        startup_stm32f10x_ld.s

     ......

        应该针对不同的CPU选择不同的启动文件。

解决办法1:从项目中删除不相关的启动文件

解决办法2:右击不相关的启动文件,点击 options for file ‘startup_stm32f10x_md.s‘...

                在弹出的对话框中的properties页,勾去灰化的‘Include in Target Build‘和‘Always Build’两项。

以上是关于error: L6235E: More than one section matches selector - cannot all be FIRST/LAST.的主要内容,如果未能解决你的问题,请参考以下文章

解决方法:Keil提示错误信息error: L6235E: More than one section matches selector - cannot all be FIRST/LAST.

解决方法:Keil提示错误信息error: L6235E: More than one section matches selector - cannot all be FIRST/LAST.

gradle build error “archive contains more than 65535 entries”

error: src refspec XXX matches more than one

使用 Git 报错 error: src refspec master matches more than one.

[git]-Failed with error: dst refspec 1.9.3-20100630 matches more than one.