olivluca / danube-voip

This is a sip client using the 2 FXS ports available on routers based on the Infineon Danube and running openwrt.
16 stars 10 forks source link

luci-svd are not compiling in OpenWRT 18.06 and 19.07 #10

Closed klazarev closed 4 years ago

klazarev commented 4 years ago

luci-svd are not compiling in OpenVrt 18.06 and 19.07.

make[4]: Entering directory '/opt/build/EasyBox_803/openwrt/build_dir/hostpkg/luci-svd'
rm -f *.o parser.so
gcc  -O2 --std=gnu99 -Wall -Werror -pedantic   -fPIC -c -o template_parser.o template_parser.c
In file included from template_parser.c:19:0:
template_parser.h:33:10: fatal error: lua.h: No such file or directory
 #include <lua.h>
          ^~~~~~~
compilation terminated.
Makefile:13: recipe for target 'template_parser.o' failed
make[4]: *** [template_parser.o] Error 1

How to fix it?

olivluca commented 4 years ago

I'm not sure it will fix this issue, but try adding a dependency to luci-compat in the luci-svd makefile, i.e., the line should read

DEPENDS:=+luci-compat +luci-lib-nixio +luci-mod-admin-full +svd

klazarev commented 4 years ago

unfortunately did not help (((

olivluca commented 4 years ago

I'm setting up a build environment for openwrt 19.07 so I can see what's happening. It will take a while though.

klazarev commented 4 years ago

I also compiled in OpenWRT SDK https://downloads.openwrt.org/releases/19.07.2/targets/lantiq/xway/openwrt-sdk-19.07.2-lantiq-xway_gcc-7.5.0_musl.Linux-x86_64.tar.xs The same error, but it is much faster.

olivluca commented 4 years ago

I just built it with no errors. I did this:

git clone https://git.openwrt.org/openwrt/openwrt.git
git checkout v19.07.2

I added my packages (src-link custom /media/luca/bckup/packages/danube-voip) to feeds.conf.default then

./scripts/feeds update -a
./scripts/feeds install -a

copied over my old config and make menuconfig to update it then

make tools/install
make toolchain/install
make package/luci-svd/compile

this one failed compiling ltq-ifxos, so I did a plain

make

that also failed compiling trace-cmd but it compiled the kernel, so issuing a

make package/luci-svd/compile

this time worked and generated all packages (libab, sofia-sip, svd and lucy-svd). I cannot tell if they work but I don't see the same error as you.

olivluca commented 4 years ago

I also tried with the sdk in your comment and using this github repository in my feeds.conf.default (in case my copy was out of sync, but I checked that) and it compiled with no errors.

luca@seis:~/openwrt/openwrt-sdk-19.07.2-lantiq-xway_gcc-7.5.0_musl.Linux-x86_64$ make package/luci-svd/compile
WARNING: Makefile 'package/linux/Makefile' has a dependency on 'kmod-phy-bcm-ns-usb2', which does not exist
WARNING: Makefile 'package/linux/Makefile' has a dependency on 'kmod-phy-bcm-ns-usb3', which does not exist
tmp/.config-feeds.in:9:warning: ignoring type redefinition of 'FEED_packages' from 'boolean' to 'tristate'
tmp/.config-feeds.in:17:warning: ignoring type redefinition of 'FEED_luci' from 'boolean' to 'tristate'
tmp/.config-feeds.in:25:warning: ignoring type redefinition of 'FEED_routing' from 'boolean' to 'tristate'
tmp/.config-feeds.in:33:warning: ignoring type redefinition of 'FEED_telephony' from 'boolean' to 'tristate'
tmp/.config-package.in:61:warning: ignoring type redefinition of 'PACKAGE_base-files' from 'boolean' to 'tristate'
tmp/.config-package.in:131:warning: ignoring type redefinition of 'PACKAGE_busybox' from 'boolean' to 'tristate'
tmp/.config-package.in:174:warning: ignoring type redefinition of 'PACKAGE_dnsmasq' from 'boolean' to 'tristate'
tmp/.config-package.in:257:warning: ignoring type redefinition of 'PACKAGE_dropbear' from 'boolean' to 'tristate'
tmp/.config-package.in:288:warning: ignoring type redefinition of 'PACKAGE_firewall' from 'boolean' to 'tristate'
tmp/.config-package.in:310:warning: ignoring type redefinition of 'PACKAGE_fstools' from 'boolean' to 'tristate'
tmp/.config-package.in:347:warning: ignoring type redefinition of 'PACKAGE_fwtool' from 'boolean' to 'tristate'
tmp/.config-package.in:359:warning: ignoring type redefinition of 'PACKAGE_getrandom' from 'boolean' to 'tristate'
tmp/.config-package.in:385:warning: ignoring type redefinition of 'PACKAGE_jsonfilter' from 'boolean' to 'tristate'
tmp/.config-package.in:429:warning: ignoring type redefinition of 'PACKAGE_libc' from 'boolean' to 'tristate'
tmp/.config-package.in:457:warning: ignoring type redefinition of 'PACKAGE_libgcc' from 'boolean' to 'tristate'
tmp/.config-package.in:542:warning: ignoring type redefinition of 'PACKAGE_libpthread' from 'boolean' to 'tristate'
tmp/.config-package.in:683:warning: ignoring type redefinition of 'PACKAGE_logd' from 'boolean' to 'tristate'
tmp/.config-package.in:698:warning: ignoring type redefinition of 'PACKAGE_mtd' from 'boolean' to 'tristate'
tmp/.config-package.in:712:warning: ignoring type redefinition of 'PACKAGE_netifd' from 'boolean' to 'tristate'
tmp/.config-package.in:775:warning: ignoring type redefinition of 'PACKAGE_openwrt-keyring' from 'boolean' to 'tristate'
tmp/.config-package.in:788:warning: ignoring type redefinition of 'PACKAGE_opkg' from 'boolean' to 'tristate'
tmp/.config-package.in:849:warning: ignoring type redefinition of 'PACKAGE_procd' from 'boolean' to 'tristate'
tmp/.config-package.in:956:warning: ignoring type redefinition of 'PACKAGE_rpcd' from 'boolean' to 'tristate'
tmp/.config-package.in:974:warning: ignoring type redefinition of 'PACKAGE_rpcd-mod-file' from 'boolean' to 'tristate'
tmp/.config-package.in:989:warning: ignoring type redefinition of 'PACKAGE_rpcd-mod-iwinfo' from 'boolean' to 'tristate'
tmp/.config-package.in:1067:warning: ignoring type redefinition of 'PACKAGE_swconfig' from 'boolean' to 'tristate'
tmp/.config-package.in:1081:warning: ignoring type redefinition of 'PACKAGE_ubox' from 'boolean' to 'tristate'
tmp/.config-package.in:1098:warning: ignoring type redefinition of 'PACKAGE_ubus' from 'boolean' to 'tristate'
tmp/.config-package.in:1113:warning: ignoring type redefinition of 'PACKAGE_ubusd' from 'boolean' to 'tristate'
tmp/.config-package.in:1158:warning: ignoring type redefinition of 'PACKAGE_uci' from 'boolean' to 'tristate'
tmp/.config-package.in:1171:warning: ignoring type redefinition of 'PACKAGE_urandom-seed' from 'boolean' to 'tristate'
tmp/.config-package.in:1185:warning: ignoring type redefinition of 'PACKAGE_urngd' from 'boolean' to 'tristate'
tmp/.config-package.in:1208:warning: ignoring type redefinition of 'PACKAGE_usign' from 'boolean' to 'tristate'
tmp/.config-package.in:9542:warning: ignoring type redefinition of 'PACKAGE_kmod-gpio-button-hotplug' from 'boolean' to 'tristate'
tmp/.config-package.in:12334:warning: ignoring type redefinition of 'PACKAGE_libiwinfo-lua' from 'boolean' to 'tristate'
tmp/.config-package.in:12378:warning: ignoring type redefinition of 'PACKAGE_lua' from 'boolean' to 'tristate'
tmp/.config-package.in:27537:warning: ignoring type redefinition of 'PACKAGE_libip4tc' from 'boolean' to 'tristate'
tmp/.config-package.in:27551:warning: ignoring type redefinition of 'PACKAGE_libip6tc' from 'boolean' to 'tristate'
tmp/.config-package.in:27581:warning: ignoring type redefinition of 'PACKAGE_libxtables' from 'boolean' to 'tristate'
tmp/.config-package.in:56883:warning: ignoring type redefinition of 'PACKAGE_libblobmsg-json' from 'boolean' to 'tristate'
tmp/.config-package.in:59927:warning: ignoring type redefinition of 'PACKAGE_libiwinfo' from 'boolean' to 'tristate'
tmp/.config-package.in:59956:warning: ignoring type redefinition of 'PACKAGE_libjson-c' from 'boolean' to 'tristate'
tmp/.config-package.in:60045:warning: ignoring type redefinition of 'PACKAGE_liblua' from 'boolean' to 'tristate'
tmp/.config-package.in:60061:warning: ignoring type redefinition of 'PACKAGE_liblucihttp' from 'boolean' to 'tristate'
tmp/.config-package.in:60073:warning: ignoring type redefinition of 'PACKAGE_liblucihttp-lua' from 'boolean' to 'tristate'
tmp/.config-package.in:60860:warning: ignoring type redefinition of 'PACKAGE_libnl-tiny' from 'boolean' to 'tristate'
tmp/.config-package.in:63009:warning: ignoring type redefinition of 'PACKAGE_libubox' from 'boolean' to 'tristate'
tmp/.config-package.in:63035:warning: ignoring type redefinition of 'PACKAGE_libubus' from 'boolean' to 'tristate'
tmp/.config-package.in:63048:warning: ignoring type redefinition of 'PACKAGE_libubus-lua' from 'boolean' to 'tristate'
tmp/.config-package.in:63062:warning: ignoring type redefinition of 'PACKAGE_libuci' from 'boolean' to 'tristate'
tmp/.config-package.in:63089:warning: ignoring type redefinition of 'PACKAGE_libuclient' from 'boolean' to 'tristate'
tmp/.config-package.in:64148:warning: ignoring type redefinition of 'PACKAGE_rpcd-mod-luci' from 'boolean' to 'tristate'
tmp/.config-package.in:64196:warning: ignoring type redefinition of 'PACKAGE_rpcd-mod-rrdns' from 'boolean' to 'tristate'
tmp/.config-package.in:64469:warning: ignoring type redefinition of 'PACKAGE_luci' from 'boolean' to 'tristate'
tmp/.config-package.in:64581:warning: ignoring type redefinition of 'PACKAGE_luci-base' from 'boolean' to 'tristate'
tmp/.config-package.in:64618:warning: ignoring type redefinition of 'LUCI_LANG_bg' from 'boolean' to 'tristate'
tmp/.config-package.in:64621:warning: ignoring type redefinition of 'LUCI_LANG_ca' from 'boolean' to 'tristate'
tmp/.config-package.in:64624:warning: ignoring type redefinition of 'LUCI_LANG_cs' from 'boolean' to 'tristate'
tmp/.config-package.in:64627:warning: ignoring type redefinition of 'LUCI_LANG_de' from 'boolean' to 'tristate'
tmp/.config-package.in:64630:warning: ignoring type redefinition of 'LUCI_LANG_el' from 'boolean' to 'tristate'
tmp/.config-package.in:64633:warning: ignoring type redefinition of 'LUCI_LANG_en' from 'boolean' to 'tristate'
tmp/.config-package.in:64636:warning: ignoring type redefinition of 'LUCI_LANG_es' from 'boolean' to 'tristate'
tmp/.config-package.in:64639:warning: ignoring type redefinition of 'LUCI_LANG_fr' from 'boolean' to 'tristate'
tmp/.config-package.in:64642:warning: ignoring type redefinition of 'LUCI_LANG_he' from 'boolean' to 'tristate'
tmp/.config-package.in:64645:warning: ignoring type redefinition of 'LUCI_LANG_hi' from 'boolean' to 'tristate'
tmp/.config-package.in:64648:warning: ignoring type redefinition of 'LUCI_LANG_hu' from 'boolean' to 'tristate'
tmp/.config-package.in:64651:warning: ignoring type redefinition of 'LUCI_LANG_it' from 'boolean' to 'tristate'
tmp/.config-package.in:64654:warning: ignoring type redefinition of 'LUCI_LANG_ja' from 'boolean' to 'tristate'
tmp/.config-package.in:64657:warning: ignoring type redefinition of 'LUCI_LANG_ko' from 'boolean' to 'tristate'
tmp/.config-package.in:64660:warning: ignoring type redefinition of 'LUCI_LANG_mr' from 'boolean' to 'tristate'
tmp/.config-package.in:64663:warning: ignoring type redefinition of 'LUCI_LANG_ms' from 'boolean' to 'tristate'
tmp/.config-package.in:64666:warning: ignoring type redefinition of 'LUCI_LANG_nb_NO' from 'boolean' to 'tristate'
tmp/.config-package.in:64669:warning: ignoring type redefinition of 'LUCI_LANG_pl' from 'boolean' to 'tristate'
tmp/.config-package.in:64672:warning: ignoring type redefinition of 'LUCI_LANG_pt' from 'boolean' to 'tristate'
tmp/.config-package.in:64675:warning: ignoring type redefinition of 'LUCI_LANG_pt_BR' from 'boolean' to 'tristate'
tmp/.config-package.in:64678:warning: ignoring type redefinition of 'LUCI_LANG_ro' from 'boolean' to 'tristate'
tmp/.config-package.in:64681:warning: ignoring type redefinition of 'LUCI_LANG_ru' from 'boolean' to 'tristate'
tmp/.config-package.in:64684:warning: ignoring type redefinition of 'LUCI_LANG_sk' from 'boolean' to 'tristate'
tmp/.config-package.in:64687:warning: ignoring type redefinition of 'LUCI_LANG_sv' from 'boolean' to 'tristate'
tmp/.config-package.in:64690:warning: ignoring type redefinition of 'LUCI_LANG_tr' from 'boolean' to 'tristate'
tmp/.config-package.in:64693:warning: ignoring type redefinition of 'LUCI_LANG_uk' from 'boolean' to 'tristate'
tmp/.config-package.in:64696:warning: ignoring type redefinition of 'LUCI_LANG_vi' from 'boolean' to 'tristate'
tmp/.config-package.in:64699:warning: ignoring type redefinition of 'LUCI_LANG_zh_Hans' from 'boolean' to 'tristate'
tmp/.config-package.in:64702:warning: ignoring type redefinition of 'LUCI_LANG_zh_Hant' from 'boolean' to 'tristate'
tmp/.config-package.in:64720:warning: ignoring type redefinition of 'PACKAGE_luci-mod-admin-full' from 'boolean' to 'tristate'
tmp/.config-package.in:64764:warning: ignoring type redefinition of 'PACKAGE_luci-mod-network' from 'boolean' to 'tristate'
tmp/.config-package.in:64792:warning: ignoring type redefinition of 'PACKAGE_luci-mod-status' from 'boolean' to 'tristate'
tmp/.config-package.in:64807:warning: ignoring type redefinition of 'PACKAGE_luci-mod-system' from 'boolean' to 'tristate'
tmp/.config-package.in:65189:warning: ignoring type redefinition of 'PACKAGE_luci-app-firewall' from 'boolean' to 'tristate'
tmp/.config-package.in:65528:warning: ignoring type redefinition of 'PACKAGE_luci-app-opkg' from 'boolean' to 'tristate'
tmp/.config-package.in:66104:warning: ignoring type redefinition of 'PACKAGE_luci-theme-bootstrap' from 'boolean' to 'tristate'
tmp/.config-package.in:66192:warning: ignoring type redefinition of 'PACKAGE_luci-proto-ipv6' from 'boolean' to 'tristate'
tmp/.config-package.in:66234:warning: ignoring type redefinition of 'PACKAGE_luci-proto-ppp' from 'boolean' to 'tristate'
tmp/.config-package.in:66356:warning: ignoring type redefinition of 'PACKAGE_luci-lib-ip' from 'boolean' to 'tristate'
tmp/.config-package.in:66420:warning: ignoring type redefinition of 'PACKAGE_luci-lib-jsonc' from 'boolean' to 'tristate'
tmp/.config-package.in:66434:warning: ignoring type redefinition of 'PACKAGE_luci-lib-nixio' from 'boolean' to 'tristate'
tmp/.config-package.in:98875:warning: ignoring type redefinition of 'PACKAGE_ip6tables' from 'boolean' to 'tristate'
tmp/.config-package.in:98945:warning: ignoring type redefinition of 'PACKAGE_iptables' from 'boolean' to 'tristate'
tmp/.config-package.in:121015:warning: ignoring type redefinition of 'PACKAGE_cgi-io' from 'boolean' to 'tristate'
tmp/.config-package.in:122202:warning: ignoring type redefinition of 'PACKAGE_uhttpd' from 'boolean' to 'tristate'
tmp/.config-package.in:127067:warning: ignoring type redefinition of 'PACKAGE_odhcp6c' from 'boolean' to 'tristate'
tmp/.config-package.in:127120:warning: ignoring type redefinition of 'PACKAGE_odhcpd-ipv6only' from 'boolean' to 'tristate'
tmp/.config-package.in:127319:warning: ignoring type redefinition of 'PACKAGE_ppp' from 'boolean' to 'tristate'
tmp/.config-package.in:127365:warning: ignoring type redefinition of 'PACKAGE_ppp-mod-pppoe' from 'boolean' to 'tristate'
tmp/.config-package.in:128554:warning: ignoring type redefinition of 'PACKAGE_uclient-fetch' from 'boolean' to 'tristate'
tmp/.config-package.in:138228:warning: ignoring type redefinition of 'PACKAGE_jshn' from 'boolean' to 'tristate'
tmp/.config-package.in:138562:warning: ignoring type redefinition of 'PACKAGE_libjson-script' from 'boolean' to 'tristate'
tmp/.config-package.in:143927:warning: ignoring type redefinition of 'PACKAGE_ubi-utils' from 'boolean' to 'tristate'
Config-build.in:5695:warning: defaults for choice values not supported
Config-build.in:5699:warning: defaults for choice values not supported
Config-build.in:5703:warning: defaults for choice values not supported
Config-build.in:5707:warning: defaults for choice values not supported
Config-build.in:5711:warning: defaults for choice values not supported
Config-build.in:8787:warning: defaults for choice values not supported
Config-build.in:8963:warning: defaults for choice values not supported
Config-build.in:8967:warning: defaults for choice values not supported
Config-build.in:8971:warning: defaults for choice values not supported
Config-build.in:8975:warning: defaults for choice values not supported
Config-build.in:8979:warning: defaults for choice values not supported
Config-build.in:8983:warning: defaults for choice values not supported
Config-build.in:8999:warning: defaults for choice values not supported
Config-build.in:9615:warning: defaults for choice values not supported
Config-build.in:9619:warning: defaults for choice values not supported
Config-build.in:9831:warning: defaults for choice values not supported
Config-build.in:9983:warning: defaults for choice values not supported
Config-build.in:9987:warning: defaults for choice values not supported
Config-build.in:9991:warning: defaults for choice values not supported
Config-build.in:10171:warning: defaults for choice values not supported
Config-build.in:10175:warning: defaults for choice values not supported
Config-build.in:10179:warning: defaults for choice values not supported
tmp/.config-package.in:9299:error: recursive dependency detected!
For a resolution refer to Documentation/kbuild/kconfig-language.txt
subsection "Kconfig recursive dependency limitations"
tmp/.config-package.in:9299:    symbol PACKAGE_kmod-batman-adv depends on PACKAGE_kmod-batman-adv
tmp/.config-package.in:9335:error: recursive dependency detected!
For a resolution refer to Documentation/kbuild/kconfig-language.txt
subsection "Kconfig recursive dependency limitations"
tmp/.config-package.in:9335:    symbol PACKAGE_kmod-macremapper depends on PACKAGE_kmod-macremapper
tmp/.config-package.in:9913:error: recursive dependency detected!
For a resolution refer to Documentation/kbuild/kconfig-language.txt
subsection "Kconfig recursive dependency limitations"
tmp/.config-package.in:9913:    symbol PACKAGE_kmod-airo depends on PACKAGE_kmod-airo
tmp/.config-package.in:10432:error: recursive dependency detected!
For a resolution refer to Documentation/kbuild/kconfig-language.txt
subsection "Kconfig recursive dependency limitations"
tmp/.config-package.in:10432:   symbol PACKAGE_kmod-brcmfmac depends on PACKAGE_kmod-brcmfmac
tmp/.config-package.in:10587:error: recursive dependency detected!
For a resolution refer to Documentation/kbuild/kconfig-language.txt
subsection "Kconfig recursive dependency limitations"
tmp/.config-package.in:10587:   symbol PACKAGE_kmod-hermes-pci depends on PACKAGE_kmod-hermes-pci
tmp/.config-package.in:10600:error: recursive dependency detected!
For a resolution refer to Documentation/kbuild/kconfig-language.txt
subsection "Kconfig recursive dependency limitations"
tmp/.config-package.in:10600:   symbol PACKAGE_kmod-hermes-pcmcia depends on PACKAGE_kmod-hermes-pcmcia
tmp/.config-package.in:10614:error: recursive dependency detected!
For a resolution refer to Documentation/kbuild/kconfig-language.txt
subsection "Kconfig recursive dependency limitations"
tmp/.config-package.in:10614:   symbol PACKAGE_kmod-hermes-plx depends on PACKAGE_kmod-hermes-plx
tmp/.config-package.in:10573:error: recursive dependency detected!
For a resolution refer to Documentation/kbuild/kconfig-language.txt
subsection "Kconfig recursive dependency limitations"
tmp/.config-package.in:10573:   symbol PACKAGE_kmod-hermes depends on PACKAGE_kmod-hermes
tmp/.config-package.in:10784:error: recursive dependency detected!
For a resolution refer to Documentation/kbuild/kconfig-language.txt
subsection "Kconfig recursive dependency limitations"
tmp/.config-package.in:10784:   symbol PACKAGE_kmod-libertas-sdio depends on PACKAGE_kmod-libertas-sdio
tmp/.config-package.in:10800:error: recursive dependency detected!
For a resolution refer to Documentation/kbuild/kconfig-language.txt
subsection "Kconfig recursive dependency limitations"
tmp/.config-package.in:10800:   symbol PACKAGE_kmod-libertas-spi depends on PACKAGE_kmod-libertas-spi
tmp/.config-package.in:10815:error: recursive dependency detected!
For a resolution refer to Documentation/kbuild/kconfig-language.txt
subsection "Kconfig recursive dependency limitations"
tmp/.config-package.in:10815:   symbol PACKAGE_kmod-libertas-usb depends on PACKAGE_kmod-libertas-usb
tmp/.config-package.in:10627:error: recursive dependency detected!
For a resolution refer to Documentation/kbuild/kconfig-language.txt
subsection "Kconfig recursive dependency limitations"
tmp/.config-package.in:10627:   symbol PACKAGE_kmod-ipw2100 depends on PACKAGE_kmod-ipw2100
tmp/.config-package.in:10642:error: recursive dependency detected!
For a resolution refer to Documentation/kbuild/kconfig-language.txt
subsection "Kconfig recursive dependency limitations"
tmp/.config-package.in:10642:   symbol PACKAGE_kmod-ipw2200 depends on PACKAGE_kmod-ipw2200
tmp/.config-package.in:10831:error: recursive dependency detected!
For a resolution refer to Documentation/kbuild/kconfig-language.txt
subsection "Kconfig recursive dependency limitations"
tmp/.config-package.in:10831:   symbol PACKAGE_kmod-libipw depends on PACKAGE_kmod-libipw
tmp/.config-package.in:10767:error: recursive dependency detected!
For a resolution refer to Documentation/kbuild/kconfig-language.txt
subsection "Kconfig recursive dependency limitations"
tmp/.config-package.in:10767:   symbol PACKAGE_kmod-lib80211 depends on PACKAGE_kmod-lib80211
tmp/.config-package.in:9815:error: recursive dependency detected!
For a resolution refer to Documentation/kbuild/kconfig-language.txt
subsection "Kconfig recursive dependency limitations"
tmp/.config-package.in:9815:    symbol PACKAGE_kmod-acx-mac80211 depends on PACKAGE_kmod-acx-mac80211
tmp/.config-package.in:9900:error: recursive dependency detected!
For a resolution refer to Documentation/kbuild/kconfig-language.txt
subsection "Kconfig recursive dependency limitations"
tmp/.config-package.in:9900:    symbol PACKAGE_kmod-adm8211 depends on PACKAGE_kmod-adm8211
tmp/.config-package.in:9988:error: recursive dependency detected!
For a resolution refer to Documentation/kbuild/kconfig-language.txt
subsection "Kconfig recursive dependency limitations"
tmp/.config-package.in:9988:    symbol PACKAGE_kmod-ath10k depends on PACKAGE_kmod-ath10k
tmp/.config-package.in:10044:error: recursive dependency detected!
For a resolution refer to Documentation/kbuild/kconfig-language.txt
subsection "Kconfig recursive dependency limitations"
tmp/.config-package.in:10044:   symbol PACKAGE_kmod-ath10k-ct-smallbuffers depends on PACKAGE_kmod-ath10k-ct-smallbuffers
tmp/.config-package.in:10020:error: recursive dependency detected!
For a resolution refer to Documentation/kbuild/kconfig-language.txt
subsection "Kconfig recursive dependency limitations"
tmp/.config-package.in:10020:   symbol PACKAGE_kmod-ath10k-ct depends on PACKAGE_kmod-ath10k-ct
tmp/.config-package.in:10061:error: recursive dependency detected!
For a resolution refer to Documentation/kbuild/kconfig-language.txt
subsection "Kconfig recursive dependency limitations"
tmp/.config-package.in:10061:   symbol PACKAGE_kmod-ath5k depends on PACKAGE_kmod-ath5k
tmp/.config-package.in:10088:error: recursive dependency detected!
For a resolution refer to Documentation/kbuild/kconfig-language.txt
subsection "Kconfig recursive dependency limitations"
tmp/.config-package.in:10088:   symbol PACKAGE_kmod-ath6kl-sdio depends on PACKAGE_kmod-ath6kl-sdio
tmp/.config-package.in:10103:error: recursive dependency detected!
For a resolution refer to Documentation/kbuild/kconfig-language.txt
subsection "Kconfig recursive dependency limitations"
tmp/.config-package.in:10103:   symbol PACKAGE_kmod-ath6kl-usb depends on PACKAGE_kmod-ath6kl-usb
tmp/.config-package.in:10076:error: recursive dependency detected!
For a resolution refer to Documentation/kbuild/kconfig-language.txt
subsection "Kconfig recursive dependency limitations"
tmp/.config-package.in:10076:   symbol PACKAGE_kmod-ath6kl depends on PACKAGE_kmod-ath6kl
tmp/.config-package.in:10118:error: recursive dependency detected!
For a resolution refer to Documentation/kbuild/kconfig-language.txt
subsection "Kconfig recursive dependency limitations"
tmp/.config-package.in:10118:   symbol PACKAGE_kmod-ath9k depends on PACKAGE_kmod-ath9k
tmp/.config-package.in:10163:error: recursive dependency detected!
For a resolution refer to Documentation/kbuild/kconfig-language.txt
subsection "Kconfig recursive dependency limitations"
tmp/.config-package.in:10163:   symbol PACKAGE_kmod-ath9k-htc depends on PACKAGE_kmod-ath9k-htc
tmp/.config-package.in:10149:error: recursive dependency detected!
For a resolution refer to Documentation/kbuild/kconfig-language.txt
subsection "Kconfig recursive dependency limitations"
tmp/.config-package.in:10149:   symbol PACKAGE_kmod-ath9k-common depends on PACKAGE_kmod-ath9k-common
tmp/.config-package.in:10542:error: recursive dependency detected!
For a resolution refer to Documentation/kbuild/kconfig-language.txt
subsection "Kconfig recursive dependency limitations"
tmp/.config-package.in:10542:   symbol PACKAGE_kmod-carl9170 depends on PACKAGE_kmod-carl9170
tmp/.config-package.in:9927:error: recursive dependency detected!
For a resolution refer to Documentation/kbuild/kconfig-language.txt
subsection "Kconfig recursive dependency limitations"
tmp/.config-package.in:9927:    symbol PACKAGE_kmod-ath depends on PACKAGE_kmod-ath
tmp/.config-package.in:10180:error: recursive dependency detected!
For a resolution refer to Documentation/kbuild/kconfig-language.txt
subsection "Kconfig recursive dependency limitations"
tmp/.config-package.in:10180:   symbol PACKAGE_kmod-b43 depends on PACKAGE_kmod-b43
tmp/.config-package.in:10415:error: recursive dependency detected!
For a resolution refer to Documentation/kbuild/kconfig-language.txt
subsection "Kconfig recursive dependency limitations"
tmp/.config-package.in:10415:   symbol PACKAGE_kmod-b43legacy depends on PACKAGE_kmod-b43legacy
tmp/.config-package.in:10486:error: recursive dependency detected!
For a resolution refer to Documentation/kbuild/kconfig-language.txt
subsection "Kconfig recursive dependency limitations"
tmp/.config-package.in:10486:   symbol PACKAGE_kmod-brcmsmac depends on PACKAGE_kmod-brcmsmac
tmp/.config-package.in:10669:error: recursive dependency detected!
For a resolution refer to Documentation/kbuild/kconfig-language.txt
subsection "Kconfig recursive dependency limitations"
tmp/.config-package.in:10669:   symbol PACKAGE_kmod-iwl3945 depends on PACKAGE_kmod-iwl3945
tmp/.config-package.in:10683:error: recursive dependency detected!
For a resolution refer to Documentation/kbuild/kconfig-language.txt
subsection "Kconfig recursive dependency limitations"
tmp/.config-package.in:10683:   symbol PACKAGE_kmod-iwl4965 depends on PACKAGE_kmod-iwl4965
tmp/.config-package.in:10657:error: recursive dependency detected!
For a resolution refer to Documentation/kbuild/kconfig-language.txt
subsection "Kconfig recursive dependency limitations"
tmp/.config-package.in:10657:   symbol PACKAGE_kmod-iwl-legacy depends on PACKAGE_kmod-iwl-legacy
tmp/.config-package.in:10698:error: recursive dependency detected!
For a resolution refer to Documentation/kbuild/kconfig-language.txt
subsection "Kconfig recursive dependency limitations"
tmp/.config-package.in:10698:   symbol PACKAGE_kmod-iwlwifi depends on PACKAGE_kmod-iwlwifi
tmp/.config-package.in:10886:error: recursive dependency detected!
For a resolution refer to Documentation/kbuild/kconfig-language.txt
subsection "Kconfig recursive dependency limitations"
tmp/.config-package.in:10886:   symbol PACKAGE_kmod-mac80211-hwsim depends on PACKAGE_kmod-mac80211-hwsim
tmp/.config-package.in:10900:error: recursive dependency detected!
For a resolution refer to Documentation/kbuild/kconfig-language.txt
subsection "Kconfig recursive dependency limitations"
tmp/.config-package.in:10900:   symbol PACKAGE_kmod-mt76 depends on PACKAGE_kmod-mt76
tmp/.config-package.in:11042:error: recursive dependency detected!
For a resolution refer to Documentation/kbuild/kconfig-language.txt
subsection "Kconfig recursive dependency limitations"
tmp/.config-package.in:11042:   symbol PACKAGE_kmod-mt76x0u depends on PACKAGE_kmod-mt76x0u
tmp/.config-package.in:11087:error: recursive dependency detected!
For a resolution refer to Documentation/kbuild/kconfig-language.txt
subsection "Kconfig recursive dependency limitations"
tmp/.config-package.in:11087:   symbol PACKAGE_kmod-mt76x2u depends on PACKAGE_kmod-mt76x2u
tmp/.config-package.in:11012:error: recursive dependency detected!
For a resolution refer to Documentation/kbuild/kconfig-language.txt
subsection "Kconfig recursive dependency limitations"
tmp/.config-package.in:11012:   symbol PACKAGE_kmod-mt76x02-usb depends on PACKAGE_kmod-mt76x02-usb
tmp/.config-package.in:10925:error: recursive dependency detected!
For a resolution refer to Documentation/kbuild/kconfig-language.txt
subsection "Kconfig recursive dependency limitations"
tmp/.config-package.in:10925:   symbol PACKAGE_kmod-mt76-usb depends on PACKAGE_kmod-mt76-usb
tmp/.config-package.in:10956:error: recursive dependency detected!
For a resolution refer to Documentation/kbuild/kconfig-language.txt
subsection "Kconfig recursive dependency limitations"
tmp/.config-package.in:10956:   symbol PACKAGE_kmod-mt7603 depends on PACKAGE_kmod-mt7603
tmp/.config-package.in:10971:error: recursive dependency detected!
For a resolution refer to Documentation/kbuild/kconfig-language.txt
subsection "Kconfig recursive dependency limitations"
tmp/.config-package.in:10971:   symbol PACKAGE_kmod-mt7615e depends on PACKAGE_kmod-mt7615e
tmp/.config-package.in:11027:error: recursive dependency detected!
For a resolution refer to Documentation/kbuild/kconfig-language.txt
subsection "Kconfig recursive dependency limitations"
tmp/.config-package.in:11027:   symbol PACKAGE_kmod-mt76x0e depends on PACKAGE_kmod-mt76x0e
tmp/.config-package.in:10986:error: recursive dependency detected!
For a resolution refer to Documentation/kbuild/kconfig-language.txt
subsection "Kconfig recursive dependency limitations"
tmp/.config-package.in:10986:   symbol PACKAGE_kmod-mt76x0-common depends on PACKAGE_kmod-mt76x0-common
tmp/.config-package.in:11058:error: recursive dependency detected!
For a resolution refer to Documentation/kbuild/kconfig-language.txt
subsection "Kconfig recursive dependency limitations"
tmp/.config-package.in:11058:   symbol PACKAGE_kmod-mt76x2 depends on PACKAGE_kmod-mt76x2
tmp/.config-package.in:11073:error: recursive dependency detected!
For a resolution refer to Documentation/kbuild/kconfig-language.txt
subsection "Kconfig recursive dependency limitations"
tmp/.config-package.in:11073:   symbol PACKAGE_kmod-mt76x2-common depends on PACKAGE_kmod-mt76x2-common
tmp/.config-package.in:10999:error: recursive dependency detected!
For a resolution refer to Documentation/kbuild/kconfig-language.txt
subsection "Kconfig recursive dependency limitations"
tmp/.config-package.in:10999:   symbol PACKAGE_kmod-mt76x02-common depends on PACKAGE_kmod-mt76x02-common
tmp/.config-package.in:10913:error: recursive dependency detected!
For a resolution refer to Documentation/kbuild/kconfig-language.txt
subsection "Kconfig recursive dependency limitations"
tmp/.config-package.in:10913:   symbol PACKAGE_kmod-mt76-core depends on PACKAGE_kmod-mt76-core
tmp/.config-package.in:10940:error: recursive dependency detected!
For a resolution refer to Documentation/kbuild/kconfig-language.txt
subsection "Kconfig recursive dependency limitations"
tmp/.config-package.in:10940:   symbol PACKAGE_kmod-mt7601u depends on PACKAGE_kmod-mt7601u
tmp/.config-package.in:11103:error: recursive dependency detected!
For a resolution refer to Documentation/kbuild/kconfig-language.txt
subsection "Kconfig recursive dependency limitations"
tmp/.config-package.in:11103:   symbol PACKAGE_kmod-mwifiex-pcie depends on PACKAGE_kmod-mwifiex-pcie
tmp/.config-package.in:11118:error: recursive dependency detected!
For a resolution refer to Documentation/kbuild/kconfig-language.txt
subsection "Kconfig recursive dependency limitations"
tmp/.config-package.in:11118:   symbol PACKAGE_kmod-mwifiex-sdio depends on PACKAGE_kmod-mwifiex-sdio
tmp/.config-package.in:11134:error: recursive dependency detected!
For a resolution refer to Documentation/kbuild/kconfig-language.txt
subsection "Kconfig recursive dependency limitations"
tmp/.config-package.in:11134:   symbol PACKAGE_kmod-mwl8k depends on PACKAGE_kmod-mwl8k
tmp/.config-package.in:11148:error: recursive dependency detected!
For a resolution refer to Documentation/kbuild/kconfig-language.txt
subsection "Kconfig recursive dependency limitations"
tmp/.config-package.in:11148:   symbol PACKAGE_kmod-mwlwifi depends on PACKAGE_kmod-mwlwifi
tmp/.config-package.in:11177:error: recursive dependency detected!
For a resolution refer to Documentation/kbuild/kconfig-language.txt
subsection "Kconfig recursive dependency limitations"
tmp/.config-package.in:11177:   symbol PACKAGE_kmod-p54-pci depends on PACKAGE_kmod-p54-pci
tmp/.config-package.in:11191:error: recursive dependency detected!
For a resolution refer to Documentation/kbuild/kconfig-language.txt
subsection "Kconfig recursive dependency limitations"
tmp/.config-package.in:11191:   symbol PACKAGE_kmod-p54-usb depends on PACKAGE_kmod-p54-usb
tmp/.config-package.in:11163:error: recursive dependency detected!
For a resolution refer to Documentation/kbuild/kconfig-language.txt
subsection "Kconfig recursive dependency limitations"
tmp/.config-package.in:11163:   symbol PACKAGE_kmod-p54-common depends on PACKAGE_kmod-p54-common
tmp/.config-package.in:11219:error: recursive dependency detected!
For a resolution refer to Documentation/kbuild/kconfig-language.txt
subsection "Kconfig recursive dependency limitations"
tmp/.config-package.in:11219:   symbol PACKAGE_kmod-rsi91x-sdio depends on PACKAGE_kmod-rsi91x-sdio
tmp/.config-package.in:11234:error: recursive dependency detected!
For a resolution refer to Documentation/kbuild/kconfig-language.txt
subsection "Kconfig recursive dependency limitations"
tmp/.config-package.in:11234:   symbol PACKAGE_kmod-rsi91x-usb depends on PACKAGE_kmod-rsi91x-usb
tmp/.config-package.in:11206:error: recursive dependency detected!
For a resolution refer to Documentation/kbuild/kconfig-language.txt
subsection "Kconfig recursive dependency limitations"
tmp/.config-package.in:11206:   symbol PACKAGE_kmod-rsi91x depends on PACKAGE_kmod-rsi91x
tmp/.config-package.in:11319:error: recursive dependency detected!
For a resolution refer to Documentation/kbuild/kconfig-language.txt
subsection "Kconfig recursive dependency limitations"
tmp/.config-package.in:11319:   symbol PACKAGE_kmod-rt2800-pci depends on PACKAGE_kmod-rt2800-pci
tmp/.config-package.in:11337:error: recursive dependency detected!
For a resolution refer to Documentation/kbuild/kconfig-language.txt
subsection "Kconfig recursive dependency limitations"
tmp/.config-package.in:11337:   symbol PACKAGE_kmod-rt2800-soc depends on PACKAGE_kmod-rt2800-soc
tmp/.config-package.in:11306:error: recursive dependency detected!
For a resolution refer to Documentation/kbuild/kconfig-language.txt
subsection "Kconfig recursive dependency limitations"
tmp/.config-package.in:11306:   symbol PACKAGE_kmod-rt2800-mmio depends on PACKAGE_kmod-rt2800-mmio
tmp/.config-package.in:11352:error: recursive dependency detected!
For a resolution refer to Documentation/kbuild/kconfig-language.txt
subsection "Kconfig recursive dependency limitations"
tmp/.config-package.in:11352:   symbol PACKAGE_kmod-rt2800-usb depends on PACKAGE_kmod-rt2800-usb
tmp/.config-package.in:11292:error: recursive dependency detected!
For a resolution refer to Documentation/kbuild/kconfig-language.txt
subsection "Kconfig recursive dependency limitations"
tmp/.config-package.in:11292:   symbol PACKAGE_kmod-rt2800-lib depends on PACKAGE_kmod-rt2800-lib
tmp/.config-package.in:11249:error: recursive dependency detected!
For a resolution refer to Documentation/kbuild/kconfig-language.txt
subsection "Kconfig recursive dependency limitations"
tmp/.config-package.in:11249:   symbol PACKAGE_kmod-rt2400-pci depends on PACKAGE_kmod-rt2400-pci
tmp/.config-package.in:11264:error: recursive dependency detected!
For a resolution refer to Documentation/kbuild/kconfig-language.txt
subsection "Kconfig recursive dependency limitations"
tmp/.config-package.in:11264:   symbol PACKAGE_kmod-rt2500-pci depends on PACKAGE_kmod-rt2500-pci
tmp/.config-package.in:11437:error: recursive dependency detected!
For a resolution refer to Documentation/kbuild/kconfig-language.txt
subsection "Kconfig recursive dependency limitations"
tmp/.config-package.in:11437:   symbol PACKAGE_kmod-rt61-pci depends on PACKAGE_kmod-rt61-pci
tmp/.config-package.in:11410:error: recursive dependency detected!
For a resolution refer to Documentation/kbuild/kconfig-language.txt
subsection "Kconfig recursive dependency limitations"
tmp/.config-package.in:11410:   symbol PACKAGE_kmod-rt2x00-pci depends on PACKAGE_kmod-rt2x00-pci
tmp/.config-package.in:11398:error: recursive dependency detected!
For a resolution refer to Documentation/kbuild/kconfig-language.txt
subsection "Kconfig recursive dependency limitations"
tmp/.config-package.in:11398:   symbol PACKAGE_kmod-rt2x00-mmio depends on PACKAGE_kmod-rt2x00-mmio
tmp/.config-package.in:11279:error: recursive dependency detected!
For a resolution refer to Documentation/kbuild/kconfig-language.txt
subsection "Kconfig recursive dependency limitations"
tmp/.config-package.in:11279:   symbol PACKAGE_kmod-rt2500-usb depends on PACKAGE_kmod-rt2500-usb
tmp/.config-package.in:11454:error: recursive dependency detected!
For a resolution refer to Documentation/kbuild/kconfig-language.txt
subsection "Kconfig recursive dependency limitations"
tmp/.config-package.in:11454:   symbol PACKAGE_kmod-rt73-usb depends on PACKAGE_kmod-rt73-usb
tmp/.config-package.in:11424:error: recursive dependency detected!
For a resolution refer to Documentation/kbuild/kconfig-language.txt
subsection "Kconfig recursive dependency limitations"
tmp/.config-package.in:11424:   symbol PACKAGE_kmod-rt2x00-usb depends on PACKAGE_kmod-rt2x00-usb
tmp/.config-package.in:11368:error: recursive dependency detected!
For a resolution refer to Documentation/kbuild/kconfig-language.txt
subsection "Kconfig recursive dependency limitations"
tmp/.config-package.in:11368:   symbol PACKAGE_kmod-rt2x00-lib depends on PACKAGE_kmod-rt2x00-lib
tmp/.config-package.in:11469:error: recursive dependency detected!
For a resolution refer to Documentation/kbuild/kconfig-language.txt
subsection "Kconfig recursive dependency limitations"
tmp/.config-package.in:11469:   symbol PACKAGE_kmod-rtl8180 depends on PACKAGE_kmod-rtl8180
tmp/.config-package.in:11482:error: recursive dependency detected!
For a resolution refer to Documentation/kbuild/kconfig-language.txt
subsection "Kconfig recursive dependency limitations"
tmp/.config-package.in:11482:   symbol PACKAGE_kmod-rtl8187 depends on PACKAGE_kmod-rtl8187
tmp/.config-package.in:11595:error: recursive dependency detected!
For a resolution refer to Documentation/kbuild/kconfig-language.txt
subsection "Kconfig recursive dependency limitations"
tmp/.config-package.in:11595:   symbol PACKAGE_kmod-rtl8xxxu depends on PACKAGE_kmod-rtl8xxxu
tmp/.config-package.in:11507:error: recursive dependency detected!
For a resolution refer to Documentation/kbuild/kconfig-language.txt
subsection "Kconfig recursive dependency limitations"
tmp/.config-package.in:11507:   symbol PACKAGE_kmod-rtl8192ce depends on PACKAGE_kmod-rtl8192ce
tmp/.config-package.in:11522:error: recursive dependency detected!
For a resolution refer to Documentation/kbuild/kconfig-language.txt
subsection "Kconfig recursive dependency limitations"
tmp/.config-package.in:11522:   symbol PACKAGE_kmod-rtl8192cu depends on PACKAGE_kmod-rtl8192cu
tmp/.config-package.in:11496:error: recursive dependency detected!
For a resolution refer to Documentation/kbuild/kconfig-language.txt
subsection "Kconfig recursive dependency limitations"
tmp/.config-package.in:11496:   symbol PACKAGE_kmod-rtl8192c-common depends on PACKAGE_kmod-rtl8192c-common
tmp/.config-package.in:11580:error: recursive dependency detected!
For a resolution refer to Documentation/kbuild/kconfig-language.txt
subsection "Kconfig recursive dependency limitations"
tmp/.config-package.in:11580:   symbol PACKAGE_kmod-rtl8821ae depends on PACKAGE_kmod-rtl8821ae
tmp/.config-package.in:11649:error: recursive dependency detected!
For a resolution refer to Documentation/kbuild/kconfig-language.txt
subsection "Kconfig recursive dependency limitations"
tmp/.config-package.in:11649:   symbol PACKAGE_kmod-rtlwifi-btcoexist depends on PACKAGE_kmod-rtlwifi-btcoexist
tmp/.config-package.in:11537:error: recursive dependency detected!
For a resolution refer to Documentation/kbuild/kconfig-language.txt
subsection "Kconfig recursive dependency limitations"
tmp/.config-package.in:11537:   symbol PACKAGE_kmod-rtl8192de depends on PACKAGE_kmod-rtl8192de
tmp/.config-package.in:11551:error: recursive dependency detected!
For a resolution refer to Documentation/kbuild/kconfig-language.txt
subsection "Kconfig recursive dependency limitations"
tmp/.config-package.in:11551:   symbol PACKAGE_kmod-rtl8192se depends on PACKAGE_kmod-rtl8192se
tmp/.config-package.in:11660:error: recursive dependency detected!
For a resolution refer to Documentation/kbuild/kconfig-language.txt
subsection "Kconfig recursive dependency limitations"
tmp/.config-package.in:11660:   symbol PACKAGE_kmod-rtlwifi-pci depends on PACKAGE_kmod-rtlwifi-pci
tmp/.config-package.in:11672:error: recursive dependency detected!
For a resolution refer to Documentation/kbuild/kconfig-language.txt
subsection "Kconfig recursive dependency limitations"
tmp/.config-package.in:11672:   symbol PACKAGE_kmod-rtlwifi-usb depends on PACKAGE_kmod-rtlwifi-usb
tmp/.config-package.in:11628:error: recursive dependency detected!
For a resolution refer to Documentation/kbuild/kconfig-language.txt
subsection "Kconfig recursive dependency limitations"
tmp/.config-package.in:11628:   symbol PACKAGE_kmod-rtlwifi depends on PACKAGE_kmod-rtlwifi
tmp/.config-package.in:11685:error: recursive dependency detected!
For a resolution refer to Documentation/kbuild/kconfig-language.txt
subsection "Kconfig recursive dependency limitations"
tmp/.config-package.in:11685:   symbol PACKAGE_kmod-wl12xx depends on PACKAGE_kmod-wl12xx
tmp/.config-package.in:11698:error: recursive dependency detected!
For a resolution refer to Documentation/kbuild/kconfig-language.txt
subsection "Kconfig recursive dependency limitations"
tmp/.config-package.in:11698:   symbol PACKAGE_kmod-wl18xx depends on PACKAGE_kmod-wl18xx
tmp/.config-package.in:11711:error: recursive dependency detected!
For a resolution refer to Documentation/kbuild/kconfig-language.txt
subsection "Kconfig recursive dependency limitations"
tmp/.config-package.in:11711:   symbol PACKAGE_kmod-wlcore depends on PACKAGE_kmod-wlcore
tmp/.config-package.in:11725:error: recursive dependency detected!
For a resolution refer to Documentation/kbuild/kconfig-language.txt
subsection "Kconfig recursive dependency limitations"
tmp/.config-package.in:11725:   symbol PACKAGE_kmod-zd1211rw depends on PACKAGE_kmod-zd1211rw
tmp/.config-package.in:10848:error: recursive dependency detected!
For a resolution refer to Documentation/kbuild/kconfig-language.txt
subsection "Kconfig recursive dependency limitations"
tmp/.config-package.in:10848:   symbol PACKAGE_kmod-mac80211 depends on PACKAGE_kmod-mac80211
tmp/.config-package.in:11565:error: recursive dependency detected!
For a resolution refer to Documentation/kbuild/kconfig-language.txt
subsection "Kconfig recursive dependency limitations"
tmp/.config-package.in:11565:   symbol PACKAGE_kmod-rtl8812au-ct depends on PACKAGE_kmod-rtl8812au-ct
tmp/.config-package.in:10561:error: recursive dependency detected!
For a resolution refer to Documentation/kbuild/kconfig-language.txt
subsection "Kconfig recursive dependency limitations"
tmp/.config-package.in:10561:   symbol PACKAGE_kmod-cfg80211 depends on PACKAGE_kmod-cfg80211
#
# configuration written to .config
#
 make[1] package/luci-svd/compile
 make[2] -C feeds/custom/luci-svd host-compile
 make[2] -C package/toolchain clean-build
 make[2] -C package/toolchain compile
 make[2] -C feeds/base/package/libs/gettext clean-build
 make[2] -C feeds/base/package/libs/gettext compile
 make[2] -C feeds/base/package/libs/libiconv clean-build
 make[2] -C feeds/base/package/libs/libiconv compile
 make[2] -C feeds/base/package/libs/libtool clean-build
 make[2] -C feeds/base/package/libs/libtool compile
 make[2] -C feeds/base/package/kernel/lantiq/ltq-ifxos clean-build
 make[2] -C feeds/base/package/kernel/lantiq/ltq-ifxos compile
 make[2] -C feeds/base/package/kernel/lantiq/ltq-tapi clean-build
 make[2] -C feeds/base/package/kernel/lantiq/ltq-tapi compile
 make[2] -C feeds/base/package/kernel/lantiq/ltq-vmmc clean-build
 make[2] -C feeds/base/package/kernel/lantiq/ltq-vmmc compile
 make[2] -C feeds/base/package/libs/libjson-c clean-build
 make[2] -C feeds/base/package/libs/libjson-c compile
 make[2] -C feeds/base/package/utils/lua clean-build
 make[2] -C feeds/base/package/utils/lua compile
 make[2] -C feeds/base/package/libs/libubox clean-build
 make[2] -C feeds/base/package/libs/libubox compile
 make[2] -C feeds/base/package/system/uci clean-build
 make[2] -C feeds/base/package/system/uci compile
 make[2] -C feeds/custom/libab clean-build
 make[2] -C feeds/custom/libab compile
 make[2] -C feeds/custom/sofia-sip clean-build
 make[2] -C feeds/custom/sofia-sip compile
 make[2] -C feeds/custom/svd clean-build
 make[2] -C feeds/custom/svd compile
 make[2] -C feeds/base/package/utils/lua host-compile
 make[2] -C feeds/luci/modules/luci-base host-compile
 make[2] -C feeds/luci/contrib/package/csstidy host-compile
 make[2] -C feeds/luci/libs/luci-lib-nixio clean-build
 make[2] -C feeds/luci/libs/luci-lib-nixio compile
 make[2] -C feeds/base/package/system/ubus clean-build
 make[2] -C feeds/base/package/system/ubus compile
 make[2] -C feeds/base/package/libs/libnl-tiny clean-build
 make[2] -C feeds/base/package/libs/libnl-tiny compile
 make[2] -C feeds/base/package/network/utils/iwinfo clean-build
 make[2] -C feeds/base/package/network/utils/iwinfo compile
 make[2] -C feeds/base/package/system/rpcd clean-build
 make[2] -C feeds/base/package/system/rpcd compile
 make[2] -C feeds/luci/libs/luci-lib-ip clean-build
 make[2] -C feeds/luci/libs/luci-lib-ip compile
 make[2] -C feeds/luci/libs/luci-lib-jsonc clean-build
 make[2] -C feeds/luci/libs/luci-lib-jsonc compile
 make[2] -C feeds/luci/contrib/package/lucihttp clean-build
 make[2] -C feeds/luci/contrib/package/lucihttp compile
 make[2] -C feeds/luci/libs/rpcd-mod-luci clean-build
 make[2] -C feeds/luci/libs/rpcd-mod-luci compile
 make[2] -C feeds/packages/net/cgi-io clean-build
 make[2] -C feeds/packages/net/cgi-io compile
 make[2] -C feeds/luci/modules/luci-base clean-build
 make[2] -C feeds/luci/modules/luci-base compile
 make[2] -C feeds/luci/modules/luci-mod-network clean-build
 make[2] -C feeds/luci/modules/luci-mod-network compile
 make[2] -C feeds/luci/modules/luci-mod-status clean-build
 make[2] -C feeds/luci/modules/luci-mod-status compile
 make[2] -C feeds/luci/modules/luci-mod-system clean-build
 make[2] -C feeds/luci/modules/luci-mod-system compile
 make[2] -C feeds/luci/modules/luci-mod-admin-full clean-build
 make[2] -C feeds/luci/modules/luci-mod-admin-full compile
 make[2] -C feeds/custom/luci-svd clean-build
 make[2] -C feeds/custom/luci-svd compile
klazarev commented 4 years ago

It’s strange. Just done an experiment. Deployment on VirualBox ubuntu-18.04.4-server-amd64.iso Further:

lao@dev:~$ sudo apt update
lao@dev:~$ sudo apt upgrade
lao@dev:~$ sudo apt install subversion build-essential libncurses5-dev zlib1g-dev gawk git ccache gettext libssl-dev xsltproc zip python
lao@dev:~$ wget -c https://downloads.openwrt.org/releases/19.07.2/targets/lantiq/xway/openwrt-sdk-19.07.2-lantiq-xway_gcc-7.5.0_musl.Linux-x86_64.tar.xz
lao@dev:~$ tar xvf openwrt-sdk-19.07.2-lantiq-xway_gcc-7.5.0_musl.Linux-x86_64.tar.xz
lao@dev:~$ git clone https://github.com/olivluca/danube-voip.git
lao@dev:~$ cd openwrt-sdk-19.07.2-lantiq-xway_gcc-7.5.0_musl.Linux-x86_64/
lao@dev:~/openwrt-sdk-19.07.2-lantiq-xway_gcc-7.5.0_musl.Linux-x86_64$ cat << EOF >> feeds.conf.default
> src-link custom /home/lao/danube-voip
> EOF
lao@dev:~/openwrt-sdk-19.07.2-lantiq-xway_gcc-7.5.0_musl.Linux-x86_64$ ./scripts/feeds update -a
lao@dev:~/openwrt-sdk-19.07.2-lantiq-xway_gcc-7.5.0_musl.Linux-x86_64$ ./scripts/feeds install -a
lao@dev:~/openwrt-sdk-19.07.2-lantiq-xway_gcc-7.5.0_musl.Linux-x86_64$ make package/lua/compile
lao@dev:~/openwrt-sdk-19.07.2-lantiq-xway_gcc-7.5.0_musl.Linux-x86_64$ make -j1 V=sc package/luci-svd/compile

Cut out. The errors are the same as your


#
# configuration written to .config
#
make[1]: Entering directory '/home/lao/openwrt-sdk-19.07.2-lantiq-xway_gcc-7.5.0_musl.Linux-x86_64'
make[2]: Entering directory '/home/lao/danube-voip/luci-svd'
cp -fpR ./files/po-src/* /home/lao/openwrt-sdk-19.07.2-lantiq-xway_gcc-7.5.0_musl.Linux-x86_64/build_dir/hostpkg/luci-svd
touch /home/lao/openwrt-sdk-19.07.2-lantiq-xway_gcc-7.5.0_musl.Linux-x86_64/build_dir/hostpkg/luci-svd/.prepareddfb04d66a596eb9b84813352111e2967_18f1e190c5d53547fed41a3eaa76e9e9
(cd /home/lao/openwrt-sdk-19.07.2-lantiq-xway_gcc-7.5.0_musl.Linux-x86_64/build_dir/hostpkg/luci-svd/; if [ -x configure ]; then cp -fpR /home/lao/openwrt-sdk-19.07.2-lantiq-xway_gcc-7.5.0_musl.Linux-x86_64/scripts/config.{guess,sub} /home/lao/openwrt-sdk-19.07.2-lantiq-xway_gcc-7.5.0_musl.Linux-x86_64/build_dir/hostpkg/luci-svd// && CC="gcc" CFLAGS="-O2 -I/home/lao/openwrt-sdk-19.07.2-lantiq-xway_gcc-7.5.0_musl.Linux-x86_64/staging_dir/host/include -I/home/lao/openwrt-sdk-19.07.2-lantiq-xway_gcc-7.5.0_musl.Linux-x86_64/staging_dir/hostpkg/include -I/home/lao/openwrt-sdk-19.07.2-lantiq-xway_gcc-7.5.0_musl.Linux-x86_64/staging_dir/target-mips_24kc_musl/host/include" CXX="g++" CPPFLAGS="-I/home/lao/openwrt-sdk-19.07.2-lantiq-xway_gcc-7.5.0_musl.Linux-x86_64/staging_dir/host/include -I/home/lao/openwrt-sdk-19.07.2-lantiq-xway_gcc-7.5.0_musl.Linux-x86_64/staging_dir/hostpkg/include -I/home/lao/openwrt-sdk-19.07.2-lantiq-xway_gcc-7.5.0_musl.Linux-x86_64/staging_dir/target-mips_24kc_musl/host/include" LDFLAGS="-L/home/lao/openwrt-sdk-19.07.2-lantiq-xway_gcc-7.5.0_musl.Linux-x86_64/staging_dir/host/lib -L/home/lao/openwrt-sdk-19.07.2-lantiq-xway_gcc-7.5.0_musl.Linux-x86_64/staging_dir/hostpkg/lib -L/home/lao/openwrt-sdk-19.07.2-lantiq-xway_gcc-7.5.0_musl.Linux-x86_64/staging_dir/target-mips_24kc_musl/host/lib" CONFIG_SHELL="/usr/bin/env bash"  bash ./configure --target=x86_64-pc-linux-gnu --host=x86_64-pc-linux-gnu --build=x86_64-pc-linux-gnu --program-prefix="" --program-suffix="" --prefix=/home/lao/openwrt-sdk-19.07.2-lantiq-xway_gcc-7.5.0_musl.Linux-x86_64/staging_dir/hostpkg --exec-prefix=/home/lao/openwrt-sdk-19.07.2-lantiq-xway_gcc-7.5.0_musl.Linux-x86_64/staging_dir/hostpkg --sysconfdir=/home/lao/openwrt-sdk-19.07.2-lantiq-xway_gcc-7.5.0_musl.Linux-x86_64/staging_dir/hostpkg/etc --localstatedir=/home/lao/openwrt-sdk-19.07.2-lantiq-xway_gcc-7.5.0_musl.Linux-x86_64/staging_dir/hostpkg/var --sbindir=/home/lao/openwrt-sdk-19.07.2-lantiq-xway_gcc-7.5.0_musl.Linux-x86_64/staging_dir/hostpkg/bin ; fi )
touch /home/lao/openwrt-sdk-19.07.2-lantiq-xway_gcc-7.5.0_musl.Linux-x86_64/build_dir/hostpkg/luci-svd/.configured
make -j1 -C /home/lao/openwrt-sdk-19.07.2-lantiq-xway_gcc-7.5.0_musl.Linux-x86_64/build_dir/hostpkg/luci-svd CC="gcc" compile
make[3]: Entering directory '/home/lao/openwrt-sdk-19.07.2-lantiq-xway_gcc-7.5.0_musl.Linux-x86_64/build_dir/hostpkg/luci-svd'
rm -f *.o parser.so
gcc  -O2 --std=gnu99 -Wall -Werror -pedantic   -fPIC -c -o template_parser.o template_parser.c
In file included from template_parser.c:19:0:
template_parser.h:33:10: fatal error: lua.h: No such file or directory
 #include <lua.h>
          ^~~~~~~
compilation terminated.
Makefile:13: recipe for target 'template_parser.o' failed
make[3]: *** [template_parser.o] Error 1
make[3]: Leaving directory '/home/lao/openwrt-sdk-19.07.2-lantiq-xway_gcc-7.5.0_musl.Linux-x86_64/build_dir/hostpkg/luci-svd'
Makefile:72: recipe for target '/home/lao/openwrt-sdk-19.07.2-lantiq-xway_gcc-7.5.0_musl.Linux-x86_64/build_dir/hostpkg/luci-svd/.built' failed
make[2]: *** [/home/lao/openwrt-sdk-19.07.2-lantiq-xway_gcc-7.5.0_musl.Linux-x86_64/build_dir/hostpkg/luci-svd/.built] Error 2
make[2]: Leaving directory '/home/lao/danube-voip/luci-svd'
time: package/feeds/custom/luci-svd/host-compile#0.59#0.27#0.89
package/Makefile:111: recipe for target 'package/feeds/custom/luci-svd/host/compile' failed
make[1]: *** [package/feeds/custom/luci-svd/host/compile] Error 2
make[1]: Leaving directory '/home/lao/openwrt-sdk-19.07.2-lantiq-xway_gcc-7.5.0_musl.Linux-x86_64'
/home/lao/openwrt-sdk-19.07.2-lantiq-xway_gcc-7.5.0_musl.Linux-x86_64/include/toplevel.mk:218: recipe for target 'package/luci-svd/compile' failed
make: *** [package/luci-svd/compile] Error 2
lao@dev:~/openwrt-sdk-19.07.2-lantiq-xway_gcc-7.5.0_musl.Linux-x86_64$ sudo updatedb
lao@dev:~/openwrt-sdk-19.07.2-lantiq-xway_gcc-7.5.0_musl.Linux-x86_64$ locate lua.h
/home/lao/openwrt-sdk-19.07.2-lantiq-xway_gcc-7.5.0_musl.Linux-x86_64/staging_dir/target-mips_24kc_musl/usr/include/lua.h
/usr/src/linux-headers-4.15.0-88-generic/include/config/scsi/dh/alua.h

What am I doing wrong?

olivluca commented 4 years ago

I don't know. I'm using ubuntu 19.10 though (I don't think that should make a difference but one never knows).

olivluca commented 4 years ago

I tried compiling with -j1 V=sc and I see that the command that fails in your case succeeds in mine and it is the same:

gcc  -O2 --std=gnu99 -Wall -Werror -pedantic   -fPIC -c -o template_parser.o template_parser.c

Another thing: I didn't issue a "make package/lua/compile", I just left it to "make package/luci-svd/compile" which compiled it as a dependency (as well as many other packages, I don't see in your output but I suppose you just cut that out). Again, I don't think it should make a difference but I don't understand the details of the openwrt build system.

olivluca commented 4 years ago

Oh, and I do find lua.h inside the sdk:

$ find -name lua.h
./staging_dir/hostpkg/include/lua.h
./staging_dir/target-mips_24kc_musl/usr/include/lucihttp/lua.h
./staging_dir/target-mips_24kc_musl/usr/include/iwinfo/lua.h
./staging_dir/target-mips_24kc_musl/usr/include/lua.h
olivluca commented 4 years ago

Shoot me: I just found out that I also have the lua dev package in my host, most probably that's what makes a difference:

$ ls -l /usr/include/lua.h
lrwxrwxrwx 1 root root 12 de set.  22  2015 /usr/include/lua.h -> lua5.1/lua.h
$ dpkg -S /usr/include/lua5.1/lua.h
liblua5.1-0-dev:amd64: /usr/include/lua5.1/lua.h
klazarev commented 4 years ago

Installed liblua5.1-0-dev. The error is the same. But ... I added to luci-svd/files/po-src/Makefile

TPL_CFLAGS = -I/usr/include/lua5.1 

and compiled without errors. Victory!

Checked on clean Ubuntu-19.10. The problem is the same - the solution is the same

olivluca commented 4 years ago

Mmh, I think a long time ago I manually created symbolic links for the lua headers:

luca@seis:/usr/include$ ls -l *lua*
lrwxrwxrwx 1 root root   16 de set.  22  2015 luaconf.h -> lua5.1/luaconf.h
lrwxrwxrwx 1 root root   12 de set.  22  2015 lua.h -> lua5.1/lua.h
lrwxrwxrwx 1 root root   14 de set.  22  2015 lua.hpp -> lua5.1/lua.hpp
lrwxrwxrwx 1 root root   15 de set.  22  2015 lualib.h -> lua5.1/lualib.h

lua5.1:
total 52
-rw-r--r-- 1 root root  5777 de des.  27  2007 lauxlib.h
-rw-r--r-- 1 root root 22702 de gen.  14  2019 luaconf.h
-rw-r--r-- 1 root root 11688 de gen.  13  2012 lua.h
-rw-r--r-- 1 root root   191 de des.  23  2004 lua.hpp
-rw-r--r-- 1 root root  1026 de des.  27  2007 lualib.h

that's why I don't need to add -I/usr/include/lua5.1. Anyway, I just commited your fix, it's cleaner than my hacky and long forgotten solution, thank you.

olivluca commented 4 years ago

Oops, I used TPL_LDFLAGS instead of TPL_CFLAGS. Really fixed now. Notice that now the package is named luci-app-svd.

olivluca commented 4 years ago

FYI, the dependency on luci-compat is really needed. Added in commit 72ef4528e3329d3956f63f945b012b6de60dca45

klazarev commented 4 years ago

It’s strange. I normally compiled v19.07.2 without luci-compat. True, I have not yet tested the workability ...

olivluca commented 4 years ago

Yes, it does compile but it doesn't work once installed on the device.