Problem with RUTOS Software Development Kit (SDK) Instruction

Hi
I am trying to follow the instructions to compile the SDK , Specified on this website https://wiki.teltonika-networks.com/view/RUTOS_Software_Development_Kit_(SDK)_Instruction

When I run the command:

sudo apt install binutils binutils-gold bison build-essential bzip2 \ ca-certificates curl default-jdk device-tree-compiler devscripts \ ecj file flex fuse g++ gawk gcc gcc-multilib gengetopt gettext \ git gnupg groff help2man java-wrappers java-propose-classpath jq \ libc6-dev libffi-dev libncurses5-dev libpcre3-dev libsqlite3-dev \ libssl-dev libxml-parser-perl lz4 make ocaml ocaml-findlib \ ocaml-nox patch pkg-config python3 python3-dev python3-distutils \ python3-yaml rsync ruby sharutils subversion swig u-boot-tools \ unzip uuid-dev vim-common wget zip zlib1g-dev

The console give me :

Reading package lists… Done
Building dependency tree… Done
Reading state information… Done
Note, selecting ‘binutils’ instead of ‘binutils-gold’
E: Unable to locate package ca-certificates
E: Unable to locate package ecj
E: Unable to locate package git
E: Unable to locate package libc6-dev
E: Unable to locate package libssl-dev
E: Unable to locate package ocaml-nox
E: Unable to locate package python3-yaml
E: Unable to locate package unzip

Despite the messages that the previous command gives me, I have continued with the instructions to install the sdk.
When I run the command: make

After 1 hour the console give me this error:

checking for a jar-like tool… trying fastjar, gjar and jar
checking for fastjar… no
checking for gjar… no
checking for jar… /usr/bin/jar
checking whether to regenerate parsers with jay… no
checking for stdint types… stdint.h (shortcircuit)
make use of stdint.h in include/config-int.h (assuming C99 compatible system)
checking for cacao… no
checking for jamvm… no
checking for kaffe… no
checking for gij… no
checking for java… java
checking for ecj… ecj -warn:-deprecation,serial,unusedImport
checking if ecj -warn:-deprecation,serial,unusedImport is a version of gcj… no
checking if ecj -warn:-deprecation,serial,unusedImport works… configure: error: The Java compiler ecj -warn:-deprecation,serial,unusedImport failed (see config.log, check the CLASSPATH?)
make[3]: *** [Makefile:93: /home/luisblackmeza/Downloads/RUT9_R_GPL_00.07.06.11/rutos-ath79-rut9-gpl/build_dir/target-mips_74kc_musl/classpath-0.99/.configured_68b329da9893e34099c7d8ad5cb9c940] Error 1
make[3]: Leaving directory ‘/home/luisblackmeza/Downloads/RUT9_R_GPL_00.07.06.11/rutos-ath79-rut9-gpl/package/libs/classpath’
time: package/libs/classpath/compile#18.07#7.33#24.62
** ERROR: package/libs/classpath failed to build.**
make[2]: *** [package/Makefile:114: package/libs/classpath/compile] Error 1
make[2]: Leaving directory ‘/home/luisblackmeza/Downloads/RUT9_R_GPL_00.07.06.11/rutos-ath79-rut9-gpl’
make[1]: *** [package/Makefile:108: /home/luisblackmeza/Downloads/RUT9_R_GPL_00.07.06.11/rutos-ath79-rut9-gpl/staging_dir/target-mips_74kc_musl/stamp/.package_compile] Error 2
make[1]: Leaving directory ‘/home/luisblackmeza/Downloads/RUT9_R_GPL_00.07.06.11/rutos-ath79-rut9-gpl’
make: *** [/home/luisblackmeza/Downloads/RUT9_R_GPL_00.07.06.11/rutos-ath79-rut9-gpl/include/toplevel.mk:238: world] Error 2

I already have java installed:
openjdk version “11.0.23” 2024-04-16
OpenJDK Runtime Environment (build 11.0.23+9-post-Ubuntu-1ubuntu122.04.1)
OpenJDK 64-Bit Server VM (build 11.0.23+9-post-Ubuntu-1ubuntu122.04.1, mixed mode, sharing)
javac 11.0.23

Already install the ecj packacge.

I use Ubuntu 22.04.4 LTS

You can see the file with the complete log of the error:

Thaks!

Hello,
From make menuconfig, disable java in Languages and classpath in Libraries.
Regards,

This topic was automatically closed after 15 days. New replies are no longer allowed.