[19935] in Athena Bugs
Re: compiling with glade on Solaris fails, no __eprintf?
daemon@ATHENA.MIT.EDU (Derek Atkins)
Sun Oct 28 09:18:20 2001
To: Greg Hudson <ghudson@MIT.EDU>
Cc: bugs@MIT.EDU
From: Derek Atkins <warlord@MIT.EDU>
Date: 28 Oct 2001 09:18:16 -0500
In-Reply-To: Greg Hudson's message of "Sun, 28 Oct 2001 09:13:38 -0500"
Message-ID: <sjmn12b97br.fsf@rcn.ihtfp.org>
Greg Hudson <ghudson@MIT.EDU> writes:
> > 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.
Thanks. I'll see what happens if I add -laudiofile to the LIBS
when I configure.
-derek
--
Derek Atkins, SB '93 MIT EE, SM '95 MIT Media Laboratory
Member, MIT Student Information Processing Board (SIPB)
URL: http://web.mit.edu/warlord/ PP-ASEL-IA N1NWH
warlord@MIT.EDU PGP key available