Results 1 to 2 of 2

Thread: ERROR: Kernel configuration is invalid ?!!!

  1. #1
    Join Date
    Feb 2010
    Beans
    162

    ERROR: Kernel configuration is invalid ?!!!

    I'm trying to build and compile some package with bitbake for Dreambox image ...
    With ubuntu 20.04 no problem ...
    But after upgrade to 21.04 I have got this error with compile ..
    Code:
    Log data follows:| DEBUG: Executing shell function do_compile
    | NOTE: make -j 8 ARCH=arm64 CONFIG_MALI_MIDGARD=m CONFIG_MALI_MIDGARD_DVFS=y CONFIG_MALI_PLATFORM_DEVICETREE=y CROSS_COMPILE=aarch64-oe-linux- DEPMOD=echo INSTALL_MOD_PATH=/home/raed/build_image/OpenPli-DM/openpli-dreambox-oe-core/build/tmp/work/dreamtwo-oe-linux/meson-mali-module-bifrost-r12p0/201901-0-gd4a30ca-r0/image M=/home/raed/build_image/OpenPli-DM/openpli-dreambox-oe-core/build/tmp/work/dreamtwo-oe-linux/meson-mali-module-bifrost-r12p0/201901-0-gd4a30ca-r0/meson-mali-module-bifrost-r12p0-201901-0-gd4a30ca/bifrost/r12p0/kernel/drivers/gpu/arm/midgard -C /home/raed/build_image/OpenPli-DM/openpli-dreambox-oe-core/build/tmp/work-shared/dreamtwo/kernel-source EXTRA_CFLAGS=-DCONFIG_MALI_PLATFORM_DEVICETREE -DCONFIG_MALI_MIDGARD_DVFS -DCONFIG_MALI_BACKEND=gpu
    | make: Entering directory '/home/raed/build_image/OpenPli-DM/openpli-dreambox-oe-core/build/tmp/work-shared/dreamtwo/kernel-source'
    | make[1]: Entering directory '/home/raed/build_image/OpenPli-DM/openpli-dreambox-oe-core/build/tmp/work-shared/dreamtwo/kernel-build-artifacts'
    | 
    |   ERROR: Kernel configuration is invalid.
    |          include/generated/autoconf.h or include/config/auto.conf are missing.
    |          Run 'make oldconfig && make prepare' on kernel src to fix it.
    |
    I have tried some solutions but without luck to solve it !!!

    current kernel is (5.11.0-34-generic)
    Last edited by fairbird; September 29th, 2021 at 05:17 PM.

  2. #2
    Join Date
    Feb 2010
    Beans
    162

    Re: ERROR: Kernel configuration is invalid ?!!!

    I have solved this error
    Code:
    [COLOR=var(--highlight-color)]export KCFLAGS = [/COLOR][COLOR=var(--highlight-variable)]"-Wno-error=maybe-uninitialized \[/COLOR]
    [COLOR=var(--highlight-variable)]                  -Wno-error=array-bounds"[/COLOR]
    https://github.com/fairbird/openpli-...ddbdbae6531692

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •