Copyright ©

Mongoose OS Forum


No rule to make target

huskyhusky Salamanca

we need help with a make error. When I add new librarys like or like, I see some errors like this:

CC mgos_rpc_service_ota.o
CC mgos_service_config.o
make[1]: *** No rule to make target '/mongoose-os/common/mg_rpc/mg_rpc_channel_http.c', needed by 'mg_rpc_channel_http.o'.  Stop.
make[1]: *** Waiting for unfinished jobs....
make[1]: Leaving directory '/app/WiPark/build/objs/src'
/opt/Espressif/esp-idf/make/ recipe for target 'src-build' failed
make: Leaving directory '/app/WiPark'
make: *** [src-build] Error 2
Error: exit status 2

Thanks for help me!


  • huskyhusky Salamanca
    edited June 2017

    The file mg_rpc_channel_http.c is not in /mongoose-os/common/mg_rpc/ is in /mongoose-os/../../libs/rpc-common/src/mg_rpc/. Do I have a bad path?

  • I experience the same thing but here's my error:

        make: *** No rule to make target '/c/users/joseph/documents/mongoose/apps/empty/build/gen/mos_final.yml', needed by '/c/users/joseph/documents/mongoose/apps/empty/build/gen/sdkconfig'.  Stop.
        make: Leaving directory '/app'
        Error: exit status 2

    I am building locally using an empty app.

Sign In or Register to comment.