Date: Fri, 28 Jan 94 10:24:01 +0100 From: torsten DOT porwol AT mpi-dortmund DOT mpg DOT de (T.Porwol) To: djgpp AT sun DOT soe DOT clarkson DOT edu Subject: Re: library functions :rick AT emailhost DOT ait DOT ac DOT th My mailer does not like your address: I send it to the list server. > From daemon Thu Jan 27 15:56:02 1994 > Date: Thu, 27 Jan 1994 21:59:38 +0800 (SST) > From: Rick Whisenand > Subject: Re: library functions > To: "T.Porwol" > Mime-Version: 1.0 > Content-Type> : > TEXT/PLAIN> ; > charset=US-ASCII> > Content-Length: 571 > > > > > If I remember things correctly the problem you are facing is due to > > a header file in the libI77 part of f2c. Just look for the definitions > > if DOS or MSDOS are defined. If MSDOS or DOS is defined open() is redefined > > as _open(). Hope this helps if not let me know and I will check it on the > > weekend. > > > Yeah, the module open.c is under subdirectory libI77. I've tried > defining MSDOS in fio.h and rawio.h which contain the clause #if define > MSDOS. Nevertheless, the same errors are still there. Hope to share your > experience in porting f2c to DOS. > > Regards, > Check libI77/rawio.h thats the source of your problems. The fixing is obvious: you have to undefine MSDOS in rawio.h !!!!!