Path: utzoo!attcan!uunet!husc6!rutgers!mailrus!cornell!uw-beaver!rice!sun-spots-request From: phaneuf@ireqs3.UUCP (Daniel Phaneuf) Newsgroups: comp.sys.sun Subject: System calls in SunFortran 1.1 under SunOS4.0? Message-ID: <8811112143.AA00574@c50.> Date: 23 Nov 88 03:00:42 GMT Sender: usenet@rice.edu Reply-To: Sun-Spots@Rice.edu Organization: Rice University, Houston, Texas Lines: 40 Approved: Sun-Spots@rice.edu Original-Date: Fri, 11 Nov 88 16:43:18 EST X-Sun-Spots-Digest: Volume 7, Issue 23, message 4 of 12 I wonder if anyone could help me with the following "known" problem. We are porting all our software written in Fortran on a new SUN 4/280 running SunOS 4.0 and there seems to be no way to make system calls!!! Try to compile the following fortran program: program test call system('pwd') stop end and then f77 test.f, you will get the following error message: test.f MAIN test: ld: Undefined symbol _units Is there a patch out there for the libU77.a or is there a way to define _units. I tried to define it in a small c program and it worked properly but we have tried it with a more complex program and it blows up at execution time. I don't understand how a company like Sun Microsystems can release such an incomplete product without even testing it. Note: This problem is known and documented in the Software Technical Bulletin of September 1988 page 1875 but there is no work around. I have also called the Sun Hotline in California but I am still waiting for them to reply. Thanks in advance, Daniel Phaneuf, Institut de Recherche d'Hydro-Quebec, (Hydro-Quebec Research Institute) 1800 Montee Ste-Julie, Varennes, P. Quebec, Canada, J0L 2P0 Tel.: 514-652-8074 Fax.: 514-652-8180 UUCP: ...ireqs3!phaneuf phaneuf@ireqs3.uucp