After solving my last problem with GMP and gfortran compilation, I am
now encountering another issue shortly after the last. This issue has
fewer web links and looks to be even more obscure.
If you hadn't read my last post about my on-going drudgery of
compiling here are the details:
I am trying to compile gfortran on a 64-bit Xeon based dual processor
system running CentOS 4.4 running kernel version 2.6.9-42.0.2.ELsmp
x86_64. My gcc configuration options are
./configure --prefix=/home2/baucom/Applications/gcc --enable-
languages=c,c++,fortran --with-mpfr=/home2/baucom/Applications/mpfr --
with-gmp=/home2/baucom/Applications/gmp
Now I encounter errors with what appears to be type definitions which
are listed below.
Any suggestions?
Albion
/home2/baucom/src/gcc-4.1.2/host-x86_64-unknown-linux-gnu/gcc/xgcc -B/
home2/baucom/src/gcc-4.1.2/host-x86_64-unknown-linux-gnu/gcc/ -B/
home2/baucom/Applications/gcc/x86_64-unknown-linux-gnu/bin/ -B/home2/
baucom/Applications/gcc/x86_64-unknown-linux-gnu/lib/ -isystem /home2/
baucom/Applications/gcc/x86_64-unknown-linux-gnu/include -isystem /
home2/baucom/Applications/gcc/x86_64-unknown-linux-gnu/sys-include -
DHAVE_CONFIG_H -I. -I../.././libgfortran -I. -iquote../.././
libgfortran/io -I../.././libgfortran/../gcc -I../.././libgfortran/../
gcc/config -I../../host-x86_64-unknown-linux-gnu/gcc -D_GNU_SOURCE -
std=gnu99 -Wall -Wstrict-prototypes -Wmissing-prototypes -Wold-style-
definition -Wextra -Wwrite-strings -O2 -g -O2 -c ../.././libgfortran/
runtime/compile_options.c -fPIC -DPIC -o .libs/compile_options.o
In file included from ../.././libgfortran/runtime/compile_options.c:32:
../.././libgfortran/libgfortran.h:205: error: expected '=', ',', ';',
'asm' or '__attribute__' before 'gfc_charlen_type'
../.././libgfortran/libgfortran.h:273: error: expected specifier-
qualifier-list before 'GFC_INTEGER_4'
../.././libgfortran/libgfortran.h:274: error: expected specifier-
qualifier-list before 'GFC_INTEGER_8'
../.././libgfortran/libgfortran.h:278: error: expected specifier-
qualifier-list before 'GFC_REAL_4'
../.././libgfortran/libgfortran.h:279: error: expected specifier-
qualifier-list before 'GFC_REAL_8'
../.././libgfortran/libgfortran.h:286: error: expected specifier-
qualifier-list before 'GFC_COMPLEX_4'
../.././libgfortran/libgfortran.h:287: error: expected specifier-
qualifier-list before 'GFC_COMPLEX_8'
../.././libgfortran/libgfortran.h:294: error: expected specifier-
qualifier-list before 'GFC_LOGICAL_4'
../.././libgfortran/libgfortran.h:295: error: expected specifier-
qualifier-list before 'GFC_LOGICAL_8'
../.././libgfortran/libgfortran.h:476: error: expected ')' before 'char'
../.././libgfortran/libgfortran.h:477: error: 'gfc_itoa' undeclared
here (not in a function)
../.././libgfortran/libgfortran.h:477: warning: type defaults to
'int' in declaration of 'gfc_itoa'
../.././libgfortran/libgfortran.h:479: error: expected ')' before 'char'
../.././libgfortran/libgfortran.h:480: error: 'xtoa' undeclared here
(not in a function)
../.././libgfortran/libgfortran.h:480: warning: type defaults to
'int' in declaration of 'xtoa'
../.././libgfortran/libgfortran.h:570: warning: parameter names
(without types) in function declaration
....