Question

I'm experiencing this weird error when trying to build a kernel for my Samsung device:

/home/aureljared/android/kernel/msm/scripts/mksysmap: line 44: ~/android/kernel/toolchains/arm-linux-androideabi-4.8/bin/arm-linux-androideabi-nm: No such file or directory

I've tried issuing ls ~/android/kernel/toolchains/arm-linux-androideabi-4.8/bin which just tells me that arm-linux-androideabi-nm exists.

I've also tried changing $CROSS_COMPILE to reflect an absolute path, e.g. /home/aureljared instead of ~/, to no avail.

Extensive Googling has told me that there are also other Android developers who have experienced this issue, but were able to solve it and did not share the solution.

Is it possible that one of my recent commits triggered the issue? Or is it something else? I'm really lost.

Thanks to anyone who can help!

Was it helpful?

Solution

Its better to answer this late than never!

I too faced the problem but i found my solution!

In kernel's Makefile, give the path fully:

/home/username/some-path-to-toolchains/bin/arm-eabi-

Instead of using this not working path:

~/kernel/that-don't-work/bin/arm-eabi-

Hope it helps!

Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow
scroll top