home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #27 / NN_1992_27.iso / spool / comp / sys / sgi / 16569 < prev    next >
Encoding:
Text File  |  1992-11-17  |  1.1 KB  |  26 lines

  1. Newsgroups: comp.sys.sgi
  2. Path: sparky!uunet!charon.amdahl.com!pacbell.com!ames!saimiri.primate.wisc.edu!zaphod.mps.ohio-state.edu!pacific.mps.ohio-state.edu!linac!mp.cs.niu.edu!uxa.ecn.bgu.edu!psuvax1!atlantis.psu.edu!news
  3. From: ZHE@ECLX.PSU.EDU (Zhe)
  4. Subject: multi_language compling problem
  5. Message-ID: <dq51Ht=9za@atlantis.psu.edu>
  6. Sender: news@atlantis.psu.edu (Usenet)
  7. Organization: Penn State Engineering Computer Lab
  8. Distribution: usa
  9. Date: Tue, 17 Nov 92 21:48:15 GMT
  10. X-News-Reader: VMS NEWS 1.24
  11. Lines: 13
  12.  
  13. hello, I have some troubles to link a main c program and an subroutine, which
  14. is written in Fortran so I can call an self_defined Fortran math library.
  15. The problem is that when I use cc to link them with all options necessary, such 
  16. as Fortran Libraries, and my math library(I put it in /usr/local/lib), the 
  17. /usr/bin/ld keeps ing that some routines, which I know as some of my math 
  18. library routines, are undefined. Then I extracted those routines into another 
  19. library, then it worked. Could anyone out there explain this ? 
  20.  
  21. The computer I work on is SGI 4d/35. The compilation of both main program and
  22. Fortran routine finished smoothly. 
  23.  
  24. thaks!
  25.  
  26.