An error occurred while cross-compiling the kernel ~ Help
Source: Internet
Author: User
An error occurred while cross-compiling the kernel ~ For more information, see Linux general technology-Linux programming and kernel. [Root @ Tim linux-2.6.29] # make
Scripts/kconfig/conf-s arch/arm/Kconfig
CHK include/linux/version. h
Make [1]: "include/asm-arm/mach-types.h" is up to date.
CHK include/linux/utsrelease. h
SYMLINK include/asm-> include/asm-arm
CC kernel/bounds. s
: Error: Unrecognized command line option "-mlittle-endian"
0. 1: Error: Unrecognized command line option "-mapcs"
0. 1: Error: Unrecognized command line option "-mno-sched-prolog"
0. 1: Error: Unrecognized command line option "-mabi = apcs-gnu"
Kernel/bounds. c: 1: Error:-march = the included parameter (armv4t) is incorrect.
Kernel/bounds. c: 1: Error:-mtune = the included parameter (arm9tdmi) is incorrect.
Make [1]: *** [kernel/bounds. s] Error 1
Make: *** [prepare0] Error 2
Kernel 2.6.29 ~
3.4.4 compiler ~
Modified:
Makefile
The following two items:
ARCH = arm
CROSS_COMPILE =/usr/local/arm/3.4.4/bin/arm-linux-
Select the configuration file linux-2.6.14/arch/arm/configs/smdk2410_defconfig (directly copy to the 2.6.29 directory ~)
I have tried to change other kernels of version 2.6 * and other compilers of version 3.4. There are similar problems ~
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.