An error occurred while compiling the linux kernel!

Source: Internet
Author: User
An error occurred while compiling the linux kernel! -- Linux general technology-Linux programming and kernel information. The following is a detailed description. Make mrproper, make menuconfig, make dep, and then make bzImage has an error. The error message is as follows. Please help me. Thank you!

Gcc-D__KERNEL _-I/usr/src/linux-2.4.20/include-Wall-Wstrict-prototypes-Wno-trigraphs-O2-fno-strict-aliasing-fno-common-fomit- frame-pointer-pipe-mpreferred-stack-boundary = 2-march = i386-DKBUILD_BASENAME = main-c-o init/main. o init/main. c
In file encoded ded from/usr/src/linux-2.4.20/include/linux/kernel. h: 15,
From/usr/src/linux-2.4.20/include/linux/wait. h: 13,
From/usr/src/linux-2.4.20/include/linux/fs. h: 12,
From/usr/src/linux-2.4.20/include/linux/capability. h: 17,
From/usr/src/linux-2.4.20/include/linux/binfmts. h: 5,
From/usr/src/linux-2.4.20/include/linux/sched. h: 9,
From/usr/src/linux-2.4.20/include/linux/mm. h: 4,
From/usr/src/linux-2.4.20/include/linux/slab. h: 14,
From/usr/src/linux-2.4.20/include/linux/proc_fs.h: 5,
From init/main. c: 15:
/Usr/src/linux-2.4.20/include/asm/byteorder. h: 14: Warning: Ignore the type limitation of the function return type
/Usr/src/linux-2.4.20/include/asm/byteorder. h: 28: Warning: Ignore type limitation for function return type
In file encoded ded from/usr/src/linux-2.4.20/include/linux/byteorder/little_endian.h: 11,
From/usr/src/linux-2.4.20/include/asm/byteorder. h: 45,
From/usr/src/linux-2.4.20/include/linux/kernel. h: 15,
From/usr/src/linux-2.4.20/include/linux/wait. h: 13,
From/usr/src/linux-2.4.20/include/linux/fs. h: 12,
From/usr/src/linux-2.4.20/include/linux/capability. h: 17,
From/usr/src/linux-2.4.20/include/linux/binfmts. h: 5,
From/usr/src/linux-2.4.20/include/linux/sched. h: 9,
From/usr/src/linux-2.4.20/include/linux/mm. h: 4,
From/usr/src/linux-2.4.20/include/linux/slab. h: 14,
From/usr/src/linux-2.4.20/include/linux/proc_fs.h: 5,
From init/main. c: 15:
/Usr/src/linux-2.4.20/include/linux/byteorder/swab. h: 160: Warning: Ignore the type limitation of the function return type
/Usr/src/linux-2.4.20/include/linux/byteorder/swab. h: 173: Warning: Ignore the type limitation of the function return type
/Usr/src/linux-2.4.20/include/linux/byteorder/swab. h: 186: Warning: Ignore the type limitation of the function return type
/Usr/src/linux-2.4.20/include/linux/byteorder/swab. h: 200: Warning: Ignore the type limitation of the function return type
In file encoded ded from/usr/src/linux-2.4.20/include/linux/prefetch. h: 13,
From/usr/src/linux-2.4.20/include/linux/list. h: 6,
From/usr/src/linux-2.4.20/include/linux/wait. h: 14,
From/usr/src/linux-2.4.20/include/linux/fs. h: 12,
From/usr/src/linux-2.4.20/include/linux/capability. h: 17,
From/usr/src/linux-2.4.20/include/linux/binfmts. h: 5,
From/usr/src/linux-2.4.20/include/linux/sched. h: 9,
From/usr/src/linux-2.4.20/include/linux/mm. h: 4,
From/usr/src/linux-2.4.20/include/linux/slab. h: 14,
From/usr/src/linux-2.4.20/include/linux/proc_fs.h: 5,
From init/main. c: 15:
/Usr/src/linux-2.4.20/include/asm/processor. h: 74: error: the type of the array element is incomplete
In file encoded ded from/usr/src/linux-2.4.20/include/linux/fs. h: 318,
From/usr/src/linux-2.4.20/include/linux/capability. h: 17,
From/usr/src/linux-2.4.20/include/linux/binfmts. h: 5,
From/usr/src/linux-2.4.20/include/linux/sched. h: 9,
From/usr/src/linux-2.4.20/include/linux/mm. h: 4,
From/usr/src/linux-2.4.20/include/linux/slab. h: 14,
From/usr/src/linux-2.4.20/include/linux/proc_fs.h: 5,
From init/main. c: 15:
/Usr/src/linux-2.4.20/include/linux/ncp_fs_ I .h: 26: Warning: Fields Whose 'packed' property is of Type '_ u8' are ignored
/Usr/src/linux-2.4.20/include/linux/ncp_fs_ I .h: 27: Warning: fields of the 'packed' property type '_ u8 [6]' are ignored
In file encoded ded from/usr/src/linux-2.4.20/include/linux/ncp_mount.h: 12,
From/usr/src/linux-2.4.20/include/linux/ncp_fs_sb.h: 12,
From/usr/src/linux-2.4.20/include/linux/fs. h: 703,
From/usr/src/linux-2.4.20/include/linux/capability. h: 17,
From/usr/src/linux-2.4.20/include/linux/binfmts. h: 5,
From/usr/src/linux-2.4.20/include/linux/sched. h: 9,
From/usr/src/linux-2.4.20/include/linux/mm. h: 4,
From/usr/src/linux-2.4.20/include/linux/slab. h: 14,
From/usr/src/linux-2.4.20/include/linux/proc_fs.h: 5,
From init/main. c: 15:
/Usr/src/linux-2.4.20/include/linux/ncp. h: 24: Warning: Fields Whose 'packed' property is of Type '_ u8' are ignored
/Usr/src/linux-2.4.20/include/linux/ncp. h: 25: Warning: Fields Whose 'packed' property is of Type '_ u8' are ignored
/Usr/src/linux-2.4.20/include/linux/ncp. h: 26: Warning: Fields Whose 'packed' property is of Type '_ u8' are ignored
/Usr/src/linux-2.4.20/include/linux/ncp. h: 27: Warning: Fields Whose 'packed' property is of Type '_ u8' are ignored
/Usr/src/linux-2.4.20/include/linux/ncp. h: 28: Warning: Fields Whose 'packed' property is of Type '_ u8' are ignored
/Usr/src/linux-2.4.20/include/linux/ncp. h: 29: Warning: Fields Whose 'packed' property is of Type '_ u8 []' are ignored
/Usr/src/linux-2.4.20/include/linux/ncp. h: 37: Warning: Fields Whose 'packed' property is of Type '_ u8' are ignored
/Usr/src/linux-2.4.20/include/linux/ncp. h: 38: Warning: Fields Whose 'packed' property is of Type '_ u8' are ignored
/Usr/src/linux-2.4.20/include/linux/ncp. h: 39: Warning: Fields Whose 'packed' property is of Type '_ u8' are ignored
/Usr/src/linux-2.4.20/include/linux/ncp. h: 40: Warning: Fields Whose 'packed' property is of Type '_ u8' are ignored
/Usr/src/linux-2.4.20/include/linux/ncp. h: 41: Warning: Fields Whose 'packed' property is of Type '_ u8' are ignored
/Usr/src/linux-2.4.20/include/linux/ncp. h: 42: Warning: Fields Whose 'packed' property is of Type '_ u8' are ignored
/Usr/src/linux-2.4.20/include/linux/ncp. h: 43: Warning: Fields Whose 'packed' property is of Type '_ u8 []' are ignored
/Usr/src/linux-2.4.20/include/linux/ncp. h: 137: Warning: Fields Whose 'packed' property is of Type '_ u8' are ignored
/Usr/src/linux-2.4.20/include/linux/ncp. h: 138: Warning: Fields Whose 'packed' property is of Type '_ u8 [256]' are ignored
/Usr/src/linux-2.4.20/include/linux/ncp. h: 174: Warning: Fields Whose 'packed' property is of Type '_ u8' are ignored
In file sorted ded from/usr/src/linux-2.4.20/include/linux/unistd. h: 9,
From init/main. c: 17:
/Usr/src/linux-2.4.20/include/asm/unistd. h: 375: Warning: conflicts with the built-in function '_ exit' type
Make: *** [init/main. o] Error 1
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.