CMake Deprecation Warning at CMakeLists.txt:1 (cmake_minimum_required): Compatibility with CMake < 2.8.12 will be removed from a future version of CMake. Update the VERSION argument value or use a ... suffix to tell CMake that the project does not need compatibility with older versions. -- The C compiler identification is GNU 12.3.0 -- Detecting C compiler ABI info -- Detecting C compiler ABI info - done -- Check for working C compiler: /immortalwrt/openwrt-23.05/staging_dir/toolchain-mipsel_24kc+24kf_gcc-12.3.0_musl/bin/mipsel-openwrt-linux-musl-gcc - skipped -- Detecting C compile features -- Detecting C compile features - done -- Configuring done (0.1s) -- Generating done (0.0s) CMake Warning: Manually-specified variables were not used by the project: CMAKE_ASM_COMPILER CMAKE_ASM_COMPILER_LAUNCHER CMAKE_CXX_COMPILER CMAKE_CXX_FLAGS_RELEASE CMAKE_EXPORT_NO_PACKAGE_REGISTRY CMAKE_EXPORT_PACKAGE_REGISTRY CMAKE_FIND_PACKAGE_NO_PACKAGE_REGISTRY CMAKE_FIND_PACKAGE_NO_SYSTEM_PACKAGE_REGISTRY CMAKE_FIND_ROOT_PATH_MODE_LIBRARY CMAKE_FIND_USE_PACKAGE_REGISTRY CMAKE_FIND_USE_SYSTEM_PACKAGE_REGISTRY CMAKE_MODULE_LINKER_FLAGS CMAKE_SHARED_LINKER_FLAGS DL_LIBRARY -- Build files have been written to: /immortalwrt/openwrt-23.05/build_dir/target-mipsel_24kc+24kf_musl/mwol-2021-08-20-5291e45b ninja: Entering directory `/immortalwrt/openwrt-23.05/build_dir/target-mipsel_24kc+24kf_musl/mwol-2021-08-20-5291e45b' [1/8] Building C object src/CMakeFiles/mwol.dir/main.c.o [2/8] Building C object src/CMakeFiles/mwol.dir/common.c.o [3/8] Building C object src/CMakeFiles/mwol.dir/config.c.o /immortalwrt/openwrt-23.05/build_dir/target-mipsel_24kc+24kf_musl/mwol-2021-08-20-5291e45b/src/config.c: In function 'json_parse_file': /immortalwrt/openwrt-23.05/build_dir/target-mipsel_24kc+24kf_musl/mwol-2021-08-20-5291e45b/src/config.c:30:5: warning: this 'if' clause does not guard... [-Wmisleading-indentation] 30 | if (file_contents == NULL) | ^~ In file included from /immortalwrt/openwrt-23.05/build_dir/target-mipsel_24kc+24kf_musl/mwol-2021-08-20-5291e45b/src/config.c:23: /immortalwrt/openwrt-23.05/build_dir/target-mipsel_24kc+24kf_musl/mwol-2021-08-20-5291e45b/src/common.h:81:13: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' 81 | do { \ | ^~ /immortalwrt/openwrt-23.05/build_dir/target-mipsel_24kc+24kf_musl/mwol-2021-08-20-5291e45b/src/config.c:33:9: note: in expansion of macro 'MSG_DEBUG' 33 | MSG_DEBUG("INFO: parse json file:\n%s\n", file_contents); | ^~~~~~~~~ [4/8] Building C object src/CMakeFiles/mwol.dir/json.c.o /immortalwrt/openwrt-23.05/build_dir/target-mipsel_24kc+24kf_musl/mwol-2021-08-20-5291e45b/src/json.c: In function 'json_arp_list': /immortalwrt/openwrt-23.05/build_dir/target-mipsel_24kc+24kf_musl/mwol-2021-08-20-5291e45b/src/json.c:281:9: warning: 'strncpy' output truncated before terminating nul copying as many bytes from a string as its length [-Wstringop-truncation] 281 | strncpy(*msg, out, strlen(out)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /immortalwrt/openwrt-23.05/build_dir/target-mipsel_24kc+24kf_musl/mwol-2021-08-20-5291e45b/src/json.c: In function 'json_wol_response': /immortalwrt/openwrt-23.05/build_dir/target-mipsel_24kc+24kf_musl/mwol-2021-08-20-5291e45b/src/json.c:320:9: warning: 'strncpy' output truncated before terminating nul copying as many bytes from a string as its length [-Wstringop-truncation] 320 | strncpy(*msg, out, strlen(out)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [5/8] Building C object src/CMakeFiles/mwol.dir/mqtt_client.c.o [6/8] Building C object src/CMakeFiles/mwol.dir/wake.c.o [7/8] Building C object src/CMakeFiles/mwol.dir/cJSON.c.o [8/8] Linking C executable src/mwol FAILED: src/mwol : && /immortalwrt/openwrt-23.05/staging_dir/toolchain-mipsel_24kc+24kf_gcc-12.3.0_musl/bin/mipsel-openwrt-linux-musl-gcc -Os -pipe -mno-branch-likely -mips32r2 -mtune=24kc -fno-caller-saves -fno-plt -fhonour-copts -ffile-prefix-map=/immortalwrt/openwrt-23.05/build_dir/target-mipsel_24kc+24kf_musl/mwol-2021-08-20-5291e45b=mwol-2021-08-20-5291e45b -mips16 -minterlink-mips16 -Wformat -Werror=format-security -fstack-protector -D_FORTIFY_SOURCE=1 -Wl,-z,now -Wl,-z,relro -DNDEBUG -L/immortalwrt/openwrt-23.05/staging_dir/toolchain-mipsel_24kc+24kf_gcc-12.3.0_musl/usr/lib -L/immortalwrt/openwrt-23.05/staging_dir/toolchain-mipsel_24kc+24kf_gcc-12.3.0_musl/lib -znow -zrelro -rdynamic src/CMakeFiles/mwol.dir/main.c.o src/CMakeFiles/mwol.dir/common.c.o src/CMakeFiles/mwol.dir/config.c.o src/CMakeFiles/mwol.dir/json.c.o src/CMakeFiles/mwol.dir/mqtt_client.c.o src/CMakeFiles/mwol.dir/wake.c.o src/CMakeFiles/mwol.dir/cJSON.c.o -o src/mwol -lpthread -lm -lmosquitto && : /immortalwrt/openwrt-23.05/staging_dir/toolchain-mipsel_24kc+24kf_gcc-12.3.0_musl/lib/gcc/mipsel-openwrt-linux-musl/12.3.0/../../../../mipsel-openwrt-linux-musl/bin/ld: BFD (GNU Binutils) 2.40.0 assertion fail elfxx-mips.c:11278 collect2: error: ld returned 1 exit status ninja: build stopped: subcommand failed. make[2]: *** [Makefile:63: /immortalwrt/openwrt-23.05/build_dir/target-mipsel_24kc+24kf_musl/mwol-2021-08-20-5291e45b/.built] Error 1 time: package/feeds/packages/mwol/compile#0.74#0.08#1.04