[22195] in Kerberos
Re: export private interface "krb5_set_default_tgs_ktypes" defined
daemon@ATHENA.MIT.EDU (Ken Raeburn)
Mon Aug 16 12:50:17 2004
In-Reply-To: <24340ABC3CDA1743BA3E3247CB2B18A850BA04@usexmail02.us.trendnet.org>
Mime-Version: 1.0 (Apple Message framework v619)
Content-Type: text/plain; charset=US-ASCII; format=flowed
Message-Id: <1523D22E-EFA4-11D8-A697-000A95909EE2@mit.edu>
Content-Transfer-Encoding: 7bit
From: Ken Raeburn <raeburn@mit.edu>
Date: Mon, 16 Aug 2004 12:48:21 -0400
To: <peter_yen@trendmicro.com>
cc: "'kerberos@mit.edu'" <kerberos@mit.edu>
cc: "<krbdev@mit.edu>" <krbdev@mit.edu>
Errors-To: kerberos-bounces@mit.edu
On Aug 12, 2004, at 18:48, <peter_yen@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
________________________________________________
Kerberos mailing list Kerberos@mit.edu
https://mailman.mit.edu/mailman/listinfo/kerberos