.elf not found

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

.elf not found

3,797件の閲覧回数
lixu
Contributor II

Hi,

I am using S32DS working on MPC5748G.

The same project I was debugging, the first time it successfully, but the second time it showed :    

make: *** [makefile:80: lwip_uart_.elf] 

D:\S32_DS\workspaceS32DS.power.21\lwip_uart_\Debug_FLASH\lwip_uart_.elf not found

Indeed my .elf files have disappeared under this path. 

Could you tell me how to solve this problem, please.

Thanks and best regards,

Li Xu

0 件の賞賛
返信
10 返答(返信)

3,762件の閲覧回数
petervlna
NXP TechSupport
NXP TechSupport

Hello,

are you able to recompile the project? If yes, then simply compile it and the elf is automatically generated by default.

best regards,

Peter

0 件の賞賛
返信

3,754件の閲覧回数
lixu
Contributor II
 
0 件の賞賛
返信

3,758件の閲覧回数
lixu
Contributor II

compile failed. It shows:

make: *** [makefile:80: lwip1.elf] Error 1    lwip1    C/C++Problem

D:\S32_DS\workspaceS32DS.power.21\lwip1\Debug_FLASH\lwip1.elf not found

 

0 件の賞賛
返信

3,749件の閲覧回数
petervlna
NXP TechSupport
NXP TechSupport

Its hard to say.

Could you share whole output from console? So I can see where is the issue?

best regards,

Peter

0 件の賞賛
返信

3,745件の閲覧回数
lixu
Contributor II

it shows:

17:58:23 **** Incremental Build of configuration Debug_FLASH for project lwip1 ****
make -j8 all
Building target: lwip1.elf
Invoking: Standard S32DS C Linker
powerpc-eabivle-gcc -o "lwip1.elf" "@lwip1.args"
./SDK/middleware/tcpip/tcpip_stack/apps/udpecho/udpecho.o:(.bss.buffer+0x0): multiple definition of `buffer'
./SDK/middleware/tcpip/tcpip_stack/apps/secure_socket/secure_socket.o:(.bss.buffer+0x0): first defined here
d:/s32_ds/s32ds/build_tools/powerpc-eabivle-4_9/bin/../lib/gcc/powerpc-eabivle/4.9.4/../../../../powerpc-eabivle/bin/real-ld.exe: Warning: size of symbol `buffer' changed from 80 in ./SDK/middleware/tcpip/tcpip_stack/apps/secure_socket/secure_socket.o to 256 in ./SDK/middleware/tcpip/tcpip_stack/apps/udpecho/udpecho.o
collect2.exe: error: ld returned 1 exit status
make: *** [makefile:80: lwip1.elf] Error 1

17:58:24 Build Finished (took 1s.273ms)

0 件の賞賛
返信

3,699件の閲覧回数
jiri_kral
NXP Employee
NXP Employee

Hi, 

 

your project can't be compiled because of linker error(s). You need to fix the multiple "buffer" definition first. 

 

It is your custom project or example? 

 

Jiri 

0 件の賞賛
返信

3,695件の閲覧回数
lixu
Contributor II

Hi,

Yes, that's the question.

I always thought it was an error during "debug", so I always thought it had nothing to do with the code. But it was actually an error during "building".

Thank you very much for your reminding.

best regards,

Li Xu

0 件の賞賛
返信

3,779件の閲覧回数
lixu
Contributor II

1

0 件の賞賛
返信

3,783件の閲覧回数
petervlna
NXP TechSupport
NXP TechSupport

Hello,

elf file is a product of compilation. So I guess you cleared your build and then elf is deleted.

Simply compile the project with elf as output file set.

You can have a look on out HOW TO guides:

https://community.nxp.com/t5/S32-Design-Studio-Knowledge-Base/S32DS-list-of-HOWTOs/ta-p/1113475

 

best regards,

Peter

 

0 件の賞賛
返信

3,776件の閲覧回数
lixu
Contributor II

Hi,

I haven't found a solution in the above website.

Please explain it  again.

 

best regards,

Li Xu

0 件の賞賛
返信