Hey folks, I've started a port to the Synology RT2600AC (ipq8065) and am having difficulty getting my first image to compile.
Error I'm getting is;
/openwrt/build_dir/target-arm_cortex-a15+neon-vfpv4_musl_eabi/libxml2-2.10.3/CMakeFiles/CMakeError.log
Performing C SOURCE FILE Test Iconv_IS_BUILT_IN failed with the following output:
Change Dir: /home/cc/openwrt-build/openwrt/build_dir/target-arm_cortex-a15+neon-vfpv4_musl_eabi/libxml2-2.10.3/CMakeFiles/CMakeTmp
Run Build Command(s):/home/cc/openwrt-build/openwrt/staging_dir/host/bin/ninja cmTC_76c5d && [1/2] Building C object CMakeFiles/cmTC_76c5d.dir/src.c.o
[2/2] Linking C executable cmTC_76c5d
FAILED: cmTC_76c5d
: && /home/cc/openwrt-build/openwrt/staging_dir/toolchain-arm_cortex-a15+neon-vfpv4_gcc-11.2.0_musl_eabi/bin/arm-openwrt-linux-muslgnueabi-gcc -Os -pipe -fno-caller-saves -fno-plt -fhonour-copts -Wno-error=unused-but-set-variable -Wno-error=unused-result -mfloat-abi=hard -ffile-prefix-map=/home/cc/openwrt-build/openwrt/build_dir/target-arm_cortex-a15+neon-vfpv4_musl_eabi/libxml2-2.10.3=libxml2-2.10.3 -Wformat -Werror=format-security -fstack-protector -D_FORTIFY_SOURCE=1 -Wl,-z,now -Wl,-z,relro -I/home/cc/openwrt-build/openwrt/staging_dir/target-arm_cortex-a15+neon-vfpv4_musl_eabi/usr/lib/libiconv-stub/include -I/home/kodi/openwrt-build/openwrt/staging_dir/target-arm_cortex-a15+neon-vfpv4_musl_eabi/usr/lib/libintl-stub/include -L/home/cc/openwrt-build/openwrt/staging_dir/toolchain-arm_cortex-a15+neon-vfpv4_gcc-11.2.0_musl_eabi/usr/lib -L/home/cc/openwrt-build/openwrt/staging_dir/toolchain-arm_cortex-a15+neon-vfpv4_gcc-11.2.0_musl_eabi/lib -znow -zrelro -L/home/cc/openwrt-build/openwrt/staging_dir/target-arm_cortex-a15+neon-vfpv4_musl_eabi/usr/lib/libiconv-stub/lib -Wl,-rpath-link=/home/cc/openwrt-build/openwrt/staging_dir/target-arm_cortex-a15+neon-vfpv4_musl_eabi/usr/lib/libiconv-stub/lib -L/home/cc/openwrt-build/openwrt/staging_dir/target-arm_cortex-a15+neon-vfpv4_musl_eabi/usr/lib/libintl-stub/lib -Wl,-rpath-link=/home/cc/openwrt-build/openwrt/staging_dir/target-arm_cortex-a15+neon-vfpv4_musl_eabi/usr/lib/libintl-stub/lib CMakeFiles/cmTC_76c5d.dir/src.c.o -o cmTC_76c5d && :
/home/cc/openwrt-build/openwrt/staging_dir/toolchain-arm_cortex-a15+neon-vfpv4_gcc-11.2.0_musl_eabi/lib/gcc/arm-openwrt-linux-muslgnueabi/11.2.0/../../../../arm-openwrt-linux-muslgnueabi/bin/ld: CMakeFiles/cmTC_76c5d.dir/src.c.o: in function `main':
src.c:(.text.startup+0x10): undefined reference to `libiconv_open'
/home/cc/openwrt-build/openwrt/staging_dir/toolchain-arm_cortex-a15+neon-vfpv4_gcc-11.2.0_musl_eabi/lib/gcc/arm-openwrt-linux-muslgnueabi/11.2.0/../../../../arm-openwrt-linux-muslgnueabi/bin/ld: src.c:(.text.startup+0x2c): undefined reference to `libiconv'
/home/cc/openwrt-build/openwrt/staging_dir/toolchain-arm_cortex-a15+neon-vfpv4_gcc-11.2.0_musl_eabi/lib/gcc/arm-openwrt-linux-muslgnueabi/11.2.0/../../../../arm-openwrt-linux-muslgnueabi/bin/ld: src.c:(.text.startup+0x34): undefined reference to `libiconv_close'
collect2: error: ld returned 1 exit status
ninja: build stopped: subcommand failed.
Anyone have any ideas? OS is Ubuntu 22.04.1, I've installed all the build deps from the 'Build System' wiki page. https://openwrt.org/docs/guide-developer/toolchain/use-buildsystem