bug-autoconf
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Error message for memory.h


From: Chongke Bi
Subject: Re: Error message for memory.h
Date: Thu, 10 Sep 2015 10:31:29 +0900

Dear Eric,

Thank you very much.

I have deleted memory.h from /usr/local/include.
It perfectly resolved my problem.

Thanks again.

Best regards,
Chongke



On Wed, Sep 9, 2015 at 11:25 PM, Eric Blake <address@hidden> wrote:

> On 09/09/2015 03:02 AM, Chongke Bi wrote:
> > Dear all,
> >
> > I got the following message,
> > could you please kindly help me?
> >
> >
> > Thank you very much in advance.
> >
> > Best regards,
> > Chongke
> >
> >
> -------------------------------------------------------------------------------------------------------
> > configure:5464: checking for memory.h
> > configure:5464: mpicc -c -g -O2  conftest.c >&5
> > In file included from conftest.c:50:0:
> > /usr/local/include/memory.h:4:19: fatal error: cstdlib: No such file or
> > directory
> >  #include <cstdlib>
> >                    ^
>
> Looks like you have installed some C++ package that pollutes the global
> include namespace into /usr/local/include. Figure out what package
> mistakenly dropped a memory.h there, and get rid of it.
>
> That said, <memory.h> is an obsolete header these days (you should be
> using <string.h> instead), so the fact that configure can't find a
> working <memory.h> shouldn't prevent your package from still compiling,
> if your package isn't relying on obsolete headers.
>
> --
> Eric Blake   eblake redhat com    +1-919-301-3266
> Libvirt virtualization library http://libvirt.org
>
>


-- 
Chongke BI<address@hidden>


reply via email to

[Prev in Thread] Current Thread [Next in Thread]