[Pw_forum] WanT installation
Andrea Ferretti
andrea.ferretti at unimore.it
Thu Oct 13 14:48:47 CEST 2016
Dear Mansoureh,
besides the possibility of compiling WanT within QE (make all or make want),
please note that want-2.2.1 is a pretty old release...
The latest version of WanT is 2.5.1, and can be downloaded from qe-forge:
http://www.qe-forge.org/gf/download/frsrelease/153/618/want-2.5.1-base.tar.gz
(I would definitely make the upgrade)
Take care
Andrea
> 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
>
>
>
--
Andrea Ferretti, PhD
S3 Center, Istituto Nanoscienze, CNR
via Campi 213/A, 41125, Modena, Italy
Tel: +39 059 2055322; Skype: andrea_ferretti
URL: http://www.nano.cnr.it
More information about the users
mailing list