home *** CD-ROM | disk | FTP | other *** search
- Newsgroups: comp.sys.sgi
- 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
- From: ZHE@ECLX.PSU.EDU (Zhe)
- Subject: multi_language compling problem
- Message-ID: <dq51Ht=9za@atlantis.psu.edu>
- Sender: news@atlantis.psu.edu (Usenet)
- Organization: Penn State Engineering Computer Lab
- Distribution: usa
- Date: Tue, 17 Nov 92 21:48:15 GMT
- X-News-Reader: VMS NEWS 1.24
- Lines: 13
-
- hello, I have some troubles to link a main c program and an subroutine, which
- is written in Fortran so I can call an self_defined Fortran math library.
- The problem is that when I use cc to link them with all options necessary, such
- as Fortran Libraries, and my math library(I put it in /usr/local/lib), the
- /usr/bin/ld keeps ing that some routines, which I know as some of my math
- library routines, are undefined. Then I extracted those routines into another
- library, then it worked. Could anyone out there explain this ?
-
- The computer I work on is SGI 4d/35. The compilation of both main program and
- Fortran routine finished smoothly.
-
- thaks!
-
-