Hi guys,
I created an example for Mesh SDK where I defined my own header files. I called those header files in appropriate C files and tried to build and run a code but then an issue occurred. I am not able to build the solution and there is always the same message "Build failed" without any error or assert. Can you please help me to solve this issue.
The output looks like this:
Rebuilding ‘scheduler’ from solution ‘lpn_nrf52832_xxAA_s132_7.0.1’ in configuration ‘Debug’ 1> Compiling ‘main.c’ 2> Compiling ‘mesh_provisionee.c’ 3> Compiling ‘rtt_input.c’ 4> Compiling ‘mesh_app_utils.c’ 5> Compiling ‘ble_dfu_support.c’ 6> Compiling ‘mesh_adv.c’ 7> Compiling ‘nrf_mesh_weak.c’ 8> Compiling ‘app_error_weak.c’ 1> C:\Users\IDLab guest\Documents\GitHub\BLUESS_BLE\nrf5_SDK_for_Mesh_v4.2.0_src\examples\scheduler\src\main.c:151:74: warning: comparison between pointer and integer 1> C:\Users\IDLab guest\Documents\GitHub\BLUESS_BLE\nrf5_SDK_for_Mesh_v4.2.0_src\examples\scheduler\src\main.c:251:16: warning: 'return' with a value, in function returning void 1> C:\Users\IDLab guest\Documents\GitHub\BLUESS_BLE\nrf5_SDK_for_Mesh_v4.2.0_src\examples\scheduler\src\main.c:246:6: note: declared here 1> C:\Users\IDLab guest\Documents\GitHub\BLUESS_BLE\nrf5_SDK_for_Mesh_v4.2.0_src\examples\scheduler\src\main.c:268:16: warning: 'return' with a value, in function returning void 1> C:\Users\IDLab guest\Documents\GitHub\BLUESS_BLE\nrf5_SDK_for_Mesh_v4.2.0_src\examples\scheduler\src\main.c:263:6: note: declared here 1> C:\Users\IDLab guest\Documents\GitHub\BLUESS_BLE\nrf5_SDK_for_Mesh_v4.2.0_src\examples\scheduler\src\main.c:301:17: warning: implicit declaration of function 'completed_Task' [-Wimplicit-function-declaration] 1> C:\Users\IDLab guest\Documents\GitHub\BLUESS_BLE\nrf5_SDK_for_Mesh_v4.2.0_src\examples\scheduler\src\main.c:301:17: warning: passing argument 1 of 'callbackFun' makes pointer from integer without a cast [-Wint-conversion] 1> C:\Users\IDLab guest\Documents\GitHub\BLUESS_BLE\nrf5_SDK_for_Mesh_v4.2.0_src\examples\scheduler\src\main.c:280:25: note: expected 'void (*)(struct TaskInstance *, _Bool *)' but argument is of type 'int' 1> C:\Users\IDLab guest\Documents\GitHub\BLUESS_BLE\nrf5_SDK_for_Mesh_v4.2.0_src\examples\scheduler\src\main.c:304:6: warning: conflicting types for 'completed_Task' 1> C:\Users\IDLab guest\Documents\GitHub\BLUESS_BLE\nrf5_SDK_for_Mesh_v4.2.0_src\examples\scheduler\src\main.c:301:17: note: previous implicit declaration of 'completed_Task' was here 1> C:\Users\IDLab guest\Documents\GitHub\BLUESS_BLE\nrf5_SDK_for_Mesh_v4.2.0_src\examples\scheduler\src\main.c:362:48: warning: passing argument 1 of 'sd_flash_write' from incompatible pointer type [-Wincompatible-pointer-types] 1> In file included from C:/Users/IDLab guest/Documents/GitHub/BLUESS_BLE/nRF5_SDK_16.0.0_98a08e2/components/softdevice/s132/headers/nrf52/nrf_mbr.h:50, 1> from C:/Users/IDLab guest/Documents/GitHub/BLUESS_BLE/nRF5_SDK_16.0.0_98a08e2/components/libraries/util/app_util.h:133, 1> from C:/Users/IDLab guest/Documents/GitHub/BLUESS_BLE/nRF5_SDK_16.0.0_98a08e2/integration/nrfx/nrfx_glue.h:71, 1> from C:/Users/IDLab guest/Documents/GitHub/BLUESS_BLE/nRF5_SDK_16.0.0_98a08e2/modules/nrfx/nrfx.h:46, 1> from C:/Users/IDLab guest/Documents/GitHub/BLUESS_BLE/nRF5_SDK_16.0.0_98a08e2/modules/nrfx/hal/nrf_gpio.h:44, 1> from C:/Users/IDLab guest/Documents/GitHub/BLUESS_BLE/nRF5_SDK_16.0.0_98a08e2/components/boards/boards.h:43, 1> from C:\Users\IDLab guest\Documents\GitHub\BLUESS_BLE\nrf5_SDK_for_Mesh_v4.2.0_src\examples\scheduler\src\application.h:11, 1> from C:\Users\IDLab guest\Documents\GitHub\BLUESS_BLE\nrf5_SDK_for_Mesh_v4.2.0_src\examples\scheduler\src\main.c:1: 1> C:/Users/IDLab guest/Documents/GitHub/BLUESS_BLE/nRF5_SDK_16.0.0_98a08e2/components/softdevice/s132/headers/nrf_soc.h:843:60: note: expected 'uint32_t *' {aka 'unsigned int *'} but argument is of type 'struct TaskInstance *' 1> C:/Users/IDLab guest/Documents/GitHub/BLUESS_BLE/nRF5_SDK_16.0.0_98a08e2/components/softdevice/s132/headers/nrf_svc.h:76:22: note: in definition of macro 'SVCALL' 1> C:\Users\IDLab guest\Documents\GitHub\BLUESS_BLE\nrf5_SDK_for_Mesh_v4.2.0_src\examples\scheduler\src\main.c:362:62: warning: passing argument 2 of 'sd_flash_write' from incompatible pointer type [-Wincompatible-pointer-types] 1> In file included from C:/Users/IDLab guest/Documents/GitHub/BLUESS_BLE/nRF5_SDK_16.0.0_98a08e2/components/softdevice/s132/headers/nrf52/nrf_mbr.h:50, 1> from C:/Users/IDLab guest/Documents/GitHub/BLUESS_BLE/nRF5_SDK_16.0.0_98a08e2/components/libraries/util/app_util.h:133, 1> from C:/Users/IDLab guest/Documents/GitHub/BLUESS_BLE/nRF5_SDK_16.0.0_98a08e2/integration/nrfx/nrfx_glue.h:71, 1> from C:/Users/IDLab guest/Documents/GitHub/BLUESS_BLE/nRF5_SDK_16.0.0_98a08e2/modules/nrfx/nrfx.h:46, 1> from C:/Users/IDLab guest/Documents/GitHub/BLUESS_BLE/nRF5_SDK_16.0.0_98a08e2/modules/nrfx/hal/nrf_gpio.h:44, 1> from C:/Users/IDLab guest/Documents/GitHub/BLUESS_BLE/nRF5_SDK_16.0.0_98a08e2/components/boards/boards.h:43, 1> from C:\Users\IDLab guest\Documents\GitHub\BLUESS_BLE\nrf5_SDK_for_Mesh_v4.2.0_src\examples\scheduler\src\application.h:11, 1> from C:\Users\IDLab guest\Documents\GitHub\BLUESS_BLE\nrf5_SDK_for_Mesh_v4.2.0_src\examples\scheduler\src\main.c:1: 1> C:/Users/IDLab guest/Documents/GitHub/BLUESS_BLE/nRF5_SDK_16.0.0_98a08e2/components/softdevice/s132/headers/nrf_soc.h:843:84: note: expected 'const uint32_t *' {aka 'const unsigned int *'} but argument is of type 'struct TaskInstance *' 1> C:/Users/IDLab guest/Documents/GitHub/BLUESS_BLE/nRF5_SDK_16.0.0_98a08e2/components/softdevice/s132/headers/nrf_svc.h:76:22: note: in definition of macro 'SVCALL' 1> In file included from C:\Users\IDLab guest\Documents\GitHub\BLUESS_BLE\nrf5_SDK_for_Mesh_v4.2.0_src\examples\scheduler\src\application.h:54, 1> from C:\Users\IDLab guest\Documents\GitHub\BLUESS_BLE\nrf5_SDK_for_Mesh_v4.2.0_src\examples\scheduler\src\main.c:1: 1> C:\Users\IDLab guest\Documents\GitHub\BLUESS_BLE\nrf5_SDK_for_Mesh_v4.2.0_src\examples\scheduler\src\main.c:387:40: warning: initialization of 'void (*)(uint32_t, void *)' {aka 'void (*)(unsigned int, void *)'} from incompatible pointer type 'void (*)(uint32_t)' {aka 'void (*)(unsigned int)'} [-Wincompatible-pointer-types] 1> C:/Users/IDLab guest/Documents/GitHub/BLUESS_BLE/nRF5_SDK_16.0.0_98a08e2/components/softdevice/common/nrf_sdh_soc.h:80:18: note: in definition of macro 'NRF_SDH_SOC_OBSERVER' 1> C:\Users\IDLab guest\Documents\GitHub\BLUESS_BLE\nrf5_SDK_for_Mesh_v4.2.0_src\examples\scheduler\src\main.c:387:40: note: (near initialization for 'm_sys_obs.handler') 1> C:/Users/IDLab guest/Documents/GitHub/BLUESS_BLE/nRF5_SDK_16.0.0_98a08e2/components/softdevice/common/nrf_sdh_soc.h:80:18: note: in definition of macro 'NRF_SDH_SOC_OBSERVER' 1> In file included from C:\Users\IDLab guest\Documents\GitHub\BLUESS_BLE\nrf5_SDK_for_Mesh_v4.2.0_src\examples\scheduler\src\main.c:1: 1> C:\Users\IDLab guest\Documents\GitHub\BLUESS_BLE\nrf5_SDK_for_Mesh_v4.2.0_src\examples\scheduler\src\application.h:94:10: warning: array 'zero' assumed to have one element 1> C:\Users\IDLab guest\Documents\GitHub\BLUESS_BLE\nrf5_SDK_for_Mesh_v4.2.0_src\examples\scheduler\src\application.h:95:5: warning: array 'avg_temp' assumed to have one element 5> Compiling ‘assertion_handler_weak.c’ 3> Compiling ‘application.c’ 4> Compiling ‘tasks_cjson.c’ 6> Compiling ‘internal_event.c’ 7> Compiling ‘nrf_mesh_configure.c’ 2> Compiling ‘aes.c’ 8> Compiling ‘msg_cache.c’ 1> Compiling ‘transport.c’ 5> Compiling ‘event.c’ 4> Compiling ‘packet_buffer.c’ 3> C:\Users\IDLab guest\Documents\GitHub\BLUESS_BLE\nrf5_SDK_for_Mesh_v4.2.0_src\examples\scheduler\src\application.c:320:22: warning: assignment to 'simple_message_set_cb_t' {aka '_Bool (*)(const struct __simple_message_client *, struct <anonymous>, struct <anonymous>, unsigned char *, unsigned char)'} from incompatible pointer type 'void (*)(const simple_message_client_t *, nrf_mesh_address_t, nrf_mesh_address_t, uint8_t *, uint8_t)' {aka 'void (*)(const struct __simple_message_client *, struct <anonymous>, struct <anonymous>, unsigned char *, unsigned char)'} [-Wincompatible-pointer-types] 3> C:\Users\IDLab guest\Documents\GitHub\BLUESS_BLE\nrf5_SDK_for_Mesh_v4.2.0_src\examples\scheduler\src\application.c:388:14: warning: 'return' with a value, in function returning void 3> C:\Users\IDLab guest\Documents\GitHub\BLUESS_BLE\nrf5_SDK_for_Mesh_v4.2.0_src\examples\scheduler\src\application.c:382:6: note: declared here 3> C:\Users\IDLab guest\Documents\GitHub\BLUESS_BLE\nrf5_SDK_for_Mesh_v4.2.0_src\examples\scheduler\src\application.c:414:16: warning: 'return' with a value, in function returning void 3> C:\Users\IDLab guest\Documents\GitHub\BLUESS_BLE\nrf5_SDK_for_Mesh_v4.2.0_src\examples\scheduler\src\application.c:409:6: note: declared here 3> C:\Users\IDLab guest\Documents\GitHub\BLUESS_BLE\nrf5_SDK_for_Mesh_v4.2.0_src\examples\scheduler\src\application.c:433:16: warning: 'return' with a value, in function returning void 3> C:\Users\IDLab guest\Documents\GitHub\BLUESS_BLE\nrf5_SDK_for_Mesh_v4.2.0_src\examples\scheduler\src\application.c:427:6: note: declared here 3> In file included from C:\Users\IDLab guest\Documents\GitHub\BLUESS_BLE\nrf5_SDK_for_Mesh_v4.2.0_src\examples\scheduler\src\application.c:1: 3> C:\Users\IDLab guest\Documents\GitHub\BLUESS_BLE\nrf5_SDK_for_Mesh_v4.2.0_src\examples\scheduler\src\application.h:94:10: warning: array 'zero' assumed to have one element 3> C:\Users\IDLab guest\Documents\GitHub\BLUESS_BLE\nrf5_SDK_for_Mesh_v4.2.0_src\examples\scheduler\src\application.h:95:5: warning: array 'avg_temp' assumed to have one element 7> Compiling ‘flash_manager_defrag.c’ 6> Compiling ‘fifo.c’ 2> Compiling ‘nrf_flash.c’ 8> Compiling ‘net_state.c’ 3> Compiling ‘mesh_flash.c’ 5> Compiling ‘nrf_mesh_utils.c’ 4> Compiling ‘nrf_mesh.c’ 6> Compiling ‘queue.c’ 7> Compiling ‘hal.c’ 2> Compiling ‘aes_cmac.c’ 1> Compiling ‘timer_scheduler.c’ 5> Compiling ‘timer.c’ 8> Compiling ‘long_timer.c’ 3> Compiling ‘rand.c’ 6> Compiling ‘nrf_mesh_opt.c’ 2> Compiling ‘mesh_opt.c’ 4> Compiling ‘timeslot.c’ 7> Compiling ‘timeslot_timer.c’ 1> Compiling ‘bearer_event.c’ 5> Compiling ‘enc.c’ 8> Compiling ‘network.c’ 3> Compiling ‘net_packet.c’ 6> Compiling ‘msqueue.c’ 2> Compiling ‘nrf_mesh_keygen.c’ 7> Compiling ‘cache.c’ 4> Compiling ‘list.c’ 1> Compiling ‘log.c’ 5> Compiling ‘flash_manager.c’ 7> Compiling ‘ccm_soft.c’ 3> Compiling ‘toolchain.c’ 6> Compiling ‘replay_cache.c’ 8> Compiling ‘beacon.c’ 2> Compiling ‘flash_manager_internal.c’ 1> Compiling ‘core_tx.c’ 4> Compiling ‘heartbeat.c’ 3> Compiling ‘net_beacon.c’ 7> Compiling ‘mesh_config.c’ 8> Compiling ‘fsm.c’ 2> Compiling ‘mesh_config_backend.c’ 6> Compiling ‘mesh_config_flashman_glue.c’ 1> Compiling ‘lpn.c’ 5> Compiling ‘core_tx_lpn.c’ 4> Compiling ‘mesh_lpn_subman.c’ 3> Compiling ‘core_tx_local.c’ 8> Compiling ‘core_tx_adv.c’ 2> Compiling ‘mesh_mem_stdlib.c’ 7> Compiling ‘mesh_stack.c’ 6> Compiling ‘mesh_gatt.c’ 5> Compiling ‘proxy.c’ 2> Compiling ‘proxy_filter.c’ 1> Assembling ‘thumb_crt0.s’ 4> Compiling ‘access_publish.c’ 3> Compiling ‘access_publish_retransmission.c’ 1> Compiling ‘access.c’ 8> Compiling ‘access_reliable.c’ 7> Compiling ‘device_state_manager.c’ 2> Compiling ‘ble_softdevice_support.c’ 6> Compiling ‘ad_listener.c’ 5> Compiling ‘ad_type_filter.c’ 3> Compiling ‘adv_packet_filter.c’ 4> Compiling ‘advertiser.c’ 8> Compiling ‘bearer_handler.c’ 6> Compiling ‘broadcast.c’ 2> Compiling ‘filter_engine.c’ 5> Compiling ‘gap_address_filter.c’ 3> Compiling ‘radio_config.c’ 1> Compiling ‘rssi_filter.c’ 4> Compiling ‘scanner.c’ 8> Compiling ‘mesh_pa_lna.c’ 2> Compiling ‘SEGGER_RTT.c’ 7> Compiling ‘SEGGER_RTT_printf.c’ 6> Compiling ‘uECC.c’ 3> Compiling ‘ble_dfu.c’ 1> Compiling ‘ble_dfu_unbonded.c’ 5> Compiling ‘ble_dfu_bonded.c’ 7> Compiling ‘ble_advertising.c’ 2> Compiling ‘ble_conn_state.c’ 4> Compiling ‘nrf_atfifo.c’ 8> Compiling ‘nrf_atflags.c’ 6> Compiling ‘nrf_dfu_svci.c’ 3> Compiling ‘fds.c’ 7> Compiling ‘nrf_fstorage.c’ 5> Compiling ‘nrf_fstorage_sd.c’ 1> Compiling ‘nrf_pwr_mgmt.c’ 4> Compiling ‘gatt_cache_manager.c’ 2> Compiling ‘gatts_cache_manager.c’ 8> Compiling ‘id_manager.c’ 6> Compiling ‘peer_manager.c’ 7> Compiling ‘peer_data_storage.c’ 5> Compiling ‘peer_database.c’ 1> Compiling ‘peer_id.c’ 3> Compiling ‘pm_buffer.c’ 2> Compiling ‘security_dispatcher.c’ 4> Compiling ‘security_manager.c’ 8> Compiling ‘app_util_platform.c’ 6> Compiling ‘ble_advdata.c’ 1> Compiling ‘nrf_section_iter.c’ 7> Compiling ‘nrf_sdh_soc.c’ 3> Compiling ‘nrf_sdh_ble.c’ 5> Compiling ‘nrf_sdh.c’ 8> Compiling ‘ble_conn_params.c’ 4> Compiling ‘nrf_atomic.c’ 2> Compiling ‘ble_srv_common.c’ 1> Compiling ‘system_nrf52.c’ 6> Compiling ‘app_error.c’ 7> Compiling ‘app_error_handler_gcc.c’ 3> Assembling ‘ses_startup_nrf52.s’ 5> Assembling ‘ses_startup_nrf_common.s’ 4> Compiling ‘nrfx_saadc.c’ 3> Compiling ‘cJSON.c’ 8> Compiling ‘prov_provisionee.c’ 2> Compiling ‘nrf_mesh_prov.c’ 1> Compiling ‘prov_beacon.c’ 5> Compiling ‘provisioning.c’ 6> Compiling ‘prov_utils.c’ 7> Compiling ‘prov_bearer_adv.c’ 6> Compiling ‘nrf_mesh_prov_bearer_gatt.c’ 4> Compiling ‘composition_data.c’ 5> Compiling ‘config_server.c’ 2> Compiling ‘packed_index_list.c’ 1> Compiling ‘health_server.c’ 8> Compiling ‘model_common.c’ 3> Compiling ‘app_timer_mesh.c’ 7> Compiling ‘app_timer_workaround.c’ 2> Compiling ‘simple_message_client.c’ 4> Compiling ‘nrf_nvmc.c’ 2> C:\Users\IDLab guest\Documents\GitHub\BLUESS_BLE\nrf5_SDK_for_Mesh_v4.2.0_src\models\model_spec\simple_message\src\simple_message_client.c:153:92: warning: passing argument 4 of 'p_client->set_cb' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 2> C:\Users\IDLab guest\Documents\GitHub\BLUESS_BLE\nrf5_SDK_for_Mesh_v4.2.0_src\models\model_spec\simple_message\src\simple_message_client.c:153:92: note: expected 'uint8_t *' {aka 'unsigned char *'} but argument is of type 'const uint8_t * const' {aka 'const unsigned char * const'} 1> Generating linker script ‘scheduler.ld’ 1> Linking scheduler.elf 1> C:/segger/arm_segger_embedded_studio_v510c_win_x64_nordic/gcc/arm-none-eabi/bin/ld: build/scheduler_Debug/obj/application.o:C:\Users\IDLab guest\Documents\GitHub\BLUESS_BLE\nrf5_SDK_for_Mesh_v4.2.0_src\examples\scheduler\src/application.h:122: multiple definition of `pointer_bool'; build/scheduler_Debug/obj/main.o:C:\Users\IDLab guest\Documents\GitHub\BLUESS_BLE\nrf5_SDK_for_Mesh_v4.2.0_src\examples\scheduler\src/application.h:122: first defined here 1> C:/segger/arm_segger_embedded_studio_v510c_win_x64_nordic/gcc/arm-none-eabi/bin/ld: build/scheduler_Debug/obj/application.o:C:\Users\IDLab guest\Documents\GitHub\BLUESS_BLE\nrf5_SDK_for_Mesh_v4.2.0_src\examples\scheduler\src/application.h:121: multiple definition of `pg_num_bool'; build/scheduler_Debug/obj/main.o:C:\Users\IDLab guest\Documents\GitHub\BLUESS_BLE\nrf5_SDK_for_Mesh_v4.2.0_src\examples\scheduler\src/application.h:121: first defined here 1> C:/segger/arm_segger_embedded_studio_v510c_win_x64_nordic/gcc/arm-none-eabi/bin/ld: build/scheduler_Debug/obj/application.o:C:\Users\IDLab guest\Documents\GitHub\BLUESS_BLE\nrf5_SDK_for_Mesh_v4.2.0_src\examples\scheduler\src/application.h:120: multiple definition of `pg_size_bool'; build/scheduler_Debug/obj/main.o:C:\Users\IDLab guest\Documents\GitHub\BLUESS_BLE\nrf5_SDK_for_Mesh_v4.2.0_src\examples\scheduler\src/application.h:120: first defined here 1> C:/segger/arm_segger_embedded_studio_v510c_win_x64_nordic/gcc/arm-none-eabi/bin/ld: build/scheduler_Debug/obj/application.o:C:\Users\IDLab guest\Documents\GitHub\BLUESS_BLE\nrf5_SDK_for_Mesh_v4.2.0_src\examples\scheduler\src/application.h:117: multiple definition of `pointer_task'; build/scheduler_Debug/obj/main.o:C:\Users\IDLab guest\Documents\GitHub\BLUESS_BLE\nrf5_SDK_for_Mesh_v4.2.0_src\examples\scheduler\src/application.h:117: first defined here 1> C:/segger/arm_segger_embedded_studio_v510c_win_x64_nordic/gcc/arm-none-eabi/bin/ld: build/scheduler_Debug/obj/application.o:C:\Users\IDLab guest\Documents\GitHub\BLUESS_BLE\nrf5_SDK_for_Mesh_v4.2.0_src\examples\scheduler\src/application.h:116: multiple definition of `pg_num_task'; build/scheduler_Debug/obj/main.o:C:\Users\IDLab guest\Documents\GitHub\BLUESS_BLE\nrf5_SDK_for_Mesh_v4.2.0_src\examples\scheduler\src/application.h:116: first defined here 1> C:/segger/arm_segger_embedded_studio_v510c_win_x64_nordic/gcc/arm-none-eabi/bin/ld: build/scheduler_Debug/obj/application.o:C:\Users\IDLab guest\Documents\GitHub\BLUESS_BLE\nrf5_SDK_for_Mesh_v4.2.0_src\examples\scheduler\src/application.h:115: multiple definition of `pg_size_task'; build/scheduler_Debug/obj/main.o:C:\Users\IDLab guest\Documents\GitHub\BLUESS_BLE\nrf5_SDK_for_Mesh_v4.2.0_src\examples\scheduler\src/application.h:115: first defined here 1> C:/segger/arm_segger_embedded_studio_v510c_win_x64_nordic/gcc/arm-none-eabi/bin/ld: build/scheduler_Debug/obj/application.o:C:\Users\IDLab guest\Documents\GitHub\BLUESS_BLE\nrf5_SDK_for_Mesh_v4.2.0_src\examples\scheduler\src/application.h:112: multiple definition of `pointer_compute'; build/scheduler_Debug/obj/main.o:C:\Users\IDLab guest\Documents\GitHub\BLUESS_BLE\nrf5_SDK_for_Mesh_v4.2.0_src\examples\scheduler\src/application.h:112: first defined here 1> C:/segger/arm_segger_embedded_studio_v510c_win_x64_nordic/gcc/arm-none-eabi/bin/ld: build/scheduler_Debug/obj/application.o:C:\Users\IDLab guest\Documents\GitHub\BLUESS_BLE\nrf5_SDK_for_Mesh_v4.2.0_src\examples\scheduler\src/application.h:111: multiple definition of `pg_num_compute'; build/scheduler_Debug/obj/main.o:C:\Users\IDLab guest\Documents\GitHub\BLUESS_BLE\nrf5_SDK_for_Mesh_v4.2.0_src\examples\scheduler\src/application.h:111: first defined here 1> C:/segger/arm_segger_embedded_studio_v510c_win_x64_nordic/gcc/arm-none-eabi/bin/ld: build/scheduler_Debug/obj/application.o:C:\Users\IDLab guest\Documents\GitHub\BLUESS_BLE\nrf5_SDK_for_Mesh_v4.2.0_src\examples\scheduler\src/application.h:110: multiple definition of `pg_size_compute'; build/scheduler_Debug/obj/main.o:C:\Users\IDLab guest\Documents\GitHub\BLUESS_BLE\nrf5_SDK_for_Mesh_v4.2.0_src\examples\scheduler\src/application.h:110: first defined here 1> C:/segger/arm_segger_embedded_studio_v510c_win_x64_nordic/gcc/arm-none-eabi/bin/ld: build/scheduler_Debug/obj/application.o:C:\Users\IDLab guest\Documents\GitHub\BLUESS_BLE\nrf5_SDK_for_Mesh_v4.2.0_src\examples\scheduler\src/application.h:107: multiple definition of `pointer_counter'; build/scheduler_Debug/obj/main.o:C:\Users\IDLab guest\Documents\GitHub\BLUESS_BLE\nrf5_SDK_for_Mesh_v4.2.0_src\examples\scheduler\src/application.h:107: first defined here 1> C:/segger/arm_segger_embedded_studio_v510c_win_x64_nordic/gcc/arm-none-eabi/bin/ld: build/scheduler_Debug/obj/application.o:C:\Users\IDLab guest\Documents\GitHub\BLUESS_BLE\nrf5_SDK_for_Mesh_v4.2.0_src\examples\scheduler\src/application.h:106: multiple definition of `pg_num_counter'; build/scheduler_Debug/obj/main.o:C:\Users\IDLab guest\Documents\GitHub\BLUESS_BLE\nrf5_SDK_for_Mesh_v4.2.0_src\examples\scheduler\src/application.h:106: first defined here 1> C:/segger/arm_segger_embedded_studio_v510c_win_x64_nordic/gcc/arm-none-eabi/bin/ld: build/scheduler_Debug/obj/application.o:C:\Users\IDLab guest\Documents\GitHub\BLUESS_BLE\nrf5_SDK_for_Mesh_v4.2.0_src\examples\scheduler\src/application.h:105: multiple definition of `pg_size_counter'; build/scheduler_Debug/obj/main.o:C:\Users\IDLab guest\Documents\GitHub\BLUESS_BLE\nrf5_SDK_for_Mesh_v4.2.0_src\examples\scheduler\src/application.h:105: first defined here 1> C:/segger/arm_segger_embedded_studio_v510c_win_x64_nordic/gcc/arm-none-eabi/bin/ld: build/scheduler_Debug/obj/application.o:C:\Users\IDLab guest\Documents\GitHub\BLUESS_BLE\nrf5_SDK_for_Mesh_v4.2.0_src\examples\scheduler\src/application.h:102: multiple definition of `pointer_temp'; build/scheduler_Debug/obj/main.o:C:\Users\IDLab guest\Documents\GitHub\BLUESS_BLE\nrf5_SDK_for_Mesh_v4.2.0_src\examples\scheduler\src/application.h:102: first defined here 1> C:/segger/arm_segger_embedded_studio_v510c_win_x64_nordic/gcc/arm-none-eabi/bin/ld: build/scheduler_Debug/obj/application.o:C:\Users\IDLab guest\Documents\GitHub\BLUESS_BLE\nrf5_SDK_for_Mesh_v4.2.0_src\examples\scheduler\src/application.h:101: multiple definition of `pg_num_temp'; build/scheduler_Debug/obj/main.o:C:\Users\IDLab guest\Documents\GitHub\BLUESS_BLE\nrf5_SDK_for_Mesh_v4.2.0_src\examples\scheduler\src/application.h:101: first defined here 1> C:/segger/arm_segger_embedded_studio_v510c_win_x64_nordic/gcc/arm-none-eabi/bin/ld: build/scheduler_Debug/obj/application.o:C:\Users\IDLab guest\Documents\GitHub\BLUESS_BLE\nrf5_SDK_for_Mesh_v4.2.0_src\examples\scheduler\src/application.h:100: multiple definition of `pg_size_temp'; build/scheduler_Debug/obj/main.o:C:\Users\IDLab guest\Documents\GitHub\BLUESS_BLE\nrf5_SDK_for_Mesh_v4.2.0_src\examples\scheduler\src/application.h:100: first defined here 1> C:/segger/arm_segger_embedded_studio_v510c_win_x64_nordic/gcc/arm-none-eabi/bin/ld: build/scheduler_Debug/obj/application.o:C:\Users\IDLab guest\Documents\GitHub\BLUESS_BLE\nrf5_SDK_for_Mesh_v4.2.0_src\examples\scheduler\src/application.h:96: multiple definition of `average_temperature'; build/scheduler_Debug/obj/main.o:C:\Users\IDLab guest\Documents\GitHub\BLUESS_BLE\nrf5_SDK_for_Mesh_v4.2.0_src\examples\scheduler\src/application.h:96: first defined here 1> C:/segger/arm_segger_embedded_studio_v510c_win_x64_nordic/gcc/arm-none-eabi/bin/ld: build/scheduler_Debug/obj/application.o:C:\Users\IDLab guest\Documents\GitHub\BLUESS_BLE\nrf5_SDK_for_Mesh_v4.2.0_src\examples\scheduler\src/application.h:95: multiple definition of `avg_temp'; build/scheduler_Debug/obj/main.o:C:\Users\IDLab guest\Documents\GitHub\BLUESS_BLE\nrf5_SDK_for_Mesh_v4.2.0_src\examples\scheduler\src/application.h:95: first defined here 1> C:/segger/arm_segger_embedded_studio_v510c_win_x64_nordic/gcc/arm-none-eabi/bin/ld: build/scheduler_Debug/obj/application.o:C:\Users\IDLab guest\Documents\GitHub\BLUESS_BLE\nrf5_SDK_for_Mesh_v4.2.0_src\examples\scheduler\src/application.h:94: multiple definition of `zero'; build/scheduler_Debug/obj/main.o:C:\Users\IDLab guest\Documents\GitHub\BLUESS_BLE\nrf5_SDK_for_Mesh_v4.2.0_src\examples\scheduler\src/application.h:94: first defined here 1> C:/segger/arm_segger_embedded_studio_v510c_win_x64_nordic/gcc/arm-none-eabi/bin/ld: build/scheduler_Debug/obj/application.o:C:\Users\IDLab guest\Documents\GitHub\BLUESS_BLE\nrf5_SDK_for_Mesh_v4.2.0_src\examples\scheduler\src/application.h:92: multiple definition of `tmp_temp_array'; build/scheduler_Debug/obj/main.o:C:\Users\IDLab guest\Documents\GitHub\BLUESS_BLE\nrf5_SDK_for_Mesh_v4.2.0_src\examples\scheduler\src/application.h:92: first defined here 1> C:/segger/arm_segger_embedded_studio_v510c_win_x64_nordic/gcc/arm-none-eabi/bin/ld: build/scheduler_Debug/obj/application.o:C:\Users\IDLab guest\Documents\GitHub\BLUESS_BLE\nrf5_SDK_for_Mesh_v4.2.0_src\examples\scheduler\src/application.h:91: multiple definition of `tmp_temp'; build/scheduler_Debug/obj/main.o:C:\Users\IDLab guest\Documents\GitHub\BLUESS_BLE\nrf5_SDK_for_Mesh_v4.2.0_src\examples\scheduler\src/application.h:91: first defined here 1> C:/segger/arm_segger_embedded_studio_v510c_win_x64_nordic/gcc/arm-none-eabi/bin/ld: build/scheduler_Debug/obj/application.o:C:\Users\IDLab guest\Documents\GitHub\BLUESS_BLE\nrf5_SDK_for_Mesh_v4.2.0_src\examples\scheduler\src/application.h:89: multiple definition of `temperature'; build/scheduler_Debug/obj/main.o:C:\Users\IDLab guest\Documents\GitHub\BLUESS_BLE\nrf5_SDK_for_Mesh_v4.2.0_src\examples\scheduler\src/application.h:89: first defined here 1> C:/segger/arm_segger_embedded_studio_v510c_win_x64_nordic/gcc/arm-none-eabi/bin/ld: build/scheduler_Debug/obj/application.o:C:\Users\IDLab guest\Documents\GitHub\BLUESS_BLE\nrf5_SDK_for_Mesh_v4.2.0_src\examples\scheduler\src/application.h:88: multiple definition of `temp_size'; build/scheduler_Debug/obj/main.o:C:\Users\IDLab guest\Documents\GitHub\BLUESS_BLE\nrf5_SDK_for_Mesh_v4.2.0_src\examples\scheduler\src/application.h:88: first defined here 1> C:/segger/arm_segger_embedded_studio_v510c_win_x64_nordic/gcc/arm-none-eabi/bin/ld: build/scheduler_Debug/obj/application.o:C:\Users\IDLab guest\Documents\GitHub\BLUESS_BLE\nrf5_SDK_for_Mesh_v4.2.0_src\examples\scheduler\src/application.h:86: multiple definition of `new_pointer_counter'; build/scheduler_Debug/obj/main.o:C:\Users\IDLab guest\Documents\GitHub\BLUESS_BLE\nrf5_SDK_for_Mesh_v4.2.0_src\examples\scheduler\src/application.h:86: first defined here 1> C:/segger/arm_segger_embedded_studio_v510c_win_x64_nordic/gcc/arm-none-eabi/bin/ld: build/scheduler_Debug/obj/application.o:C:\Users\IDLab guest\Documents\GitHub\BLUESS_BLE\nrf5_SDK_for_Mesh_v4.2.0_src\examples\scheduler\src/application.h:85: multiple definition of `flash_status'; build/scheduler_Debug/obj/main.o:C:\Users\IDLab guest\Documents\GitHub\BLUESS_BLE\nrf5_SDK_for_Mesh_v4.2.0_src\examples\scheduler\src/application.h:85: first defined here 1> C:/segger/arm_segger_embedded_studio_v510c_win_x64_nordic/gcc/arm-none-eabi/bin/ld: build/scheduler_Debug/obj/tasks_cjson.o:C:\Users\IDLab guest\Documents\GitHub\BLUESS_BLE\nrf5_SDK_for_Mesh_v4.2.0_src\examples\scheduler\src/tasks_cjson.h:42: multiple definition of `mesh'; build/scheduler_Debug/obj/main.o:C:\Users\IDLab guest\Documents\GitHub\BLUESS_BLE\nrf5_SDK_for_Mesh_v4.2.0_src\examples\scheduler\src/tasks_cjson.h:42: first defined here 1> C:/segger/arm_segger_embedded_studio_v510c_win_x64_nordic/gcc/arm-none-eabi/bin/ld: build/scheduler_Debug/obj/tasks_cjson.o:C:\Users\IDLab guest\Documents\GitHub\BLUESS_BLE\nrf5_SDK_for_Mesh_v4.2.0_src\examples\scheduler\src/tasks_cjson.h:41: multiple definition of `application'; build/scheduler_Debug/obj/main.o:C:\Users\IDLab guest\Documents\GitHub\BLUESS_BLE\nrf5_SDK_for_Mesh_v4.2.0_src\examples\scheduler\src/tasks_cjson.h:41: first defined here Build failed
Br,
Adnan.