OpenWrt/LEDE Project

  • Status Unconfirmed
  • Percent Complete
    0%
  • Task Type Bug Report
  • Category Other
  • Assigned To No-one
  • Operating System All
  • Severity Medium
  • Priority Very Low
  • Reported Version Trunk
  • Due in Version Undecided
  • Due Date Undecided
  • Private
Attached to Project: OpenWrt/LEDE Project
Opened by Werwill Daswissen - 02.11.2020

FS#3431 - SDK try to recompile the whole Kernel

When i try to compile a external kernelmodule (lq-wave300 from Mandrake-Lee github repo) then it trys to recompile the whole kernel and fail because Kconfig is missed.
I compile by the command:
make V=s package/ltq-wave300-mandrake/compile

on SDK from 19.07.4 and before it compiled succes (the module was never tested yet because i have only a working snapshoot device)
> selfbuikded snapshoot from 18.10:
-it fails by missed Kconfig
-when i copy the kernelsource to buildirectory (via “tar -xf -k ..”) then it will try to recompile the whole kernel
-when i copy the Makefile from old 4.14 Kernel to the current 5.4.72 directory first it works (no compilation of kernelsource) but it hangs on Modpost 2 (no reaaction)
> download snapshoot from 02.11: (fakreroot does not work and must be replaced by Slackware specified)
-it fails by missed Kconfig, but then it recompile libnl-3 again and prepare my package again ??? and fails finaly by missed Kconfig

mv -f $depbase.Tpo $depbase.Po
awk: cmd. line:1: warning: regexp escape sequence `\#’ is not a known regexp operator

LP      /opt/build/owrtsdk/build_dir/target-mips_24kc_musl/linux-lantiq_xrx200/lq-wave300-mandrake-2019.23.23/tools/shared/CmdLine.cpp

awk: cmd. line:1: warning: regexp escape sequence `\#’ is not a known regexp operator

LP      /opt/build/owrtsdk/build_dir/target-mips_24kc_musl/linux-lantiq_xrx200/lq-wave300-mandrake-2019.23.23/tools/shared/CmdLine.h

depbase=`echo ../../../../../tools/shared/linux/../Debug.o | sed ‘s|[^/]*$|.deps/&|;s|\.o$||’`;\
/opt/build/owrtsdk/build_dir/target-mips_24kc_musl/linux-lantiq_xrx200/lq-wave300-mandrake-2019.23.23/support/mtlkfront.sh /opt/build/owrtsdk/staging_dir/toolchain-mips_24kc_gcc-8.4.0_musl/bin/mips-*linux-g++ -DHAVE_CONFIG_H -I. -I../../../../../tools/shared/linux -I../../.. -DMTLK_SOURCE_VERSION=”\”3.4.99.0.0.exported.pre_git_version.REL_3.4.99\”” -DLOG_LOCAL_OID=MTLKFRONT_WILL_FILL_IT -include /opt/build/owrtsdk/build_dir/target-mips_24kc_musl/linux-lantiq_xrx200/lq-wave300-mandrake-2019.23.23/builds/ugw5.4-vrx288/config.h -include /opt/build/owrtsdk/build_dir/target-mips_24kc_musl/linux-lantiq_xrx200/lq-wave300-mandrake-2019.23.23/builds/ugw5.4-vrx288/.config.h -I../../../../../tools/rtlogger/shared -g -I../../../../../tools/shared/linux/../ -I../../../../../wireless/shared -I../../../../../wireless/shared/linux -I../../../../../tools/shared/3rd_party/iniparser -I../../../../../tools/mttools/shared -I/opt/build/owrtsdk/staging_dir/target-mips_24kc_musl/usr/include -I/opt/build/owrtsdk/staging_dir/target-mips_24kc_musl/usr/include/libnl3/ -I/opt/build/owrtsdk/staging_dir/target-mips_24kc_musl/usr/include/libnl3/netlink/genl/ -Wall -Wno-multichar -fno-strict-aliasing -O2 -fno-common -fno-builtin -I/opt/build/owrtsdk/staging_dir/target-mips_24kc_musl/usr/include/libnl3/ -I/opt/build/owrtsdk/staging_dir/target-mips_24kc_musl/usr/include/libnl3/netlink/genl/ -MT ../../../../../tools/shared/linux/../Debug.o -MD -MP -MF $depbase.Tpo -c -o ../../../../../tools/shared/linux/../Debug.o ../../../../../tools/shared/linux/../Debug.cpp &&\
mv -f $depbase.Tpo $depbase.Po
awk: cmd. line:1: warning: regexp escape sequence `\#’ is not a known regexp operator

LP      /opt/build/owrtsdk/build_dir/target-mips_24kc_musl/linux-lantiq_xrx200/lq-wave300-mandrake-2019.23.23/tools/shared/Debug.cpp

awk: cmd. line:1: warning: regexp escape sequence `\#’ is not a known regexp operator

