Vijay,

Check your link order, For it to be statically working correctly, the link
order should be fine.
I got it working recently. Check the following post  for reference
http://mail.directfb.org/pipermail/directfb-dev/2008-October/004614.html

Srini...


On Tue, Oct 14, 2008 at 3:12 PM, Vijay <[EMAIL PROTECTED]> wrote:

> Hi,
>
> I'm trying to do a static build of the library for arm-linux. DirectFB
> (1.2.5) compiles fine, then the example applications also compile fine
> with it. However, when I run any example app, it fails complaining
> something like this:
> (*) DirectFB/Core: Single Application Core. (2008-10-14 08:20)
> (!) DirectFB/core/system: No system found!
>
> Looking closely at src/core/system.c and lib/direct/modules.c, it looks
> like the only way system modules can be loaded is when they are built
> dynamically. In fact, the method direct_modules_explore_directory in
> lib/direct/modules.c only has code to look for modules when
> DYNAMIC_LINKING is defined and it only looks for .so modules. Has anyone
> solved these problems?
>
> Btw, I am using directfb-config to get the right flags and everything
> does compile fine. It seems like the runtime support for static builds
> just isn't there.
>
> Any help is appreciated.
> Thanks,
> Vijay
> _______________________________________________
> directfb-dev mailing list
> directfb-dev@directfb.org
> http://mail.directfb.org/cgi-bin/mailman/listinfo/directfb-dev
>



-- 
Srinivas Rao M  Hamse <http://msrinirao.blogspot.com>
_______________________________________________
directfb-dev mailing list
directfb-dev@directfb.org
http://mail.directfb.org/cgi-bin/mailman/listinfo/directfb-dev

Reply via email to