Windows 10 x64 cerbero bootstrap fails with error of 'strerror_s' in 'glib-tools'
bradaisa
baisa at cardinalpeak.com
Wed Mar 30 02:48:35 UTC 2016
I had previously (inadvertently) succeeded in building x86 (32 bit) gstreamer
0.10 on Windows 10.
Today, I got better oriented, used the correct source for cerbero (below)
and tried building gstreamer 1.8.0 for x64. Below are the commands I used,
then the error that stopped the build. Someone on #gstreamer said that the
function is supposed to be defined in MS libraries. I'm dead in the water!
Thanks for any help. I'll also try to be on #gstreamer (androticus) if
someone hops on there.
MingGW shell:
> git clone -b 1.8.0 http://cgit.freedesktop.org/gstreamer/cerbero
> cd cerbero
> cerbero -c config/mingw-w64-win.cbc bootstrap
... lots works ...
libtool: compile: x86_64-w64-mingw32-gcc -DHAVE_CONFIG_H -I. -I.. -I..
-I../glib -I../glib -I.. -DG_LOG_DOMAIN=\"GLib\" -DG_DISABLE_CAST_CHECKS
-DGLIB_COMPILATION -DPCRE_STATIC -Wall -Wstrict-prototypes
-Werror=declaration-after-statement -Werror=missing-prototypes
-Werror=implicit-function-declaration -Werror=pointer-arith
-Werror=init-self -Werror=format=2 -Werror=missing-include-dirs -Wall -g -O2
-DWINVER=0x0501 -D_WIN32_WINNT=0x0501 -mms-bitfields -fvisibility=hidden -MT
libglib_2_0_la-gstrfuncs.lo -MD -MP -MF .deps/libglib_2_0_la-gstrfuncs.Tpo
-c gstrfuncs.c -DDLL_EXPORT -DPIC -o .libs/libglib_2_0_la-gstrfuncs.o
gstrfuncs.c: In function 'g_strerror':
gstrfuncs.c:1276:7: error: implicit declaration of function 'strerror_s'
[-Werror=implicit-function-declaration]
cc1.exe: some warnings being treated as errors
make[4]: *** [libglib_2_0_la-gstrfuncs.lo] Error 1
make[4]: Leaving directory
`/usr/home/baisa/cerbero/sources/build-tools/glib-tools-2.46.2/glib'
make[3]: *** [all-recursive] Error 1
make[3]: Leaving directory
`/usr/home/baisa/cerbero/sources/build-tools/glib-tools-2.46.2/glib'
make[2]: *** [all] Error 2
make[2]: Leaving directory
`/usr/home/baisa/cerbero/sources/build-tools/glib-tools-2.46.2/glib'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory
`/usr/home/baisa/cerbero/sources/build-tools/glib-tools-2.46.2'
make: *** [all] Error 2
Recipe 'glib-tools' failed at the build step 'compile'
--
View this message in context: http://gstreamer-devel.966125.n4.nabble.com/Windows-10-x64-cerbero-bootstrap-fails-with-error-of-strerror-s-in-glib-tools-tp4676633.html
Sent from the GStreamer-devel mailing list archive at Nabble.com.
More information about the gstreamer-devel
mailing list