Hi all, I am currently working on porting DirectFB-1.2.1 on my imx27ADS board ... I am cross compiling it ok with this : export CROSS_COMPILE='/opt/freescale/usr/local/gcc-4.1.1-glibc-2.4-nptl-sf-1/arm-926ejs-linux/arm-926ejs-linux/bin/' export CC=$CROSS_COMPILE'gcc' export LD=$CROSS_COMPILE'ld' export RANLIB=$CROSS_COMPILE'ranlib' export AR=$CROSS_COMPILE'ar' export NM=$CROSS_COMPILE'nm' export AS=$CROSS_COMPILE'as' export PKG_CONFIG=/opt/freescale/ltib/usr/bin/pkg-config export LDFLAGS="-L$DEV_IMAGE/usr/lib" export TSLIB_LIBS="$DEV_IMAGE/usr/lib/libts.so" export TSLIB_CFLAGS="-I$DEV_IMAGE/usr/include/"--enable-trace ./configure --prefix=%{_prefix} --host=$CFGHOST --build=%{_build} --with-gfxdrivers=none make make install
dfbinfo show me : ~~~~~~~~~~~~~~~~~~~~~~~~~~| DirectFB 1.2.1 |~~~~~~~~~~~~~~~~~~~~~~~~~~ (c) 2001-2008 The world wide DirectFB Open Source Community (c) 2000-2004 Convergence (integrated media) GmbH ---------------------------------------------------------------- (*) DirectFB/Core: Single Application Core. (2008-08-11 09:09) (*) Direct/Thread: Started 'VT Switcher' (-1) [CRITICAL OTHER/OTHER 0/0] <8388608>... (!) Direct/Modules: Unable to dlopen `/usr/lib/directfb-1.2-0/inputdrivers/libdirectfb_tslib.so'! --> /usr/lib/directfb-1.2-0/inputdrivers/libdirectfb_tslib.so: undefined symbol: ts_close (*) Direct/Thread: Started 'Linux Input' (-1) [INPUT OTHER/OTHER 0/0] <8388608>... (*) DirectFB/Input: mxckpd 0.1 (directfb.org) (*) Direct/Thread: Started 'Keyboard Input' (-1) [INPUT OTHER/OTHER 0/0] <8388608>... (*) DirectFB/Input: Keyboard 0.9 (directfb.org) (*) DirectFB/Graphics: Generic Software Rasterizer 0.6 (directfb.org) (*) DirectFB/Core/WM: Default 0.3 (directfb.org) (*) FBDev/Surface: Allocated 240x320 16 bit RGB16 buffer (index 0) at offset 0 and pitch 480. Screen (00) FBDev Primary Screen (primary screen) Caps: VSYNC POWER_MANAGEMENT Layer (00) FBDev Primary Layer (primary layer) Type: GRAPHICS Caps: SURFACE BRIGHTNESS CONTRAST SATURATION Input (10) mxckpd Type: Caps: Input (00) Keyboard (primary keyboard) Type: KEYBOARD Caps: KEYS Min. Keycode: 0 Max. Keycode: 127 I also cross compiled DirectFB-examples-1.2.0 OK with export CROSS_COMPILE='/opt/freescale/usr/local/gcc-4.1.1-glibc-2.4-nptl-sf-1/arm-926ejs-linux/arm-926ejs-linux/bin/' export CC=$CROSS_COMPILE'gcc' export LD=$CROSS_COMPILE'ld' export RANLIB=$CROSS_COMPILE'ranlib' export AR=$CROSS_COMPILE'ar' export NM=$CROSS_COMPILE'nm' export AS=$CROSS_COMPILE'as' export PKG_CONFIG=/opt/freescale/ltib/usr/bin/pkg-config export LDFLAGS="-L$DEV_IMAGE/usr/lib" export TSLIB_LIBS="$DEV_IMAGE/usr/lib/libts.so" export TSLIB_CFLAGS="-I$DEV_IMAGE/usr/include/" ./configure --prefix=%{_prefix} --host=$CFGHOST --build=%{_build} make make install The applications df_fire,df_cpuload,df_particle, df_matrix are working . . . the color are not beautiful though But when i try to run df_dok I get this : ~~~~~~~~~~~~~~~~~~~~~~~~~~| DirectFB 1.2.1 |~~~~~~~~~~~~~~~~~~~~~~~~~~ (c) 2001-2008 The world wide DirectFB Open Source Community (c) 2000-2004 Convergence (integrated media) GmbH ---------------------------------------------------------------- (*) DirectFB/Core: Single Application Core. (2008-08-11 09:09) (*) Direct/Thread: Started 'VT Switcher' (-1) [CRITICAL OTHER/OTHER 0/0] <8388608>... (!) Direct/Modules: Unable to dlopen `/usr/lib/directfb-1.2-0/inputdrivers/libdirectfb_tslib.so'! --> /usr/lib/directfb-1.2-0/inputdrivers/libdirectfb_tslib.so: undefined symbol: ts_close (*) Direct/Thread: Started 'Linux Input' (-1) [INPUT OTHER/OTHER 0/0] <8388608>... (*) DirectFB/Input: mxckpd 0.1 (directfb.org) (*) Direct/Thread: Started 'Keyboard Input' (-1) [INPUT OTHER/OTHER 0/0] <8388608>... (*) DirectFB/Input: Keyboard 0.9 (directfb.org) (*) DirectFB/Graphics: Generic Software Rasterizer 0.6 (directfb.org) (*) DirectFB/Core/WM: Default 0.3 (directfb.org) (*) FBDev/Mode: Setting 240x320 RGB16 (*) FBDev/Mode: Switched to 240x320 (virtual 240x320) at 16 bit (RGB16), pitch 480 (*) FBDev/Surface: Allocated 240x320 16 bit RGB16 buffer (index 0) at offset 0 and pitch 480. df_dok.c <1502>: (#) DirectFBError [dfb->CreateImageProvider( dfb, "/usr/share/directfb-examples/biglogo.png", &provider )]: No (suitable) implementation found! (!!!) *** WARNING [Application exited without deinitialization of DirectFB!] *** [core.c:859 in dfb_core_deinit_check()] (!!!) *** WARNING [still objects in 'Layer Region Pool'] *** [object.c:241 in fusion_object_pool_destroy()] (!!!) *** WARNING [still objects in 'Layer Context Pool'] *** [object.c:241 in fusion_object_pool_destroy()] (!!!) *** WARNING [still objects in 'Surface Pool'] *** [object.c:241 in fusion_object_pool_destroy()] or df_andi : ~~~~~~~~~~~~~~~~~~~~~~~~~~| DirectFB 1.2.1 |~~~~~~~~~~~~~~~~~~~~~~~~~~ (c) 2001-2008 The world wide DirectFB Open Source Community (c) 2000-2004 Convergence (integrated media) GmbH ---------------------------------------------------------------- (*) DirectFB/Core: Single Application Core. (2008-08-11 09:09) (*) Direct/Thread: Started 'VT Switcher' (-1) [CRITICAL OTHER/OTHER 0/0] <8388608>... (!) Direct/Modules: Unable to dlopen `/usr/lib/directfb-1.2-0/inputdrivers/libdirectfb_tslib.so'! --> /usr/lib/directfb-1.2-0/inputdrivers/libdirectfb_tslib.so: undefined symbol: ts_close (*) Direct/Thread: Started 'Linux Input' (-1) [INPUT OTHER/OTHER 0/0] <8388608>... (*) DirectFB/Input: mxckpd 0.1 (directfb.org) (*) Direct/Thread: Started 'Keyboard Input' (-1) [INPUT OTHER/OTHER 0/0] <8388608>... (*) DirectFB/Input: Keyboard 0.9 (directfb.org) (*) DirectFB/Graphics: Generic Software Rasterizer 0.6 (directfb.org) (*) DirectFB/Core/WM: Default 0.3 (directfb.org) (*) FBDev/Surface: Allocated 240x320 16 bit RGB16 buffer (index 0) at offset 0 and pitch 480. (*) FBDev/Mode: Setting 240x320 RGB16 (*) FBDev/Mode: Switched to 240x320 (virtual 240x960) at 16 bit (RGB16), pitch 480 (*) FBDev/Surface: Allocated 240x320 16 bit RGB16 buffer (index 1) at offset 153600 and pitch 480. (*) FBDev/Surface: Allocated 240x320 16 bit RGB16 buffer (index 0) at offset 0 and pitch 480. df_andi.c <497>: (#) DirectFBError [dfb->CreateFont( dfb, FONT, &desc, &font )]: No (suitable) implementation found! (!!!) *** WARNING [Application exited without deinitialization of DirectFB!] *** [core.c:859 in dfb_core_deinit_check()] (!!!) *** WARNING [still objects in 'Layer Region Pool'] *** [object.c:241 in fusion_object_pool_destroy()] (!!!) *** WARNING [still objects in 'Layer Context Pool'] *** [object.c:241 in fusion_object_pool_destroy()] (!!!) *** WARNING [still objects in 'Surface Pool'] *** [object.c:241 in fusion_object_pool_destroy()] Did i miss something ??? Thank you for your help !!! Sincerely, Aurelien BOUIN -- View this message in context: http://www.nabble.com/DirectFB-on-arm927-imx27-freescale-tp18922532p18922532.html Sent from the DirectFB Users mailing list archive at Nabble.com. _______________________________________________ directfb-users mailing list directfb-users@directfb.org http://mail.directfb.org/cgi-bin/mailman/listinfo/directfb-users