This is the mail archive of the
fortran@gcc.gnu.org
mailing list for the GNU Fortran project.
Re: 2nd posting
- From: "Manfred Schwarb" <manfred99 at gmx dot ch>
- To: "E.Nurminski" <nurmi at dvo dot ru>
- Cc: fortran at gcc dot gnu dot org
- Date: Tue, 6 Dec 2005 09:43:01 +0100 (MET)
- Subject: Re: 2nd posting
- References: <Pine.LNX.4.58.0512061820450.3131@lis.dvo.ru>
> --- Ursprüngliche Nachricht ---
> Von: "E.Nurminski" <nurmi@dvo.ru>
> An: fortran@gcc.gnu.org
> Betreff: 2nd posting
> Datum: Tue, 6 Dec 2005 18:21:44 +1000 (VLAT)
>
>
>
> E. Nurminski
>
> ---------- Forwarded message ----------
> Date: Sun, 4 Dec 2005 10:44:50 +1000 (VLAT)
> From: E.Nurminski <nurmi@dvo.ru>
> To: fortran@gcc.gnu.org
>
>
> I am trying to compile gfortran on SuSE-10.0. As distributed it has
> gcc-4.0.2, but no fortran. To simplify ;) things I have just downloaded
> gcc-4.0.2.tar.bz2 and run
>
http://gcc.gnu.org/ml/fortran/2005-11/msg00107.html
> configure --enable-languages=c,c++,f95
> make
>
> (OK, installing GMP and MPFR first ...).
>
> However, when `make' the following happen:
>
>
> /tmp/target/gcc/gfortran -B/tmp/target/gcc/
> -B/usr/local/i686-pc-linux-gnu/bin/
> -B/usr/local/i686-pc-linux-gnu/lib/ -isystem
> /usr/local/i686-pc-linux-gnu/includ
> e -isystem /usr/local/i686-pc-linux-gnu/sys-include -Wall -Wall
> -fno-repack-arra
> ys -fno-underscoring -c
> ../../../gcc-4.0.2/libgfortran/intrinsics/selected_int_k
> ind.f90 -fPIC -DPIC -o .libs/selected_int_kind.o
> In file
> ../../../gcc-4.0.2/libgfortran/intrinsics/selected_int_kind.f90:35
>
> do i = 1, c
> 1
> Error: Syntax error in array constructor at (1)
> In file
> ../../../gcc-4.0.2/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
> ../../../gcc-4.0.2/libgfortran/intrinsics/selected_int_kind.f90:37
>
> selected_int_kind = int_infos (i) % kind
> 1
> Error: Unclassifiable statement at (1)
> In file
> ../../../gcc-4.0.2/libgfortran/intrinsics/selected_int_kind.f90:39
>
> end if
> 1
> Error: Expecting END FUNCTION statement at (1)
> In file
> ../../../gcc-4.0.2/libgfortran/intrinsics/selected_int_kind.f90:40
>
> end do
> 1
> Error: Expecting END FUNCTION statement at (1)
> make[2]: *** [selected_int_kind.lo] Error 1
> make[2]: Leaving directory `/tmp/target/i686-pc-linux-gnu/libgfortran'
> make[1]: *** [all] Error 2
> make[1]: Leaving directory `/tmp/target/i686-pc-linux-gnu/libgfortran'
> make: *** [all-target-libgfortran] Error 2
>
> ===================================================================
>
> Has anyone forgot selected_int_kind.inc ? Or am i doing something wrong ?
>
> Pls answer on email address if this is not of general interest or was
> replied before.
>
> Thnx in advance,
>
>
> E. Nurminski
>
--
Highspeed-Freiheit. Bei GMX supergünstig, z.B. GMX DSL_Cityflat,
DSL-Flatrate für nur 4,99 Euro/Monat* http://www.gmx.net/de/go/dsl