Static gstreamer libraries contain references to undefined symbols
Submitted by Dmitriy Demin
Link to original bug (#789832)
Description
When linking an application against static libraries distributed with gstreamer the link fails due to unresolved external symbols "mempcpy", "tsearch" and "__mingw_vfprintf" among others, which definitions can't be found in the set of
static libarary files distributed with gstreamer.
1>libintl.a(localealias.o) : error LNK2001: unresolved external symbol mempcpy
1>libintl.a(dcigettext.o) : error LNK2019: unresolved external symbol tsearch referenced in function libintl_dcigettext
1>libintl.a(loadmsgcat.o) : error LNK2019: unresolved external symbol open referenced in function _nl_load_domain
1>libintl.a(log.o) : error LNK2019: unresolved external symbol __mingw_vfprintf referenced in function fprintf
Platform: Windows 7 Build tool: Visual Studio 2010 Professional
Linker command line:
/OUT:"C:\Users\demindm\Sandbox\GStreamer\tutorials\vs2010\playback-tutorial-4\playback\x64\Debug\playback.exe" /INCREMENTAL /NOLOGO /LIBPATH:"C:\gstreamer\1.0\x86_64\lib" "libgstreamer-1.0.a" "libgmodule-2.0.dll.a" "libgobject-2.0.dll.a" "libglib-2.0.dll.a" "libintl.a" "libwinpthread.a" "ws2_32.lib" "msvcrt.lib" "kernel32.lib" "user32.lib" "gdi32.lib" "winspool.lib" "comdlg32.lib" "advapi32.lib" "shell32.lib" "ole32.lib" "oleaut32.lib" "uuid.lib" "odbc32.lib" "odbccp32.lib" /NODEFAULTLIB /MANIFEST /ManifestFile:"x64\Debug\playback.exe.intermediate.manifest" /ALLOWISOLATION /MANIFESTUAC:"level='asInvoker' uiAccess='false'" /DEBUG /PDB:"C:\Users\demindm\Sandbox\GStreamer\tutorials\vs2010\playback-tutorial-4\playback\x64\Debug\playback.pdb" /SUBSYSTEM:CONSOLE /PGD:"C:\Users\demindm\Sandbox\GStreamer\tutorials\vs2010\playback-tutorial-4\playback\x64\Debug\playback.pgd" /TLBID:1 /DYNAMICBASE /NXCOMPAT /MACHINE:X64 /ERRORREPORT:QUEUE
Version: 1.12.3