This discussion has been locked.
You can no longer post new replies to this discussion. If you have a question you can start a new discussion

how to resolve L6045e error in MDK ARM professorial

Hi

I am using MDK ARM professorial 5.38 with AC6.19. I have a pre-bulid library to integrate my project, when i compile the project with the library, the build output throw warning and error messages as below:

Warning: L6170W: Mapping symbol #30 '$t' in .bss(encode.o:21) identifies code, but is in a section not marked as executable.
Warning: L6170W: Mapping symbol #32 '$t' in .bss(encode.o:22) identifies code, but is in a section not marked as executable.
Warning: L6170W: Mapping symbol #34 '$t' in .bss(encode.o:23) identifies code, but is in a section not marked as executable.
Warning: L6170W: Mapping symbol #36 '$t' in .bss(encode.o:24) identifies code, but is in a section not marked as executable.
Warning: L6170W: Mapping symbol #38 '$t' in .bss(encode.o:25) identifies code, but is in a section not marked as executable.
Warning: L6170W: Mapping symbol #40 '$t' in .bss(encode.o:26) identifies code, but is in a section not marked as executable.
Warning: L6170W: Mapping symbol #42 '$t' in .bss(encode.o:27) identifies code, but is in a section not marked as executable.
Warning: L6170W: Mapping symbol #44 '$t' in .bss(encode.o:28) identifies code, but is in a section not marked as executable.
Warning: L6170W: Mapping symbol #46 '$t' in .bss(encode.o:29) identifies code, but is in a section not marked as executable.
Error: L6405E: No .ANY selector matches encode.o(.bss).
Error: L6405E: No .ANY selector matches encode.o(.bss).
Error: L6405E: No .ANY selector matches encode.o(.bss).
Error: L6405E: No .ANY selector matches encode.o(.bss).
Error: L6405E: No .ANY selector matches encode.o(.bss).
Error: L6405E: No .ANY selector matches encode.o(.bss).
Error: L6405E: No .ANY selector matches encode.o(.bss).

snapshot as below:

How can i resolve this error, I have checked the arm compiler document about the "ANY selector" chapter, but i don't know about it.

Thanks very much,

Parents
  • Is encode.o from the library?

    From the errors and warnings shown, it seems to be that this object has marked ZI data (.bss section)  as code. I don't know why this would be.

    Is it possible to share this object (and its source code, if available). Please create a support case from the menu above to share with Arm privately. You can reference this thread.

Reply
  • Is encode.o from the library?

    From the errors and warnings shown, it seems to be that this object has marked ZI data (.bss section)  as code. I don't know why this would be.

    Is it possible to share this object (and its source code, if available). Please create a support case from the menu above to share with Arm privately. You can reference this thread.

Children