On 10/26/12 11:50, Luigi wrote:
> I have the same identical problem. 
> 
> in ref.c there is:
> 
> #if FUSION_BUILD_MULTI
> D_DEBUG_DOMAIN( Fusion_Ref, "Fusion/Ref", "Fusion's Reference Counter" );
> #if FUSION_BUILD_KERNEL
> 
> and FUSION_BUILD_MULTI  FUSION_BUILD_KERNEL  are ZERO.
> 
> This exclude the body of fusion_ref_init2. 
> 
> The very bad thing is that the function is used in object.c . 
> 
> 
> I removed the call in object.c and the project has been compiled, but no idea 
> if 
> it works correctly.
> 
> I hope to see a patch soon.

This has just been fixed in git:


New commits:
http://git.directfb.org/?p=core/DirectFB.git;a=commit;h=47a28377a51baba77825d9374777ffba900140d9
commit 47a28377a51baba77825d9374777ffba900140d9
Author: Denis Oliver Kropp <d...@directfb.org>
Date:   Sat Nov 17 16:52:58 2012 +0100

    fusion: Add missing fusion_ref_init2() for single app builds.

 lib/fusion/ref.c |    9 +++++++++
 1 file changed, 9 insertions(+)


Patch is attached.

-- 
Denis Oliver Kropp
DirectFB integrated media GmbH
commit 47a28377a51baba77825d9374777ffba900140d9
Author: Denis Oliver Kropp <d...@directfb.org>
Date:   Sat Nov 17 16:52:58 2012 +0100

    fusion: Add missing fusion_ref_init2() for single app builds.

diff --git a/lib/fusion/ref.c b/lib/fusion/ref.c
index d0508d5..196ad50 100644
--- a/lib/fusion/ref.c
+++ b/lib/fusion/ref.c
@@ -1147,6 +1147,15 @@ fusion_ref_init (FusionRef         *ref,
 }
 
 DirectResult
+fusion_ref_init2(FusionRef         *ref,
+                 const char        *name,
+                 bool               user,
+                 const FusionWorld *world)
+{
+     return fusion_ref_init( ref, name, world );
+}
+
+DirectResult
 fusion_ref_set_name (FusionRef  *ref,
                      const char *name)
 {
_______________________________________________
directfb-dev mailing list
directfb-dev@directfb.org
http://mail.directfb.org/cgi-bin/mailman/listinfo/directfb-dev

Reply via email to