From mboxrd@z Thu Jan 1 00:00:00 1970 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 10b612,eb7488348f860716 X-Google-Attributes: gid10b612,public X-Google-Thread: 1094ba,eb7488348f860716 X-Google-Attributes: gid1094ba,public X-Google-Thread: 1164f8,eb7488348f860716 X-Google-Attributes: gid1164f8,public X-Google-ArrivalTime: 1992-01-29 05:13:57 PST Xref: sparky comp.lang.fortran:1086 comp.sys.dec:1383 comp.unix.ultrix:2251 Path: sparky!uunet!mcsun!news.funet.fi!sunic!ugle.unit.no!alf.uib.no!dsfys1.fi.uib.no!iversen From: iversen@dsfys1.fi.uib.no (Per Steinar Iversen) Newsgroups: comp.lang.fortran,comp.sys.dec,comp.unix.ultrix Subject: Re: Missing FORTRAN library entries for DEC Fortran for Ultrix RISC Message-ID: <1992Jan29.072209.19472@alf.uib.no> Date: 29 Jan 92 07:22:09 GMT References: <28JAN199210173363@mary.fordham.edu> Sender: iversen@vsfys1.fi.uib.no (Per Steinar Iversen) Reply-To: iversen@vsfys1.fi.uib.no Organization: Department of Physics, University of Bergen, Norway |>>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 ! ! +------------------------------------------------------------------------------+