Copyright © https://mongoose-os.com

Mongoose OS Forum

frame

App local build failed with error message,

I use the newest version mos tool, try to build demo-c app locally with command >mos build --local --verbose --repo ../mongoose-os --arch cc3220 --lib C:/Users/Ahe/.mos

It finished with some errors like:

error: unable to rename /f/MyProj/mongoose/demo-c/build/objs/TI00ojZOtg4 to
/f/MyProj/mongoose/demo-c/build/objs/mgos_ca_bundle.c.o: No such file or
directory

Compilation failure

make: *** [/f/MyProj/mongoose/demo-c/build/objs/mgos_ca_bundle.c.o] Error 1
make: *** Waiting for unfinished jobs....
/mongoose-os/fw/platforms/cc3220/Makefile.build:328: recipe for target '/f/MyProj/mongoose/demo-c/build/objs/mgos_ca_bundle.c.o' failed
error: unable to rename /f/MyProj/mongoose/demo-c/build/objs/TI00u09kCaf to
/f/MyProj/mongoose/demo-c/build/objs/deps_init.c.o: No such file or
directory

Compilation failure

/mongoose-os/fw/platforms/cc3220/Makefile.build:328: recipe for target '/f/MyProj/mongoose/demo-c/build/objs/deps_init.c.o' failed
make: *** [/f/MyProj/mongoose/demo-c/build/objs/deps_init.c.o] Error 1
error: unable to rename /f/MyProj/mongoose/demo-c/build/objs/TI00w1tR7hx to

/f/MyProj/mongoose/demo-c/build/objs/main.c.o: No such file or directory

I noticed that some file not found, so I browse the reported lost file such as f:/MyProj/mongoose/demo-c/build/objs/TI00ojZOtg4 , actually, the file exist there.
Please help.

