How to resolve "internal linker error: File: 'ELF_PPC_EABI.c' Line: 6931"

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

How to resolve "internal linker error: File: 'ELF_PPC_EABI.c' Line: 6931"

Jump to solution
2,081 Views
afleury
Contributor II

Hello,

I have 2 remaining linker errors to resolve with CW PA 10.5.1:

  1. internal linker error: File: 'ELF_PPC_EABI.c' Line: 6931.
  2. internal linker error: File: 'ELF_PPC_EABI.c' Line: 6927.

CW PA doesn't give more. Do those linker errors come from something wrong in the lcf file?

Waiting for any clue.

Regards,

0 Kudos
Reply
1 Solution
2,028 Views
afleury
Contributor II

Rewriting a part of the LCF file with this resolve the issue:

.text (TEXT) :
{
*(.text)
*(.init)
*(.fini)
*(.const)
*(hex_section)
}
.ctors : {}
.dtors : {}

View solution in original post

0 Kudos
Reply
3 Replies
2,042 Views
yipingwang
NXP TechSupport
NXP TechSupport

Please open "PowerPC Linker" panel from Project->Properties->C/C++ Build->Settings->PowerPC Linker->Input, in "Library Files", please add files "C:\Freescale\CW_PA_v10.5.1\PA\PA_Support\ewl\lib\librt_E500V2.a" and

"C:\Freescale\CW_PA_v10.5.1\PA\PA_Support\ewl\lib\libc99_E500V2.a".

If your problem persists, would you please send your CodeWarrior project to me to do more investigation?

0 Kudos
Reply
2,033 Views
afleury
Contributor II

Hi yipingwang,

Those two library files were already there in the project. It is something else.

I'm going to try to redo the LCF file first before sending the source code for investigation.

I have attached the LCF file to this message.

Regards,

0 Kudos
Reply
2,029 Views
afleury
Contributor II

Rewriting a part of the LCF file with this resolve the issue:

.text (TEXT) :
{
*(.text)
*(.init)
*(.fini)
*(.const)
*(hex_section)
}
.ctors : {}
.dtors : {}

0 Kudos
Reply