LP      /opt/build/owrtsdk/build_dir/target-mips_24kc_musl/linux-lantiq_xrx200/lq-wave300-mandrake-2019.23.23/tools/shared/Debug.h

depbase=`echo ../../../../../tools/shared/linux/../ParamInfo.o | sed ‘s|[^/]*$|.deps/&|;s|\.o$||’`;\
/opt/build/owrtsdk/build_dir/target-mips_24kc_musl/linux-lantiq_xrx200/lq-wave300-mandrake-2019.23.23/support/mtlkfront.sh /opt/build/owrtsdk/staging_dir/toolchain-mips_24kc_gcc-8.4.0_musl/bin/mips-*linux-g++ -DHAVE_CONFIG_H -I. -I../../../../../tools/shared/linux -I../../.. -DMTLK_SOURCE_VERSION=”\”3.4.99.0.0.exported.pre_git_version.REL_3.4.99\”” -DLOG_LOCAL_OID=MTLKFRONT_WILL_FILL_IT -include /opt/build/owrtsdk/build_dir/target-mips_24kc_musl/linux-lantiq_xrx200/lq-wave300-mandrake-2019.23.23/builds/ugw5.4-vrx288/config.h -include /opt/build/owrtsdk/build_dir/target-mips_24kc_musl/linux-lantiq_xrx200/lq-wave300-mandrake-2019.23.23/builds/ugw5.4-vrx288/.config.h -I../../../../../tools/rtlogger/shared -g -I../../../../../tools/shared/linux/../ -I../../../../../wireless/shared -I../../../../../wireless/shared/linux -I../../../../../tools/shared/3rd_party/iniparser -I../../../../../tools/mttools/shared -I/opt/build/owrtsdk/staging_dir/target-mips_24kc_musl/usr/include -I/opt/build/owrtsdk/staging_dir/target-mips_24kc_musl/usr/include/libnl3/ -I/opt/build/owrtsdk/staging_dir/target-mips_24kc_musl/usr/include/libnl3/netlink/genl/ -Wall -Wno-multichar -fno-strict-aliasing -O2 -fno-common -fno-builtin -I/opt/build/owrtsdk/staging_dir/target-mips_24kc_musl/usr/include/libnl3/ -I/opt/build/owrtsdk/staging_dir/target-mips_24kc_musl/usr/include/libnl3/netlink/genl/ -MT ../../../../../tools/shared/linux/../ParamInfo.o -MD -MP -MF $depbase.Tpo -c -o ../../../../../tools/shared/linux/../ParamInfo.o ../../../../../tools/shared/linux/../ParamInfo.cpp &&\
mv -f $depbase.Tpo $depbase.Po
awk: cmd. line:1: warning: regexp escape sequence `\#’ is not a known regexp operator

LP      /opt/build/owrtsdk/build_dir/target-mips_24kc_musl/linux-lantiq_xrx200/lq-wave300-mandrake-2019.23.23/tools/shared/ParamInfo.cpp

awk: cmd. line:1: warning: regexp escape sequence `\#’ is not a known regexp operator

LP      /opt/build/owrtsdk/build_dir/target-mips_24kc_musl/linux-lantiq_xrx200/lq-wave300-mandrake-2019.23.23/tools/shared/ParamInfo.h

