After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 791807 - cerbero: m4 compilation failure on mingw
cerbero: m4 compilation failure on mingw
Status: RESOLVED FIXED
Product: GStreamer
Classification: Platform
Component: cerbero
git master
Other Windows
: Normal blocker
: 1.13.1
Assigned To: GStreamer Maintainers
GStreamer Maintainers
Depends on: 755222
Blocks:
 
 
Reported: 2017-12-19 22:31 UTC by Nicolas Dufresne (ndufresne)
Modified: 2017-12-19 22:35 UTC
See Also:
GNOME target: ---
GNOME version: ---


Attachments
m4: Fix build issue on windows (2.42 KB, patch)
2017-12-19 22:32 UTC, Nicolas Dufresne (ndufresne)
committed Details | Review

Description Nicolas Dufresne (ndufresne) 2017-12-19 22:31:12 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.
Comment 1 Nicolas Dufresne (ndufresne) 2017-12-19 22:32:28 UTC
Created attachment 365775 [details] [review]
m4: Fix build issue on windows

https://bugzilla.gnome.org/show_bug.cgi?id=755222
Comment 2 Nicolas Dufresne (ndufresne) 2017-12-19 22:35:08 UTC
Attachment 365775 [details] pushed as 5fedf7b - m4: Fix build issue on windows