This post is older than 2 years and might not be relevant anymore
More Info: Consider searching for newer posts

build mesh example failed

Hello

I meet a build problem, could any one help me solve this? 

Mesh build enviorment: ubuntu + cmake 

build command:
cmake --build /home/yuguorong/work/nordicMesh/build --config Debug --target light_switch_client_nrf52832_xxAA_s132_7.0.1 -- -j 4

The error information:
[build] [ 28%] Building C object examples/light_switch/client/CMakeFiles/light_switch_client_nrf52832_xxAA_s132_7.0.1.dir/__/__/__/mesh/core/src/flash_manager_defrag.c.obj
[build] /tmp/ccqaNgrN.s: Assembler messages:
[build] /tmp/ccqaNgrN.s:398: Error: invalid constant (dead) after fixup
[build] examples/light_switch/client/CMakeFiles/light_switch_client_nrf52832_xxAA_s132_7.0.1.dir/build.make:309: recipe for target 'examples/light_switch/client/CMakeFiles/light_switch_client_nrf52832_xxAA_s132_7.0.1.dir/__/__/common/src/app_error_weak.c.obj' failed
[build] make[3]: *** [examples/light_switch/client/CMakeFiles/light_switch_client_nrf52832_xxAA_s132_7.0.1.dir/__/__/common/src/app_error_weak.c.obj] Error 1
[build] make[3]: *** Waiting for unfinished jobs....
[build] CMakeFiles/Makefile2:4140: recipe for target 'examples/light_switch/client/CMakeFiles/light_switch_client_nrf52832_xxAA_s132_7.0.1.dir/all' failed
[build] make[2]: *** [examples/light_switch/client/CMakeFiles/light_switch_client_nrf52832_xxAA_s132_7.0.1.dir/all] Error 2
[build] CMakeFiles/Makefile2:4152: recipe for target 'examples/light_switch/client/CMakeFiles/light_switch_client_nrf52832_xxAA_s132_7.0.1.dir/rule' failed
[build] Makefile:1171: recipe for target 'light_switch_client_nrf52832_xxAA_s132_7.0.1' failed
[build] make[1]: *** [examples/light_switch/client/CMakeFiles/light_switch_client_nrf52832_xxAA_s132_7.0.1.dir/rule] Error 2
[build] make: *** [light_switch_client_nrf52832_xxAA_s132_7.0.1] Error 2
[build] Build finished with exit code 2

Parents Reply Children
No Data
Related