emacs-devel
[Top][All Lists]
Advanced

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

Re: Merging feature/android


From: Po Lu
Subject: Re: Merging feature/android
Date: Wed, 15 Mar 2023 15:23:40 +0800
User-agent: Gnus/5.13 (Gnus v5.13)

Corwin Brust <corwin@bru.st> writes:

> On Wed, Mar 15, 2023 at 1:03 AM Corwin Brust <corwin@bru.st> wrote:
>>
>> No errors now, building feature/android with MSYS2/MINGW64.
>
> I think I "spoke" too soon. I didn't notice these immediately as they
> didn't interrupt the build, but I do the below in thee output from
> make.  Everything after this looks normal.
>
>   CCLD     runemacs.exe
> tmp=etc/emacsclient.tmpdesktop; rm -f ${tmp}; \
> client_name=`echo emacsclient | sed 's,x,x,'`.exe; \
> sed -e "/^Exec=/
> s|emacsclient|/d/emacs-build/install/emacs-feature_android/bin/${client_name}|"
> \
>   -e "/^Icon=emacs/ s/emacs/`echo emacs | sed 's,x,x,'`/" \
>   -e "/^StartupNotify=true$/d" \
>   ./etc/emacsclient.desktop > ${tmp}; \
> /usr/bin/install -c -m 644 ${tmp}
> "/d/emacs-build/install/emacs-feature_android/share/applications/${client_name}.desktop";
> \
> rm -f ${tmp}
>   CC       fingerprint.o
>   CC       acl_entries.o
>   CC       asnprintf.o
>   CC       asprintf.o
>   CC       frexp.o
>   CC       memmem.o
>   CC       mktime.o
>   CC       printf.o
>   CC       printf-args.o
> asprintf.c:30:1: error: redefinition of 'asprintf'
>    30 | asprintf (char **resultp, const char *format, ...)
>       | ^~~~~~~~
> In file included from
> C:/Users/corwi/emacs-build/git/android/nt/inc/ms-w32.h:389,
>                  from ../src/conf_post.h:38,
>                  from ../src/config.h:3470,
>                  from asprintf.c:18:
> C:/msys2/mingw64/include/stdio.h:265:5: note: previous definition of
> 'asprintf' with type 'int(char **, const char *, ...)'
>   265 | int asprintf(char **__ret, const char *__format, ...)
>       |     ^~~~~~~~
>   CC       printf-parse.o
>   CC       vasnprintf.o
> make[1]: *** [Makefile:102: asprintf.o] Error 1
> make[1]: *** Waiting for unfinished jobs....
> printf.c:30:1: error: redefinition of 'printf'
>    30 | printf (const char *format, ...)
>       | ^~~~~~
> In file included from
> C:/Users/corwi/emacs-build/git/android/nt/inc/ms-w32.h:389,
>                  from ../src/conf_post.h:38,
>                  from ../src/config.h:3470,
>                  from printf.c:18:
> C:/msys2/mingw64/include/stdio.h:368:5: note: previous definition of
> 'printf' with type 'int(const char *, ...)'
>   368 | int printf (const char *__format, ...)
>       |     ^~~~~~
> make[1]: *** [Makefile:102: printf.o] Error 1

Thanks, but now I don't know why vasnprintf.o and printf-args.o are being
built, given that:

  OMIT_GNULIB_MODULE_vasnprintf

is set to true in nt/gnulib-cfg.mk, and all of the configury and gnulib
stuff has been regenerated.  Any ideas?  Could you perhaps try to
determine that?

Thanks.


reply via email to

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