Ethereal-dev: Re: [Ethereal-dev] shared libethereal - take 5

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, 10 Mar 2004 23:46:37 -0800
On Tue, Mar 09, 2004 at 11:35:32AM +0100, Joerg Mayer wrote:
> On Tue, Mar 09, 2004 at 01:48:10AM -0800, Guy Harris wrote:
> > Well, it builds - with some dissector changes that I just checked in,
> > making some variables used only in the modules in question static to the
> > modules.  I do get some warnings:
> > 
> > 	ld: warning multiple definitions of symbol _locale_charset
> > 	/usr/lib/libiconv.dylib(localcharset.o) definition of _locale_charset
> > 	/usr/local/lib/libintl.dylib(localcharset.o) definition of
> > 	    _locale_charset
> 
> That looks like a problem in the MacOS X library structure (not that this
> would help in case Ethereal wasn't working because of this).

It's probably a problem due to GLib requiring -lintl and both -lintl and
the system's -liconv containing implementations of "local_charset()".

It appears to work, however.

> > as well as a lot of
> > 
> > 	gcc: unrecognized option `-pthreads'  
> 
> That's quite likely a bug in the package installation of glib2 (or whichever
> packet tells us to use -pthreads).

It's probably either libtool or pkg-config.