home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #18 / NN_1992_18.iso / spool / comp / os / os2 / programm / 4271 < prev    next >
Encoding:
Text File  |  1992-08-17  |  982 b   |  30 lines

  1. Newsgroups: comp.os.os2.programmer
  2. Path: sparky!uunet!wupost!zaphod.mps.ohio-state.edu!darwin.sura.net!convex!constellation!a.cs.okstate.edu!teague
  3. From: teague@a.cs.okstate.edu (Keith Teague)
  4. Subject: Help using f2c 
  5. Message-ID: <1992Aug17.204642.9222@a.cs.okstate.edu>
  6. Organization: Oklahoma State University
  7. Date: Mon, 17 Aug 92 20:46:42 GMT
  8. Lines: 20
  9.  
  10. I have just installed f2c01.zoo from hobbes and am having trouble linking
  11. using the emx version of the gcc 2.1 compiler. I am trying to compile a
  12. fairly simple fortran program originally from vms and am getting four
  13. errors at the link step.
  14.  
  15. The compile line is gcc -g -o gaussimg.exe gaussimg.c -lf77 -li77
  16.  
  17. The errors are
  18.  
  19. e:/apps/mex/lib//libi77.a(err.o): Undefined sysbol _DosSetFileSize referenced
  20. from text segment
  21.  
  22. followed by the same message for (endfile.o) _DosSetFilePtr, then
  23. (endfile.o) _DosSetFileSize, and finally (open.o) _DosQueryHType
  24.  
  25. Any help would be appreciated.
  26.  
  27. Keith Teague
  28. Oklahoma State University
  29.  
  30.