problems building kfw 2.6.5

David Rosenstrauch darose at darose.net
Tue May 13 10:52:21 EDT 2008


Jeffrey Altman wrote:
> David Rosenstrauch wrote:
>> Hi.  Having trouble trying to build the old kfw 2.6.5, and running 
>> into a few problems.  (I need to build against the older version since 
>> I need to build for VC6.)
> VC6 built applications can load DLLs produced with VS7 or VS8.


Well ... sort of.  They can, but they're then dependent on the VC7 
libraries (e.g., msvcr70.dll).  I'm trying to build it against VC6 so 
that it'll only be dependent on that (e.g., MSVCP60.DLL).


>> First, several of the awk steps appear to be dying, throwing up a 
>> dialog box saying "The NTVDM CPU has encountered an illegal 
>> instruction".  (The awk I'm using is from cygwin; appears to be gawk 
>> v3.1.6-1.)  If I click the "close" button on the dialogs, the build 
>> then continues on ...
> NTVDM is the 16-bit DOS compatibility environment.  Be sure to use a 
> 32-bit version of
> gawk.


Turns out that using cygwin awk is a no-no:

http://cygwin.com/ml/cygwin/2004-05/msg00377.html

I grabbed Kernighan's awk, and that seemed to clear this up.


Still stuck on the link errors though.

Against VC6:

[08/05/13 10:47:35] libwin.lib(vardlg.obj) : error LNK2001: unresolved 
external symbol __ftol2


Against VC71:

[08/05/13 10:48:57] kuser.lib(delaydlls.obj) : error LNK2019: unresolved 
external symbol ___FUnloadDelayLoadedDLL at 4 referenced in function 
_DelayLoadD llsLoad


Ideas?

Thanks,

DR



More information about the kfwdev mailing list