I need pro devs for my problem. I installed a toolchain (linaro) for building android kernel. Then, I export the CROSS_COMPILE variable with :export CROSS_COMPILE=/root/toolchain64/bin/aarch64-linux-android-
.Then I export the ARCH Variable :export ARCH=arm64
. Now, its the problem. When I execute make clean && make mrproper
, it say a error : aarch64-linux-android- : Command not found
. I already insert it to $PATH variable, but it dont work. Then, i run the aarch64-linux-android-gcc directly. Then it says that I must installed python first. After that, I install python python3 python3-dev python-dev
and it says many different errors.
root@localhost:-/samsung# make clean && make mrproperTraceback (most recent call last): File "/root/toolchain64/bin/aarch64-linux-android-gcc", line 66, in <module> main(sys.argv) File "/root/toolchain64/bin/aarch64-linux-android-gcc", line 63, in main cw.invoke_compiler() File "/root/toolchain64/bin/aarch64-linux-android-gcc", line 58, in invoke_compiler os.execv(self.argv0, self.execargs)OSError: [Errno 2] No such file or directory
Im stuck with this error. I try to change the folder's permission, but the result is same. (Sorry for my bad english).