* Missing FORTRAN library entries for DEC Fortran for Ultrix RISC
@ 1992-01-28 9:14 Per Steinar Iversen
0 siblings, 0 replies; 4+ messages in thread
From: Per Steinar Iversen @ 1992-01-28 9:14 UTC (permalink / raw)
I have to link my FORTRAN programs together with a series of large program
libraries compiled with the MIPS FORTRAN compiler. Unfortunately I only
have access to DECFortran 3.0, which is simply not capable of recompiling the
libraries correctly. The result is that I have to use the libraries as they are.
Unfortunately the DEC Fortran compatibility libraries lack at least a
few routines, I get this message when linking:
ld:
Undefined:
f_inqu0
f_open0
Does anybody know a way around this, is there a way to trick the linker,
or even better, get hold of the missing routines?
-psi
+------------------------------------------------------------------------------+
! Per Steinar Iversen ! Internet: iversen@vsfys1.fi.uib.no !
! Fysisk Institutt ! BITnet: iversen@cernvm.bitnet !
! Universitetet i Bergen ! HEPnet: VSFYS::IVERSEN (VSFYS=21.341=21845) !
! Allegaten 55 ! Phone: +47 5 212770 !
! N-5007 Bergen ! Fax: +47 5 318334 !
! NORWAY ! !
+------------------------------------------------------------------------------+
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: Missing FORTRAN library entries for DEC Fortran for Ultrix RISC
[not found] <28JAN199210173363@mary.fordham.edu>
@ 1992-01-29 7:22 ` Per Steinar Iversen
1992-01-29 16:00 ` Dave Carter
1992-01-29 17:13 ` Mike Iglesias
0 siblings, 2 replies; 4+ messages in thread
From: Per Steinar Iversen @ 1992-01-29 7:22 UTC (permalink / raw)
|>>I have to link my FORTRAN programs together with a series of large program
|>>libraries compiled with the MIPS FORTRAN compiler. Unfortunately I only
|>>have access to DECFortran 3.0, which is simply not capable of recompiling the
|>>libraries correctly. The result is that I have to use the libraries as they are.
|>>Unfortunately the DEC Fortran compatibility libraries lack at least a
|>>few routines, I get this message when linking:
|>>
|>>ld:
|>>Undefined:
|>>f_inqu0
|>>f_open0
|>>
|>>Does anybody know a way around this, is there a way to trick the linker,
|>>or even better, get hold of the missing routines?
|>>
|>
|>I ran into the same problem recently. Eventually, I discovered that
|>the missing routines can be found in some sort of alternative library
|>directory. Add the following parameters to your link command:
|> -L/usr/lib/cmplrs/cc2.1 -lF77 -lI77
|>and it should work OK. Our DEC consultant could not provide much
|>enlightenment about why the libI77.a archive in /usr/lib does not
|>contain these routines. It seems to be connected to interfacing C and
|>Fortran somehow. If anybody out there knows why this situation
|>exists, I'd be interested to hear.
|>
|>
|>Bob Moniot
|>Fordham University
|>College at Lincoln Center
|>New York, NY 10023 (212) 636-6331
|>
|>BitNet: MONIOT@FORDMULC
|>InterNet: moniot@mary.fordham.edu
|>
Thanks, this really works perfectly! It is quite possible that some of the
routines in the libraries I use either call C routines, or are written in C.
I think DEC should fix this, perhaps minor, problem in future releases of
DEC Fortran.
-psi
+------------------------------------------------------------------------------+
! Per Steinar Iversen ! Internet: iversen@vsfys1.fi.uib.no !
! Fysisk Institutt ! BITnet: iversen@cernvm.bitnet !
! Universitetet i Bergen ! HEPnet: VSFYS::IVERSEN (VSFYS=21.341=21845) !
! Allegaten 55 ! Phone: +47 5 212770 !
! N-5007 Bergen ! Fax: +47 5 318334 !
! NORWAY ! !
+------------------------------------------------------------------------------+
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: Missing FORTRAN library entries for DEC Fortran for Ultrix RISC
1992-01-29 7:22 ` Missing FORTRAN library entries for DEC Fortran for Ultrix RISC Per Steinar Iversen
@ 1992-01-29 16:00 ` Dave Carter
1992-01-29 17:13 ` Mike Iglesias
1 sibling, 0 replies; 4+ messages in thread
From: Dave Carter @ 1992-01-29 16:00 UTC (permalink / raw)
In article <1992Jan29.072209.19472@alf.uib.no> iversen@vsfys1.fi.uib.no writes:
>
>
>|>>I have to link my FORTRAN programs together with a series of large program
>|>>libraries compiled with the MIPS FORTRAN compiler. Unfortunately I only
>|>>have access to DECFortran 3.0, which is simply not capable of recompiling the
>|>>libraries correctly. The result is that I have to use the libraries as they are.
>I think DEC should fix this, perhaps minor, problem in future releases of
>DEC Fortran.
current version is 3.1, but i didn't look to see if this was still a
problem.
- dave
--
carter@mr2.mst6.lanl.gov
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: Missing FORTRAN library entries for DEC Fortran for Ultrix RISC
1992-01-29 7:22 ` Missing FORTRAN library entries for DEC Fortran for Ultrix RISC Per Steinar Iversen
1992-01-29 16:00 ` Dave Carter
@ 1992-01-29 17:13 ` Mike Iglesias
1 sibling, 0 replies; 4+ messages in thread
From: Mike Iglesias @ 1992-01-29 17:13 UTC (permalink / raw)
In article <1992Jan29.072209.19472@alf.uib.no> iversen@vsfys1.fi.uib.no writes:
>Thanks, this really works perfectly! It is quite possible that some of the
>routines in the libraries I use either call C routines, or are written in C.
>I think DEC should fix this, perhaps minor, problem in future releases of
>DEC Fortran.
You need to install the FORTRAN for RISC libraries from the DEC FORTRAN
installation sets (the DFRF7730x set to be specific) if you want to
link objects compiled with DEC FORTRAN with objects compile with
FORTRAN for RISC. This is all documented in the release notes
(/usr/lib/cmplrs/fort/relnotes).
Mike Iglesias Internet: iglesias@draco.acs.uci.edu
University of California, Irvine BITNET: iglesias@uci
Office of Academic Computing uucp: ...!ucbvax!ucivax!iglesias
Distributed Computing Support phone: (714) 856-6926
^ permalink raw reply [flat|nested] 4+ messages in thread
end of thread, other threads:[~1992-01-29 17:13 UTC | newest]
Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
[not found] <28JAN199210173363@mary.fordham.edu>
1992-01-29 7:22 ` Missing FORTRAN library entries for DEC Fortran for Ultrix RISC Per Steinar Iversen
1992-01-29 16:00 ` Dave Carter
1992-01-29 17:13 ` Mike Iglesias
1992-01-28 9:14 Per Steinar Iversen
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox