home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1993 #3 / NN_1993_3.iso / spool / comp / os / os2 / misc / 43473 < prev    next >
Encoding:
Internet Message Format  |  1993-01-21  |  2.2 KB

  1. Path: sparky!uunet!cs.utexas.edu!qt.cs.utexas.edu!yale.edu!newsserver.jvnc.net!netnews.upenn.edu!netnews.cc.lehigh.edu!ns1.cc.lehigh.edu!etl0
  2. From: etl0@ns1.cc.lehigh.edu (ERIC TODD LANDRIEU)
  3. Newsgroups: comp.os.os2.misc
  4. Subject: Re: MSC/C++ 7.0 under OS/2 2.1 Beta problems! Help!
  5. Message-ID: <1993Jan21.203835.129386@ns1.cc.lehigh.edu>
  6. Date: 21 Jan 93 20:38:35 GMT
  7. Organization: Lehigh University
  8. Lines: 38
  9.  
  10. In article <1993Jan20.141304.20841@news.clarkson.edu>, gulla@sun.soe.clarkson.ed
  11. u (Jerry Gulla) writes:
  12. >
  13. >Ok.  I've installed the OS/2 2.1 Beta (went fine) and now I'm trying to
  14. >use Microsoft C/C++.  I open up an emulated DOS dession with
  15. >DOS_DPMI_API set to ENABLED.  My files get compiled OK, but when the
  16. >link stage come about I get:
  17. >
  18. >c:\c700\lib\SLIBCE.LIB(malloc.asm) : fatal error L1101: invalid object module
  19. > pos: 674A Record type: C6
  20. >NMAKE : fatal error U1077: 'LINK' : return code '2'
  21. >Stop.
  22. >
  23. >This is compiling a simple "hello, world" program - nothing fancy.
  24. >Anyone have any ideas?  I've tried running it under a DOS 5 image off my
  25. >C partition.  I can link (once), but no compile!
  26. >
  27. Check to make sure that your program is using the linker that came with MCS,
  28. not the one with OS2.  Since the NMAKE will use your path, it will try to use
  29. the wrong linker if the OS2 directory structure precedes that of MSC in your
  30. autoexec.
  31. A simple way to tell is to check the version number brought up when the linker
  32. executes.  If my mind serves me correct(I can't check right now... My
  33. computer's power supply went out and I'm waiting for its replacement to
  34. arrive), the MSC linker is version 5.30, while the OS2 version is 5.10 or some
  35. derivative of that.  It is not made to handle what the 5.30 does(I got a
  36. similar error until I realized what I'm telling you with LLIBCEW.LIB).
  37. To correct this, either rename one of the linkers or have the C700\BIN
  38. directory first in your AUTOEXEC's PATH.
  39.                                    Eric Landrieu
  40.  
  41.                                    
  42. -- 
  43.  
  44.                ===============================================
  45.                =   Eric Landrieu  =  ETL0@ns1.CC.lehigh.EDU  =
  46.                ===============================================
  47. "I'd be apathetic, but I don't really care about it.
  48.