All of lore.kernel.org
 help / color / mirror / Atom feed
* [Buildroot] [Bug 5768] New: Not able to build ALSA-Lib for static build
@ 2012-12-07  4:45 bugzilla at busybox.net
  2012-12-07  4:47 ` [Buildroot] [Bug 5768] " bugzilla at busybox.net
  2014-02-23 14:38 ` bugzilla at busybox.net
  0 siblings, 2 replies; 3+ messages in thread
From: bugzilla at busybox.net @ 2012-12-07  4:45 UTC (permalink / raw)
  To: buildroot

https://bugs.busybox.net/show_bug.cgi?id=5768

           Summary: Not able to build ALSA-Lib for static build
           Product: buildroot
           Version: 2012.08
          Platform: PC
        OS/Version: Windows
            Status: NEW
          Severity: critical
          Priority: P5
         Component: Other
        AssignedTo: unassigned at buildroot.uclibc.org
        ReportedBy: pankaj.dev at st.com
                CC: buildroot at uclibc.org
   Estimated Hours: 0.0


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"

-- 
Configure bugmail: https://bugs.busybox.net/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.

^ permalink raw reply	[flat|nested] 3+ messages in thread

* [Buildroot] [Bug 5768] Not able to build ALSA-Lib for static build
  2012-12-07  4:45 [Buildroot] [Bug 5768] New: Not able to build ALSA-Lib for static build bugzilla at busybox.net
@ 2012-12-07  4:47 ` bugzilla at busybox.net
  2014-02-23 14:38 ` bugzilla at busybox.net
  1 sibling, 0 replies; 3+ messages in thread
From: bugzilla at busybox.net @ 2012-12-07  4:47 UTC (permalink / raw)
  To: buildroot

https://bugs.busybox.net/show_bug.cgi?id=5768

--- Comment #1 from Pankaj Dev <pankaj.dev@st.com> 2012-12-07 04:47:33 UTC ---
Created attachment 4682
  --> https://bugs.busybox.net/attachment.cgi?id=4682
Patch added inside package/alsa-lib

-- 
Configure bugmail: https://bugs.busybox.net/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.

^ permalink raw reply	[flat|nested] 3+ messages in thread

* [Buildroot] [Bug 5768] Not able to build ALSA-Lib for static build
  2012-12-07  4:45 [Buildroot] [Bug 5768] New: Not able to build ALSA-Lib for static build bugzilla at busybox.net
  2012-12-07  4:47 ` [Buildroot] [Bug 5768] " bugzilla at busybox.net
@ 2014-02-23 14:38 ` bugzilla at busybox.net
  1 sibling, 0 replies; 3+ messages in thread
From: bugzilla at busybox.net @ 2014-02-23 14:38 UTC (permalink / raw)
  To: buildroot

https://bugs.busybox.net/show_bug.cgi?id=5768

Thomas De Schampheleire <patrickdepinguin+buildroot@gmail.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
         Resolution|                            |FIXED

--- Comment #2 from Thomas De Schampheleire <patrickdepinguin+buildroot@gmail.com> 2014-02-23 14:38:53 UTC ---
Fixed with commits
http://git.buildroot.org/buildroot/commit/?id=8d911f9b7bd7beac94a3255b29ebe432405d511f
and
http://git.buildroot.org/buildroot/commit/?id=ffd7a00aef72359c630046fbb84d735a9f06db8a.

Thanks for reporting!

-- 
Configure bugmail: https://bugs.busybox.net/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2014-02-23 14:38 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2012-12-07  4:45 [Buildroot] [Bug 5768] New: Not able to build ALSA-Lib for static build bugzilla at busybox.net
2012-12-07  4:47 ` [Buildroot] [Bug 5768] " bugzilla at busybox.net
2014-02-23 14:38 ` bugzilla at busybox.net

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.