directfb runtime error ...

Go To Last Post
3 posts / 0 new
Author
Message
#1
  • 1
  • 2
  • 3
  • 4
  • 5
Total votes: 0

I've managed to get directfb compiled (so I can run pong !!), but pong fails with the following ...

-sh-3.2# ./pong

       ---------------------- DirectFB v0.9.25 ---------------------
             (c) 2000-2002  convergence integrated media GmbH
             (c) 2002-2004  convergence GmbH
        -----------------------------------------------------------

(*) DirectFB/Core: Single Application Core. (2007-11-06 09:37)
(!) Direct/Modules: Unable to dlopen `/lib/directfb-0.9.25/systems/libdirectfb_fbdev.so'!
    --> File not found
(!) DirectFB/core/system: No system found!
pong.c <96>:
        (#) DirectFBError [DirectFBCreate(&dfb)]: No (suitable) implementation found!

The offending file *does* exist !!

-sh-3.2# ls -la /lib/directfb-0.9.25/systems/libdirectfb_fbdev.so
-rwxr--r--    1 root     root        51638 Nov  6 12:16 /lib/directfb-0.9.25/systems/libdirectfb_fbdev.so

So can anyone help me at to where I've gone wrong ?

If it helps, I'm running the STK1000 dev kit across an NFS share to my Ubuntu box. The system appears to boot okay, and I get the two Atmel splash screens. I have also compiled and run my own code, so I *think* my toolchain is okay.

Thanks
Mark

  • 1
  • 2
  • 3
  • 4
  • 5
Total votes: 0

Try with strace:

strace ./pong
  • 1
  • 2
  • 3
  • 4
  • 5
Total votes: 0

I found the problem.

I had not copied the libsysfs libraries across to my target.

I have managed to get pong working, although only in 8bit colour mode, but that's another problem ...