bug-gnulib
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Warnings with Android NDK r26


From: Collin Funk
Subject: Re: Warnings with Android NDK r26
Date: Tue, 04 Jun 2024 01:41:11 -0700
User-agent: Gnus/5.13 (Gnus v5.13)

Hi Po,

Po Lu <luangruo@yahoo.com> writes:

> but because Gnulib's definitions are `inline', the functions provided in
> the system endian.h acquire external linkage, and are duplicated across
> every unit by which the redefinitions are included:
>
>   CCLD     libemacs.so
> /home/.../.../android-ndk-r10b/toolchains/arm-linux-androideabi-4.8/prebuilt/linux-x86_64/bin/../lib/gcc/arm-linux-androideabi/4.8/../../../../arm-linux-androideabi/bin/ld:
>  error: frame.o: multiple definition of 'htobe16'

My fault... I mistakenly assumed all non-glibc systems would be missing
these functions or implement them as macros.

If I am understanding correctly then I think this patch should fix it.

Can you test it for me? If it works then I can commit it and I assume
you can pull it into Emacs.

Collin

Attachment: define-endian-functions.patch
Description: Text Data


reply via email to

[Prev in Thread] Current Thread [Next in Thread]