home *** CD-ROM | disk | FTP | other *** search
- 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
- From: etl0@ns1.cc.lehigh.edu (ERIC TODD LANDRIEU)
- Newsgroups: comp.os.os2.misc
- Subject: Re: MSC/C++ 7.0 under OS/2 2.1 Beta problems! Help!
- Message-ID: <1993Jan21.203835.129386@ns1.cc.lehigh.edu>
- Date: 21 Jan 93 20:38:35 GMT
- Organization: Lehigh University
- Lines: 38
-
- In article <1993Jan20.141304.20841@news.clarkson.edu>, gulla@sun.soe.clarkson.ed
- u (Jerry Gulla) writes:
- >
- >Ok. I've installed the OS/2 2.1 Beta (went fine) and now I'm trying to
- >use Microsoft C/C++. I open up an emulated DOS dession with
- >DOS_DPMI_API set to ENABLED. My files get compiled OK, but when the
- >link stage come about I get:
- >
- >c:\c700\lib\SLIBCE.LIB(malloc.asm) : fatal error L1101: invalid object module
- > pos: 674A Record type: C6
- >NMAKE : fatal error U1077: 'LINK' : return code '2'
- >Stop.
- >
- >This is compiling a simple "hello, world" program - nothing fancy.
- >Anyone have any ideas? I've tried running it under a DOS 5 image off my
- >C partition. I can link (once), but no compile!
- >
- Check to make sure that your program is using the linker that came with MCS,
- not the one with OS2. Since the NMAKE will use your path, it will try to use
- the wrong linker if the OS2 directory structure precedes that of MSC in your
- autoexec.
- A simple way to tell is to check the version number brought up when the linker
- executes. If my mind serves me correct(I can't check right now... My
- computer's power supply went out and I'm waiting for its replacement to
- arrive), the MSC linker is version 5.30, while the OS2 version is 5.10 or some
- derivative of that. It is not made to handle what the 5.30 does(I got a
- similar error until I realized what I'm telling you with LLIBCEW.LIB).
- To correct this, either rename one of the linkers or have the C700\BIN
- directory first in your AUTOEXEC's PATH.
- Eric Landrieu
-
-
- --
-
- ===============================================
- = Eric Landrieu = ETL0@ns1.CC.lehigh.EDU =
- ===============================================
- "I'd be apathetic, but I don't really care about it.
-