diff -rupN lash-0.5.4.old/clients/control/Makefile.am lash-0.5.4/clients/control/Makefile.am
--- lash-0.5.4.old/clients/control/Makefile.am	2007-01-13 13:20:03.000000000 -0500
+++ lash-0.5.4/clients/control/Makefile.am	2010-02-10 03:08:04.000000000 -0500
@@ -18,6 +18,6 @@ lash_control_CFLAGS = $(LASH_CFLAGS)
 
 lash_control_LDADD = \
 	$(top_builddir)/liblash/liblash.la \
-	$(LASH_LIBS) @READLINE_LIBS@
+	$(LASH_LIBS) @READLINE_LIBS@ -luuid
 
 endif
diff -rupN lash-0.5.4.old/clients/control/Makefile.in lash-0.5.4/clients/control/Makefile.in
--- lash-0.5.4.old/clients/control/Makefile.in	2007-11-14 17:00:09.000000000 -0500
+++ lash-0.5.4/clients/control/Makefile.in	2010-02-10 03:09:26.000000000 -0500
@@ -236,7 +236,7 @@ AM_CPPFLAGS = -I$(top_srcdir)
 @HAVE_READLINE_TRUE@lash_control_CFLAGS = $(LASH_CFLAGS)
 @HAVE_READLINE_TRUE@lash_control_LDADD = \
 @HAVE_READLINE_TRUE@	$(top_builddir)/liblash/liblash.la \
-@HAVE_READLINE_TRUE@	$(LASH_LIBS) @READLINE_LIBS@
+@HAVE_READLINE_TRUE@	$(LASH_LIBS) @READLINE_LIBS@ -luuid
 
 all: all-am
 
diff -rupN lash-0.5.4.old/clients/panel/Makefile.am lash-0.5.4/clients/panel/Makefile.am
--- lash-0.5.4.old/clients/panel/Makefile.am	2005-09-13 01:22:59.000000000 -0400
+++ lash-0.5.4/clients/panel/Makefile.am	2010-02-10 03:17:10.000000000 -0500
@@ -13,7 +13,7 @@ lash_panel_CFLAGS = \
 
 lash_panel_LDADD = \
 	$(top_builddir)/liblash/liblash.la \
-	$(GTK2_LIBS)
+	$(GTK2_LIBS) -luuid
 
 if HAVE_GTK2
   bin_PROGRAMS = lash_panel
diff -rupN lash-0.5.4.old/clients/panel/Makefile.in lash-0.5.4/clients/panel/Makefile.in
--- lash-0.5.4.old/clients/panel/Makefile.in	2007-11-14 17:00:09.000000000 -0500
+++ lash-0.5.4/clients/panel/Makefile.in	2010-02-10 03:17:23.000000000 -0500
@@ -230,7 +230,7 @@ lash_panel_CFLAGS = \
 
 lash_panel_LDADD = \
 	$(top_builddir)/liblash/liblash.la \
-	$(GTK2_LIBS)
+	$(GTK2_LIBS) -luuid
 
 all: all-am
 
diff -rupN lash-0.5.4.old/clients/synth/Makefile.am lash-0.5.4/clients/synth/Makefile.am
--- lash-0.5.4.old/clients/synth/Makefile.am	2005-09-13 01:22:59.000000000 -0400
+++ lash-0.5.4/clients/synth/Makefile.am	2010-02-10 03:22:39.000000000 -0500
@@ -20,4 +20,4 @@ lash_synth_LDADD = \
 	$(JACK_LIBS) \
 	$(ALSA_LIBS) \
 	$(GTK2_LIBS) \
-	-lpthread
+	-lpthread -lm
diff -rupN lash-0.5.4.old/clients/synth/Makefile.in lash-0.5.4/clients/synth/Makefile.in
--- lash-0.5.4.old/clients/synth/Makefile.in	2007-11-14 17:00:10.000000000 -0500
+++ lash-0.5.4/clients/synth/Makefile.in	2010-02-10 03:22:51.000000000 -0500
@@ -238,7 +238,7 @@ lash_synth_LDADD = \
 	$(JACK_LIBS) \
 	$(ALSA_LIBS) \
 	$(GTK2_LIBS) \
-	-lpthread
+	-lpthread -lm
 
 all: all-am
 
diff -rupN lash-0.5.4.old/lashd/Makefile.am lash-0.5.4/lashd/Makefile.am
--- lash-0.5.4.old/lashd/Makefile.am	2006-09-16 16:27:46.000000000 -0400
+++ lash-0.5.4/lashd/Makefile.am	2010-07-23 15:13:59.000000000 -0400
@@ -32,6 +32,7 @@ lashd_LDADD = \
 	$(ALSA_LIBS) \
 	$(XML2_LIBS) \
 	$(UUID_LIBS) \
+	-lpthread \
 	$(top_builddir)/liblash/liblash.la
 
 lashd_CFLAGS = \
diff -rupN lash-0.5.4.old/lashd/Makefile.in lash-0.5.4/lashd/Makefile.in
--- lash-0.5.4.old/lashd/Makefile.in	2007-11-14 17:00:10.000000000 -0500
+++ lash-0.5.4/lashd/Makefile.in	2010-07-23 15:14:29.000000000 -0400
@@ -262,6 +262,7 @@ lashd_LDADD = \
 	$(ALSA_LIBS) \
 	$(XML2_LIBS) \
 	$(UUID_LIBS) \
+	-lpthread \
 	$(top_builddir)/liblash/liblash.la
 
 lashd_CFLAGS = \
