[comp.windows.ms] Linking Problem with SDK 3.0 Sample Codes

batman@watsci.uwaterloo.ca (Marcell Stoer) (07/31/90)

When linking the generic sample codes that came with SDK 3.0
with link v3.65 (the one that comes with Microsoft Compiler v5.1),
got unresolved externals error.  The unresolved functions are the
ones in c:\windev\lib\libw.lib.  The LIB environment variable is
set to c:\windev\lib;c:cl\lib.
Can anybody help me?

t35051t@taltta.hut.fi (Sami Kivilaakso) (07/31/90)

In article <1990Jul31.033448.8929@watserv1.waterloo.edu> batman@watsci.uwaterloo.ca (Marcell Stoer) writes:
>When linking the generic sample codes that came with SDK 3.0
>with link v3.65 (the one that comes with Microsoft Compiler v5.1),
>got unresolved externals error.  The unresolved functions are the
>ones in c:\windev\lib\libw.lib.  The LIB environment variable is
>set to c:\windev\lib;c:cl\lib.
>Can anybody help me?

	You need to use Microsoft Segmented-Executable Linker
	( v5.01.21 ) instead. It is also included in your
	MSC 5.1 compiler disks. You'll find it on one of the
	Utility-disks.

--
****************************************************************************
	Sami Kivilaakso		

Email:	t35051t@taltta.hut.fi	kivilaak@tnclus.tele.nokia.fi
****************************************************************************
*****************************************************************************
Sami Kivilaakso		    !	Jos joskus kohtaat antimateriaa olevan anti-
- ski@niksula.hut.fi 	    ! 	ihmisen, {l{ paiskaa h{nen kanssaan k{tt{.
- t35051t@taltta.hut.fi	    !		            - Stephen W. Hawking

poffen@sj.ate.slb.com (Russ Poffenberger) (08/01/90)

In article <1990Jul31.033448.8929@watserv1.waterloo.edu> batman@watsci.uwaterloo.ca (Marcell Stoer) writes:
>When linking the generic sample codes that came with SDK 3.0
>with link v3.65 (the one that comes with Microsoft Compiler v5.1),
>got unresolved externals error.  The unresolved functions are the
>ones in c:\windev\lib\libw.lib.  The LIB environment variable is
>set to c:\windev\lib;c:cl\lib.
>Can anybody help me?


As has been stated here recently, there are TWO linkers on the MSC 5.1 disks.
You need the other one. The installation should have copied it as "link4".

Note that the MSC 6.0 distribution only has one linker, the correct one.


Russ Poffenberger               DOMAIN: poffen@sj.ate.slb.com
Schlumberger Technologies       UUCP:   {uunet,decwrl,amdahl}!sjsca4!poffen
1601 Technology Drive		CIS:	72401,276
San Jose, Ca. 95110             (408)437-5254