Path: utzoo!utgpu!jarvis.csri.toronto.edu!rutgers!cs.utexas.edu!csd4.csd.uwm.edu!uxc.cso.uiuc.edu!uxc.cso.uiuc.edu!ux1.cso.uiuc.edu!uxe.cso.uiuc.edu!mcnabb From: mcnabb@uxe.cso.uiuc.edu Newsgroups: comp.lang.fortran Subject: SUN F77 system & _units Message-ID: <50500146@uxe.cso.uiuc.edu> Date: 28 Aug 89 20:10:00 GMT Lines: 18 Nf-ID: #N:uxe.cso.uiuc.edu:50500146:000:867 Nf-From: uxe.cso.uiuc.edu!mcnabb Aug 28 15:10:00 1989 [My apologies if this has been discussed here recently or if readers find this a bit obscure; I rarely read this news group.] I am unable to link a SUN F77 program which contains a call to the "system" library routine (this takes a string and calls the program as if you had sent a command line to a shell). I was also not able to use a C routine to make the call for the F77 program. In both cases I get a message about "_units" being undefined. The C routine is fine by itself, as is the F77 program with a dummy C routine. I have tried all sorts of library combinations, RTFM, etc. to no avail. Any ideas about what I'm doing wrong or how to get around the problem? Suggestions on how I might find an answer would also be very welcome. Please email replies to mcnabb@ncsa.uiuc.edu -- Thanks! David McNabb National Center for Supercomputing Applications