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
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
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
Its hard to say.
Could you share whole output from console? So I can see where is the issue?
best regards,
Peter
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)
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
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
1
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
Hi,
I haven't found a solution in the above website.
Please explain it again.
best regards,
Li Xu