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]

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


Okay I understand that this is a pretty common problem, but one that
has different causes. I am on a Oracle VirtualBox running Ubuntu Hardy
Heron x86_64 as my guest OS. The reason I am on such an old OS is
because I have an application,which was written for Heron, that I need
to make workable.

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 ?)

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. It may be because on my virtual system :
uname -p gives the output of "unknown" (since this is a virtual OS)
(you can verify in the attached log)

I have also not done anything to my include/ folder, should I delete
its contents before running configure ?

Need help please. I have attached my config.log and the configure
output for reference.

Regards,
Sreyan Chakravarty

Attachment: config_output.txt
Description: Text document

Attachment: config.log
Description: Binary data


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