vlc-3.0.11-build-log-with-GUI-Qt5.14.1-20200906

mkdir win32 && cd win32

export ARCHFLAGS=' -march=i686 '
export CFLAGS='-I/usr/local/include -march=i686 -std=c99 '
export CXXFLAGS='-I/usr/local/include -march=i686 -std=c++11 '
export BUILDCC=' gcc -w '
export LDFLAGS=' -L/usr/local/lib -Wl,--allow-multiple-definition '
export LIBS=' -ldl -lm -lfontconfig -lexpat -lfreetype -lharfbuzz -lfreetype -lbz2 -lpng16 -lz -lpsapi -lws2_32 -lmswsock -lshlwapi -lz -lm -lbrotlidec -lbrotlicommon -lxml2 -lz -llzma -liconv -lpsapi -lws2_32 -lmswsock -lshlwapi -lpthread -ltiff -llzma -ljpeg -lz -lwebp '

export PKG_CONFIG_PATH='/usr/local/lib/pkgconfig:/usr/opt/ffmpeg/lib/pkgconfig:/D/Qt/Qt5.14.1/5.14.1/mingw73_32_static/lib/pkgconfig'

export QT_CFLAGS=' -DQT_SVG_LIB -DQT_WIDGETS_LIB -DQT_GUI_LIB -DQT_CORE_LIB -Id:/Qt/Qt5.14.1/5.14.1/mingw73_32/include/QtSvg -Id:/Qt/Qt5.14.1/5.14.1/mingw73_32/include -Id:/Qt/Qt5.14.1/5.14.1/mingw73_32/include/QtWidgets -Id:/Qt/Qt5.14.1/5.14.1/mingw73_32/include -Id:/Qt/Qt5.14.1/5.14.1/mingw73_32/include/QtGui -Id:/Qt/Qt5.14.1/5.14.1/mingw73_32/include -Id:/Qt/Qt5.14.1/5.14.1/mingw73_32/include/QtCore -Id:/Qt/Qt5.14.1/5.14.1/mingw73_32/include '
export QT_LIBS=' -Ld:/Qt/Qt5.14.1/5.14.1/mingw73_32/lib -lQt5Svg -lQt5Widgets -lQt5Gui -lQt5Core -lwinmm '

export OPENCV_CFLAGS=' -I/usr/opt/opencv-2.4.13/include/opencv -I/usr/opt/opencv-2.4.13/include '
export OPENCV_LIBS=' -L/usr/opt/opencv-2.4.13/x86/mingw/staticlib -lopencv_world2413 -lIlmImf -llibjasper -llibtiff -llibpng -llibjpeg -lzlib -lwinmm -lvfw32 -lws2_32 -lsetupapi -lole32 -lgdi32 -lcomctl32 -lopengl32 -lglu32 -lstdc++ '

pkg-config --cflags "Qt5Core >= 5.5.0 Qt5Widgets Qt5Gui Qt5Svg"
pkg-config --libs --static "Qt5Core >= 5.5.0 Qt5Widgets Qt5Gui Qt5Svg"
pkg-config --libs "Qt5Core >= 5.5.0 Qt5Widgets Qt5Gui Qt5Svg"
pkg-config --cflags opencv2413
pkg-config --libs --static opencv2413

configure configure.ac
LDFLAGS="${LDFLAGS} -lssp" delete -lssp

../configure --prefix=/opt/vlc \
--host=i686-w64-mingw32 \
--disable-pulse \
--disable-nls

libvlc configuration
--------------------
version               : 3.0.11
system                : mingw32
architecture          : i686 mmx sse sse2
optimizations         : yes
vlc aliases           : cvlc rvlc qvlc svlc

To build vlc and its plugins, type `make', or `./compile' if you like nice colors.
--------------------------------------------------------------------------------------------
make
make[2]: Entering directory `/build/libs/vlc-3.0.11/win32/share'
  GEN      skins2/default.vlt
tar: root: Invalid group
tar: Error is not recoverable: exiting now
make[2]: *** [skins2/default.vlt] Error 2

vlc-3.0.11\win32\share/Makefile
--owner=root --group=root <--- delete
--------------------------------------------------------------------------------------------
../compat/.libs/libcompat.a(timespec_get.o):timespec_get.c:(.text+0x2b): undefined reference to `__stack_chk_guard'
../compat/.libs/libcompat.a(timespec_get.o):timespec_get.c:(.text+0xbb): undefined reference to `__stack_chk_fail'
collect2.exe: error: ld returned 1 exit status
make[3]: *** [libvlccore.la] Error 1
make[3]: Leaving directory `/build/libs/vlc-3.0.11/win32/src'

vlc-3.0.11\win32 all Makefile
-fstack-protector-strong <--- Replece to -fno-stack-protector

make clean && make
--------------------------------------------------------------------------------------------
  CCLD     libdvdnav_plugin.la
D:/MSYS/local/lib/libdvdread.a(dvd_input.o):dvd_input.c:(.text+0x430): undefined reference to `dlopen'
D:/MSYS/local/lib/libdvdread.a(dvd_input.o):dvd_input.c:(.text+0x450): undefined reference to `dlsym'
D:/MSYS/local/lib/libdvdread.a(dvd_input.o):dvd_input.c:(.text+0x468): undefined reference to `dlsym'
D:/MSYS/local/lib/libdvdread.a(dvd_input.o):dvd_input.c:(.text+0x480): undefined reference to `dlsym'
D:/MSYS/local/lib/libdvdread.a(dvd_input.o):dvd_input.c:(.text+0x498): undefined reference to `dlsym'
D:/MSYS/local/lib/libdvdread.a(dvd_input.o):dvd_input.c:(.text+0x4b0): undefined reference to `dlsym'
D:/MSYS/local/lib/libdvdread.a(dvd_input.o):dvd_input.c:(.text+0x4c8): more undefined references to `dlsym' follow
D:/MSYS/local/lib/libdvdread.a(dvd_input.o):dvd_input.c:(.text+0x517): undefined reference to `dlclose'
D:/MSYS/local/lib/libdvdread.a(dvd_input.o):dvd_input.c:(.text+0x578): undefined reference to `dlclose'
collect2.exe: error: ld returned 1 exit status
make[4]: *** [libdvdnav_plugin.la] Error 1
make[4]: Leaving directory `/build/libs/vlc-3.0.11/win32/modules'

vlc-3.0.11/win32/modules/Makefile 
LIBS = -ldl -lm -lfontconfig -lexpat -lfreetype -lharfbuzz -lfreetype -lbz2 -lpng16 -lz -lpsapi -lws2_32 -lmswsock -lshlwapi -lz -lm -lbrotlidec -lbrotlicommon -lxml2 -lz -llzma -liconv -lpsapi -lws2_32 -lmswsock -lshlwapi -lpthread
--------------------------------------------------------------------------------------------
../../modules/access/srt.c:168:37: error: 'SRTO_TSBPDDELAY' undeclared (first use in this function); did you mean 'SRTO_TSBPDMODE'?
  168 |     srt_setsockopt( p_sys->sock, 0, SRTO_TSBPDDELAY,
      |                                     ^~~~~~~~~~~~~~~
      |                                     SRTO_TSBPDMODE
../../modules/access/srt.c:168:37: note: each undeclared identifier is reported only once for each function it appears in
make[4]: *** [access/libaccess_srt_plugin_la-srt.lo] Error 1

SRTO_TSBPDDELAY <--- Replece to SRTO_LATENCY
--------------------------------------------------------------------------------------------
../../modules/access_output/srt.c:165:37: error: 'SRTO_TSBPDDELAY' undeclared (first use in this function); did you mean 'SRTO_TSBPDMODE'?
  165 |     srt_setsockopt( p_sys->sock, 0, SRTO_TSBPDDELAY,
      |                                     ^~~~~~~~~~~~~~~
      |                                     SRTO_TSBPDMODE
../../modules/access_output/srt.c:165:37: note: each undeclared identifier is reported only once for each function it appears in
make[4]: *** [access_output/libaccess_output_srt_plugin_la-srt.lo] Error 1

SRTO_TSBPDDELAY <--- Replece to SRTO_LATENCY
--------------------------------------------------------------------------------------------
../../modules/codec/a52.c:305:23: error: too many arguments to function 'a52_init'
  305 |     p_sys->p_liba52 = a52_init( 0 );
      |                       ^~~~~~~~
In file included from ../../modules/codec/a52.c:48:
D:/MSYS/local/include/a52dec/a52.h:71:15: note: declared here
   71 | a52_state_t * a52_init (void);
      |               ^~~~~~~~
make[4]: *** [codec/liba52_plugin_la-a52.lo] Error 1
make[4]: Leaving directory `/build/libs/vlc-3.0.11/win32/modules'

   a52_init( 0 ); <--- Replece to a52_init();
--------------------------------------------------------------------------------------------
../../modules/codec/jpeg.c:521:5: error: implicit declaration of function 'jpeg_mem_src'; did you mean 'jpeg_stdio_src'? [-Werror=implicit-function-declaration]
  521 |     jpeg_mem_src(&p_sys->p_jpeg, p_block->p_buffer, p_block->i_buffer);
      |     ^~~~~~~~~~~~
      |     jpeg_stdio_src
../../modules/codec/jpeg.c: In function 'EncodeBlock':
../../modules/codec/jpeg.c:667:5: error: implicit declaration of function 'jpeg_mem_dest'; did you mean 'jpeg_stdio_dest'? [-Werror=implicit-function-declaration]
  667 |     jpeg_mem_dest(&p_sys->p_jpeg, &p_block->p_buffer, &size);
      |     ^~~~~~~~~~~~~
      |     jpeg_stdio_dest
../../modules/codec/jpeg.c: In function 'DecodeBlock':
../../modules/codec/jpeg.c:503:16: warning: variable 'p_row_pointers' might be clobbered by 'longjmp' or 'vfork' [-Wclobbered]
  503 |     JSAMPARRAY p_row_pointers = NULL;
      |                ^~~~~~~~~~~~~~
cc1.exe: some warnings being treated as errors
make[4]: *** [codec/jpeg.lo] Error 1
make[4]: Leaving directory `/build/libs/vlc-3.0.11/win32/modules'

jpeg_stdio_dest(&p_sys->p_jpeg, &p_block->p_buffer);
jpeg_stdio_src(&p_sys->p_jpeg, p_block->p_buffer);
--------------------------------------------------------------------------------------------
  CCLD     libsdl_image_plugin.la
D:/MSYS/local/lib/libSDL_image.a(IMG_jpg.o):IMG_jpg.c:(.text+0x12): undefined reference to `jpeg_calc_output_dimensions'
D:/MSYS/local/lib/libSDL_image.a(IMG_jpg.o):IMG_jpg.c:(.text+0x1c): undefined reference to `jpeg_CreateDecompress'
D:/MSYS/local/lib/libSDL_image.a(IMG_jpg.o):IMG_jpg.c:(.text+0x26): undefined reference to `jpeg_destroy_decompress'
D:/MSYS/local/lib/libSDL_image.a(IMG_jpg.o):IMG_jpg.c:(.text+0x30): undefined reference to `jpeg_finish_decompress'
D:/MSYS/local/lib/libSDL_image.a(IMG_jpg.o):IMG_jpg.c:(.text+0x3a): undefined reference to `jpeg_read_header'
D:/MSYS/local/lib/libSDL_image.a(IMG_jpg.o):IMG_jpg.c:(.text+0x44): undefined reference to `jpeg_read_scanlines'
D:/MSYS/local/lib/libSDL_image.a(IMG_jpg.o):IMG_jpg.c:(.text+0x4e): undefined reference to `jpeg_resync_to_restart'
D:/MSYS/local/lib/libSDL_image.a(IMG_jpg.o):IMG_jpg.c:(.text+0x58): undefined reference to `jpeg_start_decompress'
D:/MSYS/local/lib/libSDL_image.a(IMG_jpg.o):IMG_jpg.c:(.text+0x62): undefined reference to `jpeg_std_error'
D:/MSYS/local/lib/libSDL_image.a(IMG_tif.o):IMG_tif.c:(.text+0x12): undefined reference to `TIFFClientOpen'
D:/MSYS/local/lib/libSDL_image.a(IMG_tif.o):IMG_tif.c:(.text+0x1c): undefined reference to `TIFFClose'
D:/MSYS/local/lib/libSDL_image.a(IMG_tif.o):IMG_tif.c:(.text+0x26): undefined reference to `TIFFGetField'
D:/MSYS/local/lib/libSDL_image.a(IMG_tif.o):IMG_tif.c:(.text+0x30): undefined reference to `TIFFReadRGBAImage'
D:/MSYS/local/lib/libSDL_image.a(IMG_tif.o):IMG_tif.c:(.text+0x3a): undefined reference to `TIFFSetErrorHandler'
D:/MSYS/local/lib/libSDL_image.a(IMG_webp.o):IMG_webp.c:(.text+0x12): undefined reference to `WebPGetFeaturesInternal'
D:/MSYS/local/lib/libSDL_image.a(IMG_webp.o):IMG_webp.c:(.text+0x1c): undefined reference to `WebPDecodeRGBInto'
D:/MSYS/local/lib/libSDL_image.a(IMG_webp.o):IMG_webp.c:(.text+0x26): undefined reference to `WebPDecodeRGBAInto'
collect2.exe: error: ld returned 1 exit status
make[4]: *** [libsdl_image_plugin.la] Error 1
make[4]: Leaving directory `/build/libs/vlc-3.0.11/win32/modules'

vlc-3.0.11/win32/modules/Makefile 

LIBS = -ldl -lm -lfontconfig -lexpat -lfreetype -lharfbuzz -lfreetype -lbz2 -lpng16 -lz -lpsapi -lws2_32 -lmswsock -lshlwapi -lz -lm -lbrotlidec -lbrotlicommon -lxml2 -lz -llzma -liconv -lpsapi -lws2_32 -lmswsock -lshlwapi -lpthread -ltiff -llzma -ljpeg -lz -lwebp
--------------------------------------------------------------------------------------------
  CCLD     libzvbi_plugin.la

*** Warning: Linking the shared library libzvbi_plugin.la against the
*** static library /usr/local/lib/libiconv.a is not portable!
d:/msys/mingw/bin/../lib/gcc/i686-w64-mingw32/9.3.1/../../../../i686-w64-mingw32/bin/ld.exe: cannot find -lpthreadGC2
collect2.exe: error: ld returned 1 exit status
make[4]: *** [libzvbi_plugin.la] Error 1
make[4]: Leaving directory `/build/libs/vlc-3.0.11/win32/modules'

am__append_78 = -lpthreadGC2  <--- am__append_78 = -lpthread
--------------------------------------------------------------------------------------------
../../modules/hw/d3d11/d3d11_filters.c:426:20: error: 'D3D11_VIDEO_PROCESSOR_FORMAT_SUPPORT_INPUT' undeclared (first use in this function); did you mean 'D3D11_VIDEO_PROCESSOR_PROCESSOR_CAPS'?
  426 |     if ( !(flags & D3D11_VIDEO_PROCESSOR_FORMAT_SUPPORT_INPUT) ||
      |                    ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
      |                    D3D11_VIDEO_PROCESSOR_PROCESSOR_CAPS
../../modules/hw/d3d11/d3d11_filters.c:426:20: note: each undeclared identifier is reported only once for each function it appears in
../../modules/hw/d3d11/d3d11_filters.c:427:20: error: 'D3D11_VIDEO_PROCESSOR_FORMAT_SUPPORT_OUTPUT' undeclared (first use in this function); did you mean 'D3D11_VIDEO_PROCESSOR_PROCESSOR_CAPS'?
  427 |          !(flags & D3D11_VIDEO_PROCESSOR_FORMAT_SUPPORT_OUTPUT) )
      |                    ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
      |                    D3D11_VIDEO_PROCESSOR_PROCESSOR_CAPS
make[4]: *** [hw/d3d11/d3d11_filters.lo] Error 1
make[4]: Leaving directory `/build/libs/vlc-3.0.11/win32/modules'

vlc-3.0.11\modules\hw\d3d11/d3d11_filters.h
add macro
#define D3D11_VIDEO_PROCESSOR_FORMAT_SUPPORT_INPUT   0x1
#define D3D11_VIDEO_PROCESSOR_FORMAT_SUPPORT_OUTPUT  0x2
--------------------------------------------------------------------------------------------
../../modules/hw/d3d11/d3d11_deinterlace.c:43:14: error: redefinition of typedef 'D3D11_VIDEO_PROCESSOR_PROCESSOR_CAPS' with different type
   43 | typedef UINT D3D11_VIDEO_PROCESSOR_PROCESSOR_CAPS;
      |              ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
In file included from ../../modules/hw/d3d11/d3d11_deinterlace.c:36:
d:\msys\mingw\i686-w64-mingw32\include\d3d11.h:866:3: note: previous declaration of 'D3D11_VIDEO_PROCESSOR_PROCESSOR_CAPS' was here
  866 | } D3D11_VIDEO_PROCESSOR_PROCESSOR_CAPS;
      |   ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
make[4]: *** [hw/d3d11/d3d11_deinterlace.lo] Error 1
make[4]: Leaving directory `/build/libs/vlc-3.0.11/win32/modules'

#ifdef __MINGW32__
typedef UINT D3D11_VIDEO_PROCESSOR_PROCESSOR_CAPS;  <--- delete
#define D3D11_VIDEO_PROCESSOR_PROCESSOR_CAPS_DEINTERLACE_BLEND               0x1
#define D3D11_VIDEO_PROCESSOR_PROCESSOR_CAPS_DEINTERLACE_BOB                 0x2
#define D3D11_VIDEO_PROCESSOR_PROCESSOR_CAPS_DEINTERLACE_ADAPTIVE            0x4
#define D3D11_VIDEO_PROCESSOR_PROCESSOR_CAPS_DEINTERLACE_MOTION_COMPENSATION 0x8
#define D3D11_VIDEO_PROCESSOR_PROCESSOR_CAPS_INVERSE_TELECINE               0x10
#define D3D11_VIDEO_PROCESSOR_PROCESSOR_CAPS_FRAME_RATE_CONVERSION          0x20
#endif
--------------------------------------------------------------------------------------------
../../modules/gui/qt/components/interface_widgets.cpp:67:10: fatal error: qpa/qplatformnativeinterface.h: No such file or directory
   67 | #include <qpa/qplatformnativeinterface.h>
      |          ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
compilation terminated.
make[4]: *** [gui/qt/components/libqt_plugin_la-interface_widgets.lo] Error 1

#include <QtGui/5.14.1/QtGui/qpa/qplatformnativeinterface.h>
--------------------------------------------------------------------------------------------
../../modules/gui/qt/main_interface_win32.cpp:41:10: fatal error: qpa/qplatformnativeinterface.h: No such file or directory
   41 | #include <qpa/qplatformnativeinterface.h>
      |          ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
compilation terminated.
make[4]: *** [gui/qt/libqt_plugin_la-main_interface_win32.lo] Error 1

#include <QtGui/5.14.1/QtGui/qpa/qplatformnativeinterface.h>
--------------------------------------------------------------------------------------------
  CXXLD    libqt_plugin.la
libtool: warning: library 'd:/msys/mingw/bin/../lib/gcc/i686-w64-mingw32/9.3.1/../../../../lib/libstdc++.la' was moved.

*** Warning: Linking the shared library libqt_plugin.la against the non-libtool
*** objects  .objdebugQt5Svgd_resource_res.o .objdebugQt5Widgetsd_resource_res.o .objdebugQt5Guid_resource_res.o .objdebugQt5Cored_resource_res.o is not portable!
d:/msys/mingw/bin/../lib/gcc/i686-w64-mingw32/9.3.1/../../../../i686-w64-mingw32/bin/ld.exe: cannot find .objdebugQt5Svgd_resource_res.o
d:/msys/mingw/bin/../lib/gcc/i686-w64-mingw32/9.3.1/../../../../i686-w64-mingw32/bin/ld.exe: cannot find .objdebugQt5Widgetsd_resource_res.o
d:/msys/mingw/bin/../lib/gcc/i686-w64-mingw32/9.3.1/../../../../i686-w64-mingw32/bin/ld.exe: cannot find .objdebugQt5Guid_resource_res.o
d:/msys/mingw/bin/../lib/gcc/i686-w64-mingw32/9.3.1/../../../../i686-w64-mingw32/bin/ld.exe: cannot find .objdebugQt5Cored_resource_res.o
d:/msys/mingw/bin/../lib/gcc/i686-w64-mingw32/9.3.1/../../../../i686-w64-mingw32/bin/ld.exe: cannot find -lqtharfbuzzngd
d:/msys/mingw/bin/../lib/gcc/i686-w64-mingw32/9.3.1/../../../../i686-w64-mingw32/bin/ld.exe: cannot find -lqtpcred
collect2.exe: error: ld returned 1 exit status
make[4]: *** [libqt_plugin.la] Error 1
make[4]: Leaving directory `/build/libs/vlc-3.0.11/win32/modules'

QT_LIBS = -Ld:/Qt/Qt5.5.0/5.5/mingw492_32/lib -LD:\\Qt\\Qt5.5.0\\5.5\\mingw492_32/lib -Ld:/Qt/Qt5.5.0/5.5/mingw492_32/lib -LD:\\Qt\\Qt5.5.0\\5.5\\mingw492_32/lib -Ld:/Qt/Qt5.5.0/5.5/mingw492_32/lib -LD:\\Qt\\Qt5.5.0\\5.5\\mingw492_32/lib -Ld:/Qt/Qt5.5.0/5.5/mingw492_32/lib -LD:\\Qt\\Qt5.5.0\\5.5\\mingw492_32/lib -lQt5Svgd -lQt5Widgetsd -lQt5Guid -lQt5Cored .objdebugQt5Svgd_resource_res.o -lQt5Widgetsd -lgdi32 -lcomdlg32 -loleaut32 -limm32 -lwinmm -lws2_32 -lole32 -luuid -luser32 -ladvapi32 -lQt5Guid -lQt5Cored .objdebugQt5Widgetsd_resource_res.o -lshell32 -lQt5Guid -lgdi32 -lcomdlg32 -loleaut32 -limm32 -lwinmm -lws2_32 -lole32 -luuid -luser32 -ladvapi32 -lQt5Cored .objdebugQt5Guid_resource_res.o -lqtharfbuzzngd -lQt5Cored -lole32 -luuid -lws2_32 -ladvapi32 -lshell32 -luser32 -lkernel32 -lmpr .objdebugQt5Cored_resource_res.o -lqtpcred

QT_LIBS = -Ld:/Qt/Qt5.5.0/5.5/mingw492_32/lib -LD:\\Qt\\Qt5.5.0\\5.5\\mingw492_32/lib -Ld:/Qt/Qt5.5.0/5.5/mingw492_32/lib -LD:\\Qt\\Qt5.5.0\\5.5\\mingw492_32/lib -Ld:/Qt/Qt5.5.0/5.5/mingw492_32/lib -LD:\\Qt\\Qt5.5.0\\5.5\\mingw492_32/lib -Ld:/Qt/Qt5.5.0/5.5/mingw492_32/lib -LD:\\Qt\\Qt5.5.0\\5.5\\mingw492_32/lib -lQt5Svgd -lQt5Widgetsd -lQt5Guid -lQt5Cored -lQt5Widgetsd -lgdi32 -lcomdlg32 -loleaut32 -limm32 -lwinmm -lws2_32 -lole32 -luuid -luser32 -ladvapi32 -lQt5Guid -lQt5Cored -lshell32 -lQt5Guid -lgdi32 -lcomdlg32 -loleaut32 -limm32 -lwinmm -lws2_32 -lole32 -luuid -luser32 -ladvapi32 -lQt5Cored -lQt5Cored -lole32 -luuid -lws2_32 -ladvapi32 -lshell32 -luser32 -lkernel32 -lmpr
--------------------------------------------------------------------------------------------
  CXXLD    libskins2_plugin.la
libtool: warning: library 'd:/msys/mingw/bin/../lib/gcc/i686-w64-mingw32/9.3.1/../../../../lib/libstdc++.la' was moved.
D:/MSYS/local/lib\libharfbuzz.a(libharfbuzz_la-hb-font.o):hb-font.cc:(.text+0x15): undefined reference to `floorf'
D:/MSYS/local/lib\libharfbuzz.a(libharfbuzz_la-hb-ot-font.o):hb-ot-font.cc:(.text+0x15): undefined reference to `floorf'
D:/MSYS/local/lib\libharfbuzz.a(libharfbuzz_la-hb-ot-font.o):hb-ot-font.cc:(.text+0x158f): undefined reference to `__popcountdi2'
D:/MSYS/local/lib\libharfbuzz.a(libharfbuzz_la-hb-ot-font.o):hb-ot-font.cc:(.text+0x15d2): undefined reference to `__ctzdi2'
D:/MSYS/local/lib\libharfbuzz.a(libharfbuzz_la-hb-ot-font.o):hb-ot-font.cc:(.text$_ZNK2OT4glyf13accelerator_t20get_side_bearing_varEP9hb_font_tjb[__ZNK2OT4glyf13accelerator_t20get_side_bearing_varEP9hb_font_tjb]+0xe4): undefined reference to `ceilf'
D:/MSYS/local/lib\libharfbuzz.a(libharfbuzz_la-hb-ot-font.o):hb-ot-font.cc:(.text$_ZNK2OT4glyf13accelerator_t20get_side_bearing_varEP9hb_font_tjb[__ZNK2OT4glyf13accelerator_t20get_side_bearing_varEP9hb_font_tjb]+0x128): undefined reference to `floorf'
D:/MSYS/local/lib\libharfbuzz.a(libharfbuzz_la-hb-ot-layout.o):hb-ot-layout.cc:(.text+0x15): undefined reference to `floorf'
D:/MSYS/local/lib\libharfbuzz.a(libharfbuzz_la-hb-ot-layout.o):hb-ot-layout.cc:(.text+0x4fdd): undefined reference to `__popcountdi2'
D:/MSYS/local/lib\libharfbuzz.a(libharfbuzz_la-hb-ot-layout.o):hb-ot-layout.cc:(.text+0x5020): undefined reference to `__ctzdi2'
D:/MSYS/local/lib\libharfbuzz.a(libharfbuzz_la-hb-ot-layout.o):hb-ot-layout.cc:(.text+0x7135): undefined reference to `__popcountsi2'
D:/MSYS/local/lib\libharfbuzz.a(libharfbuzz_la-hb-ot-metrics.o):hb-ot-metrics.cc:(.text+0x15): undefined reference to `floorf'
D:/MSYS/local/lib\libharfbuzz.a(libharfbuzz_la-hb-ot-metrics.o):hb-ot-metrics.cc:(.text+0x1ebd): undefined reference to `__popcountdi2'
D:/MSYS/local/lib\libharfbuzz.a(libharfbuzz_la-hb-ot-metrics.o):hb-ot-metrics.cc:(.text+0x1f00): undefined reference to `__ctzdi2'
D:/MSYS/local/lib\libharfbuzz.a(libharfbuzz_la-hb-ot-var.o):hb-ot-var.cc:(.text+0x15): undefined reference to `floorf'
D:/MSYS/local/lib\libharfbuzz.a(libharfbuzz_la-hb-ot-var.o):hb-ot-var.cc:(.text+0x7c1): undefined reference to `__popcountdi2'
D:/MSYS/local/lib\libharfbuzz.a(libharfbuzz_la-hb-ot-var.o):hb-ot-var.cc:(.text+0x804): undefined reference to `__ctzdi2'
D:/MSYS/local/lib\libharfbuzz.a(libharfbuzz_la-hb-set.o):hb-set.cc:(.text+0x3b2): undefined reference to `__popcountdi2'
D:/MSYS/local/lib\libharfbuzz.a(libharfbuzz_la-hb-set.o):hb-set.cc:(.text+0x3f5): undefined reference to `__ctzdi2'
D:/MSYS/local/lib\libharfbuzz.a(libharfbuzz_la-hb-static.o):hb-static.cc:(.text+0x6bf): undefined reference to `__popcountdi2'
D:/MSYS/local/lib\libharfbuzz.a(libharfbuzz_la-hb-static.o):hb-static.cc:(.text+0x702): undefined reference to `__ctzdi2'
D:/MSYS/local/lib\libharfbuzz.a(libharfbuzz_la-hb-ft.o):hb-ft.cc:(.text+0xfa6): undefined reference to `FT_Get_MM_Var'
D:/MSYS/local/lib\libharfbuzz.a(libharfbuzz_la-hb-ft.o):hb-ft.cc:(.text+0x1012): undefined reference to `FT_Get_Var_Blend_Coordinates'
D:/MSYS/local/lib\libharfbuzz.a(libharfbuzz_la-hb-ft.o):hb-ft.cc:(.text+0x1107): undefined reference to `FT_Done_MM_Var'
D:/MSYS/local/lib\libharfbuzz.a(libharfbuzz_la-hb-ft.o):hb-ft.cc:(.text+0x13f0): undefined reference to `FT_Set_Var_Blend_Coordinates'
D:/MSYS/local/lib\libharfbuzz.a(libharfbuzz_la-hb-aat-layout.o):hb-aat-layout.cc:(.text+0x15): undefined reference to `floorf'
D:/MSYS/local/lib\libharfbuzz.a(libharfbuzz_la-hb-aat-layout.o):hb-aat-layout.cc:(.text+0x13f3): undefined reference to `__popcountdi2'
D:/MSYS/local/lib\libharfbuzz.a(libharfbuzz_la-hb-aat-layout.o):hb-aat-layout.cc:(.text+0x1436): undefined reference to `__ctzdi2'
D:/MSYS/local/lib\libharfbuzz.a(libharfbuzz_la-hb-blob.o):hb-blob.cc:(.text+0x58d): undefined reference to `_imp__UnmapViewOfFile@4'
D:/MSYS/local/lib\libharfbuzz.a(libharfbuzz_la-hb-blob.o):hb-blob.cc:(.text+0x624): undefined reference to `mbstowcs'
D:/MSYS/local/lib\libharfbuzz.a(libharfbuzz_la-hb-blob.o):hb-blob.cc:(.text+0x65f): undefined reference to `_imp__CreateFileW@28'
D:/MSYS/local/lib\libharfbuzz.a(libharfbuzz_la-hb-blob.o):hb-blob.cc:(.text+0x68f): undefined reference to `_imp__GetFileSize@8'
D:/MSYS/local/lib\libharfbuzz.a(libharfbuzz_la-hb-blob.o):hb-blob.cc:(.text+0x6cd): undefined reference to `_imp__CreateFileMappingA@24'
D:/MSYS/local/lib\libharfbuzz.a(libharfbuzz_la-hb-blob.o):hb-blob.cc:(.text+0x714): undefined reference to `_imp__MapViewOfFile@20'
D:/MSYS/local/lib\libharfbuzz.a(libharfbuzz_la-hb-blob.o):hb-blob.cc:(.text+0x7e6): undefined reference to `feof'
D:/MSYS/local/lib\libharfbuzz.a(libharfbuzz_la-hb-ot-cff1-table.o):hb-ot-cff1-table.cc:(.text+0x15): undefined reference to `floorf'
D:/MSYS/local/lib\libharfbuzz.a(libharfbuzz_la-hb-ot-cff1-table.o):hb-ot-cff1-table.cc:(.text+0x9a2): undefined reference to `__popcountdi2'
D:/MSYS/local/lib\libharfbuzz.a(libharfbuzz_la-hb-ot-cff1-table.o):hb-ot-cff1-table.cc:(.text+0x9e5): undefined reference to `__ctzdi2'
D:/MSYS/local/lib\libharfbuzz.a(libharfbuzz_la-hb-ot-cff2-table.o):hb-ot-cff2-table.cc:(.text+0x15): undefined reference to `floorf'
D:/MSYS/local/lib\libharfbuzz.a(libharfbuzz_la-hb-ot-cff2-table.o):hb-ot-cff2-table.cc:(.text+0x65e): undefined reference to `__popcountdi2'
D:/MSYS/local/lib\libharfbuzz.a(libharfbuzz_la-hb-ot-cff2-table.o):hb-ot-cff2-table.cc:(.text+0x6a1): undefined reference to `__ctzdi2'
D:/MSYS/local/lib\libharfbuzz.a(libharfbuzz_la-hb-ot-face.o):hb-ot-face.cc:(.text+0x1077): undefined reference to `__popcountdi2'
D:/MSYS/local/lib\libharfbuzz.a(libharfbuzz_la-hb-ot-face.o):hb-ot-face.cc:(.text+0x10ba): undefined reference to `__ctzdi2'
D:/MSYS/local/lib\libharfbuzz.a(libharfbuzz_la-hb-ot-map.o):hb-ot-map.cc:(.text+0x1963): undefined reference to `__popcountsi2'
D:/MSYS/local/lib\libharfbuzz.a(libharfbuzz_la-hb-ot-shape-complex-arabic.o):hb-ot-shape-complex-arabic.cc:(.text+0x3dd5): undefined reference to `__popcountdi2'
D:/MSYS/local/lib\libharfbuzz.a(libharfbuzz_la-hb-ot-shape-complex-arabic.o):hb-ot-shape-complex-arabic.cc:(.text+0x3e18): undefined reference to `__ctzdi2'
D:/MSYS/local/lib\libharfbuzz.a(libharfbuzz_la-hb-ot-shape-fallback.o):hb-ot-shape-fallback.cc:(.text+0x200f): undefined reference to `__popcountdi2'
D:/MSYS/local/lib\libharfbuzz.a(libharfbuzz_la-hb-ot-shape-fallback.o):hb-ot-shape-fallback.cc:(.text+0x2052): undefined reference to `__ctzdi2'
collect2.exe: error: ld returned 1 exit status
make[4]: *** [libskins2_plugin.la] Error 1
make[4]: Leaving directory `/build/libs/vlc-3.0.11/win32/modules'

echo "  CXXLD   " libskins2_plugin.la;../doltlibtool --silent --tag=CXX   --mode=link i686-w64-mingw32-g++ -Wl,-v -O2 -fno-rtti -I/usr/local/include -march=i686 -std=c++11  -static-libgcc -mms-bitfields -Wall -Wextra -Wsign-compare -Wundef -Wpointer-arith -Wvolatile-register-var -Wformat -Wformat-security -O3 -fno-math-errno -funsafe-math-optimizations -fno-rounding-math -fno-signaling-nans -fcx-limited-range -funroll-loops -fomit-frame-pointer -fno-stack-protector -avoid-version -module -export-symbols-regex ^vlc_entry -shrext .dll -no-undefined ../compat/libcompat.la ../src/libvlccore.la ../modules/module.rc.lo -Wc,-static -L/usr/local/lib -Wl,--allow-multiple-definition  -Wl,--nxcompat -Wl,--no-seh -Wl,--dynamicbase  -ladvapi32 -o libskins2_plugin.la -rpath /opt/vlc/lib/vlc/plugins/gui gui/skins2/commands/libskins2_plugin_la-async_queue.lo gui/skins2/commands/libskins2_plugin_la-cmd_add_item.lo gui/skins2/commands/libskins2_plugin_la-cmd_audio.lo gui/skins2/commands/libskins2_plugin_la-cmd_dvd.lo gui/skins2/commands/libskins2_plugin_la-cmd_change_skin.lo gui/skins2/commands/libskins2_plugin_la-cmd_fullscreen.lo gui/skins2/commands/libskins2_plugin_la-cmd_input.lo gui/skins2/commands/libskins2_plugin_la-cmd_layout.lo gui/skins2/commands/libskins2_plugin_la-cmd_muxer.lo gui/skins2/commands/libskins2_plugin_la-cmd_on_top.lo gui/skins2/commands/libskins2_plugin_la-cmd_playlist.lo gui/skins2/commands/libskins2_plugin_la-cmd_playtree.lo gui/skins2/commands/libskins2_plugin_la-cmd_minimize.lo gui/skins2/commands/libskins2_plugin_la-cmd_quit.lo gui/skins2/commands/libskins2_plugin_la-cmd_resize.lo gui/skins2/commands/libskins2_plugin_la-cmd_snapshot.lo gui/skins2/commands/libskins2_plugin_la-cmd_vars.lo gui/skins2/controls/libskins2_plugin_la-ctrl_button.lo gui/skins2/controls/libskins2_plugin_la-ctrl_checkbox.lo gui/skins2/controls/libskins2_plugin_la-ctrl_generic.lo gui/skins2/controls/libskins2_plugin_la-ctrl_image.lo gui/skins2/controls/libskins2_plugin_la-ctrl_list.lo gui/skins2/controls/libskins2_plugin_la-ctrl_tree.lo gui/skins2/controls/libskins2_plugin_la-ctrl_move.lo gui/skins2/controls/libskins2_plugin_la-ctrl_resize.lo gui/skins2/controls/libskins2_plugin_la-ctrl_slider.lo gui/skins2/controls/libskins2_plugin_la-ctrl_radialslider.lo gui/skins2/controls/libskins2_plugin_la-ctrl_text.lo gui/skins2/controls/libskins2_plugin_la-ctrl_video.lo gui/skins2/events/libskins2_plugin_la-evt_input.lo gui/skins2/events/libskins2_plugin_la-evt_key.lo gui/skins2/events/libskins2_plugin_la-evt_mouse.lo gui/skins2/events/libskins2_plugin_la-evt_special.lo gui/skins2/events/libskins2_plugin_la-evt_scroll.lo gui/skins2/parser/libskins2_plugin_la-builder.lo gui/skins2/parser/libskins2_plugin_la-expr_evaluator.lo gui/skins2/parser/libskins2_plugin_la-interpreter.lo gui/skins2/parser/libskins2_plugin_la-skin_parser.lo gui/skins2/parser/libskins2_plugin_la-xmlparser.lo gui/skins2/src/libskins2_plugin_la-anchor.lo gui/skins2/src/libskins2_plugin_la-anim_bitmap.lo gui/skins2/src/libskins2_plugin_la-bitmap_font.lo gui/skins2/src/libskins2_plugin_la-dialogs.lo gui/skins2/src/libskins2_plugin_la-file_bitmap.lo gui/skins2/src/libskins2_plugin_la-art_manager.lo gui/skins2/src/libskins2_plugin_la-ft2_bitmap.lo gui/skins2/src/libskins2_plugin_la-ft2_font.lo gui/skins2/src/libskins2_plugin_la-ft2_err.lo gui/skins2/src/libskins2_plugin_la-generic_bitmap.lo gui/skins2/src/libskins2_plugin_la-generic_layout.lo gui/skins2/src/libskins2_plugin_la-generic_window.lo gui/skins2/src/libskins2_plugin_la-ini_file.lo gui/skins2/src/libskins2_plugin_la-logger.lo gui/skins2/src/libskins2_plugin_la-os_factory.lo gui/skins2/src/libskins2_plugin_la-popup.lo gui/skins2/src/libskins2_plugin_la-scaled_bitmap.lo gui/skins2/src/libskins2_plugin_la-skin_main.lo gui/skins2/src/libskins2_plugin_la-theme.lo gui/skins2/src/libskins2_plugin_la-theme_loader.lo gui/skins2/src/libskins2_plugin_la-theme_repository.lo gui/skins2/src/libskins2_plugin_la-tooltip.lo gui/skins2/src/libskins2_plugin_la-top_window.lo gui/skins2/src/libskins2_plugin_la-fsc_window.lo gui/skins2/src/libskins2_plugin_la-var_manager.lo gui/skins2/src/libskins2_plugin_la-vlcproc.lo gui/skins2/src/libskins2_plugin_la-vout_window.lo gui/skins2/src/libskins2_plugin_la-vout_manager.lo gui/skins2/src/libskins2_plugin_la-window_manager.lo gui/skins2/utils/libskins2_plugin_la-bezier.lo gui/skins2/utils/libskins2_plugin_la-fsm.lo gui/skins2/utils/libskins2_plugin_la-position.lo gui/skins2/utils/libskins2_plugin_la-ustring.lo gui/skins2/utils/libskins2_plugin_la-var_bool.lo gui/skins2/utils/libskins2_plugin_la-var_list.lo gui/skins2/utils/libskins2_plugin_la-var_percent.lo gui/skins2/utils/libskins2_plugin_la-var_text.lo gui/skins2/utils/libskins2_plugin_la-var_string.lo gui/skins2/utils/libskins2_plugin_la-var_tree.lo gui/skins2/vars/libskins2_plugin_la-equalizer.lo gui/skins2/vars/libskins2_plugin_la-playtree.lo gui/skins2/vars/libskins2_plugin_la-time.lo gui/skins2/vars/libskins2_plugin_la-volume.lo gui/skins2/win32/libskins2_plugin_la-win32_dragdrop.lo gui/skins2/win32/libskins2_plugin_la-win32_factory.lo gui/skins2/win32/libskins2_plugin_la-win32_graphics.lo gui/skins2/win32/libskins2_plugin_la-win32_loop.lo gui/skins2/win32/libskins2_plugin_la-win32_popup.lo gui/skins2/win32/libskins2_plugin_la-win32_timer.lo gui/skins2/win32/libskins2_plugin_la-win32_tooltip.lo gui/skins2/win32/libskins2_plugin_la-win32_window.lo    -lgdi32 -lole32 -luuid -lmsimg32 -LD:/MSYS/local/lib -lharfbuzz -lfreetype -lharfbuzz  -lxml2 -ltiff -llzma -ljpeg -lwebp -lm -lfribidi -lbz2 -lpng16 -lbrotlidec -lbrotlicommon -lpsapi -lws2_32 -lmswsock -lshlwapi -lz -lm -lmingw32 -static

--------------------------------------------------------------------------------------------
../../modules/lua/demux.c:55:13: error: implicit declaration of function 'luaL_checkint'; did you mean 'luaL_checkany'? [-Werror=implicit-function-declaration]
   55 |     int n = luaL_checkint( L, 1 );
      |             ^~~~~~~~~~~~~
      |             luaL_checkany
cc1.exe: some warnings being treated as errors
make[4]: *** [lua/liblua_plugin_la-demux.lo] Error 1

../../modules/lua/libs/net.c:317:27: error: implicit declaration of function 'lua_checkstackeger'; did you mean 'lua_checkstack'? [-Werror=implicit-function-declaration]
  317 |         p_fds[i].events = lua_checkstackeger( L, -1 );
      |                           ^~~~~~~~~~~~~~~~~~
      |                           lua_checkstack
cc1.exe: some warnings being treated as errors
make[4]: *** [lua/libs/liblua_plugin_la-net.lo] Error 1

must install lua-5.1.5
--------------------------------------------------------------------------------------------
../../modules/misc/gnutls.c: In function 'gnutls_ClientHandshake':
../../modules/misc/gnutls.c:445:9: error: implicit declaration of function 'gnutls_free'; did you mean 'gnutls_prf'? [-Werror=implicit-function-declaration]
  445 |         gnutls_free (desc.data);
      |         ^~~~~~~~~~~
      |         gnutls_prf
../../modules/misc/gnutls.c: In function 'gnutls_ServerSessionOpen':
../../modules/misc/gnutls.c:626:71: warning: unused parameter 'hostname' [-Wunused-parameter]
  626 |                                            vlc_tls_t *sk, const char *hostname,
      |                                                           ~~~~~~~~~~~~^~~~~~~~
cc1.exe: some warnings being treated as errors
make[4]: *** [misc/libgnutls_plugin_la-gnutls.lo] Error 1

if(desc.data) {free (desc.data); desc.data=NULL;}
--------------------------------------------------------------------------------------------
In file included from D:/MSYS/opt/opencv-3.1.0/include/opencv2/core/core_c.h:48,
                 from ../../modules/video_filter/opencv_wrapper.c:42:
D:/MSYS/opt/opencv-3.1.0/include/opencv2/core/types_c.h: In function 'cvPointFrom32f':
D:/MSYS/opt/opencv-3.1.0/include/opencv2/core/types_c.h:929:13: error: implicit declaration of function 'cvRound' [-Werror=implicit-function-declaration]
  929 |     ipt.x = cvRound(point.x);
cc1.exe: some warnings being treated as errors
make[4]: *** [video_filter/libopencv_wrapper_plugin_la-opencv_wrapper.lo] Error 1
make[4]: Leaving directory `/build/libs/vlc-3.0.11/win32/modules'

Abandon the new version opencv-3.1.0
use opencv-2413

vlc-3.0.11\win32\modules/Makefile

CFLAGS_opencv_example =  -I/usr/opt/opencv-2.4.13/include/opencv -I/usr/opt/opencv-2.4.13/include
CFLAGS_opencv_wrapper =  -I/usr/opt/opencv-2.4.13/include/opencv -I/usr/opt/opencv-2.4.13/include
OPENCV_CFLAGS = -I/usr/opt/opencv-2.4.13/include/opencv -I/usr/opt/opencv-2.4.13/include
OPENCV_LIBS = -L/usr/opt/opencv-2.4.13/x86/mingw/staticlib -lopencv_world2413 -lIlmImf -llibjasper -llibtiff -llibpng -llibjpeg -lzlib -lwinmm -lvfw32 -lws2_32 -lsetupapi -lole32 -lgdi32 -lcomctl32 -lopengl32 -lglu32 -lstdc++
LIBS_opencv_example = -L/usr/opt/opencv-2.4.13/x86/mingw/staticlib -lopencv_world2413 -lIlmImf -llibjasper -llibtiff -llibpng -llibjpeg -lzlib -lwinmm -lvfw32 -lws2_32 -lsetupapi -lole32 -lgdi32 -lcomctl32 -lopengl32 -lglu32 -lstdc++ -lglu32 -lopengl32 -lzlib  
LIBS_opencv_wrapper = -L/usr/opt/opencv-2.4.13/x86/mingw/staticlib -lopencv_world2413 -lIlmImf -llibjasper -llibtiff -llibpng -llibjpeg -lzlib -lwinmm -lvfw32 -lws2_32 -lsetupapi -lole32 -lgdi32 -lcomctl32 -lopengl32 -lglu32 -lstdc++ -lglu32 -lopengl32 -lzlib 
--------------------------------------------------------------------------------------------
windres --include-dir ../../share/icons --include-dir ../../extras/package/win32 -i vlc_win32_rc.rc -o vlc_win32_rc.o
  CCLD     vlc.exe
D:\zDown\temp\SysTmp\cc267jI6.o:lt-vlc.c:(.text+0x106): undefined reference to `__stack_chk_guard'
D:\zDown\temp\SysTmp\cc267jI6.o:lt-vlc.c:(.text+0x152): undefined reference to `__stack_chk_guard'
D:\zDown\temp\SysTmp\cc267jI6.o:lt-vlc.c:(.text+0x1b4): undefined reference to `__stack_chk_fail'
D:\zDown\temp\SysTmp\cc267jI6.o:lt-vlc.c:(.text+0x1c5): undefined reference to `__stack_chk_guard'
D:\zDown\temp\SysTmp\cc267jI6.o:lt-vlc.c:(.text+0x211): undefined reference to `__stack_chk_guard'
D:\zDown\temp\SysTmp\cc267jI6.o:lt-vlc.c:(.text+0x27a): undefined reference to `__stack_chk_fail'
D:\zDown\temp\SysTmp\cc267jI6.o:lt-vlc.c:(.text+0x5fb): undefined reference to `__stack_chk_guard'
D:\zDown\temp\SysTmp\cc267jI6.o:lt-vlc.c:(.text+0xa92): undefined reference to `__stack_chk_guard'
D:\zDown\temp\SysTmp\cc267jI6.o:lt-vlc.c:(.text+0xfbc): undefined reference to `__stack_chk_fail'
collect2.exe: error: ld returned 1 exit status

gcc -ladvapi32 -o vlc.exe vlc-winvlc.o ../lib/.libs/libvlc.dll.a   vlc_win32_rc.o
gcc  -ladvapi32 -o vlc-cache-gen.exe cachegen.o  ../compat/.libs/libcompat.a ../lib/.libs/libvlc.dll.a vlc_win32_rc.o 
--------------------------------------------------------------------------------------------
make install
Done.

  

 

posted @ 2020-09-06 13:44  1CM  阅读(351)  评论(0编辑  收藏  举报