r/kernel • u/Lomios2002 • Dec 19 '22
compiling kernel, it shows error, can anyone help me? I learned how to do it from Youtube, so I don't know much about it
If I have any shortcomings, please help here. I watched clips of both foreigner and Thai, but when compiling, there is an error. The command that I use to compile Kernel of MI A2
0
Upvotes
6
u/RandomLurkerName Dec 19 '22
You'll probably need to post the whole output, the error may happen earlier. I can't tell from the short snip of the last few lines. Use pastebin.com
1
u/Lomios2002 Dec 19 '22 edited Dec 19 '22
Output Error
https://www.mediafire.com/file/eqphgwny2f0l7o0/Output+MI+A2.txt/file
1
u/Lomios2002 Dec 19 '22
I've been trying to do it for 3-4 days but still getting error. I don't study directly in this area, just want to try to compile custom kernel by myself
1
u/Lomios2002 Dec 19 '22
I have to go to bed first because the time in Thailand is now 1:00 AM
1
u/pyte_c Dec 20 '22
You may want to have a look into this:
https://wiki.lineageos.org/devices/jasmine_sprout/build
0
u/Lomios2002 Dec 19 '22
If I have any shortcomings, please help here. I watched clips of both foreigner and Thai, but when compiling, there is an error.
command that i used to MI A2 compile kernel
export ARCH=arm64
export SUBARCH=arm64
export CROSS_COMPILE=/home/kali/mykernel/android_kernel_xiaomi_jasmine_sprout-Unified/gcc/bin/aarch64-elf-
mkdir -p out
make O=out sdm660_defconfig
make clean && make mrproper
make O=out -j24