FOR TIPS, gUIDES & TUTORIALS

subscribe to our Youtube

GO TO YOUTUBE

14455 questions

17168 answers

28195 comments

0 members

We are migrating to our new platform at https://community.teltonika.lt. Moving forward, you can continue discussions on this new platform. This current platform will be temporarily maintained for reference purposes.
0 votes
334 views 2 comments
by anonymous

I received my RUTX09 today and downloaded the SDK from https://wiki.teltonika-networks.com/gpl/RUTX_R_GPL_00.02.06.1.tar.gz

My system is Ubuntu 16.04.7 LTS 

The ubuntu is a fresh install. I have also tested on Ubuntu 20 with the same results.

I have done the "sudo apt update" along with "sudo apt install -y binutils binutils-gold build-essential bzip2 curl device-tree-compiler devscripts file flex fuse g++ gawk gcc gcc-multilib gengetopt gettext git groff libc6-dev libncurses5-dev libpcre3-dev libssl-dev libxml-parser-perl make ocaml ocaml-findlib ocaml-nox patch pkg-config python2.7 python-dev python-yaml sharutils subversion u-boot-tools unzip vim-common wget zlib1g-dev"

When running make, I get the following warnings:

WARNING: Makefile 'package/configdb/Makefile' has a build dependency on 'common', which does not exist

WARNING: Makefile 'package/diag/Makefile' has a build dependency on 'common', which does not exist

WARNING: Makefile 'package/dsutils/Makefile' has a build dependency on 'common', which does not exist

WARNING: Makefile 'package/mcm-core/Makefile' has a build dependency on 'common', which does not exist

WARNING: Makefile 'package/qmi-client-helper/Makefile' has a build dependency on 'common', which does not exist

WARNING: Makefile 'package/qmuxd/Makefile' has a build dependency on 'common', which does not exist

WARNING: Makefile 'package/xmllib/Makefile' has a build dependency on 'common', which does not exist

time: target/linux/prereq#0.08#0.02#0.10

And when i attempt to "make menuconfig" it fails completely:

WARNING: Makefile 'package/configdb/Makefile' has a build dependency on 'common', which does not exist

WARNING: Makefile 'package/diag/Makefile' has a build dependency on 'common', which does not exist

WARNING: Makefile 'package/dsutils/Makefile' has a build dependency on 'common', which does not exist

WARNING: Makefile 'package/mcm-core/Makefile' has a build dependency on 'common', which does not exist

WARNING: Makefile 'package/qmi-client-helper/Makefile' has a build dependency on 'common', which does not exist

WARNING: Makefile 'package/qmuxd/Makefile' has a build dependency on 'common', which does not exist

WARNING: Makefile 'package/xmllib/Makefile' has a build dependency on 'common', which does not exist

scripts/config/mconf: error while loading shared libraries: libncursesw.so.6: cannot open shared object file: No such file or directory

/home/hansj/rutx09/openwrt-gpl-ipq40xx-generic.Linux-x86_64/include/toplevel.mk:145: recipe for target 'menuconfig' failed

make: *** [menuconfig] Error 127

I have followed the setup guide to the letter (https://wiki.teltonika-networks.com/view/RUTX_Software_Development_Kit_instructions)

How do I fix this ? 

1 Answer

+1 vote
by anonymous

Build dependencies are just warnings, you can ignore them.

Remove the precompiled object files and executables from scripts/config:

rm scripts/config/*.o
rm scripts/config/conf (maybe mconf also)

to get rid of the libcursesw.so.6 dependency. They will be recompiled anyway.

Regards,

 

 

by anonymous
Thanks.

running "make menuconfig" + "make" on Ubuntu 20.04 results in three .bin files being produced in the bin/targets/ipq40xx/generic folder. I havent tried updating the RUTX09 yet, but I now seem to have a working setup.

However, running make "menuconfig" (after the suggested cleanup) results in a segmentation fault + core dump on Ubuntu 16.04, which is the recommended prerequisite OS on the "RUTX Software Development Kit instructions" page.

Maybe you should consider updating the documentation ?

Regards

Hans J. Grimstad
by anonymous

make "menuconfig" (after the suggested cleanup) results in a segmentation fault + core dump on Ubuntu 16.04

gcc coredumps ? Good to know.