export private interface "krb5_set_default_tgs_ktypes" defined in krb5.h
Ken Raeburn
raeburn at MIT.EDU
Mon Aug 16 12:48:21 EDT 2004
On Aug 12, 2004, at 18:48, <peter_yen at trendmicro.com> wrote:
> I have tried to build up the MIT Krb-1.3.4 on Windows to export the
> private interface "krb5_set_default_tgs_ktypes" declared in
First of all, why do you need it exported? As you note, it is marked
"private", and you shouldn't be surprised if such declarations or even
the functions disappear or have different signatures in some future
version.
> added the compiled libraries into my VC6.0 project linker settings.
> Unfortunately, it still gives me error such as "error LNK2001:
> unresolved external symbol _krb5_set_default_tgs_ktypes". I am pretty
> sure that I have included the libraries(comerr32.lib, gssapi32.lib,
> krb532.lib, xpprof32.lib) in my linker settings but it still cannot
> work. Is there anything I missed out? I'd appreciate your kind help a
> lot. Thanks.
The library would need to be rebuilt after you update krb5_32.def,
which lists all the symbols to be exported. And your rebuilt library
would have to be used by anyone using your application, because it
wouldn't be compatible with the standard KfW DLLs.
Ken
More information about the Kerberos
mailing list