[MPlayer-dev-eng] state of realvideo?

Felix Buenemann atmosfear at users.sourceforge.net
Tue Jun 4 23:57:43 CEST 2002


On Monday 20 May 2002 23:27, Kees Cook wrote:
> On Mon, May 20, 2002 at 04:53:01PM -0400, D Richard Felker III wrote:
> > The linker is probably omitting your stub because it's unused. Make a
> > pointer/call to it somewhere or declare it volatile and it might work.
>
> $ nm drv2-loader | grep pure
> 080485d0 T __pure_virtual
> $ ./drv2-loader
> dlopen: ./drv2.so.6.0: undefined symbol: __pure_virtual
>
> I really don't get it.  It should be resolved.  Let me check realplay.
>
> $ nm `which realplay` | grep pure_virtual
> nm: /usr/bin/X11/realplay: no symbols
> $ nm -D `which realplay` | grep pure_virtual
> 0814b160 T __pure_virtual
>
> Hm, so I have to mark it as dynamic somehow?  linker option... ah ha, ld
> option '-E'.  So I have to compile like so:
>
> gcc -Wall -fPIC   -c -o drv2-loader.o drv2-loader.c
> gcc -Wall -fPIC -Wl,-E -o drv2-loader drv2-loader.o -ldl
>
> And then it loads.  :)  Okay, problem solved.
Try ommiting the dynamic stuff and use ___pure_virtual, maybe it helps, worth 
a try at least.
-- 
Best Regards,
        Atmos
____________________________________________
- MPlayer Developer - http://mplayerhq.hu/ -
____________________________________________



More information about the MPlayer-dev-eng mailing list