Keil Logo

ARMLINK: L6235E: More than one section matches selector


Information in this knowledgebase article applies to:

  • MDK-ARM V5

QUESTION

I migrated a MDK-ARM Version 4 project to MDK-ARM Version 5, but now the Linker reports the error:

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

What is the reason and how can I solve this problem?

ANSWER

YOu may have duplicate filenames inside your project structure:

Looking at your project, you may find two versions of the startup-files. There are the original ones of your former MDK-ARM Version 4, but now also the new ones generated with MDK-ARM Version 5, located at the Device List section, as shown in this screenshot:

Note: 

Files added at after a manual selection of components at the Runtime Environment are default files which may require adaptation, while the files which came with the MDK-V4 project could be customized ones.

Based on his investigation, the user has to identify which files are to be included into his project, while the others have to be deactivated, or removed.

MORE INFORMATION

See also

Last Reviewed: Tuesday, April 4, 2017


Did this article provide the answer you needed?
 
Yes
No
Not Sure
 
  Arm logo
Important information

This site uses cookies to store information on your computer. By continuing to use our site, you consent to our cookies.

Change Settings

Privacy Policy Update

Arm’s Privacy Policy has been updated. By continuing to use our site, you consent to Arm’s Privacy Policy. Please review our Privacy Policy to learn more about our collection, use and transfers
of your data.