home *** CD-ROM | disk | FTP | other *** search
- Path: sparky!uunet!stanford.edu!rutgers!princeton!root
- From: root@cs.Princeton.EDU (V. Visweswaran)
- Newsgroups: comp.sys.hp
- Subject: Re: Need help with Fortran and C
- Keywords: libU77 fortran C
- Message-ID: <1992Sep2.190847.18138@Princeton.EDU>
- Date: 2 Sep 92 19:08:47 GMT
- References: <tghe337.715361025@cdc835>
- Sender: news@Princeton.EDU (USENET News System)
- Organization: Princeton University
- Lines: 32
- Nntp-Posting-Host: titan.princeton.edu
-
- In article <tghe337.715361025@cdc835> tghe337@cdc835.cdc.polimi.it () writes:
- >I'm tryng to call Fortran routines from a C program.
- >The message I receive from the loader is :
- >
- >/bin/ld: Unsatisfied symbols:
- > FTN_WS_STOP (code)
- > FTN_E_WSFE (code)
- > FTN_DO_CHIO (code)
- > U_dDrelease (code)
- > FTN_DO_I4IO (code)
- > FTN_DMOD$ (code)
- > FTN_DO_CHIOA (code)
- > FTN_S_WSFE (code)
- > F77_INDEX (code)
- > FTN_ISIGN (code)
- > STOREIMAGE (code)
- > U_dDget (code)
- >
-
- Linking with libcl.a should do the trick (at least on the 700's.)
- Or else, use f77 (instead of cc) as the loader. This will automatically
- link with the required libraries.
-
-
- Vishy Visweswaran
- viswswrn@titan.princeton.edu
-
- --
- ----------------------
- V. Visweswaran
-
- Bitnet: viswswrn@pucc | Department of Chemical Engineering
-