directfb dreambox 500hd openembedded

  • Hallo,


    ich möchte eigene directfb Anwendungen kompilieren und auf der Dreambox laufen lassen.


    Grundsätzlich wird DireftFB unterstützt. Aber:


    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.


    1.) 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.


    2.) 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/in
    clude/linux/types.h:6,
    from /home/sebastian/Projects/dreambox/dm500hd/build/tmp/staging/mipsel-linux/in
    clude/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/in
    clude/asm/types.h:22: error: redefinition of typedef 'int8_t'
    /home/sebastian/Projects/dreambox/dm500hd/build/tmp/staging/mipsel-linux/in
    clude/sys/types.h:191: error: previous declaration of 'int8_t' was here
    /home/sebastian/Projects/dreambox/dm500hd/build/tmp/staging/mipsel-linux/in
    clude/asm/types.h:23: error: redefinition of typedef 'u_int8_t'
    /home/sebastian/Projects/dreambox/dm500hd/build/tmp/staging/mipsel-linux/in
    clude/sys/types.h:197: error: previous declaration of 'u_int8_t' was here
    /home/sebastian/Projects/dreambox/dm500hd/build/tmp/staging/mipsel-linux/in
    clude/asm/types.h:25: error: redefinition of typedef 'int16_t'
    /home/sebastian/Projects/dreambox/dm500hd/build/tmp/staging/mipsel-linux/in
    clude/sys/types.h:192: error: previous declaration of 'int16_t' was here
    /home/sebastian/Projects/dreambox/dm500hd/build/tmp/staging/mipsel-linux/in
    clude/asm/types.h:26: error: redefinition of typedef 'u_int16_t'
    /home/sebastian/Projects/dreambox/dm500hd/build/tmp/staging/mipsel-linux/in
    clude/sys/types.h:198: error: previous declaration of 'u_int16_t' was here
    /home/sebastian/Projects/dreambox/dm500hd/build/tmp/staging/mipsel-linux/in
    clude/asm/types.h:28: error: redefinition of typedef 'int32_t'
    /home/sebastian/Projects/dreambox/dm500hd/build/tmp/staging/mipsel-linux/in
    clude/sys/types.h:193: error: previous declaration of 'int32_t' was here
    /home/sebastian/Projects/dreambox/dm500hd/build/tmp/staging/mipsel-linux/in
    clude/asm/types.h:29: error: redefinition of typedef 'u_int32_t'
    /home/sebastian/Projects/dreambox/dm500hd/build/tmp/staging/mipsel-linux/in
    clude/sys/types.h:199: error: previous declaration of 'u_int32_t' was here
    /home/sebastian/Projects/dreambox/dm500hd/build/tmp/staging/mipsel-linux/in
    clude/asm/types.h:42: error: redefinition of typedef 'int64_t'
    /home/sebastian/Projects/dreambox/dm500hd/build/tmp/staging/mipsel-linux/in
    clude/sys/types.h:194: error: previous declaration of 'int64_t' was here
    /home/sebastian/Projects/dreambox/dm500hd/build/tmp/staging/mipsel-linux/in
    clude/asm/types.h:43: error: redefinition of typedef 'u_int64_t'
    /home/sebastian/Projects/dreambox/dm500hd/build/tmp/staging/mipsel-linux/in
    clude/sys/types.h:200: error: previous declaration of 'u_int64_t' was here
    make[3]: *** [fbdev.lo] Error 1


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