Comments

  • Might be related to some docker volume mount issues. Which Windows version do you use?

    Also, please run the tool with the flags --verbose --v 2 --logtostderr and post the full log here.

  • @dimonomid ,
    Thanks for your kindly help.
    I use windows 10 pro x64, build 1607. Docker Version 17.09.0-ce-win33 (13620) on an iMac

    The full build.log pasted below:

    Handling lib "aws"...
    Handling lib "http-server"...
    Handling lib "i2c"...
    Handling lib "ota-aws-shadow"...
    Handling lib "ota-http-client"...
    Handling lib "rpc-service-ota"...
    Handling lib "rpc-service-config"...
    Handling lib "rpc-service-fs"...
    Handling lib "wifi"...
    Handling lib "rpc-uart"...
    Handling lib "ota-http-server"...
    Handling lib "ca-bundle"...
    Handling lib "dash"...
    Handling lib "shadow"...
    The --lib flag was not given for it, checking repository
    The --lib flag was not given for it, checking repository
    The --lib flag was not given for it, checking repository
    The --lib flag was not given for it, checking repository
    The --lib flag was not given for it, checking repository
    The --lib flag was not given for it, checking repository
    The --lib flag was not given for it, checking repository
    The --lib flag was not given for it, checking repository
    The --lib flag was not given for it, checking repository
    The --lib flag was not given for it, checking repository
    The --lib flag was not given for it, checking repository
    The --lib flag was not given for it, checking repository
    The --lib flag was not given for it, checking repository
    The --lib flag was not given for it, checking repository
    Prebuilt binary for "ota-http-server" already exists
    Prebuilt binary for "rpc-service-fs" already exists
    Prepared local dir: "F:\MyProj\mongoose\demo-c\deps\ota-http-server"
    Lib "ota-http-client" is already handled, skipping
    Lib "http-server" is already handled, skipping
    Prebuilt binary for "shadow" already exists
    Prepared local dir: "F:\MyProj\mongoose\demo-c\deps\rpc-service-fs"
    Prebuilt binary for "ca-bundle" already exists
    Prebuilt binary for "rpc-service-config" already exists
    Handling lib "rpc-common"...
    Prepared local dir: "F:\MyProj\mongoose\demo-c\deps\shadow"
    Prepared local dir: "F:\MyProj\mongoose\demo-c\deps\ca-bundle"
    The --lib flag was not given for it, checking repository
    Prebuilt binary for "dash" already exists
    Prepared local dir: "F:\MyProj\mongoose\demo-c\deps\dash"
    Lib "rpc-common" is already handled, skipping
    Prebuilt binary for "i2c" already exists
    Prepared local dir: "F:\MyProj\mongoose\demo-c\deps\rpc-service-config"
    Lib "rpc-common" is already handled, skipping
    Prepared local dir: "F:\MyProj\mongoose\demo-c\deps\i2c"
    Prebuilt binary for "ota-aws-shadow" already exists
    Prepared local dir: "F:\MyProj\mongoose\demo-c\deps\ota-aws-shadow"
    Lib "aws" is already handled, skipping
    Lib "shadow" is already handled, skipping
    Lib "ota-http-client" is already handled, skipping
    Prebuilt binary for "ota-http-client" already exists
    Prepared local dir: "F:\MyProj\mongoose\demo-c\deps\ota-http-client"
    Prebuilt binary for "rpc-service-ota" already exists
    Prepared local dir: "F:\MyProj\mongoose\demo-c\deps\rpc-service-ota"
    Lib "ota-http-client" is already handled, skipping
    Lib "rpc-common" is already handled, skipping
    Hash is updated: "73794591d160bc32d52b3b555972f238b4a374e0" -> "ebef2beba67f7e113a6d092cd129e152fb80f1d9"
    Falling back to sources for "http-server" (failed to fetch prebuilt binary: got 404 status code when accessed https://github.com/mongoose-os-libs/http-server/releases/download/latest/libhttp-server-cc3220.a)
    Prepared local dir: "F:\MyProj\mongoose\demo-c\deps\http-server"
    Lib "atca" is optional, skipping
    Lib "ethernet" is optional, skipping
    Lib "wifi" is optional, skipping
    Falling back to sources for "wifi" (failed to fetch prebuilt binary: got 404 status code when accessed https://github.com/mongoose-os-libs/wifi/releases/download/latest/libwifi-cc3220.a)
    Prepared local dir: "F:\MyProj\mongoose\demo-c\deps\wifi"
    Hash is updated: "949e09acf6a8d6214b876d8fcba86a7d61367565" -> "323bb0430470b9f9fa349812aae1c54dd1dc3390"
    Hash is updated: "8763f05153ef3785c6acb3d8f42393b39163cebc" -> "e194594955b7a654e6d4f7eeec8d8324ce642641"
    Falling back to sources for "rpc-common" (failed to fetch prebuilt binary: got 404 status code when accessed https://github.com/mongoose-os-libs/rpc-common/releases/download/latest/librpc-common-cc3220.a)
    Prepared local dir: "F:\MyProj\mongoose\demo-c\deps\rpc-common"
    Lib "http-server" is optional, skipping
    Successfully fetched prebuilt binary for "rpc-uart" to "F:\MyProj\mongoose\demo-c\deps\rpc-uart\lib\cc3220\librpc-uart.a"
    Prepared local dir: "F:\MyProj\mongoose\demo-c\deps\rpc-uart"
    Lib "rpc-common" is already handled, skipping
    Successfully fetched prebuilt binary for "aws" to "F:\MyProj\mongoose\demo-c\deps\aws\lib\cc3220\libaws.a"
    Prepared local dir: "F:\MyProj\mongoose\demo-c\deps\aws"
    Lib "ca-bundle" is already handled, skipping
    Lib "shadow" is already handled, skipping
    Handling lib "mqtt"...
    The --lib flag was not given for it, checking repository
    Prebuilt binary for "mqtt" already exists
    Prepared local dir: "F:\MyProj\mongoose\demo-c\deps\mqtt"

  • Using mongoose-os located at "../mongoose-os"
    Sources: [F:\MyProj\mongoose\demo-c\src\main.c F:\MyProj\mongoose\demo-c\build\gen\deps_init.c F:\MyProj\mongoose\demo-c\deps\ca-bundle\src\mgos_ca_bundle.c F:\MyProj\mongoose\demo-c\deps\mqtt\src\mgos_mqtt.c F:\MyProj\mongoose\demo-c\deps\shadow\src\mgos_shadow.c F:\MyProj\mongoose\demo-c\deps\aws\src\mgos_aws.c F:\MyProj\mongoose\demo-c\deps\aws\src\mgos_aws_greengrass.c F:\MyProj\mongoose\demo-c\deps\aws\src\mgos_aws_shadow.c F:\MyProj\mongoose\demo-c\deps\wifi\src\mgos_wifi.c F:\MyProj\mongoose\demo-c\deps\wifi\src\mjs_wifi.c F:\MyProj\mongoose\demo-c\deps\wifi\cc32xx\src\cc32xx_wifi.c F:\MyProj\mongoose\demo-c\deps\http-server\src\mgos_http_server.c F:\MyProj\mongoose\demo-c\deps\rpc-common\src\mg_rpc\mg_rpc.c F:\MyProj\mongoose\demo-c\deps\rpc-common\src\mg_rpc\mg_rpc_channel_http.c F:\MyProj\mongoose\demo-c\deps\rpc-common\src\mg_rpc\mg_rpc_channel_tcp_common.c F:\MyProj\mongoose\demo-c\deps\rpc-common\src\mg_rpc\mg_rpc_channel_ws.c F:\MyProj\mongoose\demo-c\deps\rpc-common\src\mgos_rpc.c F:\MyProj\mongoose\demo-c\deps\dash\src\mgos_dash.c F:\MyProj\mongoose\demo-c\deps\i2c\src\mgos_i2c.c F:\MyProj\mongoose\demo-c\deps\i2c\cc32xx\src\cc32xx_i2c.c F:\MyProj\mongoose\demo-c\deps\rpc-service-config\src\mgos_service_config.c F:\MyProj\mongoose\demo-c\deps\rpc-service-fs\src\mgos_service_filesystem.c F:\MyProj\mongoose\demo-c\deps\rpc-uart\src\mgos_rpc_channel_uart.c]
    Include dirs: [F:\MyProj\mongoose\demo-c\deps\mqtt\include F:\MyProj\mongoose\demo-c\deps\shadow\include F:\MyProj\mongoose\demo-c\deps\aws\include F:\MyProj\mongoose\demo-c\deps\wifi\include F:\MyProj\mongoose\demo-c\deps\http-server\include F:\MyProj\mongoose\demo-c\deps\rpc-common\include\mg_rpc F:\MyProj\mongoose\demo-c\deps\rpc-common\include F:\MyProj\mongoose\demo-c\deps\dash\include F:\MyProj\mongoose\demo-c\deps\i2c\include F:\MyProj\mongoose\demo-c\deps\ota-http-client\include F:\MyProj\mongoose\demo-c\deps\ota-http-server\include F:\MyProj\mongoose\demo-c\deps\rpc-service-config\include F:\MyProj\mongoose\demo-c\deps\rpc-service-fs\include F:\MyProj\mongoose\demo-c\deps\rpc-service-ota\include F:\MyProj\mongoose\demo-c\deps\rpc-uart\include]
    Binary libs: [F:\MyProj\mongoose\demo-c\deps\ota-http-client\lib\cc3220\libota-http-client.a F:\MyProj\mongoose\demo-c\deps\ota-aws-shadow\lib\cc3220\libota-aws-shadow.a F:\MyProj\mongoose\demo-c\deps\ota-http-server\lib\cc3220\libota-http-server.a F:\MyProj\mongoose\demo-c\deps\rpc-service-ota\lib\cc3220\librpc-service-ota.a]
    Building...
    mount from "F:\MyProj\mongoose\demo-c" to "/app"
    mount from "F:\MyProj\mongoose\mongoose-os" to "/mongoose-os"
    mount from "F:\MyProj\mongoose\mongoose-os" to "/f/MyProj/mongoose/mongoose-os"
    mount from "F:\MyProj\mongoose\demo-c\build" to "/f/MyProj/mongoose/demo-c/build"
    mount from "F:\MyProj\mongoose\demo-c\src" to "/f/MyProj/mongoose/demo-c/src"
    mount from "F:\MyProj\mongoose\demo-c\build\gen" to "/f/MyProj/mongoose/demo-c/build/gen"
    mount from "F:\MyProj\mongoose\demo-c\deps\ca-bundle\src" to "/f/MyProj/mongoose/demo-c/deps/ca-bundle/src"
    mount from "F:\MyProj\mongoose\demo-c\deps\mqtt\src" to "/f/MyProj/mongoose/demo-c/deps/mqtt/src"
    mount from "F:\MyProj\mongoose\demo-c\deps\shadow\src" to "/f/MyProj/mongoose/demo-c/deps/shadow/src"
    mount from "F:\MyProj\mongoose\demo-c\deps\aws\src" to "/f/MyProj/mongoose/demo-c/deps/aws/src"
    mount from "F:\MyProj\mongoose\demo-c\deps\wifi\src" to "/f/MyProj/mongoose/demo-c/deps/wifi/src"
    mount from "F:\MyProj\mongoose\demo-c\deps\wifi\cc32xx\src" to "/f/MyProj/mongoose/demo-c/deps/wifi/cc32xx/src"
    mount from "F:\MyProj\mongoose\demo-c\deps\http-server\src" to "/f/MyProj/mongoose/demo-c/deps/http-server/src"
    mount from "F:\MyProj\mongoose\demo-c\deps\rpc-common\src\mg_rpc" to "/f/MyProj/mongoose/demo-c/deps/rpc-common/src/mg_rpc"
    mount from "F:\MyProj\mongoose\demo-c\deps\rpc-common\src" to "/f/MyProj/mongoose/demo-c/deps/rpc-common/src"
    mount from "F:\MyProj\mongoose\demo-c\deps\dash\src" to "/f/MyProj/mongoose/demo-c/deps/dash/src"
    mount from "F:\MyProj\mongoose\demo-c\deps\i2c\src" to "/f/MyProj/mongoose/demo-c/deps/i2c/src"
    mount from "F:\MyProj\mongoose\demo-c\deps\i2c\cc32xx\src" to "/f/MyProj/mongoose/demo-c/deps/i2c/cc32xx/src"
    mount from "F:\MyProj\mongoose\demo-c\deps\rpc-service-config\src" to "/f/MyProj/mongoose/demo-c/deps/rpc-service-config/src"
    mount from "F:\MyProj\mongoose\demo-c\deps\rpc-service-fs\src" to "/f/MyProj/mongoose/demo-c/deps/rpc-service-fs/src"
    mount from "F:\MyProj\mongoose\demo-c\deps\rpc-uart\src" to "/f/MyProj/mongoose/demo-c/deps/rpc-uart/src"
    mount from "F:\MyProj\mongoose\demo-c\deps\mqtt\include" to "/f/MyProj/mongoose/demo-c/deps/mqtt/include"
    mount from "F:\MyProj\mongoose\demo-c\deps\shadow\include" to "/f/MyProj/mongoose/demo-c/deps/shadow/include"
    mount from "F:\MyProj\mongoose\demo-c\deps\aws\include" to "/f/MyProj/mongoose/demo-c/deps/aws/include"
    mount from "F:\MyProj\mongoose\demo-c\deps\wifi\include" to "/f/MyProj/mongoose/demo-c/deps/wifi/include"
    mount from "F:\MyProj\mongoose\demo-c\deps\http-server\include" to "/f/MyProj/mongoose/demo-c/deps/http-server/include"
    mount from "F:\MyProj\mongoose\demo-c\deps\rpc-common\include\mg_rpc" to "/f/MyProj/mongoose/demo-c/deps/rpc-common/include/mg_rpc"
    mount from "F:\MyProj\mongoose\demo-c\deps\rpc-common\include" to "/f/MyProj/mongoose/demo-c/deps/rpc-common/include"
    mount from "F:\MyProj\mongoose\demo-c\deps\dash\include" to "/f/MyProj/mongoose/demo-c/deps/dash/include"
    mount from "F:\MyProj\mongoose\demo-c\deps\i2c\include" to "/f/MyProj/mongoose/demo-c/deps/i2c/include"
    mount from "F:\MyProj\mongoose\demo-c\deps\ota-http-client\include" to "/f/MyProj/mongoose/demo-c/deps/ota-http-client/include"
    mount from "F:\MyProj\mongoose\demo-c\deps\ota-http-server\include" to "/f/MyProj/mongoose/demo-c/deps/ota-http-server/include"
    mount from "F:\MyProj\mongoose\demo-c\deps\rpc-service-config\include" to "/f/MyProj/mongoose/demo-c/deps/rpc-service-config/include"
    mount from "F:\MyProj\mongoose\demo-c\deps\rpc-service-fs\include" to "/f/MyProj/mongoose/demo-c/deps/rpc-service-fs/include"
    mount from "F:\MyProj\mongoose\demo-c\deps\rpc-service-ota\include" to "/f/MyProj/mongoose/demo-c/deps/rpc-service-ota/include"
    mount from "F:\MyProj\mongoose\demo-c\deps\rpc-uart\include" to "/f/MyProj/mongoose/demo-c/deps/rpc-uart/include"
    mount from "F:\MyProj\mongoose\demo-c\deps\ca-bundle\fs" to "/f/MyProj/mongoose/demo-c/deps/ca-bundle/fs"
    mount from "F:\MyProj\mongoose\demo-c\fs" to "/f/MyProj/mongoose/demo-c/fs"
    mount from "F:\MyProj\mongoose\demo-c\deps\ota-http-client\lib\cc3220" to "/f/MyProj/mongoose/demo-c/deps/ota-http-client/lib/cc3220"
    mount from "F:\MyProj\mongoose\demo-c\deps\ota-aws-shadow\lib\cc3220" to "/f/MyProj/mongoose/demo-c/deps/ota-aws-shadow/lib/cc3220"
    mount from "F:\MyProj\mongoose\demo-c\deps\ota-http-server\lib\cc3220" to "/f/MyProj/mongoose/demo-c/deps/ota-http-server/lib/cc3220"
    mount from "F:\MyProj\mongoose\demo-c\deps\rpc-service-ota\lib\cc3220" to "/f/MyProj/mongoose/demo-c/deps/rpc-service-ota/lib/cc3220"
    mount from "F:\MyProj\mongoose\demo-c\build\gen" to "/f/MyProj/mongoose/demo-c/build/gen"

  • Docker arguments: run --name mos_build_2017-11-29T09-01-46-00_2101485272 --rm -i -v F:\MyProj\mongoose\demo-c\deps\aws\src:/f/MyProj/mongoose/demo-c/deps/aws/src -v F:\MyProj\mongoose\demo-c\deps\dash\src:/f/MyProj/mongoose/demo-c/deps/dash/src -v F:\MyProj\mongoose\demo-c\deps\rpc-common\include\mg_rpc:/f/MyProj/mongoose/demo-c/deps/rpc-common/include/mg_rpc -v F:\MyProj\mongoose\demo-c\deps\ota-http-client\include:/f/MyProj/mongoose/demo-c/deps/ota-http-client/include -v F:\MyProj\mongoose\demo-c\deps\rpc-service-fs\include:/f/MyProj/mongoose/demo-c/deps/rpc-service-fs/include -v F:\MyProj\mongoose\demo-c\deps\ca-bundle\fs:/f/MyProj/mongoose/demo-c/deps/ca-bundle/fs -v F:\MyProj\mongoose\demo-c\build\gen:/f/MyProj/mongoose/demo-c/build/gen -v F:\MyProj\mongoose\demo-c\deps\i2c\src:/f/MyProj/mongoose/demo-c/deps/i2c/src -v F:\MyProj\mongoose\demo-c\deps\rpc-service-config\src:/f/MyProj/mongoose/demo-c/deps/rpc-service-config/src -v F:\MyProj\mongoose\demo-c\deps\ota-http-server\include:/f/MyProj/mongoose/demo-c/deps/ota-http-server/include -v F:\MyProj\mongoose\demo-c\fs:/f/MyProj/mongoose/demo-c/fs -v F:\MyProj\mongoose\demo-c:/app -v F:\MyProj\mongoose\demo-c\build:/f/MyProj/mongoose/demo-c/build -v F:\MyProj\mongoose\demo-c\deps\ca-bundle\src:/f/MyProj/mongoose/demo-c/deps/ca-bundle/src -v F:\MyProj\mongoose\demo-c\deps\shadow\src:/f/MyProj/mongoose/demo-c/deps/shadow/src -v F:\MyProj\mongoose\demo-c\deps\rpc-service-fs\src:/f/MyProj/mongoose/demo-c/deps/rpc-service-fs/src -v F:\MyProj\mongoose\demo-c\deps\rpc-service-config\include:/f/MyProj/mongoose/demo-c/deps/rpc-service-config/include -v F:\MyProj\mongoose\demo-c\deps\rpc-service-ota\lib\cc3220:/f/MyProj/mongoose/demo-c/deps/rpc-service-ota/lib/cc3220 -v F:\MyProj\mongoose\demo-c\deps\i2c\cc32xx\src:/f/MyProj/mongoose/demo-c/deps/i2c/cc32xx/src -v F:\MyProj\mongoose\demo-c\deps\rpc-uart\src:/f/MyProj/mongoose/demo-c/deps/rpc-uart/src -v F:\MyProj\mongoose\demo-c\deps\wifi\src:/f/MyProj/mongoose/demo-c/deps/wifi/src -v F:\MyProj\mongoose\demo-c\deps\rpc-common\src\mg_rpc:/f/MyProj/mongoose/demo-c/deps/rpc-common/src/mg_rpc -v F:\MyProj\mongoose\demo-c\deps\ota-aws-shadow\lib\cc3220:/f/MyProj/mongoose/demo-c/deps/ota-aws-shadow/lib/cc3220 -v F:\MyProj\mongoose\demo-c\deps\wifi\cc32xx\src:/f/MyProj/mongoose/demo-c/deps/wifi/cc32xx/src -v F:\MyProj\mongoose\demo-c\deps\dash\include:/f/MyProj/mongoose/demo-c/deps/dash/include -v F:\MyProj\mongoose\demo-c\deps\rpc-service-ota\include:/f/MyProj/mongoose/demo-c/deps/rpc-service-ota/include -v F:\MyProj\mongoose\mongoose-os:/f/MyProj/mongoose/mongoose-os -v F:\MyProj\mongoose\demo-c\deps\http-server\src:/f/MyProj/mongoose/demo-c/deps/http-server/src -v F:\MyProj\mongoose\demo-c\deps\rpc-common\src:/f/MyProj/mongoose/demo-c/deps/rpc-common/src -v F:\MyProj\mongoose\demo-c\deps\mqtt\include:/f/MyProj/mongoose/demo-c/deps/mqtt/include -v F:\MyProj\mongoose\demo-c\deps\wifi\include:/f/MyProj/mongoose/demo-c/deps/wifi/include -v F:\MyProj\mongoose\demo-c\deps\ota-http-server\lib\cc3220:/f/MyProj/mongoose/demo-c/deps/ota-http-server/lib/cc3220 -v F:\MyProj\mongoose\demo-c\deps\i2c\include:/f/MyProj/mongoose/demo-c/deps/i2c/include -v F:\MyProj\mongoose\mongoose-os:/mongoose-os -v F:\MyProj\mongoose\demo-c\src:/f/MyProj/mongoose/demo-c/src -v F:\MyProj\mongoose\demo-c\deps\mqtt\src:/f/MyProj/mongoose/demo-c/deps/mqtt/src -v F:\MyProj\mongoose\demo-c\deps\shadow\include:/f/MyProj/mongoose/demo-c/deps/shadow/include -v F:\MyProj\mongoose\demo-c\deps\aws\include:/f/MyProj/mongoose/demo-c/deps/aws/include -v F:\MyProj\mongoose\demo-c\deps\http-server\include:/f/MyProj/mongoose/demo-c/deps/http-server/include -v F:\MyProj\mongoose\demo-c\deps\rpc-common\include:/f/MyProj/mongoose/demo-c/deps/rpc-common/include -v F:\MyProj\mongoose\demo-c\deps\rpc-uart\include:/f/MyProj/mongoose/demo-c/deps/rpc-uart/include -v F:\MyProj\mongoose\demo-c\deps\ota-http-client\lib\cc3220:/f/MyProj/mongoose/demo-c/deps/ota-http-client/lib/cc3220 docker.cesanta.com/cc3220-build:1.50.00.06-r3 /bin/bash -c nice make '-j' '4' '-C' '/app' '-f' '/mongoose-os/fw/platforms/cc3220/Makefile.build' 'all' 'APP_SOURCES=/f/MyProj/mongoose/demo-c/src/main.c /f/MyProj/mongoose/demo-c/build/gen/deps_init.c /f/MyProj/mongoose/demo-c/deps/ca-bundle/src/mgos_ca_bundle.c /f/MyProj/mongoose/demo-c/deps/mqtt/src/mgos_mqtt.c /f/MyProj/mongoose/demo-c/deps/shadow/src/mgos_shadow.c /f/MyProj/mongoose/demo-c/deps/aws/src/mgos_aws.c /f/MyProj/mongoose/demo-c/deps/aws/src/mgos_aws_greengrass.c /f/MyProj/mongoose/demo-c/deps/aws/src/mgos_aws_shadow.c /f/MyProj/mongoose/demo-c/deps/wifi/src/mgos_wifi.c /f/MyProj/mongoose/demo-c/deps/wifi/src/mjs_wifi.c /f/MyProj/mongoose/demo-c/deps/wifi/cc32xx/src/cc32xx_wifi.c /f/MyProj/mongoose/demo-c/deps/http-server/src/mgos_http_server.c /f/MyProj/mongoose/demo-c/deps/rpc-common/src/mg_rpc/mg_rpc.c /f/MyProj/mongoose/demo-c/deps/rpc-common/src/mg_rpc/mg_rpc_channel_http.c /f/MyProj/mongoose/demo-c/deps/rpc-common/src/mg_rpc/mg_rpc_channel_tcp_common.c /f/MyProj/mongoose/demo-c/deps/rpc-common/src/mg_rpc/mg_rpc_channel_ws.c /f/MyProj/mongoose/demo-c/deps/rpc-common/src/mgos_rpc.c /f/MyProj/mongoose/demo-c/deps/dash/src/mgos_dash.c /f/MyProj/mongoose/demo-c/deps/i2c/src/mgos_i2c.c /f/MyProj/mongoose/demo-c/deps/i2c/cc32xx/src/cc32xx_i2c.c /f/MyProj/mongoose/demo-c/deps/rpc-service-config/src/mgos_service_config.c /f/MyProj/mongoose/demo-c/deps/rpc-service-fs/src/mgos_service_filesystem.c /f/MyProj/mongoose/demo-c/deps/rpc-

  • uart/src/mgos_rpc_channel_uart.c' 'APP_CONF_SCHEMA=/f/MyProj/mongoose/demo-c/build/gen/mos_conf_schema.yml' 'MGOS_ENABLE_I2C_GPIO=0' 'MGOS_WIFI_ENABLE_AP_STA=0' 'MGOS_HAVE_RPC_SERVICE_FS=1' 'MGOS_HAVE_DASH=1' 'MGOS_HAVE_WIFI=1' 'PLATFORM=cc3220' 'MGOS_HAVE_RPC_UART=1' 'MGOS_HAVE_I2C=1' 'FS_STAGING_DIR=build/fs' 'FW_DIR=build/fw' 'APP_VERSION=1.0' 'MGOS_HAVE_OTA_AWS_SHADOW=1' 'MGOS_HAVE_AWS=1' 'MGOS_HAVE_OTA_HTTP_CLIENT=1' 'FFI_SYMBOLS=' 'APP_CXXFLAGS=-DMGOS_HAVE_I2C=1 -DMGOS_HAVE_RPC_UART=1 -DMGOS_HAVE_RPC_SERVICE_OTA=1 -DMGOS_HAVE_AWS=1 -DMGOS_HAVE_RPC_COMMON=1 -DMG_ENABLE_MQTT=1 -DMGOS_HAVE_DASH=1 -DMGOS_HAVE_WIFI=1 -DMGOS_HAVE_RPC_SERVICE_FS=1 -DMGOS_HAVE_RPC_SERVICE_CONFIG=1 -DMGOS_ENABLE_SYS_SERVICE=1 -DMGOS_HAVE_OTA_HTTP_SERVER=1 -DMGOS_ENABLE_TUNNEL=0 -DMGOS_ENABLE_RPC_CHANNEL_WS=1 -DMGOS_HAVE_HTTP_SERVER=1 -DMGOS_HAVE_CA_BUNDLE=1 -DMGOS_ENABLE_FILE_UPLOAD=1 -DMGOS_ENABLE_RPC_CHANNEL_HTTP=1 -DMGOS_HAVE_OTA_AWS_SHADOW=1 -DMGOS_HAVE_OTA_HTTP_CLIENT=1 -DMGOS_HAVE_SHADOW=1 -DMGOS_HAVE_MQTT=1 -DMGOS_ENABLE_WEB_CONFIG=0' 'APP_BIN_LIBS=/f/MyProj/mongoose/demo-c/deps/ota-http-client/lib/cc3220/libota-http-client.a /f/MyProj/mongoose/demo-c/deps/ota-aws-shadow/lib/cc3220/libota-aws-shadow.a /f/MyProj/mongoose/demo-c/deps/ota-http-server/lib/cc3220/libota-http-server.a /f/MyProj/mongoose/demo-c/deps/rpc-service-ota/lib/cc3220/librpc-service-ota.a' 'MGOS_HAVE_RPC_COMMON=1' 'MGOS_HAVE_HTTP_SERVER=1' 'MGOS_PATH=/mongoose-os' 'BUILD_DIR=/f/MyProj/mongoose/demo-c/build/objs' 'APP_CFLAGS=-DMGOS_HAVE_MQTT=1 -DMGOS_ENABLE_WEB_CONFIG=0 -DMGOS_HAVE_OTA_AWS_SHADOW=1 -DMGOS_HAVE_OTA_HTTP_CLIENT=1 -DMGOS_HAVE_SHADOW=1 -DMGOS_HAVE_AWS=1 -DMGOS_HAVE_RPC_COMMON=1 -DMG_ENABLE_MQTT=1 -DMGOS_HAVE_I2C=1 -DMGOS_HAVE_RPC_UART=1 -DMGOS_HAVE_RPC_SERVICE_OTA=1 -DMGOS_HAVE_RPC_SERVICE_CONFIG=1 -DMGOS_ENABLE_SYS_SERVICE=1 -DMGOS_HAVE_OTA_HTTP_SERVER=1 -DMGOS_HAVE_DASH=1 -DMGOS_HAVE_WIFI=1 -DMGOS_HAVE_RPC_SERVICE_FS=1 -DMGOS_HAVE_CA_BUNDLE=1 -DMGOS_ENABLE_FILE_UPLOAD=1 -DMGOS_ENABLE_RPC_CHANNEL_HTTP=1 -DMGOS_ENABLE_TUNNEL=0 -DMGOS_ENABLE_RPC_CHANNEL_WS=1 -DMGOS_HAVE_HTTP_SERVER=1' 'MGOS_HAVE_CA_BUNDLE=1' 'MGOS_HAVE_RPC_SERVICE_OTA=1' 'APP=demo-c' 'MGOS_ENABLE_UPDATER=1' 'MGOS_HAVE_OTA_HTTP_SERVER=1' 'GEN_DIR=/f/MyProj/mongoose/demo-c/build/gen' 'APP_INCLUDES=/f/MyProj/mongoose/demo-c/deps/mqtt/include /f/MyProj/mongoose/demo-c/deps/shadow/include /f/MyProj/mongoose/demo-c/deps/aws/include /f/MyProj/mongoose/demo-c/deps/wifi/include /f/MyProj/mongoose/demo-c/deps/http-server/include /f/MyProj/mongoose/demo-c/deps/rpc-common/include/mg_rpc /f/MyProj/mongoose/demo-c/deps/rpc-common/include /f/MyProj/mongoose/demo-c/deps/dash/include /f/MyProj/mongoose/demo-c/deps/i2c/include /f/MyProj/mongoose/demo-c/deps/ota-http-client/include /f/MyProj/mongoose/demo-c/deps/ota-http-server/include /f/MyProj/mongoose/demo-c/deps/rpc-service-config/include /f/MyProj/mongoose/demo-c/deps/rpc-service-fs/include /f/MyProj/mongoose/demo-c/deps/rpc-service-ota/include /f/MyProj/mongoose/demo-c/deps/rpc-uart/include' 'MGOS_HAVE_MQTT=1' 'MGOS_HAVE_RPC_SERVICE_CONFIG=1' 'MGOS_HAVE_SHADOW=1' 'APP_FS_FILES=/f/MyProj/mongoose/demo-c/deps/ca-bundle/fs/ca.pem /f/MyProj/mongoose/demo-c/fs/index.html' 'MANIFEST_FINAL=/f/MyProj/mongoose/demo-c/build/gen/mos_final.yml'
    make: Entering directory '/app'
    TICC /f/MyProj/mongoose/demo-c/src/main.c -> /f/MyProj/mongoose/demo-c/build/objs/main.c.o
    TICC /f/MyProj/mongoose/demo-c/build/gen/deps_init.c -> /f/MyProj/mongoose/demo-c/build/objs/deps_init.c.o
    TICC /f/MyProj/mongoose/demo-c/deps/ca-bundle/src/mgos_ca_bundle.c -> /f/MyProj/mongoose/demo-c/build/objs/mgos_ca_bundle.c.o
    TICC /f/MyProj/mongoose/demo-c/deps/mqtt/src/mgos_mqtt.c -> /f/MyProj/mongoose/demo-c/build/objs/mgos_mqtt.c.o
    error: unable to rename /f/MyProj/mongoose/demo-c/build/objs/TI00tOKQCGu to
    /f/MyProj/mongoose/demo-c/build/objs/mgos_ca_bundle.c.o: No such file or
    directory

    Compilation failure

    /mongoose-os/fw/platforms/cc3220/Makefile.build:328: recipe for target '/f/MyProj/mongoose/demo-c/build/objs/mgos_ca_bundle.c.o' failed
    make: *** [/f/MyProj/mongoose/demo-c/build/objs/mgos_ca_bundle.c.o] Error 1
    make: *** Waiting for unfinished jobs....
    error: unable to rename /f/MyProj/mongoose/demo-c/build/objs/TI00uXHMvGu to
    /f/MyProj/mongoose/demo-c/build/objs/deps_init.c.o: No such file or
    directory

    Compilation failure

    /mongoose-os/fw/platforms/cc3220/Makefile.build:328: recipe for target '/f/MyProj/mongoose/demo-c/build/objs/deps_init.c.o' failed
    make: *** [/f/MyProj/mongoose/demo-c/build/objs/deps_init.c.o] Error 1
    error: unable to rename /f/MyProj/mongoose/demo-c/build/objs/TI00ATxxDxP to
    /f/MyProj/mongoose/demo-c/build/objs/main.c.o: No such file or directory

    Compilation failure

    make: *** [/f/MyProj/mongoose/demo-c/build/objs/main.c.o] Error 1
    /mongoose-os/fw/platforms/cc3220/Makefile.build:328: recipe for target '/f/MyProj/mongoose/demo-c/build/objs/main.c.o' failed
    error: unable to rename /f/MyProj/mongoose/demo-c/build/objs/TI00CjhAKhe to
    /f/MyProj/mongoose/demo-c/build/objs/mgos_mqtt.c.o: No such file or
    directory

    Compilation failure

    /mongoose-os/fw/platforms/cc3220/Makefile.build:328: recipe for target '/f/MyProj/mongoose/demo-c/build/objs/mgos_mqtt.c.o' failed
    make: Leaving directory '/app'
    make: *** [/f/MyProj/mongoose/demo-c/build/objs/mgos_mqtt.c.o] Error 1

  • barry7barry7 Guernsey

    @esonhon, I think I had the same issue. It seemed to be a conflict between mongoose-os-libs and mongoose-os which were not both updated with the latest commits from github. I fixed it by deleting the deps folder in the project folder (contains mongoose-os-libs) and also the .mos folder (which contains mongoose-os files) which in my case was in USERPROFILE (c:\users\myname). Running mos build --local then caused both sets of files to be downloaded again and it then worked. I had a slow connection and I had to run mos build --local 3 times to give it chance to download everything.

    I would emphasise that I am no expert on this and you should not rely on what I have said being correct. Just thought I'd share it in case it helps.

  • barry7barry7 Guernsey
    edited December 5

    In case anyone wants to look into it. It seemed the 2/12/2017 commit 'Use 8k iobuf limit for aws' was in mgos_http_server.c. That code used a define from mgos_mongoose.h (MGOS_RECV_MBUF_LIMIT) but the docker tool did not update that file. The code suggested to me that a number of commits had not been put into both sets of files and it had gone out of sync since 1.21 of 30/11/2017, but I'm not certain....

  • @esonhon , can't really be helpful immediately (and don't have a win10 machine to test at the moment); a shot in the dark: what if you move your project to some other disk (like C:) and try to build it from there?

Sign In or Register to comment.