[alsa-devel] Compilation error for static build of alsa-utils 1.0.26

Pankaj DEV pankaj.dev at st.com
Fri Dec 7 07:33:22 CET 2012


When building alsa (using buildroot) for static build, compilation errors occur.
Don't know how to report bug, since the "bug tracker" link on web-page doesn't open

The following patch solves the issue :
--- a/configure
+++ b/configure
@@ -6247,7 +6247,7 @@ if test "$alsa_prefix" != "" ; then
               LDFLAGS="$LDFLAGS $ALSA_LIBS"
fi
-ALSA_LIBS="$ALSA_LIBS -lasound -lm -ldl -lpthread"
+ALSA_LIBS="$ALSA_LIBS -lasound -lm -lpthread"
LIBS="$ALSA_LIBS $LIBS"
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ALSA_LIBS" >&5
$as_echo "$ALSA_LIBS" >&6; }


More information about the Alsa-devel mailing list