An error occurred while compiling the kernel. thank you.
Source: Internet
Author: User
An error occurred while compiling the kernel. thank you-Linux general technology-Linux programming and kernel information. For more information, see the following. Platform Redhat 9.0 Athlon * 2 CPU
Compile the kernel to support NTFS.
~~~~~~~~~~~~~~~~~~~~~~~~~~~
Copy the appropriate file from/usr/src/linux-2.4/config according to your machine, such as the kernel-2.4.18-i686.config, and then modify the file, leaving the following four lines:
CONFIG_MODULES = y
CONFIG_MODVERSIONS = y
CONFIG_KMOD = y
CONFIG_NTFS_FS = m
Or write the four rows to a file, and then
The cp kernel-2.4.18-i686.config/usr/src/linux-2.4/. config
Below comes the/usr/src/linux-2.4, run make modules, and soon it's over
~~~~~~~~~~~~~~~~~~~~
However, the following error occurs after make modules.
* ******************
N file encoded ded from cipe. h: 69,
From module. c: 15:
/Usr/src/linux-2.4.20-8/include/net/sock. h: In function 'Sk _ filter_release ':
/Usr/src/linux-2.4.20-8/include/net/sock. h: 944: warning: implicit declaration of function 'kfree _ R037a0cba'
/Usr/src/linux-2.4.20-8/include/net/sock. h: In function 'sock _ orphany ':
/Usr/src/linux-2.4.20-8/include/net/sock. h: 1019: 'Do _ softirq_Rf0a529b7 'undeclared (first use in this function)
/Usr/src/linux-2.4.20-8/include/net/sock. h: In function 'sock _ graft ':
/Usr/src/linux-2.4.20-8/include/net/sock. h: 1028: 'Do _ softirq_Rf0a529b7 'undeclared (first use in this function)
/Usr/src/linux-2.4.20-8/include/net/sock. h: In function 'sock _ recv_timestamp ':
/Usr/src/linux-2.4.20-8/include/net/sock. h: 1276: warning: implicit declaration of function 'put _ cmsg_rf39bf4d9'
Module. c: In function 'E E _ check_kernel ':
Module. c: 73: warning: implicit declaration of function 'printk _ R1b7d4074'
/Usr/src/linux-2.4.20-8/include/linux/skbuff. h: In function 'kunmap _ skb_frag ':
/Usr/src/linux-2.4.20-8/include/linux/skbuff. h: 1129: warning: asm operand 1 probably doesn't match constraints
Make [3]: *** [module. o] Error 1
Make [3]: Leaving directory '/usr/src/linux-2.4.20-8/drivers/addon/e e'
Make [2]: *** [_ modsubdir_cipe] Error 2
Make [2]: Leaving directory '/usr/src/linux-2.4.20-8/drivers/addon'
Make [1]: *** [_ modsubdir_addon] Error 2
Make [1]: Leaving directory '/usr/src
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