Build errors: custom RUT956 firmware image with SDK

I am experiencing issues while trying to build a custom firmware image for the RUT956 router.

More info:

The basic image, as provided in the tar.gz files does compile, but it is configured to generate an image for the RUT9M device.

When changing the Target profile to RUT956 I get the following compilation error:

#36 22.02 find /workdir/work/build_dir/target-mipsel_24kc_musl/gps-2025-01-08/ipkg-mipsel_24kc/gpsd -name 'CVS' -o -name '.svn' -o -name '.#*' -o -name '*~'| xargs -r rm -rf
#36 22.07 Package gpsd is missing dependencies for the following libraries:
#36 22.07 libioman.so
#36 22.07 make[2]: *** [Makefile:146: /workdir/work/bin/packages/mipsel_24kc/base/gpsd_2025-01-08-1_mipsel_24kc.ipk] Error 1
#36 22.07 make[2]: Leaving directory '/workdir/work/package/teltonika/gps'
#36 22.07 time: package/teltonika/gps/compile#0.23#0.29#0.50
#36 22.08     ERROR: package/teltonika/gps failed to build.
#36 22.08 make[1]: *** [package/Makefile:128: package/teltonika/gps/compile] Error 1
#36 22.08 make[1]: Leaving directory '/workdir/work'
#36 22.08 make: *** [/workdir/work/include/toplevel.mk:249: package/teltonika/gps/compile] Error 2
#36 ERROR: process "/bin/sh -c make V=sc -j\"$(nproc)\" package/teltonika/gps/compile" did not complete successfully: exit code: 2

I tried disabling the GPS packages, but then I get the same compilation error in the DDNS package.

The following output is printed when running make menuconfig.

user@builder:/workdir/work$ make menuconfig
tmp/.config-package.in:17682:error: recursive dependency detected!
tmp/.config-package.in:17682:   symbol PACKAGE_ddns-scripts is selected by PACKAGE_ddns-scripts
For a resolution refer to Documentation/kbuild/kconfig-language.rst
subsection "Kconfig recursive dependency limitations"

tmp/.config-package.in:17724:error: recursive dependency detected!
tmp/.config-package.in:17724:   symbol PACKAGE_ddns-scripts_cloudflare.com-v4 is selected by PACKAGE_ddns-scripts_cloudflare.com-v4
For a resolution refer to Documentation/kbuild/kconfig-language.rst
subsection "Kconfig recursive dependency limitations"

tmp/.config-package.in:17802:error: recursive dependency detected!
tmp/.config-package.in:17802:   symbol PACKAGE_ddns-scripts_nsupdate is selected by PACKAGE_ddns-scripts_nsupdate
For a resolution refer to Documentation/kbuild/kconfig-language.rst
subsection "Kconfig recursive dependency limitations"

tmp/.config-package.in:17784:error: recursive dependency detected!
tmp/.config-package.in:17784:   symbol PACKAGE_ddns-scripts_no-ip_com is selected by PACKAGE_ddns-scripts_no-ip_com
For a resolution refer to Documentation/kbuild/kconfig-language.rst
subsection "Kconfig recursive dependency limitations"

Summary:

  • It seems like a custom libioman package is missing in the SDK.
  • Is seems like the Teltonika DDNS packages are not defined correctly. (they should use a different name to avoid naming clashes with the upstream OpenWrt packages)