Copyright © https://mongoose-os.com

Mongoose OS Forum

frame

No rule to make target

huskyhusky Salamanca

Hi!
we need help with a make error. When I add new librarys like https://github.com/mongoose-os-libs/rpc-service-ota or like https://github.com/mongoose-os-libs/rpc-service-i2c, 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/project.mk:408: recipe for target 'src-build' failed
make: Leaving directory '/app/WiPark'
make: *** [src-build] Error 2
Error: exit status 2

Thanks for help me!

Comments

  • 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?

  • josephricafortjosephricafort Philippines

    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.