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
export LDFLAGS=' -L/usr/local/lib -Wl,--allow-multiple-definition '
export PKG_CONFIG_PATH='/usr/local/lib/pkgconfig:/usr/opt/ffmpeg/lib/pkgconfig:/D/Qt/Qt5.5.0/5.5/mingw492_32/lib/pkgconfig'
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.1
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.1/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.1\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.1/win32/src'
vlc-3.0.11.1\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.1/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.1/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.1/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.1/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.1/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.1/win32/modules'
vlc-3.0.11.1\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.1/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.5.0/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.5.0/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.1/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.1/win32/modules'
skip skins2
--------------------------------------------------------------------------------------------
../../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.1\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.
?
來源:https://www./content-4-733951.html
|