Skip to main content
Associate III
Mar 4, 2025 1:58 PM UTC
Solved

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

 

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.
mƎALLEm
mƎALLEmBest answer
ST Technical Moderator
Mar 5, 2025 7:59 AM UTC

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

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

9 replies

Andrew Neil
Super User
Mar 4, 2025 2:04 PM UTC

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
Mar 4, 2025 2:19 PM UTC

Yes its from an example...

mƎALLEm
ST Technical Moderator
Mar 4, 2025 2:37 PM UTC

@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
Mar 4, 2025 2:08 PM UTC

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
Mar 4, 2025 2:24 PM UTC

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
Mar 4, 2025 11:59 PM UTC

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

TQ!