This is the mail archive of the
libc-help@sourceware.org
mailing list for the glibc project.
Re: Build Error - gcc must provide the <cpuid.h> header
- From: "Carlos O'Donell" <carlos at systemhalted dot org>
- To: Sreyan Chakravarty <sreyan dot mailing at gmail dot com>
- Cc: "libc-help at sourceware dot org" <libc-help at sourceware dot org>
- Date: Fri, 20 May 2016 15:03:08 -0400
- Subject: Re: Build Error - gcc must provide the <cpuid.h> header
- Authentication-results: sourceware.org; auth=none
- References: <CAOcRYWrB24rSTw_snTa-gA9EnvQz6bP=KAW3dP4rwJ6yrgzVzA at mail dot gmail dot com> <20160519221544 dot GR26300 at vapier dot lan> <CAOcRYWqoq0sfn+Y5OeQyCFrwqrg8Gwu7ChEwz1a1zPFv2GSHLw at mail dot gmail dot com>
On Fri, May 20, 2016 at 3:01 PM, Sreyan Chakravarty
<sreyan.mailing@gmail.com> wrote:
> The INSTALL file in the sources say that I only need gcc 4.1. How come
> you are telling me that I need a more recent version of gcc. I am
> sorry I don't mean to be rude but I really am confused here.
Given the output you quoted the only logical conclusion was a gcc that
was too old.
Since then you have given more information, including that you have a
new enough compiler.
You need to look in config.log to determine why the configure process
doesn't appear to correctly detect the presence of cpuid.h.
Cheers,
Carlos.