Ethereal-dev: Re: [Ethereal-dev] Re: [Ethereal-users] Compile Problem

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

From: Guy Harris <gharris@xxxxxxxxx>
Date: Wed, 23 Oct 2002 19:57:40 -0700
On Thu, Oct 24, 2002 at 02:04:27AM +0200, Joerg Mayer wrote:
> make distclean
> ./autogen.sh --enable-static=yes --enable-shared=no --enable-usr-local=no
> make
> 
> dies as follows (just the last few error messages):
> 
> plugins/mgcp/.libs/mgcp.a(packet-mgcp.o): In function `plugin_reg_handoff':
> /home/jmayer/work/ethereal/ethereal/plugins/mgcp/packet-mgcp.c:1245: multiple definition of `plugin_reg_handoff'

I have the impression the libtool developers consider it necessary, for
some unknown reason, to do more build-time linking of shared objects
than I would naively think necessary (i.e., why not just build the
object file or files for the shared object, link them together with
whatever flags the platform in question specifies for building a shared
object, rather than doing all the contortions they appear to do at
times?).

This (and perhaps the HP-UX problem) might be a consequence of that. 
There may be a way to tell libtool not to do that, but I don't know what
it is, offhand.