[MPlayer-dev-eng] [PATCH] dmo, dshow and vfw support for cygwin
Joey Parrish
joey at nicewarrior.org
Fri Feb 21 20:34:29 CET 2003
On Fri, Feb 21, 2003 at 10:14:46AM -0800, Sycotic Smith wrote:
> loader/dshow/libDS_Filter.a(DS_Filter.o)(.text+0x25e):DS_Filter.c: undefined reference to `_CoInitialize at 4'
> loader/dshow/libDS_Filter.a(DS_Filter.o)(.text+0x377):DS_Filter.c: undefined reference to `_CoUninitialize at 0'
> loader/dshow/libDS_Filter.a(DS_Filter.o)(.text+0x7ff):DS_Filter.c: undefined reference to `_CoUninitialize at 0'
> loader/dshow/libDS_Filter.a(outputpin.o)(.text+0x3e4):outputpin.c: undefined reference to `_CoTaskMemAlloc at 4'
> loader/dshow/libDS_Filter.a(outputpin.o)(.text+0x9ab):outputpin.c: undefined reference to `_CoTaskMemAlloc at 4'
> loader/dshow/libDS_Filter.a(outputpin.o)(.text+0xa47):outputpin.c: undefined reference to `_CoTaskMemAlloc at 4'
> loader/dshow/libDS_Filter.a(inputpin.o)(.text+0x754):inputpin.c: undefined reference to `_CoTaskMemAlloc at 4'
> loader/dshow/libDS_Filter.a(cmediasample.o)(.text+0x18a):cmediasample.c: undefined reference to `_CoTaskMemFree at 4'
> loader/dshow/libDS_Filter.a(cmediasample.o)(.text+0x1e4):cmediasample.c: undefined reference to `_CoTaskMemFree at 4'
> loader/dshow/libDS_Filter.a(cmediasample.o)(.text+0x45b):cmediasample.c: undefined reference to `_CoTaskMemAlloc at 4'
> loader/dshow/libDS_Filter.a(cmediasample.o)(.text+0x4d8):cmediasample.c: undefined reference to `_CoTaskMemAlloc at 4'
> loader/dshow/libDS_Filter.a(cmediasample.o)(.text+0x564):cmediasample.c: undefined reference to `_CoTaskMemAlloc at 4'
> loader/dshow/libDS_Filter.a(cmediasample.o)(.text+0x594):cmediasample.c: undefined reference to `_CoTaskMemFree at 4'
Add -lole32.
You can find this by grep CoTaskMemFree /usr/lib/win32/*
The patch for this should be trivial, just add -lole32 to ld_win32libs
if native loader is detected.
Thanks,
--Joey
More information about the MPlayer-dev-eng
mailing list