[Consultation] kernel compilation error-type conflict

Source: Internet
Author: User
[Ask] kernel compilation error-type conflict-general Linux technology-Linux programming and kernel information. For details, refer to the following section. Gcc-dsf-kernel _-I/usr/src/linux/include-Wall-Wstrict-prototypes-Wno-trigraphs-O2-fomit-frame-pointer-fno-strict-aliasing- fno-common-pipe-mpreferred-stack-boundary = 2-march = i686-c-o init/main. o init/main. c
In file encoded ded from/usr/src/linux/include/linux/prefetch. h: 13,
From/usr/src/linux/include/linux/list. h: 6,
From/usr/src/linux/include/linux/wait. h: 14,
From/usr/src/linux/include/linux/fs. h: 12,
From/usr/src/linux/include/linux/capability. h: 17,
From/usr/src/linux/include/linux/binfmts. h: 5,
From/usr/src/linux/include/linux/sched. h: 9,
From/usr/src/linux/include/linux/mm. h: 4,
From/usr/src/linux/include/linux/slab. h: 14,
From/usr/src/linux/include/linux/proc_fs.h: 5,
From init/main. c: 15:
/Usr/src/linux/include/asm/processor. h: 73: error: the array element type is incomplete
In file encoded ded from/usr/src/linux/include/linux/fs. h: 201,
From/usr/src/linux/include/linux/capability. h: 17,
From/usr/src/linux/include/linux/binfmts. h: 5,
From/usr/src/linux/include/linux/sched. h: 9,
From/usr/src/linux/include/linux/mm. h: 4,
From/usr/src/linux/include/linux/slab. h: 14,
From/usr/src/linux/include/linux/proc_fs.h: 5,
From init/main. c: 15:
/Usr/src/linux/include/asm/byteorder. h: 14: Warning: Ignore the type limitation of the function return type
/Usr/src/linux/include/asm/byteorder. h: 28: Warning: Ignore the type limitation of the function return type
In file encoded ded from/usr/src/linux/include/linux/byteorder/little_endian.h: 11, from/usr/src/linux/include/asm/byteorder. h: 45,
From/usr/src/linux/include/linux/fs. h: 201,
From/usr/src/linux/include/linux/capability. h: 17,
From/usr/src/linux/include/linux/binfmts. h: 5,
From/usr/src/linux/include/linux/sched. h: 9,
From/usr/src/linux/include/linux/mm. h: 4,
From/usr/src/linux/include/linux/slab. h: 14,
From/usr/src/linux/include/linux/proc_fs.h: 5,
From init/main. c: 15:
/Usr/src/linux/include/linux/byteorder/swab. h: 132: Warning: Ignore the type limitation of the function return type
/Usr/src/linux/include/linux/byteorder/swab. h: 145: Warning: Ignore the type limitation of the function return type
/Usr/src/linux/include/linux/byteorder/swab. h: 159: Warning: Ignore the type limitation of the function return type
In file encoded ded from/usr/src/linux/include/linux/unistd. h: 9,
From init/main. c: 17:
/Usr/src/linux/include/asm/unistd. h: 345: Warning: built-in function '_ exit' type conflict
Make: *** [init/main. o] Error 1

How can I solve this problem? Thank you.

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.