"Go" Infineon embedded (Forlinx) te/ok6410 kernel compilation: "MAKE:ARM-NONE-LINUX-GNUEABI-GCC: Command not Found"

Source: Internet
Author: User

Original URL: http://www.xuebuyuan.com/1104711.html

Ubuntu10.04 the kernel provided by the embedded (Forlinx) TE/OK6410 Development Board of the Infineon 2.6.36

I thought that according to the user manual operation, there will be no problem, it may be because the kernel is under the Unbuntu10.10 test passed, in the Ubuntu10.04, but there is a problem.

Export Path=/usr/local/arm/arm-none-linux-gnueabi/bin has been executed: $PATH, but the following problems have occurred

MAKE:ARM-NONE-LINUX-GNUEABI-GCC: Command not found
CHK Include/linux/version.h
CHK include/generated/utsrelease.h
HOSTCC SCRIPTS/BASIC/FIXDEP
HOSTCC Scripts/basic/docproc
scripts/basic/docproc.c:in function ' Docsect ':
scripts/basic/docproc.c:336:warning:ignoring return value of ' asprintf ', declared with attribute Warn_unused_result
HOSTCC Scripts/basic/hash
MAKE[1]: "Include/generated/mach-types.h" is up to date.
CC KERNEL/BOUNDS.S
/bin/sh:arm-none-linux-gnueabi-gcc:not found
MAKE[1]: * * [KERNEL/BOUNDS.S] Error 127
Make: * * [PREPARE0] Error 2

Solution:

Modify the makefile file under the kernel folder
About cross-compilation settings, near line 192th
#ARCH? = $ (Subarch)
ARCH? = Arm
Cross_compile = $ (config_cross_compile: "%" =%)
Modified to (the path of the cross compiler modified by the Cross_compile entry)
#ARCH? = $ (Subarch)
ARCH? = Arm
# Cross_compile = $ (config_cross_compile: "%" =%)
Cross_compile? =/usr/local/arm/arm-none-linux-gnueabi/bin/arm-none-linux-gnueabi-

However, in the Ubuntu10.10 do not need to modify the makefile file, the reason for the understanding and then add it.

"Go" Infineon embedded (Forlinx) te/ok6410 kernel compilation: "MAKE:ARM-NONE-LINUX-GNUEABI-GCC: Command not Found"

Related Article

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.