Ethereal-dev: Re: [Ethereal-dev] base64_decode name clash (util.c vs. Heimdal w/--with-krb5)

Note: This archive is from the project's previous web site, ethereal.com. This list is no longer active.

From: Thomas Anders <thomas.anders@xxxxxxxxxxxxx>
Date: Mon, 10 May 2004 15:02:32 +0200
Olivier Biot wrote:
Is the heimdal function effectively announced and used in the API or
is it only exported by accident?

To quote a Heimdal core developer (Love) on this:

"Almost all functions in libroken pollute the namespace, its not every
 good and we are (very very) slowly fixing that problem.
 Thus, its not exported by accident."

| Somewhat related: "--with-krb5" causes the Heimdal libs to be
| (unnecessarily) linked into libdfilter and libftypes. This also
| breaks building libethereal.so ("multiple definition of ..."),
| but can be fixed easily by trimming "LIBS=" in the corresponding
| Makefiles.

All Makefile.in files (but the one in wiretap) seem to be contaminated
with:
    KRB5_CONFIG = @KRB5_CONFIG@
    KRB5_LIBS = @KRB5_LIBS@
However only one actually uses it:
    $ grep 'KRB5_LIBS' epan/Makefile.in
    KRB5_LIBS = @KRB5_LIBS@
    libethereal_la_LIBADD = @INET_ATON_O@ @INET_PTON_O@ @INET_NTOP_O@
dfilter/libdfilter.la ftypes/libftypes.la @KRB5_LIBS@

AC_ETHEREAL_KRB5_CHECK already does:

  LIBS="$LIBS $KRB5_LIBS"

which seems to cause the problems I mentioned.


+Thomas

--
Thomas Anders (thomas.anders at blue-cable.de)