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: Sreyan Chakravarty <sreyan dot mailing at gmail dot com>
- To: Sreyan Chakravarty <sreyan dot mailing at gmail dot com>, libc-help at sourceware dot org
- Date: Sat, 21 May 2016 00:14:08 +0530
- 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>
On 5/20/16, Mike Frysinger <vapier@gentoo.org> wrote:
> On 20 May 2016 02:19, Sreyan Chakravarty wrote:
>> I need GLIBC version 2.14 so I have downloaded the sources from -:
>>
>> http://ftp.gnu.org/gnu/glibc/glibc-2.14.tar.gz
>>
>> (is it the correct version that I want ?)
>
> yes
>
>> Okay so now I am trying to build GLIBC version 2.14 on my virtual
>> system but when I run configure in my build directory I keep getting
>> the following error message:
>>
>> checking cpuid.h usability... no
>> checking cpuid.h presence... no
>> checking for cpuid.h... no
>> configure: error: gcc must provide the <cpuid.h> header
>>
>> I think (correct me if I am wrong) that configure is thinking that I
>> want to cross-compile GLIBC.
>
> no, that's not the issue. you're using too old a version of gcc.
> you need to upgrade it to build that version of glibc.
> -mike
>
What version is of gcc is required ? Just tell me something, the
sources that I downloaded will it build to GLIBC version 2.14 ?
because thats the version I need.
My system already is running gcc version 4.2.4. Which version do I need ?