problems building kfw 2.6.5

David Rosenstrauch darose at darose.net
Tue May 13 08:15:44 EDT 2008


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.)

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 ...

... and dies again later:

[08/05/13 08:11:38]     link /nologo -nologo -incremental:no 
/map:obj\i386\rel\krb5.map /out:obj\i386\rel\krb5.exe 
obj\i386\rel\cns.obj obj\i386\rel\t
ktlist.obj obj\i386\rel\password.obj obj\i386\rel\options.obj 
obj\i386\rel\cnsres5.res obj\i386\rel\kpasswd.obj 
obj\i386\rel\cns_reg.obj  ..\..\lib\ob
j\i386\rel\krb5_32.lib ..\..\lib\obj\i386\rel\comerr32.lib 
../lib/obj\i386\rel\libwin.lib kernel32.lib ws2_32.lib user32.lib 
gdi32.lib advapi32.lib
[08/05/13 08:11:39] libwin.lib(vardlg.obj) : error LNK2001: unresolved 
external symbol __ftol2
[08/05/13 08:11:39] obj\i386\rel\krb5.exe : fatal error LNK1120: 1 
unresolved externals
[08/05/13 08:11:39] NMAKE : fatal error U1077: 'link' : return code '0x460'
[08/05/13 08:11:39] Stop.
[08/05/13 08:11:39] NMAKE : fatal error U1077: 
'C:\PROGRA~1\MICROS~3\VC98\BIN\NMAKE.EXE' : return code '0x2'
[08/05/13 08:11:39] Stop.
[08/05/13 08:11:39] NMAKE : fatal error U1077: 
'C:\PROGRA~1\MICROS~3\VC98\BIN\NMAKE.EXE' : return code '0x2'
[08/05/13 08:11:39] Stop.
[08/05/13 08:11:39] NMAKE : fatal error U1077: 
'C:\PROGRA~1\MICROS~3\VC98\BIN\NMAKE.exe' : return code '0x2'
[08/05/13 08:11:39] Stop.


My paths and tools look as follows:

PATH=C:\PROGRA~1\MICROS~3\Common\msdev98\BIN;C:\PROGRA~1\MICROS~3\VC98\BIN;C:\PROGRA~1\MICROS~3\Common\TOOLS\WINNT;C:\PROGRA~1\MICROS~3\Common\TOOLS;C
:\Perl\site\bin;C:\Perl\bin;C:\WINDOWS\system32;C:\WINDOWS;C:\WINDOWS\System32\Wbem;C:\Program 
Files\cvsnt;c:\cygwin\bin;c:\Program Files\HTML Help Wo
rkshop\

INCLUDE=c:\Program Files\Microsoft 
SDK\Include;C:\PROGRA~1\MICROS~3\VC98\ATL\INCLUDE;C:\PROGRA~1\MICROS~3\VC98\INCLUDE;C:\PROGRA~1\MICROS~3\VC98\MFC\I
NCLUDE
LIB=c:\Program Files\Microsoft 
SDK\lib;C:\PROGRA~1\MICROS~3\VC98\LIB;C:\PROGRA~1\MICROS~3\VC98\MFC\LIB

COMPILER: "C:\PROGRA~1\MICROS~3\VC98\BIN\cl.exe"

LINKER: "C:\PROGRA~1\MICROS~3\VC98\BIN\link.exe"

LIB: "C:\PROGRA~1\MICROS~3\VC98\BIN\lib.exe"

NMAKE: "C:\PROGRA~1\MICROS~3\VC98\BIN\nmake.exe"

PERL: "C:\Perl\bin\perl.exe"

sed: "c:\cygwin\bin\sed.exe"

awk: "c:\cygwin\bin\gawk.exe"

MessageCompiler: "C:\PROGRA~1\MICROS~3\VC98\BIN\mc.exe"

ResourceCompiler: "C:\PROGRA~1\MICROS~3\Common\msdev98\BIN\rc.exe"


Anyone have any idea what these problems might be and/or workarounds? 
Is it even still possible to build kfw2.6.5 against vc6 these days?

Thanks,

DR



More information about the kfwdev mailing list