rm -f libmtlkcpp.a
ar cru libmtlkcpp.a ../../../../../tools/shared/linux/../aux_utils.o ../../../../../tools/shared/linux/../CmdLine.o ../../../../../tools/shared/linux/../Debug.o ../../../../../tools/shared/linux/../ParamInfo.o
/opt/build/owrtsdk/staging_dir/toolchain-mips_24kc_gcc-8.4.0_musl/bin/mips-openwrt-linux-ranlib libmtlkcpp.a
make[7]: Entering directory ‘/opt/build/owrtsdk/build_dir/target-mips_24kc_musl/linux-lantiq_xrx200/lq-wave300-mandrake-2019.23.23/builds/ugw5.4-vrx288/tools/shared/linux’ make[7]: Nothing to be done for ‘install-exec-am’.
make[7]: Nothing to be done for ‘install-data-am’.
make[7]: Leaving directory ‘/opt/build/owrtsdk/build_dir/target-mips_24kc_musl/linux-lantiq_xrx200/lq-wave300-mandrake-2019.23.23/builds/ugw5.4-vrx288/tools/shared/linux’ make[6]: Leaving directory ‘/opt/build/owrtsdk/build_dir/target-mips_24kc_musl/linux-lantiq_xrx200/lq-wave300-mandrake-2019.23.23/builds/ugw5.4-vrx288/tools/shared/linux’ make[6]: Entering directory ‘/opt/build/owrtsdk/build_dir/target-mips_24kc_musl/linux-lantiq_xrx200/lq-wave300-mandrake-2019.23.23/builds/ugw5.4-vrx288/tools/shared’ make[7]: Entering directory ‘/opt/build/owrtsdk/build_dir/target-mips_24kc_musl/linux-lantiq_xrx200/lq-wave300-mandrake-2019.23.23/builds/ugw5.4-vrx288/tools/shared’ make[7]: Nothing to be done for ‘install-exec-am’.
make[7]: Nothing to be done for ‘install-data-am’.
make[7]: Leaving directory ‘/opt/build/owrtsdk/build_dir/target-mips_24kc_musl/linux-lantiq_xrx200/lq-wave300-mandrake-2019.23.23/builds/ugw5.4-vrx288/tools/shared’ make[6]: Leaving directory ‘/opt/build/owrtsdk/build_dir/target-mips_24kc_musl/linux-lantiq_xrx200/lq-wave300-mandrake-2019.23.23/builds/ugw5.4-vrx288/tools/shared’ make[5]: Leaving directory ‘/opt/build/owrtsdk/build_dir/target-mips_24kc_musl/linux-lantiq_xrx200/lq-wave300-mandrake-2019.23.23/builds/ugw5.4-vrx288/tools/shared’ Making install in wireless/shared
make[5]: Entering directory ‘/opt/build/owrtsdk/build_dir/target-mips_24kc_musl/linux-lantiq_xrx200/lq-wave300-mandrake-2019.23.23/builds/ugw5.4-vrx288/wireless/shared’ make[6]: Entering directory ‘/opt/build/owrtsdk/build_dir/target-mips_24kc_musl/linux-lantiq_xrx200/lq-wave300-mandrake-2019.23.23/builds/ugw5.4-vrx288/wireless/shared’ make[6]: Nothing to be done for ‘install-exec-am’.
make[6]: Nothing to be done for ‘install-data-am’.
make[6]: Leaving directory ‘/opt/build/owrtsdk/build_dir/target-mips_24kc_musl/linux-lantiq_xrx200/lq-wave300-mandrake-2019.23.23/builds/ugw5.4-vrx288/wireless/shared’ make[5]: Leaving directory ‘/opt/build/owrtsdk/build_dir/target-mips_24kc_musl/linux-lantiq_xrx200/lq-wave300-mandrake-2019.23.23/builds/ugw5.4-vrx288/wireless/shared’ Making install in tools
make[5]: Entering directory ‘/opt/build/owrtsdk/build_dir/target-mips_24kc_musl/linux-lantiq_xrx200/lq-wave300-mandrake-2019.23.23/builds/ugw5.4-vrx288/tools’ Making install in mttools
make[6]: Entering directory ‘/opt/build/owrtsdk/build_dir/target-mips_24kc_musl/linux-lantiq_xrx200/lq-wave300-mandrake-2019.23.23/builds/ugw5.4-vrx288/tools/mttools’ make[7]: Entering directory ‘/opt/build/owrtsdk/build_dir/target-mips_24kc_musl/linux-lantiq_xrx200/lq-wave300-mandrake-2019.23.23/builds/ugw5.4-vrx288/tools/mttools’ make[8]: Entering directory ‘/opt/build/owrtsdk/build_dir/target-mips_24kc_musl/linux-lantiq_xrx200/lq-wave300-mandrake-2019.23.23/builds/ugw5.4-vrx288/tools/mttools’ make[8]: Nothing to be done for ‘install-exec-am’.
make[8]: Nothing to be done for ‘install-data-am’.
make[8]: Leaving directory ‘/opt/build/owrtsdk/build_dir/target-mips_24kc_musl/linux-lantiq_xrx200/lq-wave300-mandrake-2019.23.23/builds/ugw5.4-vrx288/tools/mttools’ make[7]: Leaving directory ‘/opt/build/owrtsdk/build_dir/target-mips_24kc_musl/linux-lantiq_xrx200/lq-wave300-mandrake-2019.23.23/builds/ugw5.4-vrx288/tools/mttools’ make[6]: Leaving directory ‘/opt/build/owrtsdk/build_dir/target-mips_24kc_musl/linux-lantiq_xrx200/lq-wave300-mandrake-2019.23.23/builds/ugw5.4-vrx288/tools/mttools’ Making install in mtlkroot
make[6]: Entering directory ‘/opt/build/owrtsdk/build_dir/target-mips_24kc_musl/linux-lantiq_xrx200/lq-wave300-mandrake-2019.23.23/builds/ugw5.4-vrx288/tools/mtlkroot’ make[7]: Entering directory ‘/opt/build/owrtsdk/build_dir/target-mips_24kc_musl/linux-lantiq_xrx200/linux-5.4.73’ scripts/kconfig/conf –syncconfig Kconfig
can’t find file Kconfig
make[9]: * [scripts/kconfig/Makefile:73: syncconfig] Error 1
make[8]:
* [Makefile:590: syncconfig] Error 2
make[7]: * [Makefile:696: include/config/auto.conf.cmd] Error 2
make[7]: Leaving directory ‘/opt/build/owrtsdk/build_dir/target-mips_24kc_musl/linux-lantiq_xrx200/linux-5.4.73’ make[6]:
* [Makefile:485: mtlkroot.ko] Error 11
make[6]: Leaving directory ‘/opt/build/owrtsdk/build_dir/target-mips_24kc_musl/linux-lantiq_xrx200/lq-wave300-mandrake-2019.23.23/builds/ugw5.4-vrx288/tools/mtlkroot’ make[5]: * [Makefile:587: install-recursive] Error 1
make[5]: Leaving directory ‘/opt/build/owrtsdk/build_dir/target-mips_24kc_musl/linux-lantiq_xrx200/lq-wave300-mandrake-2019.23.23/builds/ugw5.4-vrx288/tools’ make[4]:
* [Makefile:518: install-recursive] Error 1
make[4]: Leaving directory ‘/opt/build/owrtsdk/build_dir/target-mips_24kc_musl/linux-lantiq_xrx200/lq-wave300-mandrake-2019.23.23/builds/ugw5.4-vrx288’ make[3]: * [Makefile:21: all] Error 2
make[3]: Leaving directory ‘/opt/build/owrtsdk/build_dir/target-mips_24kc_musl/linux-lantiq_xrx200/lq-wave300-mandrake-2019.23.23’ make[2]:
* [Makefile:160: /opt/build/owrtsdk/build_dir/target-mips_24kc_musl/linux-lantiq_xrx200/lq-wave300-mandrake-2019.23.23/.built] Error 2
make[2]: Leaving directory ‘/mnt/sda2/prog/openwrt_lantiq2/own-feeds/openwrt-feeds-teleltq/kernel/lantiq/ltq-wave300-mandrake’ time: package/feeds/teleltq/ltq-wave300-mandrake/compile#27.44#22.95#53.36
make[1]: * [package/Makefile:114: package/feeds/teleltq/ltq-wave300-mandrake/compile] Error 2
make[1]: Leaving directory ‘/opt/build/owrtsdk’ make:
* [/opt/build/owrtsdk/include/toplevel.mk:229: package/ltq-wave300-mandrake/compile] Error 2
ERROR: make V=s package/ltq-wave300-mandrake/compile

Loading...

Available keyboard shortcuts

Tasklist

Task Details

Task Editing