Invalid ELF object file

取消
显示结果 
显示  仅  | 搜索替代 
您的意思是: 
已解决

Invalid ELF object file

跳至解决方案
2,424 次查看
ioanacroitoru
Contributor I

What this error means: Invalid ELF object file ?

标签 (1)
标记 (1)
0 项奖励
回复
1 解答
1,624 次查看
Monica
Senior Contributor III

Hello Ionana!

Checking in the CodeWarrior Debugger Manual, I found the following:

Correct module names are displayed in the Module component window.

Make sure that the module name of a command that you implement is

correct:

If the .abs is in HIWARE format, some debug information is in the

object file (.o), and module names have a .o extension (e.g., fibo.o).

In ELF format, module name extensions are .c, .cpp or .dbg ( .dbg for

program sources in assembler) (e.g., fibo.c), since all debugging

information is contained in the .abs file and object files are not used.

So probably one of the modules or files its been corrupted or not properly imported, I would have to be more involved with your code to know.

Hope it helps.

Best regards!

Monica

在原帖中查看解决方案

0 项奖励
回复
2 回复数
1,625 次查看
Monica
Senior Contributor III

Hello Ionana!

Checking in the CodeWarrior Debugger Manual, I found the following:

Correct module names are displayed in the Module component window.

Make sure that the module name of a command that you implement is

correct:

If the .abs is in HIWARE format, some debug information is in the

object file (.o), and module names have a .o extension (e.g., fibo.o).

In ELF format, module name extensions are .c, .cpp or .dbg ( .dbg for

program sources in assembler) (e.g., fibo.c), since all debugging

information is contained in the .abs file and object files are not used.

So probably one of the modules or files its been corrupted or not properly imported, I would have to be more involved with your code to know.

Hope it helps.

Best regards!

Monica

0 项奖励
回复
1,624 次查看
ioanacroitoru
Contributor I

You were right. I removed the library d4d_libs08.lib and the error disappeared. But I don't know why the error appeared in the first place considering that I have another library d4d_libscf.lib that doesn't causes any problems. Anyway, thank you for the answer. :smileygrin:

0 项奖励
回复