directfb dreambox 500hd openembedded

Wir haben aktuell ein Problem mit dem Board und arbeiten an der Lösung...
  • Hallo,


    ich versuche gerade auf einer Dreambox 500HD directfb zum laufen zu bringen und hab da ein paar Probleme auf die ich mit google oder Forensuche nicht lösen konnte.


    1.) Gibt es ein fertiges image mit lauffähigen directfb?


    Ich habe mit openembedded 1.6 ein image erzeugen können was aber kein directfb enthält.
    Ich habe directfb in dreambox-image.bb hintzugefügt aber ohne erfolg.


    2.) Wie kann ich directfb in den image build process einbauen?


    Manuell kann ich directfb mit bitbake directfb kompilieren. Ich habe dann die ipk packages auf die dreambox kopiert und installiert.


    Nun kommt wenn ich dfbinfo oder dfbdump oder irgendeine andere directfb example app ausführe nur folgender output:


    =======================| DirectFB 1.0.1 |=======================
    (c) 2001-2007 The DirectFB Organization (directfb.org)
    (c) 2000-2004 Convergence (integrated media) GmbH
    ------------------------------------------------------------
    (*) DirectFB/Core: Single Application Core.


    und dann hängt das Programm.


    3.) Woran könnte es liegen?



    Mit openembedded 1.5 kann ich auch image erzeugen. Aber wieder ohne directfb.
    Wenn ich in 1.5 mit bitbake directfb directfb kompilieren will kommme ich beim kompilieren foldgende Meldung:
    mipsel-linux-gcc -DHAVE_CONFIG_H -I. -I/home/sebastian/Projects/dreambox/dm500hd/build/tmp/work/directfb-0.9.25.1-r1/DirectFB-0.9.25.1/systems/fbdev -I../.. -I/home/sebastian/Projects/dreambox/dm500hd/build/tmp/work/directfb-0.9.25.1-r1/DirectFB-0.9.25.1/include -I../../include -I../../lib -I/home/sebastian/Projects/dreambox/dm500hd/build/tmp/work/directfb-0.9.25.1-r1/DirectFB-0.9.25.1/lib -I/home/sebastian/Projects/dreambox/dm500hd/build/tmp/work/directfb-0.9.25.1-r1/DirectFB-0.9.25.1/src -D_XOPEN_SOURCE=500 -D_REENTRANT -I/home/sebastian/Projects/dreambox/dm500hd/build/tmp/staging/mipsel-linux/include -O3 -ffast-math -pipe -I/home/sebastian/Projects/dreambox/dm500hd/build/tmp/staging/mipsel-linux/include -fexpensive-optimizations -fomit-frame-pointer -frename-registers -O2 -D_GNU_SOURCE -Werror-implicit-function-declaration -MT fbdev.lo -MD -MP -MF .deps/fbdev.Tpo -c fbdev.c -fPIC -DPIC -o .libs/fbdev.o
    In file included from /home/sebastian/Projects/dreambox/dm500hd/build/tmp/staging/mipsel-linux/include/linux/types.h:6,
    from /home/sebastian/Projects/dreambox/dm500hd/build/tmp/staging/mipsel-linux/include/linux/agpgart.h:52,
    from agp.h:32,
    from fbdev.h:40,
    from fbdev.c:84:
    /home/sebastian/Projects/dreambox/dm500hd/build/tmp/staging/mipsel-linux/include/asm/types.h:22: error: redefinition of typedef 'int8_t'
    /home/sebastian/Projects/dreambox/dm500hd/build/tmp/staging/mipsel-linux/include/sys/types.h:191: error: previous declaration of 'int8_t' was here
    /home/sebastian/Projects/dreambox/dm500hd/build/tmp/staging/mipsel-linux/include/asm/types.h:23: error: redefinition of typedef 'u_int8_t'
    /home/sebastian/Projects/dreambox/dm500hd/build/tmp/staging/mipsel-linux/include/sys/types.h:197: error: previous declaration of 'u_int8_t' was here
    /home/sebastian/Projects/dreambox/dm500hd/build/tmp/staging/mipsel-linux/include/asm/types.h:25: error: redefinition of typedef 'int16_t'
    /home/sebastian/Projects/dreambox/dm500hd/build/tmp/staging/mipsel-linux/include/sys/types.h:192: error: previous declaration of 'int16_t' was here
    /home/sebastian/Projects/dreambox/dm500hd/build/tmp/staging/mipsel-linux/include/asm/types.h:26: error: redefinition of typedef 'u_int16_t'
    /home/sebastian/Projects/dreambox/dm500hd/build/tmp/staging/mipsel-linux/include/sys/types.h:198: error: previous declaration of 'u_int16_t' was here
    /home/sebastian/Projects/dreambox/dm500hd/build/tmp/staging/mipsel-linux/include/asm/types.h:28: error: redefinition of typedef 'int32_t'
    /home/sebastian/Projects/dreambox/dm500hd/build/tmp/staging/mipsel-linux/include/sys/types.h:193: error: previous declaration of 'int32_t' was here
    /home/sebastian/Projects/dreambox/dm500hd/build/tmp/staging/mipsel-linux/include/asm/types.h:29: error: redefinition of typedef 'u_int32_t'
    /home/sebastian/Projects/dreambox/dm500hd/build/tmp/staging/mipsel-linux/include/sys/types.h:199: error: previous declaration of 'u_int32_t' was here
    /home/sebastian/Projects/dreambox/dm500hd/build/tmp/staging/mipsel-linux/include/asm/types.h:42: error: redefinition of typedef 'int64_t'
    /home/sebastian/Projects/dreambox/dm500hd/build/tmp/staging/mipsel-linux/include/sys/types.h:194: error: previous declaration of 'int64_t' was here
    /home/sebastian/Projects/dreambox/dm500hd/build/tmp/staging/mipsel-linux/include/asm/types.h:43: error: redefinition of typedef 'u_int64_t'
    /home/sebastian/Projects/dreambox/dm500hd/build/tmp/staging/mipsel-linux/include/sys/types.h:200: error: previous declaration of 'u_int64_t' was here
    make[3]: *** [fbdev.lo] Error 1


    4.) WIe kann ich directfb für openembedded 1.5 kompilieren?



    Eigentich ist es mir egal ob ich OE 1.5 oder 1.6 benutze. Es muss nur directfb laufen und ich möchte eigene directfb Anwendungen kompilieren.



    Sorry habs in falsche Forum gepostet. Bitte verschieben.