Kernel compilation fails.

Source: Internet
Author: User
Kernel compilation fails. -- Linux general technology-Linux programming and kernel information. The following is a detailed description. I wanted to compile google's mobile OS kernel, and an error was returned.

I follow this post to do: http://www.loveandroid.com/viewthread.php? Tid = 201 & extra = page % 3D1

My cross compiler is: arm-2008q3-39-arm-none-eabi-i686-pc-linux-gnu.tar.bz2
Kernel versions: linux-2.6.25-android-1.0_r1.tar.gz
Put it under/usr/local/arm-2008q3.

In makefile:
CROSS_COMPILE =/usr/local/arm-2008q3/bin/aem-none-eabi-

Make appears:
Bash: cd:/Anddroid/kernel: the file or directory does not exist.
Lansheng228 @ lansheng228-desktop :~ $ Cd/Android/kernel
Lansheng228 @ lansheng228-desktop:/Android/kernel $ make
Make:/usr/local/arm-2008q3/bin/aem-none-eabi-: Command not found
CHK include/linux/version. h
Make [1]: "include/asm-arm/mach-types.h" is up to date.
CHK include/linux/utsrelease. h
CC arch/arm/kernel/asm-offsets.s
/Bin/sh:/usr/local/arm-2008q3/bin/aem-none-eabi-: not found
Make [1]: *** [arch/arm/kernel/asm-offsets.s] Error 127
Make: *** [prepare0] Error 2




Which one can tell why? Thank you.

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.