[MPlayer-dev-eng] DeckLink driver

Reimar Döffinger Reimar.Doeffinger at gmx.de
Mon Sep 19 22:22:09 CEST 2011

On Mon, Sep 19, 2011 at 01:20:43PM -0600, Deron Kazmaier wrote:
> patch url http://lists.mplayerhq.hu/pipermail/mplayer-dev-eng/attachments/20090817/0a55034d/attachment.diff.

Well, the configure part of that is a joke.

> libvo/vo_decklink.o:(.rodata._ZTV28IDeckLinkVideoOutputCallback[vtable
> for IDeckLinkVideoOutputCallback]+0x10): undefined reference to
> `__cxa_pure_virtual'
> libvo/vo_decklink.o:(.rodata._ZTI27DeckLinkVideoOutputCallback[typeinfo
> for DeckLinkVideoOutputCallback]+0x0): undefined reference to
> `vtable for __cxxabiv1::__si_class_type_info'

objdump -T /usr/lib/x86_64-linux-gnu/libstdc++.so.6.0.16  | grep '\(__cxa_pure_virtual\|__si_class_type_info\)'
00000000000bdb10 g    DF .text  000000000000001f  CXXABI_1.3 __cxa_pure_virtual
00000000000bdb30 g    DF .text  0000000000000013  CXXABI_1.3 _ZN10__cxxabiv120__si_class_type_infoD2Ev

So you could just do as I suggested and add -lstdc++ to the linker flags
(e.g. libs_mplayer="$libs_mplayer -lstdc++", though when writing a
proper configure check that should become quite obvious how to do it).

More information about the MPlayer-dev-eng mailing list