gfortran build error: selected_int_kind.f90
Christian Bienia
cbienia@CS.Princeton.EDU
Mon Apr 10 22:14:00 GMT 2006
Hi,
when I try to build the gfortran compiler of gcc 4.1.0 for x86_64, I get
the following errors:
...
make[3]: Entering directory
`/home/cbienia/gcc-objdir/x86_64-unknown-linux-gnu/libgfortran'
/bin/sh ./libtool --mode=compile /home/cbienia/gcc-objdir/./gcc/gfortran
-B/home/cbienia/gcc-objdir/./gcc/
-B/home/cbienia/local.cluster/gcc-4.1.0//x86_64-unknown-linux-gnu/bin/
-B/home/cbienia/local.cluster/gcc-4.1.0//x86_64-unknown-linux-gnu/lib/
-isystem
/home/cbienia/local.cluster/gcc-4.1.0//x86_64-unknown-linux-gnu/include
-isystem
/home/cbienia/local.cluster/gcc-4.1.0//x86_64-unknown-linux-gnu/sys-include -I . -Wall -fno-repack-arrays -fno-underscoring -c -o selected_int_kind.lo `test -f 'intrinsics/selected_int_kind.f90' || echo '/home/cbienia/download/gcc-4.1.0/libgfortran/'`intrinsics/selected_int_kind.f90
/home/cbienia/gcc-objdir/./gcc/gfortran
-B/home/cbienia/gcc-objdir/./gcc/
-B/home/cbienia/local.cluster/gcc-4.1.0//x86_64-unknown-linux-gnu/bin/
-B/home/cbienia/local.cluster/gcc-4.1.0//x86_64-unknown-linux-gnu/lib/
-isystem
/home/cbienia/local.cluster/gcc-4.1.0//x86_64-unknown-linux-gnu/include
-isystem
/home/cbienia/local.cluster/gcc-4.1.0//x86_64-unknown-linux-gnu/sys-include -I . -Wall -fno-repack-arrays -fno-underscoring -c /home/cbienia/download/gcc-4.1.0/libgfortran/intrinsics/selected_int_kind.f90 -fPIC -DPIC -o .libs/selected_int_kind.o
In file
/home/cbienia/download/gcc-4.1.0/libgfortran/intrinsics/selected_int_kind.f90:35
do i = 1, c
1
Error: Syntax error in array constructor at (1)
In file
/home/cbienia/download/gcc-4.1.0/libgfortran/intrinsics/selected_int_kind.f90:36
if (r <= int_infos (i) % range) then
1
Error: Syntax error in IF-expression at (1)
In file
/home/cbienia/download/gcc-4.1.0/libgfortran/intrinsics/selected_int_kind.f90:37
selected_int_kind = int_infos (i) % kind
1
Error: Unclassifiable statement at (1)
In file
/home/cbienia/download/gcc-4.1.0/libgfortran/intrinsics/selected_int_kind.f90:39
end if
1
Error: Expecting END FUNCTION statement at (1)
In file
/home/cbienia/download/gcc-4.1.0/libgfortran/intrinsics/selected_int_kind.f90:40
end do
1
Error: Expecting END FUNCTION statement at (1)
make[3]: *** [selected_int_kind.lo] Error 1
make[3]: Leaving directory
`/home/cbienia/gcc-objdir/x86_64-unknown-linux-gnu/libgfortran'
make[2]: *** [all] Error 2
make[2]: Leaving directory
`/home/cbienia/gcc-objdir/x86_64-unknown-linux-gnu/libgfortran'
make[1]: *** [all-target-libgfortran] Error 2
make[1]: Leaving directory `/home/cbienia/gcc-objdir'
make: *** [all] Error 2
Can anybody help me to find out what's wrong?
- Chris
More information about the Fortran
mailing list