home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #19 / NN_1992_19.iso / spool / comp / sys / hp / 9976 < prev    next >
Encoding:
Internet Message Format  |  1992-09-02  |  1.2 KB

  1. Path: sparky!uunet!stanford.edu!rutgers!princeton!root
  2. From: root@cs.Princeton.EDU (V. Visweswaran)
  3. Newsgroups: comp.sys.hp
  4. Subject: Re: Need help with Fortran and C
  5. Keywords: libU77 fortran C
  6. Message-ID: <1992Sep2.190847.18138@Princeton.EDU>
  7. Date: 2 Sep 92 19:08:47 GMT
  8. References: <tghe337.715361025@cdc835>
  9. Sender: news@Princeton.EDU (USENET News System)
  10. Organization: Princeton University
  11. Lines: 32
  12. Nntp-Posting-Host: titan.princeton.edu
  13.  
  14. In article <tghe337.715361025@cdc835> tghe337@cdc835.cdc.polimi.it () writes:
  15. >I'm tryng to call Fortran routines from a C program.
  16. >The message I receive from the loader is : 
  17. >
  18. >/bin/ld: Unsatisfied symbols:
  19. >   FTN_WS_STOP (code)
  20. >   FTN_E_WSFE (code)
  21. >   FTN_DO_CHIO (code)
  22. >   U_dDrelease (code)
  23. >   FTN_DO_I4IO (code)
  24. >   FTN_DMOD$ (code)
  25. >   FTN_DO_CHIOA (code)
  26. >   FTN_S_WSFE (code)
  27. >   F77_INDEX (code)
  28. >   FTN_ISIGN (code)
  29. >   STOREIMAGE (code)
  30. >   U_dDget (code)
  31. >
  32.  
  33. Linking with libcl.a should do the trick (at least on the 700's.) 
  34. Or else, use f77 (instead of cc) as the loader. This will automatically
  35. link with the required libraries.
  36.  
  37.  
  38. Vishy Visweswaran
  39. viswswrn@titan.princeton.edu
  40.  
  41. --
  42. ----------------------
  43. V. Visweswaran
  44.  
  45. Bitnet: viswswrn@pucc                      | Department of Chemical Engineering
  46.