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

キャンセル
次の結果を表示 
表示  限定  | 次の代わりに検索 
もしかして: 

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

ソリューションへジャンプ
2,082件の閲覧回数
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 件の賞賛
返信
1 解決策
2,029件の閲覧回数
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 件の賞賛
返信
3 返答(返信)
2,043件の閲覧回数
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 件の賞賛
返信
2,034件の閲覧回数
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 件の賞賛
返信
2,030件の閲覧回数
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 件の賞賛
返信