Ethereal-dev: [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: Fri, 07 May 2004 12:00:17 +0200
Hi all,

there's currently a name clash for base64_decode() in Ethereal (CVS)
vs. latest Heimdal 0.6.2:

Ethereal CVS:
util.c: size_t base64_decode(char *s)

Heimdal 0.6.2:
lib/roken/base64.c: int base64_decode(const char *str, void *data)

This (obviously) causes linker errors when building libethereal.so
while using --with-krb5 (which brings in Heimdal).

FWIW, util.c's base64_decode seems to be used only rarely
(packet-http.c).

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.


+Thomas

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