GNOME Bugzilla – Bug 791807
cerbero: m4 compilation failure on mingw
Last modified: 2017-12-19 22:35:31 UTC
+++ This bug was initially created as a clone of Bug #755222 +++ Windows/MinGW with this error: /bin/sh ../libtool --tag=CC --mode=compile i686-w64-mingw32-gcc -std=gnu99 -DHAVE_CONFIG_H -DEXEEXT=\".exe\" -DEXEEXT =\".exe\" -DEXEEXT=\".exe\" -I. -I.. -I../intl -I../intl -I.. -I.. -DDEPENDS_ON_LIBICONV=1 -DDEPENDS_ON_LIBINTL=1 -DLIB XML_STATIC -DUSER_LABEL_PREFIX_UNDERSCORE -DGNULIB_DEFINED_ERROR -I./libcroco -I/D/dev/MinGW/msys/1.0/home/Philippe. Renon/cerbero/build-tools/include -Wall -g -O2 -DWINVER=0x0501 -D_WIN32_WINNT=0x0501 -c -o asprintf.lo asprintf.c libtool: compile: i686-w64-mingw32-gcc -std=gnu99 -DHAVE_CONFIG_H -DEXEEXT=\".exe\" -DEXEEXT=\".exe\" -DEXEEXT=\".exe\" -I. -I.. -I../intl -I../intl -I.. -I.. -DDEPENDS_ON_LIBICONV=1 -DDEPENDS_ON_LIBINTL=1 -DLIBXML_STATIC -DUSER_LABEL_PREF IX_UNDERSCORE -DGNULIB_DEFINED_ERROR -I./libcroco -I/D/dev/MinGW/msys/1.0/home/Philippe.Renon/cerbero/build-tools/includ e -Wall -g -O2 -DWINVER=0x0501 -D_WIN32_WINNT=0x0501 -c asprintf.c -DDLL_EXPORT -DPIC -o .libs/asprintf.o asprintf.c:30:1: error: redefinition of 'asprintf' In file included from ./stdio.h:43:0, from asprintf.c:24: d:\dev\mingw\msys\1.0\home\philippe.renon\cerbero\mingw\w32\bin\../lib/gcc/i686-w64-mingw32/4.7.3/../../../../i686-w64-m ingw32/include/stdio.h:309:5: note: previous definition of 'asprintf' was here make[3]: *** [asprintf.lo] Error 1 Reverting the version bump fixes the issue.
Created attachment 365775 [details] [review] m4: Fix build issue on windows https://bugzilla.gnome.org/show_bug.cgi?id=755222
Attachment 365775 [details] pushed as 5fedf7b - m4: Fix build issue on windows