- labels: --> libggi
- assigned_to: nobody --> skids
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:
#ifdef _FBDEV_DIRECTFB_GLOBALS
# define extern
# define dfb_fbdev dfb_fbdev = NULL
# include <directfb-internal/core/fbdev/fbdev.h>
# undef dfb_fbdev
# undef extern
#else
...
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.
HTH,
David Robins
dbr@davidrobins.net