After compiling SDK file, FW not found

Hello team,

Recently I have compile new FW with some changes, But new FW not found in path: rutos-ath79-rut9-gpl>bin>targets>ath79>generic>tltFws>RUTX_R_GPL_00.07.05.3_WEBUI.

I have try with all this 3 command: (1) make (2) make -j1 V=sc (3) make -j1 V=s
Can you please help me.

Linux System: 22.04 Jemmy

Thank you.


make V=sc 2>&1 | tee makelog.txt

and post the makelog.txt file somewhere. It will give an indication of what went wrong.


I’m not able to attache file, can you please tell me how to share file ?

Thank you.

Use google drive if you have an account, dropbox or any other file sharing service.

refer below link to access file.

From the makelog.txt file:

fatal: unable to connect to[0:]: errno=Connection refused[1: 2a01:4f8:120:8470::2]: errno=Network is unreachable

Try tro compile libsmpp34 manually:

make package/libs/libsmpp34/clean
make V=sc package/libs/libsmpp34/compile

If it succeeds redo the make V=sc 2>&1 | tee makelog.txt and check the end of the makelog.txt file.

Edit: added V=sc to the compile command, just in case.


Still I’m getting error:

make[2]: *** [Makefile:733: /home/user/SDK_File/build_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/toolchain/.pkgdir/libc.installed] Error 1
make[2]: Leaving directory ‘/home/user/SDK_File/package/libs/toolchain’
time: package/libs/toolchain/compile#0.11#0.03#0.13
ERROR: package/libs/toolchain failed to build.
make[1]: *** [package/Makefile:114: package/libs/toolchain/compile] Error 1
make[1]: Leaving directory ‘/home/user/SDK_File’
make: *** [/home/user/SDK_File/include/ package/libs/libsmpp34/compile] Error 2

The subset of the log you have posted isn’t sufficient to determine the real cause of the failure. Upload the full makelog.txt again.
If the error is still in libsmpp34 edit package/libs/libsmpp34/Makefile and set PKG_SOURCE_URL= instead of git://…


Use below link to access makelog file.

Thank you

Which distribution do you use to build the SDK ?
From the makelog:

/home/user/SDK_File/build_dir/hostpkg/Python-3.9.7/Modules/_ctypes/_ctypes.c:107:10: fatal error: ffi.h: No such file \
or directory
  107 | #include <ffi.h>
      |          ^~~~~~~
compilation terminated.

libffi-dev (or libffi-devel depending on linux version) is missing, as are libuuid-devel, uuid-devel and several others.

From the Readme:

		$ sudo apt update
	        $ 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


Details are:

Ubuntu 22.04.2 LTS Jammy
ID: Ubuntu
ID_Like: Debian

I’m bit slower in linux system.
I give you above details as what i understand from your previous comment, correct if i’m wrong.

Thank you.

Please let me know if any update.

Thank you.

Did you execute the apt update command as described above ?

I tried same, but not output is command not found.

apt update is working but another whole command not working.

Which one ?

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