Answer the question
In order to leave comments, you need to log in
Why do I get errors while compiling the kernel?
The source was taken from the official github. Xiaomi mi 8 lite. Without changing anything in menuconfig all the same errors. Can anyone tell me how to build the kernel correctly.
What I entered:
1. In .bashrc: export ARCH=arm64
export SUBARCH=arm64
export CROSS_COMPILE=/root/kernel_dev/gcc-linaro-4.9.4-2017.01-x86_64_aarch64-linux-gnu/bin/aarch64-linux-gnu-
2. make platina_user_defconfig
3. cp .config arch/arm64/configs/patina_defconfig
3. make platina_defconfig
4. make -j5 Type
errors:
In file included from drivers/bluetooth/btfm_slim.c:27:0:
drivers/bluetooth/btfm_slim_wcn3990 .h:15:23: fatal error: btfm_slim.h: No such file or directory
Although the btfm_slim.c file exists, but for some reason it does not see it.
In short, it's not clear why the errors are if the source is OFFICIAL. Maybe I'm doing something wrong, who can tell me?
Answer the question
In order to leave comments, you need to log in
Maybe I'm doing something wrong, who can tell me?
O=<путь к каталогу сборки>
to all make commands. Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question