Dear all,<br><br>I am using fedora linux, when I try to compile I get the following message:<br><br>configure: success<br>[shane@Newton espresso-4.1.1]$ make all<br>test -d bin || mkdir bin<br>if test -d iotk ; then \<br>    ( cd iotk ; if test "make" = "" ; then make  TLDEPS= lib+util ; \<br>
    else make  TLDEPS= lib+util ; fi ) ; fi<br>make[1]: Entering directory `/home/shane/Download/espresso-4.1.1/iotk'<br>cd src ; make lib+util<br>make[2]: Entering directory `/home/shane/Download/espresso-4.1.1/iotk/src'<br>
( cd ../../bin ; ln -sf ../iotk/src/iotk_print_kinds.x . )<br>( cd ../../bin ; ln -sf ../iotk/src/iotk.x . )<br>( cd ../../bin ; ln -sf ../iotk/tools/iotk . )<br>make[2]: Leaving directory `/home/shane/Download/espresso-4.1.1/iotk/src'<br>
make[1]: Leaving directory `/home/shane/Download/espresso-4.1.1/iotk'<br>( cd Modules ; if test "make" = "" ; then make  TLDEPS= all ; \<br>    else make  TLDEPS= all ; fi )<br>make[1]: Entering directory `/home/shane/Download/espresso-4.1.1/Modules'<br>
gfortran -O3 -x f95-cpp-input -D__GFORTRAN -D__FFTW -I../include -I./  -I../Modules  -I../iotk/src -I../PW  -I../PH  -I../EE -I../GIPAW -c fft_scalar.f90<br>gfortran -O3 -x f95-cpp-input -D__GFORTRAN -D__FFTW -I../include -I./  -I../Modules  -I../iotk/src -I../PW  -I../PH  -I../EE -I../GIPAW -c fft_parallel.f90<br>
gfortran -O3 -x f95-cpp-input -D__GFORTRAN -D__FFTW -I../include -I./  -I../Modules  -I../iotk/src -I../PW  -I../PH  -I../EE -I../GIPAW -c griddim.f90<br>make[1]: Leaving directory `/home/shane/Download/espresso-4.1.1/Modules'<br>
( cd clib ; if test "make" = "" ; then make  TLDEPS= all ; \<br>    else make  TLDEPS= all ; fi )<br>make[1]: Entering directory `/home/shane/Download/espresso-4.1.1/clib'<br>cc -O3 -D__GFORTRAN -D__FFTW -I../include  -c memstat.c<br>
In file included from /usr/include/stdio.h:910,<br>                 from /usr/include/malloc.h:27,<br>                 from memstat.c:25:<br>/usr/include/bits/stdio.h: In function ‘memstat_’:<br>/usr/include/bits/stdio.h:38: error: nested function ‘vprintf’ declared ‘extern’<br>
/usr/include/bits/stdio.h:37: error: static declaration of ‘vprintf’ follows non-static declaration<br>/usr/include/bits/stdio.h:46: error: nested function ‘getchar’ declared ‘extern’<br>/usr/include/bits/stdio.h:45: error: static declaration of ‘getchar’ follows non-static declaration<br>
/usr/include/stdio.h:522: note: previous declaration of ‘getchar’ was here<br>/usr/include/bits/stdio.h:55: error: nested function ‘fgetc_unlocked’ declared ‘extern’<br>/usr/include/bits/stdio.h:54: error: static declaration of ‘fgetc_unlocked’ follows non-static declaration<br>
/usr/include/stdio.h:545: note: previous declaration of ‘fgetc_unlocked’ was here<br>In file included from /usr/include/stdio.h:910,<br>                 from /usr/include/malloc.h:27,<br>                 from memstat.c:25:<br>
/usr/include/bits/stdio.h:65: error: nested function ‘getc_unlocked’ declared ‘extern’<br>/usr/include/bits/stdio.h:64: error: static declaration of ‘getc_unlocked’ follows non-static declaration<br>/usr/include/stdio.h:534: note: previous declaration of ‘getc_unlocked’ was here<br>
/usr/include/bits/stdio.h:72: error: nested function ‘getchar_unlocked’ declared ‘extern’<br>/usr/include/bits/stdio.h:71: error: static declaration of ‘getchar_unlocked’ follows non-static declaration<br>/usr/include/stdio.h:535: note: previous declaration of ‘getchar_unlocked’ was here<br>
/usr/include/bits/stdio.h:81: error: nested function ‘putchar’ declared ‘extern’<br>/usr/include/bits/stdio.h:80: error: static declaration of ‘putchar’ follows non-static declaration<br>/usr/include/bits/stdio.h:90: error: nested function ‘fputc_unlocked’ declared ‘extern’<br>
/usr/include/bits/stdio.h:89: error: static declaration of ‘fputc_unlocked’ follows non-static declaration<br>/usr/include/bits/stdio.h:100: error: nested function ‘putc_unlocked’ declared ‘extern’<br>/usr/include/bits/stdio.h:99: error: static declaration of ‘putc_unlocked’ follows non-static declaration<br>
/usr/include/bits/stdio.h:107: error: nested function ‘putchar_unlocked’ declared ‘extern’<br>/usr/include/bits/stdio.h:106: error: static declaration of ‘putchar_unlocked’ follows non-static declaration<br>In file included from /usr/include/stdio.h:910,<br>
                 from /usr/include/malloc.h:27,<br>                 from memstat.c:25:<br>/usr/include/bits/stdio.h:127: error: nested function ‘feof_unlocked’ declared ‘extern’<br>/usr/include/bits/stdio.h:126: error: static declaration of ‘feof_unlocked’ follows non-static declaration<br>
/usr/include/stdio.h:811: note: previous declaration of ‘feof_unlocked’ was here<br>/usr/include/bits/stdio.h:134: error: nested function ‘ferror_unlocked’ declared ‘extern’<br>/usr/include/bits/stdio.h:133: error: static declaration of ‘ferror_unlocked’ follows non-static declaration<br>
/usr/include/stdio.h:812: note: previous declaration of ‘ferror_unlocked’ was here<br>make[1]: *** [memstat.o] Error 1<br>make[1]: Leaving directory `/home/shane/Download/espresso-4.1.1/clib'<br>make: *** [libs] Error 2<br>
<br>Can someone explain exactly why this doesn't work and how I might go about fixing it?<br><br>Shane Taylor<br>