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
686 views 10 comments
by anonymous

Log from command: ./scripts/feeds update -a

Updating feed 'freifunk' from 'https://github.com/freifunk/openwrt-packages.git^c621a4283870fe062489fe5e26a15deda7ef4ed7' ...

Cloning into './feeds/freifunk'...

remote: Enumerating objects: 111933, done.

remote: Counting objects: 100% (286/286), done.

remote: Compressing objects: 100% (191/191), done.

remote: Total 111933 (delta 103), reused 198 (delta 55), pack-reused 111647

Receiving objects: 100% (111933/111933), 38.21 MiB | 4.89 MiB/s, done.

Resolving deltas: 100% (63614/63614), done.

Switched to a new branch 'c621a4283870fe062489fe5e26a15deda7ef4ed7'

/home/vkiesner/rutos-ipq40xx-rutx-gpl

Create index file './feeds/freifunk.index'

ERROR: please fix feeds/freifunk/applications/luci-app-freifunk-diagnostics/Makefile - see logs/feeds/freifunk/applications/luci-app-freifunk-diagnostics/dump.txt for details

ERROR: please fix feeds/freifunk/applications/luci-app-freifunk-policyrouting/Makefile - see logs/feeds/freifunk/applications/luci-app-freifunk-policyrouting/dump.txt for details

ERROR: please fix feeds/freifunk/applications/luci-app-freifunk-widgets/Makefile - see logs/feeds/freifunk/applications/luci-app-freifunk-widgets/dump.txt for details

ERROR: please fix feeds/freifunk/applications/luci-app-meshwizard/Makefile - see logs/feeds/freifunk/applications/luci-app-meshwizard/dump.txt for details

ERROR: please fix feeds/freifunk/modules/luci-mod-freifunk/Makefile - see logs/feeds/freifunk/modules/luci-mod-freifunk/dump.txt for details

ERROR: please fix feeds/freifunk/modules/luci-mod-freifunk-community/Makefile - see logs/feeds/freifunk/modules/luci-mod-freifunk-community/dump.txt for details

ERROR: please fix feeds/freifunk/themes/luci-theme-freifunk-generic/Makefile - see logs/feeds/freifunk/themes/luci-theme-freifunk-generic/dump.txt for details

Collecting package info: done

Collecting target info: done

by anonymous

dump.txt

../../freifunk.mk:12: *** did not find luci.mk in any feed.  Stop.

by anonymous
Also, make does not end well. I don't know, where it fails, but noticed following warnings

make

---------------------------------------------------

WARNING: Makefile 'package/feeds/luci/luci-base/Makefile' has a build dependency on 'csstidy/host', which does not exist

WARNING: Makefile 'package/feeds/luci/luci-lib-ip/Makefile' has a build dependency on 'csstidy/host', which does not exist

WARNING: Makefile 'package/feeds/luci/luci-lib-jsonc/Makefile' has a build dependency on 'csstidy/host', which does not exist

WARNING: Makefile 'package/feeds/luci/luci-lib-nixio/Makefile' has a build dependency on 'csstidy/host', which does not exist

2 Answers

0 votes
by anonymous

1) Read README from downloaded SDK. Teltonika's WIKI page are obsolete.

SDK 7.00 require Ubuntu 20.04 LTS. :)

2) If you are building SDK in WSL Windows 10, remove Windows paths from Linux $PATH in WSL.

create /etc/wsl.conf file with following content and restart WSL with wsl.exe --shutdown.

[interop]
enabled=false
appendWindowsPath=false
Best answer
0 votes
by anonymous
Hello,

You can ignore all the warnings above.

freifunk is not used, create a feeds.conf from feeds.conf.default remove freifunk and luci.

If make doesn't complete run "make -j1 V=s" it will show you what really fails.

Regards,
by anonymous
Few lines from the output of "make". Any insight, what goes wrong way?

======================================================================

Configuring kmod-ipt-offload.

Configuring libfuse1.

Configuring stm32flasher.

Configuring urngd.

Configuring vuci-app-memory-expansion.

Configuring ppp-mod-pppoe.

