🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: comp.os.os2.programmer
Article #1023

Help using f2c

#1023
From: Keith Teague
Date: Mon, 17 Aug 1992 20:46
19 lines
1009 bytes
I have just installed f2c01.zoo from hobbes and am having trouble linking
using the emx version of the gcc 2.1 compiler. I am trying to compile a
fairly simple fortran program originally from vms and am getting four
errors at the link step.

The compile line is gcc -g -o gaussimg.exe gaussimg.c -lf77 -li77

The errors are

e:/apps/mex/lib//libi77.a(err.o): Undefined sysbol _DosSetFileSize referenced
from text segment

followed by the same message for (endfile.o) _DosSetFilePtr, then
(endfile.o) _DosSetFileSize, and finally (open.o) _DosQueryHType

Any help would be appreciated.

Keith Teague
Oklahoma State University
Technical Details
Message-ID: <1992Aug17.204642.9222@a.cs.okstate.edu>
Path: arc1-ca.pugleaf.net!sparky!uunet!wupost!zaphod.mps.ohio-state.edu!darwin.sura.net!convex!constellation!a.cs.okstate.edu!teague

Show Full Headers
Complete Article Headers
Newsgroups: comp.os.os2.programmer
Path: arc1-ca.pugleaf.net!sparky!uunet!wupost!zaphod.mps.ohio-state.edu!darwin.sura.net!convex!constellation!a.cs.okstate.edu!teague
From: teague@a.cs.okstate.edu (Keith Teague)
Subject: Help using f2c 
Message-ID: <1992Aug17.204642.9222@a.cs.okstate.edu>
Organization: Oklahoma State University
Date: Mon, 17 Aug 92 20:46:42 GMT
Lines: 20