Skip to main content
Associate III
March 4, 2025
Solved

H750-DISCO error: no rule to make altcp.c; needed by altcp.o

  • March 4, 2025
  • 9 replies
  • 1575 views

 

21:56:14 **** Incremental Build of configuration Debug for project H745_Ethernet_PING_CM7 ****
make -j8 all 
make: *** No rule to make target 'C:/Users/STM32CubeIDE/workspace_1.10.1/H745_Ethernet_PING/Middlewares/Third_Party/LwIP/src/core/altcp.c', needed by 'Middlewares/Third_Party/LwIP/altcp.o'. Stop.
"make -j8 all" terminated with exit code 2. Build might be incomplete.

21:56:15 Build Failed. 1 errors, 0 warnings. (took 706ms)

 

Hello... i entered this error on H750-DISCO running on Ethernet MII , anyone can pls help, TQ!

This topic has been closed for replies.
Best answer by mƎALLEm

Remove it from your project tree and add it again using drag and drop.

9 replies

Andrew Neil
Super User
March 4, 2025

So how did you get to this point?

Are you working from an example, or what?

 

How to write your question to maximize your chances to find a solution

A complex system that works is invariably found to have evolved from a simple system that worked.A complex system designed from scratch never works and cannot be patched up to make it work.
Associate III
March 4, 2025

Yes its from an example...

mƎALLEm
ST Technical Moderator
March 4, 2025

@HMSEdinburge wrote:

Yes its from an example...


Which example? how you did get it? and did you modify it?

To give better visibility on the answered topics, please click "Best answer" on the reply which solved your issue or answered your question.
mƎALLEm
ST Technical Moderator
March 4, 2025

This means altcp.c is missing in this path: Middlewares/Third_Party/LwIP/src/core or may be you don't need it, so try to remove it from your project tree.

 

To give better visibility on the answered topics, please click "Best answer" on the reply which solved your issue or answered your question.
Associate III
March 4, 2025

ok i see what u mean, it is in the folder, albeit in a different path, could u advise how to point to the correct path? TQ!

Associate III
March 4, 2025

hello.. could anyone advise how to set the correct path:  .. LWIP\Middleware\Third_Party_LwIP\altcp.c?

TQ!