Date: Sat, 29 Jan 1994 13:33:55 -0500 (EST) From: Myron Sussman To: djgpp AT sun DOT soe DOT clarkson DOT edu Subject: f2c library errors I, too, have been trying to port f2c to DOS. The error I see is that with the libI77 source as delivered from netlib, _open and _close are unsatisfied. The reason for this is (as T. Porwol and others have noted) is that "open" is redefined as "_open" in libI77 in rawio.h. HOWEVER, if I #undef open in open.c OR if I turn off the #def open _open in rawio.h, then I get execution errors when I try to open a file, either with the explicit Fortran open statement or implicitly with a write(1... statement. If I #undef MSDOS in rawio.h, then read and write are multiply defined. I am not a C programmer or a DOS wizard. I would appreciate any help anyone can give. ----------------