[Pw_forum] WanT installation

Mansoureh Pashangpour mansourehp at gmail.com
Thu Oct 13 09:46:13 CEST 2016


Dear all,
I would like to install WanT package on my PC. After ./configure and then
make all I recieved following error:

/usr/include/bits/stdio.h:125:1: error: static declaration of
‘feof_unlocked’ follows non-static declaration
In file included from /usr/include/malloc.h:24:0,
                 from memstat.c:20:
/usr/include/stdio.h:836:12: note: previous declaration of ‘feof_unlocked’
was here
 extern int feof_unlocked (FILE *__stream) __THROW __wur;
            ^
In file included from /usr/include/features.h:365:0,
                 from /usr/include/malloc.h:22,
                 from memstat.c:20:
/usr/include/bits/stdio.h:132:1: error: nested function ‘ferror_unlocked’
declared ‘extern’
 __NTH (ferror_unlocked (FILE *__stream))
 ^
/usr/include/bits/stdio.h:132:1: error: static declaration of
‘ferror_unlocked’ follows non-static declaration
In file included from /usr/include/malloc.h:24:0,
                 from memstat.c:20:
/usr/include/stdio.h:837:12: note: previous declaration of
‘ferror_unlocked’ was here
 extern int ferror_unlocked (FILE *__stream) __THROW __wur;
            ^
../make.sys:16: recipe for target 'memstat.o' failed
make[1]: *** [memstat.o] Error 1
make[1]: Leaving directory '/root/want/want-2.1.1/ctools'
Makefile:49: recipe for target 'libctools' failed
make: *** [libctools] Error 2
 what dose it mean and how can I solve it?

Regards
Mansoureh Pashangpour
IAU
Tehran
Iran
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.quantum-espresso.org/pipermail/users/attachments/20161013/bfe53eb0/attachment.html>


More information about the users mailing list