[Pw_forum] Problem in compilation
Paolo Giannozzi
giannozz at democritos.it
Wed Jul 15 08:24:22 CEST 2009
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.
---
Paolo Giannozzi, Dept of Physics, University of Udine
via delle Scienze 208, 33100 Udine, Italy
Phone +39-0432-558216, fax +39-0432-558222
More information about the Pw_forum
mailing list