This is the mail archive of the libc-help@sourceware.org mailing list for the glibc project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: Build Error - gcc must provide the <cpuid.h> header


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 ?


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]