[Pw_forum] Problem in compilation

Padmaja Patnaik padmaja_patnaik at yahoo.co.uk
Wed Jul 15 09:17:34 CEST 2009


Thanks a lot.
It solved my problem.

On Jul 15, 2009, at 7:56 , Padmaja Patnaik wrote:

> cc -O3 -D__GFORTRAN -D__FFTW -I../include    -c memstat.c
> In file included from /usr/include/stdio.h:910,
>                  from /usr/include/malloc.h:27,
>                  from memstat.c:21:
> /usr/include/bits/stdio.h: In function 'memstat_':
> /usr/include/bits/stdio.h:38: error: nested function 'vprintf'  
> declared 'extern' [...]

>

in include/c_defs.h, comment the line
#define HAVE_MALLINFO 1
or change it to
#undef HAVE_MALLINFO

P.

Padmaja Patnaik

Research Scholar

Dept of Physics

IIT Bombay

Mumbai, India


      
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.quantum-espresso.org/pipermail/users/attachments/20090715/65b798cc/attachment.html>


More information about the users mailing list