[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: esd



In message <E14WQRu-0008NX-00@kings-cross.london.uk.eu.org>
          Philip Blundell <philb@gnu.org> wrote:

> gcc  -Wall -O2  -o gtetrinet  client.o commands.o config.o dialogs.o fields.o gtetrinet.o keys.o misc.o partyline.o sound.o tetrinet.o tetris.o winlist.o -rdynamic -L/usr/lib -L/usr/X11R6/lib -rdynamic -lgnomeui -lart_lgpl -lgdk_imlib -lSM -lICE -lgtk -lgdk -lgmodule -lXi -lXext -lX11 -lgnome -lgnomesupport -laudiofile -lm -ldb -lglib -ldl -L/usr/lib -L/usr/X11R6/lib -lgtk -lgdk -rdynamic -lgmodule -lglib -ldl -lXi -lXext -lX11 -lm
> sound.o: In function `sound_cache':
> sound.o(.text+0x44): undefined reference to `esd_sample_free'
> sound.o: In function `sound_playsound':
> sound.o(.text+0xc4): undefined reference to `esd_sample_play'
> collect2: ld returned 1 exit status
> make[2]: *** [gtetrinet] Error 1
> 
> Any guesses what might be up?

gcc  -g -O2  -o gtetrinet  client.o commands.o config.o dialogs.o fields.o gtetr
inet.o keys.o misc.o partyline.o sound.o tetrinet.o tetris.o winlist.o -rdynamic
 -L/usr/lib -L/usr/X11R6/lib -rdynamic -lgnomeui -lart_lgpl -lgdk_imlib -lSM -lI
CE -lgtk -lgdk -lgmodule -lXi -lXext -lX11 -lgnome -lgnomesupport -lesd -laudiof
ile -lm -ldb1 -lglib -ldl -L/usr/lib -L/usr/X11R6/lib -lgtk -lgdk -rdynamic -lgm
odule -lglib -ldl -lXi -lXext -lX11 -lm

Which went ok - obviously, I have -lesd in my link.


Which all suggests something went wrong during configure.   Here's
output from config.log:

configure:1637: checking for esd-config
configure:1672: checking for ESD - version >= 0.2.5
configure:1762: gcc -o conftest -g -O2    conftest.c  -L/usr/lib -lesd -laudiofile -lm 1>&5

And config.status:

s%@GNOME_LIBS@%-lgnome -lgnomesupport -lesd -laudiofile -lm -ldb1 -lglib -ldl%g
s%@GNOMEUI_LIBS@%-rdynamic -lgnomeui -lart_lgpl -lgdk_imlib -lSM -lICE -lgtk -lgdk -lgmodule -lXi -lXext -lX11 -lgnome -lgnomesupport -lesd -laudiofile -lm -ldb1 -lglib -ldl%g
s%@GNOMEGNORBA_LIBS@%-rdynamic -lgnorba -lORBitCosNaming -lORBit -lIIOP -lORBitutil -lgnomeui -lart_lgpl -lgdk_imlib -lSM -lICE -lgtk -lgdk -lgmodule -lXi -lXext -lX11 -lgnome -lgnomesupport -lesd -laudiofile -lm -ldb1 -lglib -ldl%g
s%@GTKXMHTML_LIBS@%-rdynamic -lgtkxmhtml -lXpm -ljpeg -lpng -lz -lSM -lICE -lgtk -lgdk -lgmodule -lglib -ldl -lXi -lXext -lX11 -lm%g
s%@ZVT_LIBS@%-rdynamic -lzvt -lutil -lSM -lICE -lgtk -lgdk -lgmodule -lglib -ldl -lXi -lXext -lX11 -lm%g
s%@GNOME_LIBDIR@%-rdynamic -L/usr/lib -L/usr/X11R6/lib%g
s%@GNOME_INCLUDEDIR@%-I/usr/include -DNEED_GNOMESUPPORT_H -I/usr/lib/gnome-libs/include -I/usr/lib/glib/include%g
s%@GNOME_CONFIG@%/usr/bin/gnome-config%g
s%@ORBIT_CONFIG@%/usr/bin/orbit-config%g
s%@ORBIT_IDL@%/usr/bin/orbit-idl%g
s%@HAVE_ORBIT_TRUE@%%g
s%@HAVE_ORBIT_FALSE@%#%g
s%@ORBIT_CFLAGS@%-I/usr/lib/glib/include -I/usr/include%g
s%@ORBIT_LIBS@%-L/usr/lib -lORBitCosNaming -lORBit -lIIOP -lORBitutil -lglib -lm%g
s%@HAVE_GNORBA_TRUE@%%g
s%@HAVE_GNORBA_FALSE@%#%g
s%@GNORBA_CFLAGS@%-I/usr/include -DNEED_GNOMESUPPORT_H -I/usr/lib/gnome-libs/include -I/usr/lib/glib/include%g
s%@GNORBA_LIBS@%-rdynamic -L/usr/lib -L/usr/X11R6/lib -lgnorba -lORBitCosNaming -lORBit -lIIOP -lORBitutil -lgnomeui -lart_lgpl -lgdk_imlib -lSM -lICE -lgtk -lgdk -lgmodule -lXi -lXext -lX11 -lgnome -lgnomesupport -lesd -laudiofile -lm -ldb1 -lglib -ldl%g
s%@GNOME_APPLETS_LIBS@%%g
s%@GNOME_CAPPLET_LIBS@%%g
s%@ESD_CONFIG@%/usr/bin/esd-config%g
s%@ESD_CFLAGS@%%g
s%@ESD_LIBS@%-L/usr/lib -lesd -laudiofile -lm%g
s%@CPP@%gcc -E%g


----snip--

hth, Peter


-- 
------------------------------------------------------------------------
 Peter Naulls - peter@erble.freeserve.co.uk
 Homepage - http://free.prohosting.com/~chocky/
 Java for RISC OS and ARM - http://www.java.riscos.org.uk/
 Debian Linux on RiscPCs - http://www.erble.freeserve.co.uk/
------------------------------------------------------------------------



Reply to: