This is the mail archive of the fortran@gcc.gnu.org mailing list for the GNU Fortran project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: Problems building libgfortran/intrinsics/selected_int_kind.f90 in gfortran 4.1.0


> 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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]