Configuring vuci-app-mobile-utilities.

Configuring strongswan-mod-md5.

Configuring call_utilities.

Collected errors:

 * check_data_file_clashes: Package libqmi wants to install file /home/vkiesner/rutos-ipq40xx-rutx-gpl/build_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/root-ipq40xx/usr/lib/libqmi-glib.so.5

        But that file is already provided by package  * libqmi-glib

 * check_data_file_clashes: Package libqmi wants to install file /home/vkiesner/rutos-ipq40xx-rutx-gpl/build_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/root-ipq40xx/usr/lib/qmi-proxy

        But that file is already provided by package  * libqmi-glib

 * opkg_install_cmd: Cannot install package libqmi.

 * check_data_file_clashes: Package libqmi wants to install file /home/vkiesner/rutos-ipq40xx-rutx-gpl/build_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/root-ipq40xx/usr/lib/libqmi-glib.so.5

        But that file is already provided by package  * libqmi-glib

 * check_data_file_clashes: Package libqmi wants to install file /home/vkiesner/rutos-ipq40xx-rutx-gpl/build_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/root-ipq40xx/usr/lib/qmi-proxy

        But that file is already provided by package  * libqmi-glib

 * opkg_install_cmd: Cannot install package qmi-utils.

make[2]: *** [package/Makefile:68: package/install] Error 255

make[2]: Leaving directory '/home/vkiesner/rutos-ipq40xx-rutx-gpl'

make[1]: *** [package/Makefile:120: /home/vkiesner/rutos-ipq40xx-rutx-gpl/staging_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/stamp/.package_install] Error 2

make[1]: Leaving directory '/home/vkiesner/rutos-ipq40xx-rutx-gpl'

make: *** [/home/vkiesner/rutos-ipq40xx-rutx-gpl/include/toplevel.mk:231: world] Error 2
by anonymous
Disable libqmi, keep libqmi-glib only. Where did you pick this library ?
by anonymous
Install Ubuntu 20.04 LTS in Windows 10 WSL2 mode. Download v7.00 SDK for RUTX. Next, read README from SDK. That is all.

Can you point me in right place to disable libqmi?

P.S. I just want to know, is it really possible to get exact copy of firmware, what provided by Teltonika :).
by anonymous

I don't know where libqmi comes from I don't have the issue. You can try a "make menuconfig", use '/' (the char) to search for libqmi if you can find it follow the path to disable it.

If not delete the rutos* dir, and restart from scratch. Create a feeds.conf omitting freifunk and luci then ./scripts/feeds update -a and make.

Edit: check your .config, what is the output of grep -i qmi .config ? 

[rutos-ipq40xx-rutx-gpl]$ grep -i qmi .config
CONFIG_PACKAGE_kmod-usb-net-qmi-wwan=y
CONFIG_PACKAGE_libqmi-glib=y
CONFIG_PACKAGE_qmi-utils=y

by anonymous

so, started from scratch, deleted mentioned feeds (2 last of them). after "feeds update -a", .config file has only following parts with qmi:

vkiesner@VKIESNER-NB:~/RUTX_R_GPL/rutos-ipq40xx-rutx-gpl$ grep -i qmi .config
CONFIG_PACKAGE_kmod-usb-net-qmi-wwan=y
CONFIG_PACKAGE_libqmi-glib=y
CONFIG_PACKAGE_qmi-utils=y
by anonymous

Just edit the .config, replace CONFIG_PACKAGE_libqmi=y by # CONFIG_PACKAGE_libqmi is not set. If that break things there must be something else at play but I don't know what.

Do a make clean before make, just to be sure.

by anonymous
Oops tried a fresh build without freifunk and luci it fails some libraries are missing had to restore luci and reapply the feeds update.
by anonymous

FYI:

If you are using WSL in WIndows 10, you need to switch off Windows paths addition to Linux $PATH variable. () from Windows path breaks some scripts when "make".

Create /etc/wsl.conf with following content:

[interop]
enabled=false
appendWindowsPath=false

restart wsl subsystem: wsl.exe --shutdown