The problem during kernel compilation-general Linux technology-Linux programming and kernel information. The following is a detailed description. 2.6 kernel Compilation
/Usr/local/arm/3.4.1/bin/arm-linux-as-EL-o arch/arm/kernel/debug. o arch/arm/kernel/debug. s
Arch/arm/kernel/debug. s: Assembler messages:
Arch/arm/kernel/debug. s: 58: Error: bad instruction 'entry (printhex8 )'
Arch/arm/kernel/debug. s: 62: Error: bad instruction 'entry (printhex4 )'
Arch/arm/kernel/debug. s: 66: Error: bad instruction 'entry (printhex2 )'
Arch/arm/kernel/debug. s: 85: Error: bad instruction 'entry (printascii )'
Arch/arm/kernel/debug. s: 100: Error: bad instruction 'entry (printch )'
Make [1]: *** [arch/arm/kernel/debug. o] Error 1
Make: *** [arch/arm/kernel] Error 2
The above problems occur when compiling the 2.6 kernel,
Compiling the 2.4 kernel
Saving your kernel configuration...
* ** End of Linux kernel configuration.
* ** Check the top-level Makefile for additional configuration.
* ** Next, you may run 'make bzimage', 'Make bzdisk', or 'Make install '.
This is my next command
[Root @ localhost linux] # make zImage
Scripts/split-include/linux/autoconf. h include/config
Make: *** you can create "/xp/linux/include/asm/param. h "target"/xp/linux/include/asm/arch/param. h ". Stop.
[Root @ localhost linux] # make bzImage
Make: *** you can create "/xp/linux/include/asm/param. h "target"/xp/linux/include/asm/arch/param. h ". Stop.
I checked the file. I tried to create another file named "xp? A. In this case, the path is/xp/linux/, but not yet.
Finally, I tried it on another machine. I asked 2410 technical support and said that their kernel package is okay. Today, I found someone on the internet saying that the Fedora Core 7 system is not good, as for redhat9, We have to hope to change the system. I hope it is a system problem.
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.