[krbdev.mit.edu #3168] 1.4.2 compilation problem on windows 2000 server with MS visual studio 6.0
sharma via RT
rt-comment at krbdev.mit.edu
Mon Aug 29 14:40:52 EDT 2005
Hi
The new Kerberos 1.4.2 release does not compile on windows 2000 server with
MS Visual Studio 6.0. The old version 1.4.1 does not have any problem during
compilation on the same system.
echo EXPORTS > k5sprt32.def.new
type ..\util\support\libkrb5support.exports >> k5sprt32.def.new
..\config\rm.bat k5sprt32.def
ren k5sprt32.def.new k5sprt32.def
cl -I.\..\include -I.\..\include\krb5 -DKRB5_PRIVATE=1
-DWIN32_LEAN_AND_MEAN -DKRB5_DEPRECATED=1 /Os /MD -n
ologo /W3 -Fdobj\i386\rel\\ -FD /c /DSUPPORTLIB=1
/Foobj\i386\rel\support_glue.obj win_glue.c
win_glue.c
win_glue.c(357) : warning C4013: 'krb5int_thread_detach_hook' undefined;
assuming extern returning int
win_glue.c(419) : warning C4013: 'krb5int_thread_support_init__auxinit'
undefined; assuming extern returning int
win_glue.c(422) : warning C4013: 'krb5int_thread_support_fini' undefined;
assuming extern returning int
rc -I.\..\include -I.\..\include\krb5 -DKRB5_PRIVATE=1
-DWIN32_LEAN_AND_MEAN -DKRB5_DEPRECATED=1 -I.\.. -D_WIN
32 -DRES_ONLY -DSUPPORT_LIB -fo ..\lib\obj\i386\rel\k5sprt32.res -r
..\windows\version.rc
link -nologo -incremental:no -dll -entry:DllMain -base:0x1c000000
/DELAYLOAD:secur32.dll /DELAYLOAD:advapi32.dl
l /DELAY:UNLOAD /DELAY:NOBIND -def:k5sprt32.def
-out:..\lib\obj\i386\rel\k5sprt32.dll ..\util\support\obj\i386\rel\k5sp
rt32.lib obj\i386\rel\support_glue.obj ..\lib\obj\i386\rel\k5sprt32.res
kernel32.lib ws2_32.lib user32.lib shell32.lib o
ldnames.lib version.lib secur32.lib advapi32.lib gdi32.lib delayimp.lib
k5sprt32.def : error LNK2001: unresolved external symbol
krb5int_pthread_loaded
..\lib\obj\i386\rel\k5sprt32.lib : fatal error LNK1120: 1 unresolved
externals
LINK : fatal error LNK1141: failure during build of exports file
NMAKE : fatal error U1077: 'link' : return code '0x475'
Stop.
NMAKE : fatal error U1077: 'C:\PROGRA~1\MICROS~4\VC98\BIN\nmake.exe' :
return code '0x2'
Stop.
gmake: *** [krb32] Error 2
More information about the krb5-bugs
mailing list