Register Guidelines E-Books Search Today's Posts Mark Forums Read

Go Back   MobileRead Forums > E-Book Readers > Amazon Kindle > Kindle Developer's Corner

Notices

Reply
 
Thread Tools Search this Thread
Old 02-05-2012, 05:33 PM   #1
Pipeliners
Junior Member
Pipeliners began at the beginning.
 
Posts: 8
Karma: 36
Join Date: Dec 2011
Device: Kindle 3G WiFi
[Unable to dlopen] Cannot run DirectFB tutorial app

Hi. I tried to follow instructions at http://www.mobileread.com/forums/sho...d.php?t=144212 to build DirectFB tutorial app.

I set up scratchbox2 env with
Code:
 sb2-init -c /opt/qemu/bin/qemu-arm arm6 /stuff/sourcery/arm-2011.03/bin/arm-none-linux-gnueabi-gcc
with crosscompiler from CodeSourcery mostly by http://felipec.wordpress.com/2009/06...s-compilation/ instruction.

Then I copied Kindle's /usr/lib/ contents to /stuff/sourcery/arm-2011.03/arm-none-linux-gnueabi/usr/lib, successfully built the example and tried to run on Kindle:
Code:
   ~~~~~~~~~~~~~~~~~~~~~~~~~~| DirectFB 1.2.0 |~~~~~~~~~~~~~~~~~~~~~~~~~~
        (c) 2001-2008  The world wide DirectFB Open Source Community
        (c) 2000-2004  Convergence (integrated media) GmbH
      ----------------------------------------------------------------

(*) DirectFB/Core: Single Application Core. (2011-08-31 03:34) 
(!) Direct/Modules: Unable to dlopen `/usr/lib/directfb-1.2-0/systems/libdirectfb_devmem.so'!
    --> /usr/lib/directfb-1.2-0/systems/libdirectfb_devmem.so: undefined symbol: system_set_mode
(*) Direct/Thread: Started 'Linux Input' (-1) [INPUT OTHER/OTHER 0/0] <8388608>...
(*) DirectFB/Input: mxckpd (1) 0.1 (directfb.org)
(*) Direct/Thread: Started 'Linux Input' (-1) [INPUT OTHER/OTHER 0/0] <8388608>...
(*) DirectFB/Input: fiveway (2) 0.1 (directfb.org)
(*) Direct/Thread: Started 'Linux Input' (-1) [INPUT OTHER/OTHER 0/0] <8388608>...
(*) DirectFB/Input: volume (3) 0.1 (directfb.org)
(*) DirectFB/Graphics: Generic Software Rasterizer 0.6 (directfb.org)
(*) DirectFB/Core/WM: Default 0.3 (directfb.org)
(*) FBDev/Mode: Setting 600x706  videomode x=600, y=706
(*) FBDev/Mode: Setting 600x706  videomode x=800, y=506
(*) FBDev/Mode: Setting 600x706  videomode x=800, y=600
(*) FBDev/Mode: Setting 600x706  videomode x=600, y=706
(*) FBDev/Mode: Setting 600x706  videomode x=800, y=506
(*) FBDev/Mode: Setting 600x706  videomode x=800, y=600
(*) FBDev/Mode: Setting 600x706  videomode x=600, y=706
(*) FBDev/Mode: Setting 600x706  videomode x=800, y=506
(*) FBDev/Mode: Setting 600x706  videomode x=800, y=600
(*) FBDev/Mode: Setting 600x706  videomode x=600, y=706
(*) FBDev/Mode: Setting 600x706  videomode x=800, y=506
(*) FBDev/Mode: Setting 600x706  videomode x=800, y=600
(*) FBDev/Mode: Setting 600x706  videomode x=600, y=706
(*) FBDev/Mode: Setting 600x706  videomode x=800, y=506
(*) FBDev/Mode: Setting 600x706  videomode x=800, y=600
(*) FBDev/Surface: Allocated 600x706 8 bit LUT8 buffer (index 0) at offset 0 and pitch 800.
(!) [30175:    0.000] --> Caught signal 11 (at 0x40391000, invalid permissions) <--
 (!!!)  *** 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()]
Aborted
  • Is the dlopen failure fatal? libdirectfb_devmem.so
    Code:
     
    kindle # ls -a /usr/lib/directfb-1.2-0/systems/libdirectfb_devmem.so -l
    -rwxr-xr-x    1 root     root        16156 Apr 17  2011 /usr/lib/directfb-1.2-0/systems/libdirectfb_devmem.so
    
    sb2 # readelf usr/lib/directfb-1.2-0/systems/libdirectfb_devmem.so --dyn-syms  | grep set
        55: 00000000     0 NOTYPE  GLOBAL DEFAULT  UND system_set_mode
  • If not, why could be program aborted before anything drawn?
My device is Kindle 3.3 3G+WiFi.
Pipeliners is offline   Reply With Quote
Reply

Thread Tools Search this Thread
Search this Thread:

Advanced Search

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
kindle directfb tutorial fbdev Kindle Developer's Corner 16 06-11-2014 01:14 PM
Color Is it possible to run Kindle app on new NC without rooting? jocampo Nook Color & Nook Tablet 8 12-01-2011 04:51 AM
Can I still run the app? cajunseo enTourage eDGe 0 10-10-2011 12:05 AM
run time counter app? rebeltaz enTourage eDGe 1 09-23-2011 09:42 PM
Managed to run Kindle app on Linux jocampo Amazon Kindle 12 04-26-2011 10:17 AM


All times are GMT -4. The time now is 10:34 PM.


MobileRead.com is a privately owned, operated and funded community.