[MPlayer-dev-eng] [PATCH] static linking against directfb failed

Ville Syrjälä syrjala at sci.fi
Mon Sep 1 13:07:37 CEST 2003


On Mon, Sep 01, 2003 at 12:38:05PM +0800, Selwyn Tang wrote:
> Dear all,
> 
> I tried to build a statically linked mplayer with directfb support, but it
> failed because the test file used by the configure script was compiled without
> -lpthread, which seems to be required by directfb.a. See the attached patch.

You can't just link the app statically against libdirectfb because
DirectFB loads all drivers dynamically. There's an example how to link
DirectFB apps statically in DirectFB source distribution
(tools/dfb_static_build_example).

-- 
Ville Syrjälä
syrjala at sci.fi
http://www.sci.fi/~syrjala/



More information about the MPlayer-dev-eng mailing list