Usenet comp.sys.dec (1990-2013)
 help / color / mirror / Atom feed
From: iversen@dsfys1.fi.uib.no (Per Steinar Iversen)
Subject: Re: Missing FORTRAN library entries for DEC Fortran for Ultrix RISC
Date: 29 Jan 92 07:22:09 GMT	[thread overview]
Message-ID: <1992Jan29.072209.19472@alf.uib.no> (raw)
In-Reply-To: 28JAN199210173363@mary.fordham.edu



|>>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                 !                                                     !
+------------------------------------------------------------------------------+


       reply	other threads:[~1992-01-29  7:22 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <28JAN199210173363@mary.fordham.edu>
1992-01-29  7:22 ` Per Steinar Iversen [this message]
1992-01-29 16:00   ` Missing FORTRAN library entries for DEC Fortran for Ultrix RISC Dave Carter
1992-01-29 17:13   ` Mike Iglesias
1992-01-28  9:14 Per Steinar Iversen
read-only archive

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox