This post was updated on .
Hi,today,
I tried to cross compile 1.10.2 for win32 in Ubuntu 16.04 , following errors occur: ./cerbero-uninstalled -c config/cross-win32.cbc bootstrap ./cerbero-uninstalled -c config/cross-win32.cbc package gstreamer-1.0 -------- make[5]: Entering directory '/home/shakin/work/src/ssc/gstreamer/cerbero/build/sources/windows_x86/gst-plugins-bad-1.0-1.10/gst-libs/gst/gl/win32' /bin/bash ../../../../libtool --tag=CC --mode=compile i686-w64-mingw32-gcc -std=gnu99 -DHAVE_CONFIG_H -I. -I../../../.. -Wno-error -I/home/shakin/work/src/ssc/gstreamer/cerbero/build/dist/windows_x86/include -DGST_EXPORTS -I../../../../gst-libs -I../../../../gst-libs -mms-bitfields -I/home/shakin/work/src/ssc/gstreamer/cerbero/build/dist/windows_x86/include/gstreamer-1.0 -I/home/shakin/work/src/ssc/gstreamer/cerbero/build/dist/windows_x86/include/glib-2.0 -I/home/shakin/work/src/ssc/gstreamer/cerbero/build/dist/windows_x86/lib/glib-2.0/include -mms-bitfields -I/home/shakin/work/src/ssc/gstreamer/cerbero/build/dist/windows_x86/include/gstreamer-1.0 -I/home/shakin/work/src/ssc/gstreamer/cerbero/build/dist/windows_x86/include/glib-2.0 -I/home/shakin/work/src/ssc/gstreamer/cerbero/build/dist/windows_x86/lib/glib-2.0/include -mms-bitfields -I/home/shakin/work/src/ssc/gstreamer/cerbero/build/dist/windows_x86/include/gstreamer-1.0 -I/home/shakin/work/src/ssc/gstreamer/cerbero/build/dist/windows_x86/include/glib-2.0 -I/home/shakin/work/src/ssc/gstreamer/cerbero/build/dist/windows_x86/lib/glib-2.0/include -DGST_USE_UNSTABLE_API -DG_THREADS_MANDATORY -DG_DISABLE_CAST_CHECKS -Wall -Wdeclaration-after-statement -Wvla -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wredundant-decls -Wwrite-strings -Wformat-security -Wold-style-definition -Winit-self -Wmissing-include-dirs -Waddress -Wno-multichar -Wnested-externs -g -Wall -g -O2 -DWINVER=0x0501 -D_WIN32_WINNT=0x0501 -Wno-error -DGSTREAMER_GLIB_COCOA_NSAPPLICATION=1 -MT libgstgl_win32_la-gstglwindow_win32.lo -MD -MP -MF .deps/libgstgl_win32_la-gstglwindow_win32.Tpo -c -o libgstgl_win32_la-gstglwindow_win32.lo `test -f 'gstglwindow_win32.c' || echo './'`gstglwindow_win32.c libtool: compile: i686-w64-mingw32-gcc -std=gnu99 -DHAVE_CONFIG_H -I. -I../../../.. -Wno-error -I/home/shakin/work/src/ssc/gstreamer/cerbero/build/dist/windows_x86/include -DGST_EXPORTS -I../../../../gst-libs -I../../../../gst-libs -mms-bitfields -I/home/shakin/work/src/ssc/gstreamer/cerbero/build/dist/windows_x86/include/gstreamer-1.0 -I/home/shakin/work/src/ssc/gstreamer/cerbero/build/dist/windows_x86/include/glib-2.0 -I/home/shakin/work/src/ssc/gstreamer/cerbero/build/dist/windows_x86/lib/glib-2.0/include -mms-bitfields -I/home/shakin/work/src/ssc/gstreamer/cerbero/build/dist/windows_x86/include/gstreamer-1.0 -I/home/shakin/work/src/ssc/gstreamer/cerbero/build/dist/windows_x86/include/glib-2.0 -I/home/shakin/work/src/ssc/gstreamer/cerbero/build/dist/windows_x86/lib/glib-2.0/include -mms-bitfields -I/home/shakin/work/src/ssc/gstreamer/cerbero/build/dist/windows_x86/include/gstreamer-1.0 -I/home/shakin/work/src/ssc/gstreamer/cerbero/build/dist/windows_x86/include/glib-2.0 -I/home/shakin/work/src/ssc/gstreamer/cerbero/build/dist/windows_x86/lib/glib-2.0/include -DGST_USE_UNSTABLE_API -DG_THREADS_MANDATORY -DG_DISABLE_CAST_CHECKS -Wall -Wdeclaration-after-statement -Wvla -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wredundant-decls -Wwrite-strings -Wformat-security -Wold-style-definition -Winit-self -Wmissing-include-dirs -Waddress -Wno-multichar -Wnested-externs -g -Wall -g -O2 -DWINVER=0x0501 -D_WIN32_WINNT=0x0501 -Wno-error -DGSTREAMER_GLIB_COCOA_NSAPPLICATION=1 -MT libgstgl_win32_la-gstglwindow_win32.lo -MD -MP -MF .deps/libgstgl_win32_la-gstglwindow_win32.Tpo -c gstglwindow_win32.c -DDLL_EXPORT -DPIC -o .libs/libgstgl_win32_la-gstglwindow_win32.o libtool: compile: i686-w64-mingw32-gcc -std=gnu99 -DHAVE_CONFIG_H -I. -I../../../.. -Wno-error -I/home/shakin/work/src/ssc/gstreamer/cerbero/build/dist/windows_x86/include -DGST_EXPORTS -I../../../../gst-libs -I../../../../gst-libs -mms-bitfields -I/home/shakin/work/src/ssc/gstreamer/cerbero/build/dist/windows_x86/include/gstreamer-1.0 -I/home/shakin/work/src/ssc/gstreamer/cerbero/build/dist/windows_x86/include/glib-2.0 -I/home/shakin/work/src/ssc/gstreamer/cerbero/build/dist/windows_x86/lib/glib-2.0/include -mms-bitfields -I/home/shakin/work/src/ssc/gstreamer/cerbero/build/dist/windows_x86/include/gstreamer-1.0 -I/home/shakin/work/src/ssc/gstreamer/cerbero/build/dist/windows_x86/include/glib-2.0 -I/home/shakin/work/src/ssc/gstreamer/cerbero/build/dist/windows_x86/lib/glib-2.0/include -mms-bitfields -I/home/shakin/work/src/ssc/gstreamer/cerbero/build/dist/windows_x86/include/gstreamer-1.0 -I/home/shakin/work/src/ssc/gstreamer/cerbero/build/dist/windows_x86/include/glib-2.0 -I/home/shakin/work/src/ssc/gstreamer/cerbero/build/dist/windows_x86/lib/glib-2.0/include -DGST_USE_UNSTABLE_API -DG_THREADS_MANDATORY -DG_DISABLE_CAST_CHECKS -Wall -Wdeclaration-after-statement -Wvla -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wredundant-decls -Wwrite-strings -Wformat-security -Wold-style-definition -Winit-self -Wmissing-include-dirs -Waddress -Wno-multichar -Wnested-externs -g -Wall -g -O2 -DWINVER=0x0501 -D_WIN32_WINNT=0x0501 -Wno-error -DGSTREAMER_GLIB_COCOA_NSAPPLICATION=1 -MT libgstgl_win32_la-gstglwindow_win32.lo -MD -MP -MF .deps/libgstgl_win32_la-gstglwindow_win32.Tpo -c gstglwindow_win32.c -o libgstgl_win32_la-gstglwindow_win32.o >/dev/null 2>&1 mv -f .deps/libgstgl_win32_la-gstglwindow_win32.Tpo .deps/libgstgl_win32_la-gstglwindow_win32.Plo /bin/bash ../../../../libtool --tag=CC --mode=compile i686-w64-mingw32-gcc -std=gnu99 -DHAVE_CONFIG_H -I. -I../../../.. -Wno-error -I/home/shakin/work/src/ssc/gstreamer/cerbero/build/dist/windows_x86/include -DGST_EXPORTS -I../../../../gst-libs -I../../../../gst-libs -mms-bitfields -I/home/shakin/work/src/ssc/gstreamer/cerbero/build/dist/windows_x86/include/gstreamer-1.0 -I/home/shakin/work/src/ssc/gstreamer/cerbero/build/dist/windows_x86/include/glib-2.0 -I/home/shakin/work/src/ssc/gstreamer/cerbero/build/dist/windows_x86/lib/glib-2.0/include -mms-bitfields -I/home/shakin/work/src/ssc/gstreamer/cerbero/build/dist/windows_x86/include/gstreamer-1.0 -I/home/shakin/work/src/ssc/gstreamer/cerbero/build/dist/windows_x86/include/glib-2.0 -I/home/shakin/work/src/ssc/gstreamer/cerbero/build/dist/windows_x86/lib/glib-2.0/include -mms-bitfields -I/home/shakin/work/src/ssc/gstreamer/cerbero/build/dist/windows_x86/include/gstreamer-1.0 -I/home/shakin/work/src/ssc/gstreamer/cerbero/build/dist/windows_x86/include/glib-2.0 -I/home/shakin/work/src/ssc/gstreamer/cerbero/build/dist/windows_x86/lib/glib-2.0/include -DGST_USE_UNSTABLE_API -DG_THREADS_MANDATORY -DG_DISABLE_CAST_CHECKS -Wall -Wdeclaration-after-statement -Wvla -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wredundant-decls -Wwrite-strings -Wformat-security -Wold-style-definition -Winit-self -Wmissing-include-dirs -Waddress -Wno-multichar -Wnested-externs -g -Wall -g -O2 -DWINVER=0x0501 -D_WIN32_WINNT=0x0501 -Wno-error -DGSTREAMER_GLIB_COCOA_NSAPPLICATION=1 -MT libgstgl_win32_la-win32_message_source.lo -MD -MP -MF .deps/libgstgl_win32_la-win32_message_source.Tpo -c -o libgstgl_win32_la-win32_message_source.lo `test -f 'win32_message_source.c' || echo './'`win32_message_source.c libtool: compile: i686-w64-mingw32-gcc -std=gnu99 -DHAVE_CONFIG_H -I. -I../../../.. -Wno-error -I/home/shakin/work/src/ssc/gstreamer/cerbero/build/dist/windows_x86/include -DGST_EXPORTS -I../../../../gst-libs -I../../../../gst-libs -mms-bitfields -I/home/shakin/work/src/ssc/gstreamer/cerbero/build/dist/windows_x86/include/gstreamer-1.0 -I/home/shakin/work/src/ssc/gstreamer/cerbero/build/dist/windows_x86/include/glib-2.0 -I/home/shakin/work/src/ssc/gstreamer/cerbero/build/dist/windows_x86/lib/glib-2.0/include -mms-bitfields -I/home/shakin/work/src/ssc/gstreamer/cerbero/build/dist/windows_x86/include/gstreamer-1.0 -I/home/shakin/work/src/ssc/gstreamer/cerbero/build/dist/windows_x86/include/glib-2.0 -I/home/shakin/work/src/ssc/gstreamer/cerbero/build/dist/windows_x86/lib/glib-2.0/include -mms-bitfields -I/home/shakin/work/src/ssc/gstreamer/cerbero/build/dist/windows_x86/include/gstreamer-1.0 -I/home/shakin/work/src/ssc/gstreamer/cerbero/build/dist/windows_x86/include/glib-2.0 -I/home/shakin/work/src/ssc/gstreamer/cerbero/build/dist/windows_x86/lib/glib-2.0/include -DGST_USE_UNSTABLE_API -DG_THREADS_MANDATORY -DG_DISABLE_CAST_CHECKS -Wall -Wdeclaration-after-statement -Wvla -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wredundant-decls -Wwrite-strings -Wformat-security -Wold-style-definition -Winit-self -Wmissing-include-dirs -Waddress -Wno-multichar -Wnested-externs -g -Wall -g -O2 -DWINVER=0x0501 -D_WIN32_WINNT=0x0501 -Wno-error -DGSTREAMER_GLIB_COCOA_NSAPPLICATION=1 -MT libgstgl_win32_la-win32_message_source.lo -MD -MP -MF .deps/libgstgl_win32_la-win32_message_source.Tpo -c win32_message_source.c -DDLL_EXPORT -DPIC -o .libs/libgstgl_win32_la-win32_message_source.o libtool: compile: i686-w64-mingw32-gcc -std=gnu99 -DHAVE_CONFIG_H -I. -I../../../.. -Wno-error -I/home/shakin/work/src/ssc/gstreamer/cerbero/build/dist/windows_x86/include -DGST_EXPORTS -I../../../../gst-libs -I../../../../gst-libs -mms-bitfields -I/home/shakin/work/src/ssc/gstreamer/cerbero/build/dist/windows_x86/include/gstreamer-1.0 -I/home/shakin/work/src/ssc/gstreamer/cerbero/build/dist/windows_x86/include/glib-2.0 -I/home/shakin/work/src/ssc/gstreamer/cerbero/build/dist/windows_x86/lib/glib-2.0/include -mms-bitfields -I/home/shakin/work/src/ssc/gstreamer/cerbero/build/dist/windows_x86/include/gstreamer-1.0 -I/home/shakin/work/src/ssc/gstreamer/cerbero/build/dist/windows_x86/include/glib-2.0 -I/home/shakin/work/src/ssc/gstreamer/cerbero/build/dist/windows_x86/lib/glib-2.0/include -mms-bitfields -I/home/shakin/work/src/ssc/gstreamer/cerbero/build/dist/windows_x86/include/gstreamer-1.0 -I/home/shakin/work/src/ssc/gstreamer/cerbero/build/dist/windows_x86/include/glib-2.0 -I/home/shakin/work/src/ssc/gstreamer/cerbero/build/dist/windows_x86/lib/glib-2.0/include -DGST_USE_UNSTABLE_API -DG_THREADS_MANDATORY -DG_DISABLE_CAST_CHECKS -Wall -Wdeclaration-after-statement -Wvla -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wredundant-decls -Wwrite-strings -Wformat-security -Wold-style-definition -Winit-self -Wmissing-include-dirs -Waddress -Wno-multichar -Wnested-externs -g -Wall -g -O2 -DWINVER=0x0501 -D_WIN32_WINNT=0x0501 -Wno-error -DGSTREAMER_GLIB_COCOA_NSAPPLICATION=1 -MT libgstgl_win32_la-win32_message_source.lo -MD -MP -MF .deps/libgstgl_win32_la-win32_message_source.Tpo -c win32_message_source.c -o libgstgl_win32_la-win32_message_source.o >/dev/null 2>&1 mv -f .deps/libgstgl_win32_la-win32_message_source.Tpo .deps/libgstgl_win32_la-win32_message_source.Plo /bin/bash ../../../../libtool --tag=CC --mode=compile i686-w64-mingw32-gcc -std=gnu99 -DHAVE_CONFIG_H -I. -I../../../.. -Wno-error -I/home/shakin/work/src/ssc/gstreamer/cerbero/build/dist/windows_x86/include -DGST_EXPORTS -I../../../../gst-libs -I../../../../gst-libs -mms-bitfields -I/home/shakin/work/src/ssc/gstreamer/cerbero/build/dist/windows_x86/include/gstreamer-1.0 -I/home/shakin/work/src/ssc/gstreamer/cerbero/build/dist/windows_x86/include/glib-2.0 -I/home/shakin/work/src/ssc/gstreamer/cerbero/build/dist/windows_x86/lib/glib-2.0/include -mms-bitfields -I/home/shakin/work/src/ssc/gstreamer/cerbero/build/dist/windows_x86/include/gstreamer-1.0 -I/home/shakin/work/src/ssc/gstreamer/cerbero/build/dist/windows_x86/include/glib-2.0 -I/home/shakin/work/src/ssc/gstreamer/cerbero/build/dist/windows_x86/lib/glib-2.0/include -mms-bitfields -I/home/shakin/work/src/ssc/gstreamer/cerbero/build/dist/windows_x86/include/gstreamer-1.0 -I/home/shakin/work/src/ssc/gstreamer/cerbero/build/dist/windows_x86/include/glib-2.0 -I/home/shakin/work/src/ssc/gstreamer/cerbero/build/dist/windows_x86/lib/glib-2.0/include -DGST_USE_UNSTABLE_API -DG_THREADS_MANDATORY -DG_DISABLE_CAST_CHECKS -Wall -Wdeclaration-after-statement -Wvla -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wredundant-decls -Wwrite-strings -Wformat-security -Wold-style-definition -Winit-self -Wmissing-include-dirs -Waddress -Wno-multichar -Wnested-externs -g -Wall -g -O2 -DWINVER=0x0501 -D_WIN32_WINNT=0x0501 -Wno-error -DGSTREAMER_GLIB_COCOA_NSAPPLICATION=1 -MT libgstgl_win32_la-gstglcontext_wgl.lo -MD -MP -MF .deps/libgstgl_win32_la-gstglcontext_wgl.Tpo -c -o libgstgl_win32_la-gstglcontext_wgl.lo `test -f 'gstglcontext_wgl.c' || echo './'`gstglcontext_wgl.c libtool: compile: i686-w64-mingw32-gcc -std=gnu99 -DHAVE_CONFIG_H -I. -I../../../.. -Wno-error -I/home/shakin/work/src/ssc/gstreamer/cerbero/build/dist/windows_x86/include -DGST_EXPORTS -I../../../../gst-libs -I../../../../gst-libs -mms-bitfields -I/home/shakin/work/src/ssc/gstreamer/cerbero/build/dist/windows_x86/include/gstreamer-1.0 -I/home/shakin/work/src/ssc/gstreamer/cerbero/build/dist/windows_x86/include/glib-2.0 -I/home/shakin/work/src/ssc/gstreamer/cerbero/build/dist/windows_x86/lib/glib-2.0/include -mms-bitfields -I/home/shakin/work/src/ssc/gstreamer/cerbero/build/dist/windows_x86/include/gstreamer-1.0 -I/home/shakin/work/src/ssc/gstreamer/cerbero/build/dist/windows_x86/include/glib-2.0 -I/home/shakin/work/src/ssc/gstreamer/cerbero/build/dist/windows_x86/lib/glib-2.0/include -mms-bitfields -I/home/shakin/work/src/ssc/gstreamer/cerbero/build/dist/windows_x86/include/gstreamer-1.0 -I/home/shakin/work/src/ssc/gstreamer/cerbero/build/dist/windows_x86/include/glib-2.0 -I/home/shakin/work/src/ssc/gstreamer/cerbero/build/dist/windows_x86/lib/glib-2.0/include -DGST_USE_UNSTABLE_API -DG_THREADS_MANDATORY -DG_DISABLE_CAST_CHECKS -Wall -Wdeclaration-after-statement -Wvla -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wredundant-decls -Wwrite-strings -Wformat-security -Wold-style-definition -Winit-self -Wmissing-include-dirs -Waddress -Wno-multichar -Wnested-externs -g -Wall -g -O2 -DWINVER=0x0501 -D_WIN32_WINNT=0x0501 -Wno-error -DGSTREAMER_GLIB_COCOA_NSAPPLICATION=1 -MT libgstgl_win32_la-gstglcontext_wgl.lo -MD -MP -MF .deps/libgstgl_win32_la-gstglcontext_wgl.Tpo -c gstglcontext_wgl.c -DDLL_EXPORT -DPIC -o .libs/libgstgl_win32_la-gstglcontext_wgl.o gstglcontext_wgl.c:38:3: error: unknown type name 'PFNWGLCREATECONTEXTATTRIBSARBPROC' gstglcontext_wgl.c: In function '_create_context_with_flags': gstglcontext_wgl.c:120:20: error: 'WGL_CONTEXT_MAJOR_VERSION_ARB' undeclared (first use in this function) gstglcontext_wgl.c:120:20: note: each undeclared identifier is reported only once for each function it appears in gstglcontext_wgl.c:124:20: error: 'WGL_CONTEXT_MINOR_VERSION_ARB' undeclared (first use in this function) gstglcontext_wgl.c:128:20: error: 'WGL_CONTEXT_FLAGS_ARB' undeclared (first use in this function) gstglcontext_wgl.c:132:20: error: 'WGL_CONTEXT_PROFILE_MASK_ARB' undeclared (first use in this function) gstglcontext_wgl.c:141:53: error: called object 'context_wgl->priv->wglCreateContextAttribsARB' is not a function gstglcontext_wgl.c: In function 'gst_gl_context_wgl_create_context': gstglcontext_wgl.c:187:8: error: 'PFNWGLCREATECONTEXTATTRIBSARBPROC' undeclared (first use in this function) gstglcontext_wgl.c:188:7: error: expected ';' before 'wglGetProcAddress' gstglcontext_wgl.c:194:53: warning: comparison between pointer and integer [enabled by default] gstglcontext_wgl.c:205:24: error: 'WGL_CONTEXT_CORE_PROFILE_BIT_ARB' undeclared (first use in this function) gstglcontext_wgl.c:206:25: error: 'WGL_CONTEXT_DEBUG_BIT_ARB' undeclared (first use in this function) gstglcontext_wgl.c:229:57: error: called object 'context_wgl->priv->wglCreateContextAttribsARB' is not a function Makefile:884: recipe for target 'libgstgl_win32_la-gstglcontext_wgl.lo' failed make[5]: *** [libgstgl_win32_la-gstglcontext_wgl.lo] Error 1 make[5]: Leaving directory '/home/shakin/work/src/ssc/gstreamer/cerbero/build/sources/windows_x86/gst-plugins-bad-1.0-1.10/gst-libs/gst/gl/win32' Makefile:1425: recipe for target 'all-recursive' failed make[4]: *** [all-recursive] Error 1 make[4]: Leaving directory '/home/shakin/work/src/ssc/gstreamer/cerbero/build/sources/windows_x86/gst-plugins-bad-1.0-1.10/gst-libs/gst/gl' Makefile:1103: recipe for target 'gl' failed make[3]: *** [gl] Error 2 make[3]: Leaving directory '/home/shakin/work/src/ssc/gstreamer/cerbero/build/sources/windows_x86/gst-plugins-bad-1.0-1.10/gst-libs/gst' Makefile:812: recipe for target 'all-recursive' failed make[2]: *** [all-recursive] Error 1 make[2]: Leaving directory '/home/shakin/work/src/ssc/gstreamer/cerbero/build/sources/windows_x86/gst-plugins-bad-1.0-1.10/gst-libs' Makefile:989: recipe for target 'all-recursive' failed make[1]: *** [all-recursive] Error 1 make[1]: Leaving directory '/home/shakin/work/src/ssc/gstreamer/cerbero/build/sources/windows_x86/gst-plugins-bad-1.0-1.10' Makefile:918: recipe for target 'all' failed make: *** [all] Error 2 ------- 1.10.1 everything is ok,not sure just one, or others have the same problem? If someone else has the same problem,it's time to leave a footprint. gst-plugins-bad-1.log gst-plugins-bad-1.log |
This post was updated on .
I digged this problem, the reason is very magical...
----------- shakin@shakin-dev:~/work/src/ssc/gstreamer/cerbero/build/mingw/w32/i686-w64-mingw32/include/GL$ ls -la 总用量 792 drwxr-xr-x 2 shakin shakin 4096 5月 8 2013 . drwxr-xr-x 11 shakin shakin 36864 5月 8 2013 .. -rw-r--r-- 1 shakin shakin 6858 5月 8 2013 glaux.h -rw-r--r-- 1 shakin shakin 656577 5月 8 2013 glext.h -rw-r--r-- 1 shakin shakin 84468 5月 8 2013 gl.h -rw-r--r-- 1 shakin shakin 10310 5月 8 2013 glu.h -rw-rw-r-- 1 shakin shakin 0 12月 1 18:13 wglext.h -------------- As shown above,<wglext.h> size is zero, absolutely incredible! I guess it may be a problem in the bootstrap, or the network is disconnected, or decompression is not successful? But there was no any error message at <bootstrap> step,so it makes us feel confused. |
Free forum by Nabble | Edit this page |