Answer the question
In order to leave comments, you need to log in
How to solve Android kernel compilation error?
I'm trying to compile the kernel for my Xiaomi Redmi 5a phone, I use this firmware https://forum.xda-developers.com/xiaomi-redmi-5a/d... , and I make the kernel from these sources https://github.com/ sunnyraj84348/android_kernel_xi... .Errors when compiling the kernel, how to solve them? https://pastebin.com/A4yNQTfZ https://pastebin.com/8KqRhtdh . I'm compiling on Ubuntu 18.04 LTS in a virtual machine.
Answer the question
In order to leave comments, you need to log in
I built your kernel on pure debian 9:
ARCH=arm64 CROSS_COMPILE=aarch64-linux-gnu- make O=out riva_defconfig
ARCH=arm64 CROSS_COMPILE=aarch64-linux-gnu- make O=out -j8 all
diff --git a/scripts/gcc-wrapper.py b/scripts/gcc-wrapper.py
index 93a6cf4e287e..55652d391844 100755
--- a/scripts/gcc-wrapper.py
+++ b/scripts/gcc-wrapper.py
@@ -83,8 +83,7 @@ def run_gcc():
try:
proc = subprocess.Popen(args, stderr=subprocess.PIPE)
for line in proc.stderr:
- print >> sys.stderr, line,
- interpret_warning(line)
+ print >> sys.stderr, line
result = proc.wait()
except OSError as e:
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question