[19933] in Athena Bugs
compiling with glade on Solaris fails, no __eprintf?
daemon@ATHENA.MIT.EDU (Derek Atkins)
Sat Oct 27 22:55:47 2001
To: bugs@MIT.EDU
From: Derek Atkins <warlord@MIT.EDU>
Date: 27 Oct 2001 22:55:44 -0400
Message-ID: <sjm3d44a2xb.fsf@rcn.ihtfp.org>
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?
Thanks,
-derek
configure:6137: gcc -o conftest -g -O2 -Wall -Wunused -Wall -Wno-unused -Werror-implicit-function-declaration conftest.c -lglade -Wl,-R/usr/athena/lib -L/usr/athena/lib -L/.srvd/usr/athena/lib -L/usr/openwin/lib -R/usr/openwin/lib -lglade-gnome -lglade -lxml -lz -lgnomeui -lart_lgpl -lgdk_imlib -lSM -lICE -lgtk -lgdk -lgmodule -lXext -lX11 -lsocket -lnsl -lm -lgnome -lgnomesupport -ldb -lglib -ldl -lm 1>&5
Undefined first referenced
symbol in file
__eprintf /usr/athena/lib/libaudiofile.so.0
ld: fatal: Symbol referencing errors. No output written to conftest
collect2: ld returned 1 exit status
configure: failed program was:
#line 6126 "configure"
#include "confdefs.h"
/* Override any gcc2 internal prototype to avoid an error. */
/* We use char because int might match the return type of a gcc2
builtin and then its argument prototype would still apply. */
char glade_init();
int main() {
glade_init()
; return 0; }
--
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