When building ALSA-Lib for static build, there is a compilation faliure. Added a patch(attached) inside "package/alsa-lib" directory to build properly. Not able to log this bug in ALSA project, the web-site hangs. The bug also exists in ALSA 1.0.26(latest) included in buildroot 2012.11 Changes are following : --- a/modules/mixer/simple/sbasedl.c +++ b/modules/mixer/simple/sbasedl.c @@ -27,7 +27,11 @@ #include <fcntl.h> #include <sys/ioctl.h> #include <math.h> +#ifdef HAVE_LIBDL #include <dlfcn.h> +#else +#define RTLD_NOW 0 +#endif #include "config.h" #include "asoundlib.h" #include "mixer_abst.h" --- a/src/mixer/simple_abst.c +++ b/src/mixer/simple_abst.c @@ -34,7 +34,12 @@ #include <fcntl.h> #include <sys/ioctl.h> #include <math.h> +#ifdef HAVE_LIBDL #include <dlfcn.h> +#else +#define RTLD_NOW 0 +#define RTLD_GLOBAL 8 +#endif #include "config.h" #include "asoundlib.h" #include "mixer_simple.h"
Created attachment 4682 [details] Patch added inside package/alsa-lib
Fixed with commits http://git.buildroot.org/buildroot/commit/?id=8d911f9b7bd7beac94a3255b29ebe432405d511f and http://git.buildroot.org/buildroot/commit/?id=ffd7a00aef72359c630046fbb84d735a9f06db8a. Thanks for reporting!