Skip to main content
Visitor II
March 4, 2025
Solved

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

  • March 4, 2025
  • 2 replies
  • 1492 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.

    2 replies

    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

    Visitor II
    March 4, 2025

    Yes its from an example...

    Technical Moderator
    March 4, 2025

    @HMSEdinburge wrote:

    Yes its from an example...


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

    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.

     

    Visitor II
    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!

    Visitor II
    March 4, 2025

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

    TQ!