Re: [LAU] new Hexter

From: Adam Sampson <ats@email-addr-hidden>
Date: Fri Nov 02 2012 - 16:56:29 EET

On Fri, Nov 02, 2012 at 06:37:50AM -0500, S C Rigler wrote:
> /usr/bin/ld: hexter_gtk-gui_widgy_editor.o: undefined reference to
> symbol '__expf_finite@@GLIBC_2.15'

That's a missing -lm -- here's a patch:

diff -ru tmp/hexter-1.0.0/src/Makefile.am work/hexter-1.0.0/src/Makefile.am
--- tmp/hexter-1.0.0/src/Makefile.am 2011-02-25 22:49:39.000000000 +0000
+++ work/hexter-1.0.0/src/Makefile.am 2012-11-02 14:31:12.143000002 +0000
@@ -41,7 +41,7 @@
 
 hexter_gtk_CFLAGS = @GTK_CFLAGS@ $(AM_CFLAGS) @ALSA_CFLAGS@
 
-hexter_gtk_LDADD = @GTK_LIBS@ @ALSA_LIBS@
+hexter_gtk_LDADD = @GTK_LIBS@ @ALSA_LIBS@ -lm
 
 hexter_text_SOURCES = \
         ../extra/textui_main.c \

(You'll need to do "autoreconf -vfi" to regenerate the Makefiles, etc.)

-- 
Adam Sampson <ats@email-addr-hidden>                         <http://offog.org/>
_______________________________________________
Linux-audio-user mailing list
Linux-audio-user@email-addr-hidden
http://lists.linuxaudio.org/listinfo/linux-audio-user
Received on Fri Nov 2 20:15:01 2012

This archive was generated by hypermail 2.1.8 : Fri Nov 02 2012 - 20:15:01 EET