Compiling Weston with musl-libc (WAS: [PATCH weston] weston-launch: use custom error function)
Armin Krezović
krezovic.armin at gmail.com
Fri Sep 30 12:07:38 UTC 2016
On 30.09.2016 13:59, Eric Engestrom wrote:
> On Fri, Sep 30, 2016 at 11:36:24AM +0100, Murray Calavera wrote:
>> On 30 September 2016 at 11:10, Eric Engestrom <eric.engestrom at imgtec.com>
>> wrote:
>>
>>> On Thu, Sep 29, 2016 at 09:26:16PM +0100, Murray Calavera wrote:
>>>> error.h is a gnu extension and not available in other
>>>> popular libcs like musl. This patch provides a replacement.
>>>>
>>>> Signed-off-by: Murray Calavera <murray.calavera at gmail.com>
>>>
>>> How did you test this? For me, `CC=musl-gcc ./autogen.sh` stops on:
>>> [...]
>>> checking for library containing pam_open_session... no
>>> configure: error: weston-launch requires pam
>>>
>>
>> Have you got libpam installed?
>> I don't see how this patch could have affected the configure,
>> does it configure without this patch?
>
> I do have it, and it works fine with both `CC=gcc` and `CC=clang`, but
> `CC=musl-gcc` and `CC=musl-clang` both fail with that error.
>
> Is this also how you use musl? If it is, then the issue is probably on
> my side, I won't take anymore of your time with this :)
>
Did you apply the patch that was sent by him before this one? IIRC,
we narrowed that issue yesterday on IRC.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 837 bytes
Desc: OpenPGP digital signature
URL: <https://lists.freedesktop.org/archives/wayland-devel/attachments/20160930/59ce6a83/attachment.sig>
More information about the wayland-devel
mailing list