<div dir="ltr"><div><div><div><div><div><div>Hello,<br><br></div>I need to use EPW which works with Quantum Espresso 4.0.3. However I am having issue with installation of that version of QE though the newer versions work fine. I paste the error messages below. Could someone please help me fix this?<br><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:542: 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:565: note: previous declaration of ‘fgetc_unlocked’ was here<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:554: 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:555: 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>/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:831: 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:832: note: previous declaration of ‘ferror_unlocked’ was here<br>make[1]: *** [memstat.o] Error 1<br><br><br></div>Thanks,<br><br></div>Krishnendu Ghosh, Graduate Student<br><br></div>University at Buffalo<br></div>The State University of New York<br></div>Buffalo, NY 14260<br></div>