[Pw_forum] Problem in compilation

Padmaja Patnaik padmaja_patnaik at yahoo.co.uk
Wed Jul 15 07:56:53 CEST 2009


Dear all
While trying to compile espresso-4.0.5 in Linux x86_64 machine, it gets configuresd succespully and also finds the libraries. But the make all command gives the following error.  Can ayone please suggest what has to be done?

make[1]: Entering directory `/home/padmaja/espresso-4.0.5/clib'
cc -O3 -D__GFORTRAN -D__FFTW -I../include    -c stack.c
cc -O3 -D__GFORTRAN -D__FFTW -I../include    -c c_mkdir.c
cc -O3 -D__GFORTRAN -D__FFTW -I../include    -c cptimer.c
cc -O3 -D__GFORTRAN -D__FFTW -I../include    -c fft_stick.c
cc -O3 -D__GFORTRAN -D__FFTW -I../include    -c indici.c
cc -O3 -D__GFORTRAN -D__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/padmaja/espresso-4.0.5/clib'
make: *** [libs] Error 2

Thanks in advance.
regards
Padmaja Patnaik

Research Scholar

Dept of Physics

IIT Bombay

Mumbai, India


      
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://www.democritos.it/pipermail/pw_forum/attachments/20090715/c66da079/attachment.htm 


More information about the Pw_forum mailing list