Re: gfortran/g77 ld problem: undefined references
- From: "RC" <rcrump@xxxxxxxxxx>
- Date: 13 Jul 2006 17:03:01 -0700
Greg Lindahl wrote:
In article <1152832740.344001.244590@xxxxxxxxxxxxxxxxxxxxxxxxxxxx>,
RC <rcrump@xxxxxxxxxx> wrote:
When I try to link to the library created (libran.a) I get a whole pile
of undefined
reference errors. These follow at the bottom ofthis message.
You can't link to a library built with g77 with gfortran. Both must be
built with the same compiler. Your undefined references are to
internal routines in g77's runtime library.
Ah. I have a problem then as trying to compile libran.a with gfortran
gives
me the messages at the bottom of this one.
Ron.
$ gfortran -O3 -c *.f
In file genf.f:52
IF (.NOT. (xden.LE. (1.0E-38*xnum))) GO TO 20
1
Warning: Real constant underflows its kind at (1)
In file gennf.f:64
IF (.NOT. (xden.LE. (1.0E-38*xnum))) GO TO 20
1
Warning: Real constant underflows its kind at (1)
In file qrgnin.f:48
END
1
Internal Error at (1):
TODO: Functions with alternate entry points
.
- References:
- gfortran/g77 ld problem: undefined references
- From: RC
- Re: gfortran/g77 ld problem: undefined references
- From: Greg Lindahl
- gfortran/g77 ld problem: undefined references
- Prev by Date: Re: gfortran/g77 ld problem: undefined references
- Next by Date: Re: optional arguments in subroutine or using generic procedure
- Previous by thread: Re: gfortran/g77 ld problem: undefined references
- Index(es):