Hi everybody, I statically cross-compiled DirectFB 1.2.1 to an arc-uclibc-linux platform. When running the first tutorial application on the target, I get the error "DirectFB/core/system: No system found!". I am sure that the target framebuffer is correctly loaded and working (I can write to it), so I had a look at the DirectFB code...
The error is given by the function dfb_system_lookup() in src/core/system.c:269, because the variable system_module is defined as NULL at line 82 (with a "strange" FIXME beside...) That variable should be initialized by the function direct_modules_explore_directory() in lib/direct/modules.c:141, which instead returns 0 since DYNAMIC_LINKING is not defined (at line 42, PIC is not defined as well). I didn't find where/why the PIC macro should be defined. How can I correctly build static DirectFB? Am I missing something? Thanks, Piero _______________________________________________ directfb-dev mailing list directfb-dev@directfb.org http://mail.directfb.org/cgi-bin/mailman/listinfo/directfb-dev