Page 1 of 1

Undefined Reference errors when cross compile VLC for windows

Posted: 21 Mar 2015 10:09
by nn330303
Hi,
I follow this page (https://wiki.videolan.org/Win32Compile/ ... ng_Methods)
and use the first method (MinGW on Linux) to compile VLC for windows on Ubuntu 14.04.

toolchain: x86_64-w64-mingw32

but when I run the command "make", it always show error messages about undefined reference to `strtok_r'.

Code: Select all

make all-recursive make[1]: Entering directory `/home/fang/vlc-2.2.0/win32' Making all in compat make[2]: Entering directory `/home/fang/vlc-2.2.0/win32/compat' make all-am make[3]: Entering directory `/home/fang/vlc-2.2.0/win32/compat' make[3]: Nothing to be done for `all-am'. make[3]: Leaving directory `/home/fang/vlc-2.2.0/win32/compat' make[2]: Leaving directory `/home/fang/vlc-2.2.0/win32/compat' Making all in doc make[2]: Entering directory `/home/fang/vlc-2.2.0/win32/doc' make[2]: Nothing to be done for `all'. make[2]: Leaving directory `/home/fang/vlc-2.2.0/win32/doc' Making all in po make[2]: Entering directory `/home/fang/vlc-2.2.0/win32/po' make[2]: Nothing to be done for `all'. make[2]: Leaving directory `/home/fang/vlc-2.2.0/win32/po' Making all in share make[2]: Entering directory `/home/fang/vlc-2.2.0/win32/share' make[2]: Nothing to be done for `all'. make[2]: Leaving directory `/home/fang/vlc-2.2.0/win32/share' Making all in src make[2]: Entering directory `/home/fang/vlc-2.2.0/win32/src' GEN stamp-revision fatal: Not a git repository: '../../extras/package/win32/../../../.git/' make all-am make[3]: Entering directory `/home/fang/vlc-2.2.0/win32/src' make[3]: Nothing to be done for `all-am'. make[3]: Leaving directory `/home/fang/vlc-2.2.0/win32/src' make[2]: Leaving directory `/home/fang/vlc-2.2.0/win32/src' Making all in modules make[2]: Entering directory `/home/fang/vlc-2.2.0/win32/modules' make all-recursive make[3]: Entering directory `/home/fang/vlc-2.2.0/win32/modules' Making all in . make[4]: Entering directory `/home/fang/vlc-2.2.0/win32/modules' CCLD libx265_plugin.la /home/fang/vlc-2.2.0/contrib/x86_64-w64-mingw32/lib/libx265.a(param.cpp.obj): In function `x265::parseCpuName(char const*, bool&)': /home/buildslave/vlc-contrib-win64-x86_64/build/contrib/win/x265/source/common/param.cpp:775: undefined reference to `strtok_r' /home/fang/vlc-2.2.0/contrib/x86_64-w64-mingw32/lib/libx265.a(param.cpp.obj): In function `x265::parseLambdaFile(x265_param*)': /home/buildslave/vlc-contrib-win64-x86_64/build/contrib/win/x265/source/common/param.cpp:1332: undefined reference to `strtok_r' collect2: error: ld returned 1 exit status make[4]: *** [libx265_plugin.la] Error 1 make[4]: Leaving directory `/home/fang/vlc-2.2.0/win32/modules' make[3]: *** [all-recursive] Error 1 make[3]: Leaving directory `/home/fang/vlc-2.2.0/win32/modules' make[2]: *** [all] Error 2 make[2]: Leaving directory `/home/fang/vlc-2.2.0/win32/modules' make[1]: *** [all-recursive] Error 1 make[1]: Leaving directory `/home/fang/vlc-2.2.0/win32' make: *** [all] Error 2
after try to --disable-x265 when configure and remake again,
it got other errors about undefined reference to `_Unwind_Resume' and `__gxx_personality_seh0'

Code: Select all

make all-recursive make[1]: Entering directory `/home/fang/vlc-2.2.0/win32' Making all in compat make[2]: Entering directory `/home/fang/vlc-2.2.0/win32/compat' make all-am make[3]: Entering directory `/home/fang/vlc-2.2.0/win32/compat' make[3]: Nothing to be done for `all-am'. make[3]: Leaving directory `/home/fang/vlc-2.2.0/win32/compat' make[2]: Leaving directory `/home/fang/vlc-2.2.0/win32/compat' Making all in doc make[2]: Entering directory `/home/fang/vlc-2.2.0/win32/doc' make[2]: Nothing to be done for `all'. make[2]: Leaving directory `/home/fang/vlc-2.2.0/win32/doc' Making all in po make[2]: Entering directory `/home/fang/vlc-2.2.0/win32/po' make[2]: Nothing to be done for `all'. make[2]: Leaving directory `/home/fang/vlc-2.2.0/win32/po' Making all in share make[2]: Entering directory `/home/fang/vlc-2.2.0/win32/share' make[2]: Nothing to be done for `all'. make[2]: Leaving directory `/home/fang/vlc-2.2.0/win32/share' Making all in src make[2]: Entering directory `/home/fang/vlc-2.2.0/win32/src' GEN stamp-revision fatal: Not a git repository: '../../extras/package/win32/../../../.git/' make all-am make[3]: Entering directory `/home/fang/vlc-2.2.0/win32/src' make[3]: Nothing to be done for `all-am'. make[3]: Leaving directory `/home/fang/vlc-2.2.0/win32/src' make[2]: Leaving directory `/home/fang/vlc-2.2.0/win32/src' Making all in modules make[2]: Entering directory `/home/fang/vlc-2.2.0/win32/modules' make all-recursive make[3]: Entering directory `/home/fang/vlc-2.2.0/win32/modules' Making all in . make[4]: Entering directory `/home/fang/vlc-2.2.0/win32/modules' CXXLD libgme_plugin.la /home/fang/vlc-2.2.0/contrib/x86_64-w64-mingw32/lib/libgme.a(gme.cpp.obj): In function `gme_identify_file': /home/buildslave/vlc-contrib-win64-x86_64/build/contrib/win/game-music-emu/gme/gme.cpp:124: undefined reference to `_Unwind_Resume' /home/fang/vlc-2.2.0/contrib/x86_64-w64-mingw32/lib/libgme.a(gme.cpp.obj): In function `gme_open_file': /home/buildslave/vlc-contrib-win64-x86_64/build/contrib/win/game-music-emu/gme/gme.cpp:187: undefined reference to `_Unwind_Resume' /home/fang/vlc-2.2.0/contrib/x86_64-w64-mingw32/lib/libgme.a(gme.cpp.obj): In function `gme_new_emu': /home/buildslave/vlc-contrib-win64-x86_64/build/contrib/win/game-music-emu/gme/gme.cpp:203: undefined reference to `_Unwind_Resume' /home/fang/vlc-2.2.0/contrib/x86_64-w64-mingw32/lib/libgme.a(gme.cpp.obj): In function `gme_load_data': /home/buildslave/vlc-contrib-win64-x86_64/build/contrib/win/game-music-emu/gme/gme.cpp:228: undefined reference to `_Unwind_Resume' /home/fang/vlc-2.2.0/contrib/x86_64-w64-mingw32/lib/libgme.a(gme.cpp.obj): In function `gme_load_custom': /home/buildslave/vlc-contrib-win64-x86_64/build/contrib/win/game-music-emu/gme/gme.cpp:234: undefined reference to `_Unwind_Resume' /home/fang/vlc-2.2.0/contrib/x86_64-w64-mingw32/lib/libgme.a(gme.cpp.obj):gme.cpp:(.data+0x0): undefined reference to `__gxx_personality_seh0' /home/fang/vlc-2.2.0/contrib/x86_64-w64-mingw32/lib/libgme.a(gme.cpp.obj):gme.cpp:(.xdata+0x40): undefined reference to `__gxx_personality_seh0' /home/fang/vlc-2.2.0/contrib/x86_64-w64-mingw32/lib/libgme.a(gme.cpp.obj):gme.cpp:(.xdata+0x78): undefined reference to `__gxx_personality_seh0' /home/fang/vlc-2.2.0/contrib/x86_64-w64-mingw32/lib/libgme.a(gme.cpp.obj):gme.cpp:(.xdata+0xac): undefined reference to `__gxx_personality_seh0' /home/fang/vlc-2.2.0/contrib/x86_64-w64-mingw32/lib/libgme.a(gme.cpp.obj):gme.cpp:(.xdata+0xdc): undefined reference to `__gxx_personality_seh0' /home/fang/vlc-2.2.0/contrib/x86_64-w64-mingw32/lib/libgme.a(gme.cpp.obj):gme.cpp:(.xdata+0xfc): more undefined references to `__gxx_personality_seh0' follow /home/fang/vlc-2.2.0/contrib/x86_64-w64-mingw32/lib/libgme.a(Data_Reader.cpp.obj): In function `Subset_Reader::Subset_Reader(Data_Reader*, long)': /home/buildslave/vlc-contrib-win64-x86_64/build/contrib/win/game-music-emu/gme/Data_Reader.cpp:65: undefined reference to `_Unwind_Resume' /home/fang/vlc-2.2.0/contrib/x86_64-w64-mingw32/lib/libgme.a(Data_Reader.cpp.obj): In function `Std_File_Reader::~Std_File_Reader()': /home/buildslave/vlc-contrib-win64-x86_64/build/contrib/win/game-music-emu/gme/Data_Reader.cpp:192: undefined reference to `_Unwind_Resume' /home/fang/vlc-2.2.0/contrib/x86_64-w64-mingw32/lib/libgme.a(Data_Reader.cpp.obj):Data_Reader.cpp:(.data+0x0): undefined reference to `__gxx_personality_seh0' /home/fang/vlc-2.2.0/contrib/x86_64-w64-mingw32/lib/libgme.a(Data_Reader.cpp.obj):Data_Reader.cpp:(.xdata+0x3c): undefined reference to `__gxx_personality_seh0' /home/fang/vlc-2.2.0/contrib/x86_64-w64-mingw32/lib/libgme.a(Data_Reader.cpp.obj):Data_Reader.cpp:(.xdata+0x114): undefined reference to `__gxx_personality_seh0' /home/fang/vlc-2.2.0/contrib/x86_64-w64-mingw32/lib/libgme.a(Gme_File.cpp.obj): In function `Gme_File::Gme_File()': /home/buildslave/vlc-contrib-win64-x86_64/build/contrib/win/game-music-emu/gme/Gme_File.cpp:38: undefined reference to `_Unwind_Resume' /home/fang/vlc-2.2.0/contrib/x86_64-w64-mingw32/lib/libgme.a(Gme_File.cpp.obj): In function `Gme_File::~Gme_File()': /home/buildslave/vlc-contrib-win64-x86_64/build/contrib/win/game-music-emu/gme/Gme_File.cpp:47: undefined reference to `_Unwind_Resume' /home/fang/vlc-2.2.0/contrib/x86_64-w64-mingw32/lib/libgme.a(Gme_File.cpp.obj): In function `Gme_File::load_mem_(unsigned char const*, long)': /home/buildslave/vlc-contrib-win64-x86_64/build/contrib/win/game-music-emu/gme/Gme_File.cpp:57: undefined reference to `_Unwind_Resume' /home/fang/vlc-2.2.0/contrib/x86_64-w64-mingw32/lib/libgme.a(Gme_File.cpp.obj): In function `Gme_File::load_file(char const*)': /home/buildslave/vlc-contrib-win64-x86_64/build/contrib/win/game-music-emu/gme/Gme_File.cpp:104: undefined reference to `_Unwind_Resume' /home/fang/vlc-2.2.0/contrib/x86_64-w64-mingw32/lib/libgme.a(Gme_File.cpp.obj): In function `Gme_File::load_remaining_(void const*, long, Data_Reader&)': /home/buildslave/vlc-contrib-win64-x86_64/build/contrib/win/game-music-emu/gme/Gme_File.cpp:110: undefined reference to `_Unwind_Resume' /home/fang/vlc-2.2.0/contrib/x86_64-w64-mingw32/lib/libgme.a(Gme_File.cpp.obj):Gme_File.cpp:(.data+0x0): undefined reference to `__gxx_personality_seh0' /home/fang/vlc-2.2.0/contrib/x86_64-w64-mingw32/lib/libgme.a(Gme_File.cpp.obj):Gme_File.cpp:(.xdata+0x24): undefined reference to `__gxx_personality_seh0' /home/fang/vlc-2.2.0/contrib/x86_64-w64-mingw32/lib/libgme.a(Gme_File.cpp.obj):Gme_File.cpp:(.xdata+0x44): undefined reference to `__gxx_personality_seh0' /home/fang/vlc-2.2.0/contrib/x86_64-w64-mingw32/lib/libgme.a(Gme_File.cpp.obj):Gme_File.cpp:(.xdata+0x70): undefined reference to `__gxx_personality_seh0' /home/fang/vlc-2.2.0/contrib/x86_64-w64-mingw32/lib/libgme.a(Gme_File.cpp.obj):Gme_File.cpp:(.xdata+0xdc): undefined reference to `__gxx_personality_seh0' /home/fang/vlc-2.2.0/contrib/x86_64-w64-mingw32/lib/libgme.a(Gme_File.cpp.obj):Gme_File.cpp:(.xdata+0x104): more undefined references to `__gxx_personality_seh0' follow /home/fang/vlc-2.2.0/contrib/x86_64-w64-mingw32/lib/libgme.a(Effects_Buffer.cpp.obj): In function `Effects_Buffer::Effects_Buffer(bool)': /home/buildslave/vlc-contrib-win64-x86_64/build/contrib/win/game-music-emu/gme/Effects_Buffer.cpp:66: undefined reference to `_Unwind_Resume' /home/fang/vlc-2.2.0/contrib/x86_64-w64-mingw32/lib/libgme.a(Effects_Buffer.cpp.obj): In function `Effects_Buffer::~Effects_Buffer()': /home/buildslave/vlc-contrib-win64-x86_64/build/contrib/win/game-music-emu/gme/Effects_Buffer.cpp:79: undefined reference to `_Unwind_Resume' /home/fang/vlc-2.2.0/contrib/x86_64-w64-mingw32/lib/libgme.a(Effects_Buffer.cpp.obj):Effects_Buffer.cpp:(.data+0x0): undefined reference to `__gxx_personality_seh0' /home/fang/vlc-2.2.0/contrib/x86_64-w64-mingw32/lib/libgme.a(Effects_Buffer.cpp.obj):Effects_Buffer.cpp:(.xdata+0x24): undefined reference to `__gxx_personality_seh0' /home/fang/vlc-2.2.0/contrib/x86_64-w64-mingw32/lib/libgme.a(Effects_Buffer.cpp.obj):Effects_Buffer.cpp:(.xdata+0x4c): undefined reference to `__gxx_personality_seh0' /home/fang/vlc-2.2.0/contrib/x86_64-w64-mingw32/lib/libgme.a(Music_Emu.cpp.obj): In function `Music_Emu::Music_Emu()': /home/buildslave/vlc-contrib-win64-x86_64/build/contrib/win/game-music-emu/gme/Music_Emu.cpp:52: undefined reference to `_Unwind_Resume' /home/fang/vlc-2.2.0/contrib/x86_64-w64-mingw32/lib/libgme.a(Music_Emu.cpp.obj): In function `Music_Emu::~Music_Emu()': /home/buildslave/vlc-contrib-win64-x86_64/build/contrib/win/game-music-emu/gme/Music_Emu.cpp:76: undefined reference to `_Unwind_Resume' /home/fang/vlc-2.2.0/contrib/x86_64-w64-mingw32/lib/libgme.a(Music_Emu.cpp.obj):Music_Emu.cpp:(.data+0x0): undefined reference to `__gxx_personality_seh0' /home/fang/vlc-2.2.0/contrib/x86_64-w64-mingw32/lib/libgme.a(Music_Emu.cpp.obj):Music_Emu.cpp:(.xdata+0x2c): undefined reference to `__gxx_personality_seh0' /home/fang/vlc-2.2.0/contrib/x86_64-w64-mingw32/lib/libgme.a(Music_Emu.cpp.obj):Music_Emu.cpp:(.xdata+0x50): undefined reference to `__gxx_personality_seh0' /home/fang/vlc-2.2.0/contrib/x86_64-w64-mingw32/lib/libgme.a(Multi_Buffer.cpp.obj): In function `Mono_Buffer::Mono_Buffer()': /home/buildslave/vlc-contrib-win64-x86_64/build/contrib/win/game-music-emu/gme/Multi_Buffer.cpp:43: undefined reference to `_Unwind_Resume' /home/fang/vlc-2.2.0/contrib/x86_64-w64-mingw32/lib/libgme.a(Multi_Buffer.cpp.obj): In function `Mono_Buffer::~Mono_Buffer()': /home/buildslave/vlc-contrib-win64-x86_64/build/contrib/win/game-music-emu/gme/Multi_Buffer.cpp:50: undefined reference to `_Unwind_Resume' /home/fang/vlc-2.2.0/contrib/x86_64-w64-mingw32/lib/libgme.a(Multi_Buffer.cpp.obj): In function `Stereo_Buffer::Stereo_Buffer()': /home/buildslave/vlc-contrib-win64-x86_64/build/contrib/win/game-music-emu/gme/Multi_Buffer.cpp:60: undefined reference to `_Unwind_Resume' /home/fang/vlc-2.2.0/contrib/x86_64-w64-mingw32/lib/libgme.a(Multi_Buffer.cpp.obj): In function `Stereo_Buffer::~Stereo_Buffer()': /home/buildslave/vlc-contrib-win64-x86_64/build/contrib/win/game-music-emu/gme/Multi_Buffer.cpp:67: undefined reference to `_Unwind_Resume' /home/fang/vlc-2.2.0/contrib/x86_64-w64-mingw32/lib/libgme.a(Multi_Buffer.cpp.obj):Multi_Buffer.cpp:(.data+0x0): undefined reference to `__gxx_personality_seh0' /home/fang/vlc-2.2.0/contrib/x86_64-w64-mingw32/lib/libgme.a(Multi_Buffer.cpp.obj):Multi_Buffer.cpp:(.xdata+0x28): undefined reference to `__gxx_personality_seh0' /home/fang/vlc-2.2.0/contrib/x86_64-w64-mingw32/lib/libgme.a(Multi_Buffer.cpp.obj):Multi_Buffer.cpp:(.xdata+0x48): undefined reference to `__gxx_personality_seh0' /home/fang/vlc-2.2.0/contrib/x86_64-w64-mingw32/lib/libgme.a(Multi_Buffer.cpp.obj):Multi_Buffer.cpp:(.xdata+0x80): undefined reference to `__gxx_personality_seh0' /home/fang/vlc-2.2.0/contrib/x86_64-w64-mingw32/lib/libgme.a(Multi_Buffer.cpp.obj):Multi_Buffer.cpp:(.xdata+0xa0): undefined reference to `__gxx_personality_seh0' /home/fang/vlc-2.2.0/contrib/x86_64-w64-mingw32/lib/libgme.a(Vgm_Emu.cpp.obj): In function `Vgm_Emu::Vgm_Emu()': /home/buildslave/vlc-contrib-win64-x86_64/build/contrib/win/game-music-emu/gme/Vgm_Emu.cpp:26: undefined reference to `_Unwind_Resume' /home/fang/vlc-2.2.0/contrib/x86_64-w64-mingw32/lib/libgme.a(Vgm_Emu.cpp.obj): In function `new_vgm_emu': /home/buildslave/vlc-contrib-win64-x86_64/build/contrib/win/game-music-emu/gme/Vgm_Emu.cpp:202: undefined reference to `_Unwind_Resume' /home/fang/vlc-2.2.0/contrib/x86_64-w64-mingw32/lib/libgme.a(Vgm_Emu.cpp.obj): In function `new_vgm_file': /home/buildslave/vlc-contrib-win64-x86_64/build/contrib/win/game-music-emu/gme/Vgm_Emu.cpp:203: undefined reference to `_Unwind_Resume' /home/fang/vlc-2.2.0/contrib/x86_64-w64-mingw32/lib/libgme.a(Vgm_Emu.cpp.obj):Vgm_Emu.cpp:(.data+0x0): undefined reference to `__gxx_personality_seh0' /home/fang/vlc-2.2.0/contrib/x86_64-w64-mingw32/lib/libgme.a(Vgm_Emu.cpp.obj):Vgm_Emu.cpp:(.xdata+0x18): undefined reference to `__gxx_personality_seh0' /home/fang/vlc-2.2.0/contrib/x86_64-w64-mingw32/lib/libgme.a(Vgm_Emu.cpp.obj):Vgm_Emu.cpp:(.xdata+0xc0): undefined reference to `__gxx_personality_seh0' /home/fang/vlc-2.2.0/contrib/x86_64-w64-mingw32/lib/libgme.a(Vgm_Emu.cpp.obj):Vgm_Emu.cpp:(.xdata+0xe0): undefined reference to `__gxx_personality_seh0' /home/fang/vlc-2.2.0/contrib/x86_64-w64-mingw32/lib/libgme.a(Vgm_Emu.cpp.obj): In function `Vgm_Emu_Impl::Vgm_Emu_Impl()': /home/buildslave/vlc-contrib-win64-x86_64/build/contrib/win/game-music-emu/gme/Vgm_Emu_Impl.h:27: undefined reference to `_Unwind_Resume' /home/fang/vlc-2.2.0/contrib/x86_64-w64-mingw32/lib/libgme.a(Vgm_Emu.cpp.obj):Vgm_Emu.cpp:(.xdata$_ZN12Vgm_Emu_ImplC2Ev+0xc): undefined reference to `__gxx_personality_seh0' /home/fang/vlc-2.2.0/contrib/x86_64-w64-mingw32/lib/libgme.a(Vgm_Emu.cpp.obj): In function `Vgm_Emu_Impl::~Vgm_Emu_Impl()': /home/buildslave/vlc-contrib-win64-x86_64/build/contrib/win/game-music-emu/gme/Vgm_Emu_Impl.h:27: undefined reference to `_Unwind_Resume' /home/fang/vlc-2.2.0/contrib/x86_64-w64-mingw32/lib/libgme.a(Vgm_Emu.cpp.obj):Vgm_Emu.cpp:(.xdata$_ZN12Vgm_Emu_ImplD2Ev+0xc): undefined reference to `__gxx_personality_seh0' /home/fang/vlc-2.2.0/contrib/x86_64-w64-mingw32/lib/libgme.a(Spc_Emu.cpp.obj): In function `Spc_Emu::Spc_Emu()': /home/buildslave/vlc-contrib-win64-x86_64/build/contrib/win/game-music-emu/gme/Spc_Emu.cpp:24: undefined reference to `_Unwind_Resume' /home/fang/vlc-2.2.0/contrib/x86_64-w64-mingw32/lib/libgme.a(Spc_Emu.cpp.obj): In function `Spc_Emu::~Spc_Emu()': /home/buildslave/vlc-contrib-win64-x86_64/build/contrib/win/game-music-emu/gme/Spc_Emu.cpp:36: undefined reference to `_Unwind_Resume' /home/fang/vlc-2.2.0/contrib/x86_64-w64-mingw32/lib/libgme.a(Spc_Emu.cpp.obj): In function `new_spc_emu': /home/buildslave/vlc-contrib-win64-x86_64/build/contrib/win/game-music-emu/gme/Spc_Emu.cpp:243: undefined reference to `_Unwind_Resume' /home/fang/vlc-2.2.0/contrib/x86_64-w64-mingw32/lib/libgme.a(Spc_Emu.cpp.obj): In function `new_spc_file': /home/buildslave/vlc-contrib-win64-x86_64/build/contrib/win/game-music-emu/gme/Spc_Emu.cpp:244: undefined reference to `_Unwind_Resume' /home/fang/vlc-2.2.0/contrib/x86_64-w64-mingw32/lib/libgme.a(Spc_Emu.cpp.obj):Spc_Emu.cpp:(.data+0x0): undefined reference to `__gxx_personality_seh0' /home/fang/vlc-2.2.0/contrib/x86_64-w64-mingw32/lib/libgme.a(Spc_Emu.cpp.obj):Spc_Emu.cpp:(.xdata+0x24): undefined reference to `__gxx_personality_seh0' /home/fang/vlc-2.2.0/contrib/x86_64-w64-mingw32/lib/libgme.a(Spc_Emu.cpp.obj):Spc_Emu.cpp:(.xdata+0x4c): undefined reference to `__gxx_personality_seh0' /home/fang/vlc-2.2.0/contrib/x86_64-w64-mingw32/lib/libgme.a(Spc_Emu.cpp.obj):Spc_Emu.cpp:(.xdata+0xc8): undefined reference to `__gxx_personality_seh0' /home/fang/vlc-2.2.0/contrib/x86_64-w64-mingw32/lib/libgme.a(Spc_Emu.cpp.obj):Spc_Emu.cpp:(.xdata+0xe8): undefined reference to `__gxx_personality_seh0' /home/fang/vlc-2.2.0/contrib/x86_64-w64-mingw32/lib/libgme.a(Sap_Emu.cpp.obj): In function `Sap_Emu::Sap_Emu()': /home/buildslave/vlc-contrib-win64-x86_64/build/contrib/win/game-music-emu/gme/Sap_Emu.cpp:23: undefined reference to `_Unwind_Resume' /home/fang/vlc-2.2.0/contrib/x86_64-w64-mingw32/lib/libgme.a(Sap_Emu.cpp.obj): In function `new_sap_emu': /home/buildslave/vlc-contrib-win64-x86_64/build/contrib/win/game-music-emu/gme/Sap_Emu.cpp:235: undefined reference to `_Unwind_Resume' /home/fang/vlc-2.2.0/contrib/x86_64-w64-mingw32/lib/libgme.a(Sap_Emu.cpp.obj): In function `new_sap_file': /home/buildslave/vlc-contrib-win64-x86_64/build/contrib/win/game-music-emu/gme/Sap_Emu.cpp:236: undefined reference to `_Unwind_Resume' /home/fang/vlc-2.2.0/contrib/x86_64-w64-mingw32/lib/libgme.a(Sap_Emu.cpp.obj):Sap_Emu.cpp:(.data+0x0): undefined reference to `__gxx_personality_seh0' /home/fang/vlc-2.2.0/contrib/x86_64-w64-mingw32/lib/libgme.a(Sap_Emu.cpp.obj):Sap_Emu.cpp:(.xdata+0x14): undefined reference to `__gxx_personality_seh0' /home/fang/vlc-2.2.0/contrib/x86_64-w64-mingw32/lib/libgme.a(Sap_Emu.cpp.obj):Sap_Emu.cpp:(.xdata+0x9c): undefined reference to `__gxx_personality_seh0' /home/fang/vlc-2.2.0/contrib/x86_64-w64-mingw32/lib/libgme.a(Sap_Emu.cpp.obj):Sap_Emu.cpp:(.xdata+0xbc): undefined reference to `__gxx_personality_seh0' /home/fang/vlc-2.2.0/contrib/x86_64-w64-mingw32/lib/libgme.a(Nsfe_Emu.cpp.obj): In function `Nsfe_Info::load(Data_Reader&, Nsf_Emu*)': /home/buildslave/vlc-contrib-win64-x86_64/build/contrib/win/game-music-emu/gme/Nsfe_Emu.cpp:188: undefined reference to `_Unwind_Resume' /home/buildslave/vlc-contrib-win64-x86_64/build/contrib/win/game-music-emu/gme/Nsfe_Emu.cpp:217: undefined reference to `_Unwind_Resume' /home/fang/vlc-2.2.0/contrib/x86_64-w64-mingw32/lib/libgme.a(Nsfe_Emu.cpp.obj): In function `new_nsfe_emu': /home/buildslave/vlc-contrib-win64-x86_64/build/contrib/win/game-music-emu/gme/Nsfe_Emu.cpp:297: undefined reference to `_Unwind_Resume' /home/fang/vlc-2.2.0/contrib/x86_64-w64-mingw32/lib/libgme.a(Nsfe_Emu.cpp.obj): In function `new_nsfe_file': /home/buildslave/vlc-contrib-win64-x86_64/build/contrib/win/game-music-emu/gme/Nsfe_Emu.cpp:298: undefined reference to `_Unwind_Resume' /home/fang/vlc-2.2.0/contrib/x86_64-w64-mingw32/lib/libgme.a(Nsfe_Emu.cpp.obj):Nsfe_Emu.cpp:(.data+0x0): undefined reference to `__gxx_personality_seh0' /home/fang/vlc-2.2.0/contrib/x86_64-w64-mingw32/lib/libgme.a(Nsfe_Emu.cpp.obj):Nsfe_Emu.cpp:(.xdata+0x64): undefined reference to `__gxx_personality_seh0' /home/fang/vlc-2.2.0/contrib/x86_64-w64-mingw32/lib/libgme.a(Nsfe_Emu.cpp.obj):Nsfe_Emu.cpp:(.xdata+0xe8): undefined reference to `__gxx_personality_seh0' /home/fang/vlc-2.2.0/contrib/x86_64-w64-mingw32/lib/libgme.a(Nsfe_Emu.cpp.obj):Nsfe_Emu.cpp:(.xdata+0x108): undefined reference to `__gxx_personality_seh0' /home/fang/vlc-2.2.0/contrib/x86_64-w64-mingw32/lib/libgme.a(Nsf_Emu.cpp.obj): In function `Nsf_Emu::Nsf_Emu()': /home/buildslave/vlc-contrib-win64-x86_64/build/contrib/win/game-music-emu/gme/Nsf_Emu.cpp:44: undefined reference to `_Unwind_Resume' /home/fang/vlc-2.2.0/contrib/x86_64-w64-mingw32/lib/libgme.a(Nsf_Emu.cpp.obj): In function `Nsf_Emu::~Nsf_Emu()': /home/buildslave/vlc-contrib-win64-x86_64/build/contrib/win/game-music-emu/gme/Nsf_Emu.cpp:58: undefined reference to `_Unwind_Resume' /home/fang/vlc-2.2.0/contrib/x86_64-w64-mingw32/lib/libgme.a(Nsf_Emu.cpp.obj): In function `new_nsf_emu': /home/buildslave/vlc-contrib-win64-x86_64/build/contrib/win/game-music-emu/gme/Nsf_Emu.cpp:129: undefined reference to `_Unwind_Resume' /home/fang/vlc-2.2.0/contrib/x86_64-w64-mingw32/lib/libgme.a(Nsf_Emu.cpp.obj): In function `new_nsf_file': /home/buildslave/vlc-contrib-win64-x86_64/build/contrib/win/game-music-emu/gme/Nsf_Emu.cpp:130: undefined reference to `_Unwind_Resume' /home/fang/vlc-2.2.0/contrib/x86_64-w64-mingw32/lib/libgme.a(Nsf_Emu.cpp.obj): In function `Nsf_Emu::init_sound()': /home/buildslave/vlc-contrib-win64-x86_64/build/contrib/win/game-music-emu/gme/Nsf_Emu.cpp:200: undefined reference to `_Unwind_Resume' /home/fang/vlc-2.2.0/contrib/x86_64-w64-mingw32/lib/libgme.a(Nsf_Emu.cpp.obj):/home/buildslave/vlc-contrib-win64-x86_64/build/contrib/win/game-music-emu/gme/Nsf_Emu.cpp:216: more undefined references to `_Unwind_Resume' follow /home/fang/vlc-2.2.0/contrib/x86_64-w64-mingw32/lib/libgme.a(Nsf_Emu.cpp.obj):Nsf_Emu.cpp:(.data+0x0): undefined reference to `__gxx_personality_seh0' /home/fang/vlc-2.2.0/contrib/x86_64-w64-mingw32/lib/libgme.a(Nsf_Emu.cpp.obj):Nsf_Emu.cpp:(.xdata+0x28): undefined reference to `__gxx_personality_seh0' /home/fang/vlc-2.2.0/contrib/x86_64-w64-mingw32/lib/libgme.a(Nsf_Emu.cpp.obj):Nsf_Emu.cpp:(.xdata+0x4c): undefined reference to `__gxx_personality_seh0' /home/fang/vlc-2.2.0/contrib/x86_64-w64-mingw32/lib/libgme.a(Nsf_Emu.cpp.obj):Nsf_Emu.cpp:(.xdata+0xb0): undefined reference to `__gxx_personality_seh0' /home/fang/vlc-2.2.0/contrib/x86_64-w64-mingw32/lib/libgme.a(Nsf_Emu.cpp.obj):Nsf_Emu.cpp:(.xdata+0xd0): undefined reference to `__gxx_personality_seh0' /home/fang/vlc-2.2.0/contrib/x86_64-w64-mingw32/lib/libgme.a(Nsf_Emu.cpp.obj):Nsf_Emu.cpp:(.xdata+0xfc): more undefined references to `__gxx_personality_seh0' follow /home/fang/vlc-2.2.0/contrib/x86_64-w64-mingw32/lib/libgme.a(Kss_Emu.cpp.obj): In function `Kss_Emu::Kss_Emu()': /home/buildslave/vlc-contrib-win64-x86_64/build/contrib/win/game-music-emu/gme/Kss_Emu.cpp:24: undefined reference to `_Unwind_Resume' /home/fang/vlc-2.2.0/contrib/x86_64-w64-mingw32/lib/libgme.a(Kss_Emu.cpp.obj): In function `Kss_Emu::~Kss_Emu()': /home/buildslave/vlc-contrib-win64-x86_64/build/contrib/win/game-music-emu/gme/Kss_Emu.cpp:44: undefined reference to `_Unwind_Resume' /home/fang/vlc-2.2.0/contrib/x86_64-w64-mingw32/lib/libgme.a(Kss_Emu.cpp.obj): In function `new_kss_emu': /home/buildslave/vlc-contrib-win64-x86_64/build/contrib/win/game-music-emu/gme/Kss_Emu.cpp:101: undefined reference to `_Unwind_Resume' /home/fang/vlc-2.2.0/contrib/x86_64-w64-mingw32/lib/libgme.a(Kss_Emu.cpp.obj): In function `new_kss_file': /home/buildslave/vlc-contrib-win64-x86_64/build/contrib/win/game-music-emu/gme/Kss_Emu.cpp:102: undefined reference to `_Unwind_Resume' /home/fang/vlc-2.2.0/contrib/x86_64-w64-mingw32/lib/libgme.a(Kss_Emu.cpp.obj): In function `Kss_Emu::load_(Data_Reader&)': /home/buildslave/vlc-contrib-win64-x86_64/build/contrib/win/game-music-emu/gme/Kss_Emu.cpp:159: undefined reference to `_Unwind_Resume' /home/fang/vlc-2.2.0/contrib/x86_64-w64-mingw32/lib/libgme.a(Kss_Emu.cpp.obj):Kss_Emu.cpp:(.data+0x0): undefined reference to `__gxx_personality_seh0' /home/fang/vlc-2.2.0/contrib/x86_64-w64-mingw32/lib/libgme.a(Kss_Emu.cpp.obj):Kss_Emu.cpp:(.xdata+0x1c): undefined reference to `__gxx_personality_seh0' /home/fang/vlc-2.2.0/contrib/x86_64-w64-mingw32/lib/libgme.a(Kss_Emu.cpp.obj):Kss_Emu.cpp:(.xdata+0x40): undefined reference to `__gxx_personality_seh0' /home/fang/vlc-2.2.0/contrib/x86_64-w64-mingw32/lib/libgme.a(Kss_Emu.cpp.obj):Kss_Emu.cpp:(.xdata+0xa4): undefined reference to `__gxx_personality_seh0' /home/fang/vlc-2.2.0/contrib/x86_64-w64-mingw32/lib/libgme.a(Kss_Emu.cpp.obj):Kss_Emu.cpp:(.xdata+0xc4): undefined reference to `__gxx_personality_seh0' /home/fang/vlc-2.2.0/contrib/x86_64-w64-mingw32/lib/libgme.a(Kss_Emu.cpp.obj):Kss_Emu.cpp:(.xdata+0xf0): more undefined references to `__gxx_personality_seh0' follow /home/fang/vlc-2.2.0/contrib/x86_64-w64-mingw32/lib/libgme.a(Hes_Emu.cpp.obj): In function `Hes_Emu::Hes_Emu()': /home/buildslave/vlc-contrib-win64-x86_64/build/contrib/win/game-music-emu/gme/Hes_Emu.cpp:28: undefined reference to `_Unwind_Resume' /home/fang/vlc-2.2.0/contrib/x86_64-w64-mingw32/lib/libgme.a(Hes_Emu.cpp.obj): In function `new_hes_emu': /home/buildslave/vlc-contrib-win64-x86_64/build/contrib/win/game-music-emu/gme/Hes_Emu.cpp:132: undefined reference to `_Unwind_Resume' /home/fang/vlc-2.2.0/contrib/x86_64-w64-mingw32/lib/libgme.a(Hes_Emu.cpp.obj): In function `new_hes_file': /home/buildslave/vlc-contrib-win64-x86_64/build/contrib/win/game-music-emu/gme/Hes_Emu.cpp:133: undefined reference to `_Unwind_Resume' /home/fang/vlc-2.2.0/contrib/x86_64-w64-mingw32/lib/libgme.a(Hes_Emu.cpp.obj):Hes_Emu.cpp:(.data+0x0): undefined reference to `__gxx_personality_seh0' /home/fang/vlc-2.2.0/contrib/x86_64-w64-mingw32/lib/libgme.a(Hes_Emu.cpp.obj):Hes_Emu.cpp:(.xdata+0x14): undefined reference to `__gxx_personality_seh0' /home/fang/vlc-2.2.0/contrib/x86_64-w64-mingw32/lib/libgme.a(Hes_Emu.cpp.obj):Hes_Emu.cpp:(.xdata+0x90): undefined reference to `__gxx_personality_seh0' /home/fang/vlc-2.2.0/contrib/x86_64-w64-mingw32/lib/libgme.a(Hes_Emu.cpp.obj):Hes_Emu.cpp:(.xdata+0xb0): undefined reference to `__gxx_personality_seh0' /home/fang/vlc-2.2.0/contrib/x86_64-w64-mingw32/lib/libgme.a(Gym_Emu.cpp.obj): In function `Gym_Emu::Gym_Emu()': /home/buildslave/vlc-contrib-win64-x86_64/build/contrib/win/game-music-emu/gme/Gym_Emu.cpp:28: undefined reference to `_Unwind_Resume' /home/fang/vlc-2.2.0/contrib/x86_64-w64-mingw32/lib/libgme.a(Gym_Emu.cpp.obj): In function `Gym_Emu::~Gym_Emu()': /home/buildslave/vlc-contrib-win64-x86_64/build/contrib/win/game-music-emu/gme/Gym_Emu.cpp:41: undefined reference to `_Unwind_Resume' /home/fang/vlc-2.2.0/contrib/x86_64-w64-mingw32/lib/libgme.a(Gym_Emu.cpp.obj): In function `new_gym_emu': /home/buildslave/vlc-contrib-win64-x86_64/build/contrib/win/game-music-emu/gme/Gym_Emu.cpp:161: undefined reference to `_Unwind_Resume' /home/fang/vlc-2.2.0/contrib/x86_64-w64-mingw32/lib/libgme.a(Gym_Emu.cpp.obj): In function `new_gym_file': /home/buildslave/vlc-contrib-win64-x86_64/build/contrib/win/game-music-emu/gme/Gym_Emu.cpp:162: undefined reference to `_Unwind_Resume' /home/fang/vlc-2.2.0/contrib/x86_64-w64-mingw32/lib/libgme.a(Gym_Emu.cpp.obj):Gym_Emu.cpp:(.data+0x0): undefined reference to `__gxx_personality_seh0' /home/fang/vlc-2.2.0/contrib/x86_64-w64-mingw32/lib/libgme.a(Gym_Emu.cpp.obj):Gym_Emu.cpp:(.xdata+0xc): undefined reference to `__gxx_personality_seh0' /home/fang/vlc-2.2.0/contrib/x86_64-w64-mingw32/lib/libgme.a(Gym_Emu.cpp.obj):Gym_Emu.cpp:(.xdata+0x3c): undefined reference to `__gxx_personality_seh0' /home/fang/vlc-2.2.0/contrib/x86_64-w64-mingw32/lib/libgme.a(Gym_Emu.cpp.obj):Gym_Emu.cpp:(.xdata+0xbc): undefined reference to `__gxx_personality_seh0' /home/fang/vlc-2.2.0/contrib/x86_64-w64-mingw32/lib/libgme.a(Gym_Emu.cpp.obj):Gym_Emu.cpp:(.xdata+0xdc): undefined reference to `__gxx_personality_seh0' /home/fang/vlc-2.2.0/contrib/x86_64-w64-mingw32/lib/libgme.a(Gbs_Emu.cpp.obj): In function `Gbs_Emu::Gbs_Emu()': /home/buildslave/vlc-contrib-win64-x86_64/build/contrib/win/game-music-emu/gme/Gbs_Emu.cpp:26: undefined reference to `_Unwind_Resume' /home/fang/vlc-2.2.0/contrib/x86_64-w64-mingw32/lib/libgme.a(Gbs_Emu.cpp.obj): In function `new_gbs_emu': /home/buildslave/vlc-contrib-win64-x86_64/build/contrib/win/game-music-emu/gme/Gbs_Emu.cpp:100: undefined reference to `_Unwind_Resume' /home/fang/vlc-2.2.0/contrib/x86_64-w64-mingw32/lib/libgme.a(Gbs_Emu.cpp.obj): In function `new_gbs_file': /home/buildslave/vlc-contrib-win64-x86_64/build/contrib/win/game-music-emu/gme/Gbs_Emu.cpp:101: undefined reference to `_Unwind_Resume' /home/fang/vlc-2.2.0/contrib/x86_64-w64-mingw32/lib/libgme.a(Gbs_Emu.cpp.obj):Gbs_Emu.cpp:(.data+0x0): undefined reference to `__gxx_personality_seh0' /home/fang/vlc-2.2.0/contrib/x86_64-w64-mingw32/lib/libgme.a(Gbs_Emu.cpp.obj):Gbs_Emu.cpp:(.xdata+0x10): undefined reference to `__gxx_personality_seh0' /home/fang/vlc-2.2.0/contrib/x86_64-w64-mingw32/lib/libgme.a(Gbs_Emu.cpp.obj):Gbs_Emu.cpp:(.xdata+0x80): undefined reference to `__gxx_personality_seh0' /home/fang/vlc-2.2.0/contrib/x86_64-w64-mingw32/lib/libgme.a(Gbs_Emu.cpp.obj):Gbs_Emu.cpp:(.xdata+0xa0): undefined reference to `__gxx_personality_seh0' /home/fang/vlc-2.2.0/contrib/x86_64-w64-mingw32/lib/libgme.a(Ay_Emu.cpp.obj): In function `Ay_Emu::Ay_Emu()': /home/buildslave/vlc-contrib-win64-x86_64/build/contrib/win/game-music-emu/gme/Ay_Emu.cpp:27: undefined reference to `_Unwind_Resume' /home/fang/vlc-2.2.0/contrib/x86_64-w64-mingw32/lib/libgme.a(Ay_Emu.cpp.obj): In function `new_ay_emu': /home/buildslave/vlc-contrib-win64-x86_64/build/contrib/win/game-music-emu/gme/Ay_Emu.cpp:116: undefined reference to `_Unwind_Resume' /home/fang/vlc-2.2.0/contrib/x86_64-w64-mingw32/lib/libgme.a(Ay_Emu.cpp.obj): In function `new_ay_file': /home/buildslave/vlc-contrib-win64-x86_64/build/contrib/win/game-music-emu/gme/Ay_Emu.cpp:117: undefined reference to `_Unwind_Resume' /home/fang/vlc-2.2.0/contrib/x86_64-w64-mingw32/lib/libgme.a(Ay_Emu.cpp.obj):Ay_Emu.cpp:(.data+0x0): undefined reference to `__gxx_personality_seh0' /home/fang/vlc-2.2.0/contrib/x86_64-w64-mingw32/lib/libgme.a(Ay_Emu.cpp.obj):Ay_Emu.cpp:(.xdata+0x14): undefined reference to `__gxx_personality_seh0' /home/fang/vlc-2.2.0/contrib/x86_64-w64-mingw32/lib/libgme.a(Ay_Emu.cpp.obj):Ay_Emu.cpp:(.xdata+0x84): undefined reference to `__gxx_personality_seh0' /home/fang/vlc-2.2.0/contrib/x86_64-w64-mingw32/lib/libgme.a(Ay_Emu.cpp.obj):Ay_Emu.cpp:(.xdata+0xa4): undefined reference to `__gxx_personality_seh0' /home/fang/vlc-2.2.0/contrib/x86_64-w64-mingw32/lib/libgme.a(Classic_Emu.cpp.obj): In function `Classic_Emu::~Classic_Emu()': /home/buildslave/vlc-contrib-win64-x86_64/build/contrib/win/game-music-emu/gme/Classic_Emu.cpp:33: undefined reference to `_Unwind_Resume' /home/fang/vlc-2.2.0/contrib/x86_64-w64-mingw32/lib/libgme.a(Classic_Emu.cpp.obj): In function `Classic_Emu::set_sample_rate_(long)': /home/buildslave/vlc-contrib-win64-x86_64/build/contrib/win/game-music-emu/gme/Classic_Emu.cpp:51: undefined reference to `_Unwind_Resume' /home/fang/vlc-2.2.0/contrib/x86_64-w64-mingw32/lib/libgme.a(Classic_Emu.cpp.obj):Classic_Emu.cpp:(.data+0x0): undefined reference to `__gxx_personality_seh0' /home/fang/vlc-2.2.0/contrib/x86_64-w64-mingw32/lib/libgme.a(Classic_Emu.cpp.obj):Classic_Emu.cpp:(.xdata+0x18): undefined reference to `__gxx_personality_seh0' /home/fang/vlc-2.2.0/contrib/x86_64-w64-mingw32/lib/libgme.a(Classic_Emu.cpp.obj):Classic_Emu.cpp:(.xdata+0x58): undefined reference to `__gxx_personality_seh0' /home/fang/vlc-2.2.0/contrib/x86_64-w64-mingw32/lib/libgme.a(Dual_Resampler.cpp.obj): In function `Dual_Resampler::Dual_Resampler()': /home/buildslave/vlc-contrib-win64-x86_64/build/contrib/win/game-music-emu/gme/Dual_Resampler.cpp:27: undefined reference to `_Unwind_Resume' /home/fang/vlc-2.2.0/contrib/x86_64-w64-mingw32/lib/libgme.a(Dual_Resampler.cpp.obj): In function `Dual_Resampler::~Dual_Resampler()': /home/buildslave/vlc-contrib-win64-x86_64/build/contrib/win/game-music-emu/gme/Dual_Resampler.cpp:31: undefined reference to `_Unwind_Resume' /home/fang/vlc-2.2.0/contrib/x86_64-w64-mingw32/lib/libgme.a(Dual_Resampler.cpp.obj):Dual_Resampler.cpp:(.data+0x0): undefined reference to `__gxx_personality_seh0' /home/fang/vlc-2.2.0/contrib/x86_64-w64-mingw32/lib/libgme.a(Dual_Resampler.cpp.obj):Dual_Resampler.cpp:(.xdata+0xc): undefined reference to `__gxx_personality_seh0' /home/fang/vlc-2.2.0/contrib/x86_64-w64-mingw32/lib/libgme.a(Dual_Resampler.cpp.obj):Dual_Resampler.cpp:(.xdata+0x2c): undefined reference to `__gxx_personality_seh0' collect2: error: ld returned 1 exit status make[4]: *** [libgme_plugin.la] Error 1 make[4]: Leaving directory `/home/fang/vlc-2.2.0/win32/modules' make[3]: *** [all-recursive] Error 1 make[3]: Leaving directory `/home/fang/vlc-2.2.0/win32/modules' make[2]: *** [all] Error 2 make[2]: Leaving directory `/home/fang/vlc-2.2.0/win32/modules' make[1]: *** [all-recursive] Error 1 make[1]: Leaving directory `/home/fang/vlc-2.2.0/win32' make: *** [all] Error 2
after this, I try to continue to disable something,
but the error of `__gxx_personality_seh0' and `_Unwind_Resume' still happen on other libs.


I have no idea about this error,
and I hope someone know how to resolve this problem,
Thanks!

Re: Undefined Reference errors when cross compile VLC for windows

Posted: 22 Mar 2015 22:43
by Jean-Baptiste Kempf
Please read more closely the wiki.

Re: Undefined Reference errors when cross compile VLC for windows

Posted: 23 Mar 2015 07:34
by nn330303
Thanks, Jean-Baptiste Kempf
and...may I ask more detail about it?

I thought that I possibly did it wrong in two points, but not sure and tried many times still now and fail.

1.
in the talk page,
https://wiki.videolan.org/Talk:Win32Compile/
it mentioned that "The binary contribs that exist on the page as of now are out of date",
so I need to donwload Contribs and Qt library and update it.

However the download link in talk page of Qt library is unavailable now, I still not do it.
Is this cause the problem happen?
Can I get the Qt library from other site instead?

2.
about the host triplet,
I use Mingw-w64 and expect to use on window 64bit,
so I choose "x86_64-w64-mingw32" as the host value.

It says "Again, you MUST substitute the value in the following command snippets. " in the article.
I hope I substitute it at the right way.
I modified it as following.

use x86_64-w64-mingw32 substitute for i686-w64-mingw32

Code: Select all

mkdir -p contrib/win32 cd contrib/win32 ../bootstrap --host=x86_64-w64-mingw32 make prebuilt
make a link i686-w64-mingw32->x86_64-w64-mingw32
I inserted x86_64-w64-mingw32 here.

Code: Select all

ln -sf x86_64-w64-mingw32 ../i686-w64-mingw32
Set PKG_CONFIG_LIBDIR
I think I don't need to modify it because the previous step creat a symlink i686-w64-mingw32->x86_64-w64-mingw32.

Code: Select all

export PKG_CONFIG_LIBDIR=$HOME/vlc/contrib/i686-w64-mingw32/lib/pkgconfig
configure: use x86_64-w64-mingw32 substitute for i686-w64-mingw32

Code: Select all

../extras/package/win32/configure.sh --host=x86_64-w64-mingw32
Isn't this the right way to substitute the x86_64-w64-mingw32 in the commands?
Thanks.

Re: Undefined Reference errors when cross compile VLC for windows

Posted: 24 Mar 2015 20:07
by Jean-Baptiste Kempf
your mingw is in SEH mode, and you need DW2.

Re: Undefined Reference errors when cross compile VLC for windows

Posted: 26 Mar 2015 20:15
by complexzeros
your mingw is in SEH mode, and you need DW2.
How can I do this?

Re: Undefined Reference errors when cross compile VLC for windows

Posted: 28 Mar 2015 19:08
by nn330303
Is there anywhere I can get the mingw with dw2 exception handeling?
I try to find it, but most of them are used on Windows, not for cross compilation.

In addition to, isn't MXE feasible to use?
http://stackoverflow.com/questions/1114 ... r-with-dw2