| Summary: | Not able to build ALSA-Utils for static build | ||
|---|---|---|---|
| Product: | buildroot | Reporter: | Pankaj Dev <pankaj.dev> |
| Component: | Other | Assignee: | unassigned |
| Status: | RESOLVED WONTFIX | ||
| Severity: | critical | CC: | buildroot |
| Priority: | P5 | ||
| Version: | 2012.08 | ||
| Target Milestone: | --- | ||
| Hardware: | PC | ||
| OS: | Windows | ||
| Host: | Target: | ||
| Build: | |||
| Attachments: | Patch to build alsa-utils statically | ||
Hi, Could you provide a config file that exhibits the problem? FYI, a similar problem was reported on alsa-lib on the alsa mailing list a while back. A patch was then added to alsa-lib upstream to add --with-dl / without-dl switches to the configure script: http://www.spinics.net/lists/alsa-devel/msg06454.html In any case, the patch attached to this bug report is not ok: it would remove -ldl unconditionally, even if shared libraries were requested. Thanks, Thomas (In reply to comment #1) > In any case, the patch attached to this bug report is not ok: it would remove > -ldl unconditionally, even if shared libraries were requested. Hi Thomas, even if you remove -ldl from configure it will still failing. I have tried it. Although the problem can be solved with a patch like http://patchwork.ozlabs.org/patch/319707/, we do not like to have such feature patches in buildroot without them being accepted upstream. Please discuss the situation upstream on the alsa-devel mailing list. If the patch can be accepted there, the buildroot build can be fixed with a version bump. |
Created attachment 4688 [details] Patch to build alsa-utils statically When building ALSA-Utils for static build, there is a compilation faliure. Added a patch(attached) inside "package/multimedia\alsa-utils" 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 The correction is not a generic, one. Not able to figure out how to modify the configure script such that it includes "-ldl" only for non-static builds