Not searching for unused variables given on the command line. -- cmake version: 3.28.0 CMake Deprecation Warning at CMakeLists.txt:2 (cmake_minimum_required): Compatibility with CMake < 3.5 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: /builder/shared-workdir/build/sdk/staging_dir/toolchain-arm_xscale_gcc-12.3.0_musl_eabi/bin/arm-openwrt-linux-muslgnueabi-gcc - skipped -- Detecting C compile features -- Detecting C compile features - done -- Performing Test HAS_WPEDANTIC -- Performing Test HAS_WPEDANTIC - Success -- Looking for strdup -- Looking for strdup - found -- Looking for strndup -- Looking for strndup - found -- Looking for strerror_r -- Looking for strerror_r - found -- Looking for newlocale -- Looking for newlocale - found -- Looking for pthread_setname_np -- Looking for pthread_setname_np - found -- Looking for in6addr_any -- Looking for in6addr_any - found -- Looking for libusb-1.0 : Found -- Found Git: /builder/shared-workdir/build/sdk/staging_dir/host/bin/git (found version "2.30.2") -- Looking for libserialport : Failed; building without serial -- Building with Network back end support -- Performing Test HAS_O_TMPFILE -- Performing Test HAS_O_TMPFILE - Success -- Performing Test WITH_NETWORK_EVENTFD -- Performing Test WITH_NETWORK_EVENTFD - Success -- Performing Test HAS_PIPE2 -- Performing Test HAS_PIPE2 - Success -- Building with Avahi, a DNS SD implementation -- Performing Test Iconv_IS_BUILT_IN -- Performing Test Iconv_IS_BUILT_IN - Success CMake Deprecation Warning at tests/CMakeLists.txt:1 (cmake_minimum_required): Compatibility with CMake < 3.5 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. CMake Deprecation Warning at iiod/CMakeLists.txt:1 (cmake_minimum_required): Compatibility with CMake < 3.5 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. -- Found BISON: /builder/shared-workdir/build/sdk/staging_dir/host/bin/bison (found version "3.8.2") -- Found FLEX: /builder/shared-workdir/build/sdk/staging_dir/host/bin/flex (found version "2.6.4") -- Looking for sys/types.h -- Looking for sys/types.h - found -- Looking for stdint.h -- Looking for stdint.h - found -- Looking for stddef.h -- Looking for stddef.h - found -- Check size of struct usb_functionfs_descs_head_v2 -- Check size of struct usb_functionfs_descs_head_v2 - done -- Configuring done (3.8s) -- Generating done (0.0s) -- Build files have been written to: /builder/shared-workdir/build/sdk/build_dir/target-arm_xscale_musl_eabi/libiio-0.21 ninja: Entering directory `/builder/shared-workdir/build/sdk/build_dir/target-arm_xscale_musl_eabi/libiio-0.21' [1/44] Building C object CMakeFiles/iio.dir/backend.c.o [2/44] Building C object CMakeFiles/iio.dir/channel.c.o [3/44] Building C object CMakeFiles/iio.dir/device.c.o [4/44] Building C object CMakeFiles/iio.dir/context.c.o [5/44] Building C object CMakeFiles/iio.dir/buffer.c.o [6/44] Building C object CMakeFiles/iio.dir/utilities.c.o [7/44] Building C object CMakeFiles/iio.dir/scan.c.o [8/44] Building C object CMakeFiles/iio.dir/sort.c.o [9/44] Building C object CMakeFiles/iio.dir/local.c.o [10/44] Building C object CMakeFiles/iio.dir/network.c.o [11/44] Building C object CMakeFiles/iio.dir/dns_sd_avahi.c.o [12/44] Building C object CMakeFiles/iio.dir/dns_sd.c.o [13/44] Building C object CMakeFiles/iio.dir/xml.c.o FAILED: CMakeFiles/iio.dir/xml.c.o /builder/shared-workdir/build/sdk/staging_dir/toolchain-arm_xscale_gcc-12.3.0_musl_eabi/bin/arm-openwrt-linux-muslgnueabi-gcc -DLIBIIO_EXPORTS=1 -D_GNU_SOURCE=1 -D_POSIX_C_SOURCE=200809L -D__XSI_VISIBLE=500 -Diio_EXPORTS -I/builder/shared-workdir/build/sdk/build_dir/target-arm_xscale_musl_eabi/libiio-0.21 -I/builder/shared-workdir/build/sdk/staging_dir/target-arm_xscale_musl_eabi/usr/include/libxml2 -Os -pipe -fno-caller-saves -fno-plt -fhonour-copts -mfloat-abi=soft -ffile-prefix-map=/builder/shared-workdir/build/sdk/build_dir/target-arm_xscale_musl_eabi/libiio-0.21=libiio-0.21 -Wformat -Werror=format-security -fstack-protector -D_FORTIFY_SOURCE=1 -Wl,-z,now -Wl,-z,relro -fvisibility=hidden -Wall -Wextra -Wno-unused-parameter -Wpedantic -DNDEBUG -std=c99 -fPIC -MD -MT CMakeFiles/iio.dir/xml.c.o -MF CMakeFiles/iio.dir/xml.c.o.d -o CMakeFiles/iio.dir/xml.c.o -c /builder/shared-workdir/build/sdk/build_dir/target-arm_xscale_musl_eabi/libiio-0.21/xml.c /builder/shared-workdir/build/sdk/build_dir/target-arm_xscale_musl_eabi/libiio-0.21/xml.c: In function 'encode_xml_ndup': /builder/shared-workdir/build/sdk/build_dir/target-arm_xscale_musl_eabi/libiio-0.21/xml.c:31:23: warning: implicit declaration of function 'xmlEncodeEntitiesReentrant' [-Wimplicit-function-declaration] 31 | out = (char *)xmlEncodeEntitiesReentrant(NULL, (const xmlChar *)input); | ^~~~~~~~~~~~~~~~~~~~~~~~~~ /builder/shared-workdir/build/sdk/build_dir/target-arm_xscale_musl_eabi/libiio-0.21/xml.c: In function 'xml_create_context': /builder/shared-workdir/build/sdk/build_dir/target-arm_xscale_musl_eabi/libiio-0.21/xml.c:468:15: warning: implicit declaration of function 'xmlReadFile' [-Wimplicit-function-declaration] 468 | doc = xmlReadFile(xml_file, NULL, XML_PARSE_DTDVALID); | ^~~~~~~~~~~ /builder/shared-workdir/build/sdk/build_dir/target-arm_xscale_musl_eabi/libiio-0.21/xml.c:468:43: error: 'XML_PARSE_DTDVALID' undeclared (first use in this function); did you mean 'XML_DOC_DTDVALID'? 468 | doc = xmlReadFile(xml_file, NULL, XML_PARSE_DTDVALID); | ^~~~~~~~~~~~~~~~~~ | XML_DOC_DTDVALID /builder/shared-workdir/build/sdk/build_dir/target-arm_xscale_musl_eabi/libiio-0.21/xml.c:468:43: note: each undeclared identifier is reported only once for each function it appears in /builder/shared-workdir/build/sdk/build_dir/target-arm_xscale_musl_eabi/libiio-0.21/xml.c: In function 'xml_create_context_mem': /builder/shared-workdir/build/sdk/build_dir/target-arm_xscale_musl_eabi/libiio-0.21/xml.c:487:15: warning: implicit declaration of function 'xmlReadMemory'; did you mean 'xmlInitMemory'? [-Wimplicit-function-declaration] 487 | doc = xmlReadMemory(xml, (int) len, NULL, NULL, XML_PARSE_DTDVALID); | ^~~~~~~~~~~~~ | xmlInitMemory /builder/shared-workdir/build/sdk/build_dir/target-arm_xscale_musl_eabi/libiio-0.21/xml.c:487:57: error: 'XML_PARSE_DTDVALID' undeclared (first use in this function); did you mean 'XML_DOC_DTDVALID'? 487 | doc = xmlReadMemory(xml, (int) len, NULL, NULL, XML_PARSE_DTDVALID); | ^~~~~~~~~~~~~~~~~~ | XML_DOC_DTDVALID ninja: build stopped: subcommand failed. make[3]: *** [Makefile:153: /builder/shared-workdir/build/sdk/build_dir/target-arm_xscale_musl_eabi/libiio-0.21/.built] Error 1 time: package/feeds/packages/libiio/compile#6.80#2.21#10.29