[Pw_forum] installation error

dev sharma decboy9 at gmail.com
Tue Feb 2 05:05:11 CET 2010


Dear Sir,
I tried to install QE with Fedora 12 on another system. After the
configuring, i encountered the following problem. Please Guide.
Thanks

if test -d iotk ; then \
    ( cd iotk ; if test "make" = "" ; then make  TLDEPS= lib+util ; \
    else make  TLDEPS= lib+util ; fi ) ; fi
make[1]: Entering directory `/home/dev/espresso-4.0.2/iotk'
cd src ; make lib+util
make[2]: Entering directory `/home/dev/espresso-4.0.2/iotk/src'
( cd ../../bin ; ln -sf ../iotk/src/iotk_print_kinds.x . )
( cd ../../bin ; ln -sf ../iotk/src/iotk.x . )
( cd ../../bin ; ln -sf ../iotk/tools/iotk . )
make[2]: Leaving directory `/home/dev/espresso-4.0.2/iotk/src'
make[1]: Leaving directory `/home/dev/espresso-4.0.2/iotk'
( cd Modules ; if test "make" = "" ; then make  TLDEPS= all ; \
    else make  TLDEPS= all ; fi )
make[1]: Entering directory `/home/dev/espresso-4.0.2/Modules'
gfortran -O3 -x f95-cpp-input -D__GFORTRAN -D__FFTW -D__USE_INTERNAL_FFTW
-I../include  -I./  -I../Modules  -I../iotk/src -I../PW  -I../PH -c
fft_scalar.f90
gfortran -O3 -x f95-cpp-input -D__GFORTRAN -D__FFTW -D__USE_INTERNAL_FFTW
-I../include  -I./  -I../Modules  -I../iotk/src -I../PW  -I../PH -c
fft_parallel.f90
gfortran -O3 -x f95-cpp-input -D__GFORTRAN -D__FFTW -D__USE_INTERNAL_FFTW
-I../include  -I./  -I../Modules  -I../iotk/src -I../PW  -I../PH -c
griddim.f90
make[1]: Leaving directory `/home/dev/espresso-4.0.2/Modules'
( cd clib ; if test "make" = "" ; then make  TLDEPS= all ; \
    else make  TLDEPS= all ; fi )
make[1]: Entering directory `/home/dev/espresso-4.0.2/clib'
cc -O3 -D__GFORTRAN -D__FFTW -D__USE_INTERNAL_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’
/usr/include/bits/stdio.h:37: error: static declaration of ‘vprintf’ follows
non-static declaration
/usr/include/bits/stdio.h:46: error: nested function ‘getchar’ declared
‘extern’
/usr/include/bits/stdio.h:45: error: static declaration of ‘getchar’ follows
non-static declaration
/usr/include/stdio.h:522: note: previous declaration of ‘getchar’ was here
/usr/include/bits/stdio.h:55: error: nested function ‘fgetc_unlocked’
declared ‘extern’
/usr/include/bits/stdio.h:54: error: static declaration of ‘fgetc_unlocked’
follows non-static declaration
/usr/include/stdio.h:545: note: previous declaration of ‘fgetc_unlocked’ was
here
In file included from /usr/include/stdio.h:910,
                 from /usr/include/malloc.h:27,
                 from memstat.c:21:
/usr/include/bits/stdio.h:65: error: nested function ‘getc_unlocked’
declared ‘extern’
/usr/include/bits/stdio.h:64: error: static declaration of ‘getc_unlocked’
follows non-static declaration
/usr/include/stdio.h:534: note: previous declaration of ‘getc_unlocked’ was
here
/usr/include/bits/stdio.h:72: error: nested function ‘getchar_unlocked’
declared ‘extern’
/usr/include/bits/stdio.h:71: error: static declaration of
‘getchar_unlocked’ follows non-static declaration
/usr/include/stdio.h:535: note: previous declaration of ‘getchar_unlocked’
was here
/usr/include/bits/stdio.h:81: error: nested function ‘putchar’ declared
‘extern’
/usr/include/bits/stdio.h:80: error: static declaration of ‘putchar’ follows
non-static declaration
/usr/include/bits/stdio.h:90: error: nested function ‘fputc_unlocked’
declared ‘extern’
/usr/include/bits/stdio.h:89: error: static declaration of ‘fputc_unlocked’
follows non-static declaration
/usr/include/bits/stdio.h:100: error: nested function ‘putc_unlocked’
declared ‘extern’
/usr/include/bits/stdio.h:99: error: static declaration of ‘putc_unlocked’
follows non-static declaration
/usr/include/bits/stdio.h:107: error: nested function ‘putchar_unlocked’
declared ‘extern’
/usr/include/bits/stdio.h:106: error: static declaration of
‘putchar_unlocked’ follows non-static declaration
In file included from /usr/include/stdio.h:910,
                 from /usr/include/malloc.h:27,
                 from memstat.c:21:
/usr/include/bits/stdio.h:127: error: nested function ‘feof_unlocked’
declared ‘extern’
/usr/include/bits/stdio.h:126: error: static declaration of ‘feof_unlocked’
follows non-static declaration
/usr/include/stdio.h:811: note: previous declaration of ‘feof_unlocked’ was
here
/usr/include/bits/stdio.h:134: error: nested function ‘ferror_unlocked’
declared ‘extern’
/usr/include/bits/stdio.h:133: error: static declaration of
‘ferror_unlocked’ follows non-static declaration
/usr/include/stdio.h:812: note: previous declaration of ‘ferror_unlocked’
was here
make[1]: *** [memstat.o] Error 1
make[1]: Leaving directory `/home/dev/espresso-4.0.2/clib'
make: *** [libs] Error 2
[dev at localhost espresso-4.0.2]$


On Mon, Feb 1, 2010 at 12:32 PM, Paolo Giannozzi <giannozz at democritos.it>wrote:

> On Feb 1, 2010, at 6:40 , dev sharma wrote:
>
> > Please guide
>
> please read the user guide: it clearly states that all "internal
> compiler
> errors" and the like are a problem of the compiler, not of QE
>
> P.
> ---
> Paolo Giannozzi, Dept of Physics, University of Udine
> via delle Scienze 208, 33100 Udine, Italy
> Phone +39-0432-558216, fax +39-0432-558222
>
>
>
> _______________________________________________
> Pw_forum mailing list
> Pw_forum at pwscf.org
> http://www.democritos.it/mailman/listinfo/pw_forum
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.quantum-espresso.org/pipermail/users/attachments/20100202/b188596e/attachment.html>


More information about the users mailing list