#11 Abuse of DirectFB internals doesn't work any more

version 2.2.x
libggi (22)

In the build process in default/fbdev/directfb:

(DirectFB version is latest at the time, 0.9.19.)

1. I needed to add -I/usr/local/include/directfb
-I/usr/local/include/directfb-internal to CFLAGS to get all the
directfb headers being installed

2. in ggidirectfb.h, about line 132:

# define extern
# define dfb_fbdev dfb_fbdev = NULL
# include <directfb-internal/core/fbdev/fbdev.h>
# undef dfb_fbdev
# undef extern

dfb_fbdev is no longer exported in the
directfb-internal/core/fbdev.h header, so the above is insufficient
(errors in directfbglobal.c I think it was); adding the following to
the above block works but of course it's a nasty hack and not a
real fix:

extern FBDev *dfb_fbdev;

3. in directfbglobals.c:
void *dfb_gfxcard_memory_virtual( unsigned int offset )
is already defined in the current version of DirectFB; I just #ifdef
0'd out the function and it built OK, "make check" passed too.


David Robins


  • Christoph Egger

    Christoph Egger - 2004-01-05
    • labels: --> libggi
    • assigned_to: nobody --> skids
  • Christoph Egger

    Christoph Egger - 2006-02-13
    • milestone: --> version 2.2.x

Log in to post a comment.

Get latest updates about Open Source Projects, Conferences and News.

Sign up for the SourceForge newsletter:

JavaScript is required for this form.

No, thanks