Path: utzoo!utgpu!news-server.csri.toronto.edu!cs.utexas.edu!swrinde!zaphod.mps.ohio-state.edu!sdd.hp.com!decwrl!sgi!shinobu!odin!dinkum!calvin From: calvin@dinkum.wpd.sgi.com (Calvin H. Vu) Newsgroups: comp.sys.mips Subject: Re: Undefined Routine with F77 Message-ID: <1990Sep7.201020.29894@odin.corp.sgi.com> Date: 7 Sep 90 20:10:20 GMT References: <1990Sep7.182042.10665@eplrx7.uucp> Sender: news@odin.corp.sgi.com (Net News) Organization: Silicon Graphics, Inc. Mountain View, CA Lines: 17 This problem only arises when your main program is in C and your I/O is done in Fortran. The s_abort() subroutine is defined in libF77.a and used in libI77.a (Don't ask me why but I hope it will be moved to libI77.a soon). Therefore the normal linking sequence ....-lF77 -lI77 ..... won't get s_abort() linked in for you from libF77.a unless your main program is Fortran. Do I make sense ? You can work around it for now by adding -lI77 to your command line. - calvin -- ----------------------------------------------------------------------------- Calvin H. Vu | "We are each of us angels with only one Silicon Graphics Computer Systems | wing. And we can only fly embracing calvin@sgi.com (415) 962-3679 | each other."