[19934] in Athena Bugs

home help back first fref pref prev next nref lref last post

Re: compiling with glade on Solaris fails, no __eprintf?

daemon@ATHENA.MIT.EDU (Greg Hudson)
Sun Oct 28 09:13:42 2001

Message-Id: <200110281413.JAA32271@error-messages.mit.edu>
To: Derek Atkins <warlord@MIT.EDU>
cc: bugs@MIT.EDU
In-Reply-To: Your message of "27 Oct 2001 22:55:44 EDT."
             <sjm3d44a2xb.fsf@rcn.ihtfp.org> 
Date: Sun, 28 Oct 2001 09:13:38 -0500
From: Greg Hudson <ghudson@MIT.EDU>

> I'm trying to compile a glade test (from configure) on a 9.0.18
> sun4x_58 machine (indiana.mit.edu).  Unfortunately it fails because
> of a problem with libaudiofile.  The output from config.log is shown
> below.  Have you heard of or seen this before?  Any idea how to work
> around this problem?

I have seen this problem before.  It can happen when you build with a
library which requires libaudiofile, but don't include -laudiofile on
the link line--libgcc is static and (on Solaris) you can't record
dependencies from a dynamic library to a static one.  So if nothing
else pulled in __eprintf statically, libaudiofile can't find it to
link against.

The workaround is to include -laudiofile in the link line.  Obviously,
it's also a bug that `gnome-config --libs libglade` pulls in esd and
audiofile by reference but not explicitly.  I'll look into that.

home help back first fref pref prev next nref lref last post