This is the mail archive of the
fortran@gcc.gnu.org
mailing list for the GNU Fortran project.
Re: Problems building libgfortran/intrinsics/selected_int_kind.f90 in gfortran 4.1.0
- From: George White <george at palisad dot com>
- To: njn at csse dot unimelb dot edu dot au
- Cc: fortran at gcc dot gnu dot org
- Date: Tue, 15 Aug 2006 11:44:39 -0700 (PDT)
- Subject: Re: Problems building libgfortran/intrinsics/selected_int_kind.f90 in gfortran 4.1.0
- Reply-to: George White <george at palisad dot com>
> It looks like Christian Bienia had a similar problem on 10 Apr 2006, but
> nobody seemed to reply to his email about it.
>
>Can anyone tell me what the problem is?
>
>Thanks.
>
>Nick
I just ran into the same problem with compiling fortran on solaris x86
using 4.1.1. The problem was that libgmp.so was not getting picked up
by the fortran executable when the int and real 'kind' files were
built. If you later put the library somewhere where it can be found
and rerun the makefile, it leaves stale kind data which results in
syntax errors in the generated include files. The makefile should
really delete the kind files when there are errors building them and
should also be a little more specific about why they could not be
built. You can reconfigure and start over or delete the
selected_int_kind.inc and selected_real_kind.inc files and continue.
George