unresolved external symbol __imp__GSS_C_NT_HOSTBASED_SERVICE for kerberos 1.3 windows version
Kent_Wu@trendmicro.com
Kent_Wu at trendmicro.com
Tue Jul 15 21:42:45 EDT 2003
Hi,
I tried to build a sample windows program by using kerberos 1.3 win version, in this program I use gss_import_name() and it takes (gss_OID) GSS_C_NT_HOSTBASED_SERVICE as a parameter. However during the link time it always complains as subject title. I "dumpbin/exports" all the .lib (gssapi32.lib, krb5_32.lib, comerr32.lib and xpprof32.lib) however none of them contains this symbol. The odd thing is it's declared in the header file and it's definition is in gssapi_generic.c actually so supposedly it should be somewhere unless I built the libraries wrong. However I pretty much followed the build instruction in README under /src/windows.
Right now I can copy the definition from gss_generic.c to my file and make it work however I'm wondering I might miss something here. Any idea?
Thx.
Kent
More information about the Kerberos
mailing list