I just deleted my cairo headers and did a clean build everything works.
In this case it looks like were not picking up the DirectFB headers or
you have a old version of directfb installed I'm running agianst cvs
but any recent version 0.9.24+ should work.

Sorry  I can't repeat it.

Mike


On 1/3/06, Davide Viti <[EMAIL PROTECTED]> wrote:
> Hi,
> after a few weeks, I'm playing with recompiling all the libs needed
> for g-i and I have a problem compiling the new cairo.
> I'm using a Debian unstable chroot environment for compilation, and
> here's gcc version:
>
> [EMAIL PROTECTED]:~/PRE-PATCHED$ gcc --version
> gcc (GCC) 4.0.3 20051201 (prerelease) (Debian 4.0.2-5)
> Copyright (C) 2005 Free Software Foundation, Inc.
> This is free software; see the source for copying conditions.  There
> is NO
> warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR
> PURPOSE.
>
>
> Here's the error:
>
> ========================================
> [...]
>  gcc -DHAVE_CONFIG_H -I. -I. -I.. -D_GNU_SOURCE -I. -I../pixman/src
>  -I../src -I../src -DXTHREADS -I/usr/X11R6/include
>  -I/usr/include/libpng12 -D_REENTRANT -D_GNU_SOURCE
>  -I/usr/include/directfb -I/usr/include/freetype2 -Wall
>  -Wpointer-arith -Wstrict-prototypes -Wmissing-prototypes
>  -Wmissing-declarations -Wnested-externs -fno-strict-aliasing -g -O2
>  -MT cairo-test-directfb.lo -MD -MP -MF .deps/cairo-test-directfb.Tpo
>  -c cairo-test-directfb.c  -fPIC -DPIC -o .libs/cairo-test-directfb.o
> cairo-test-directfb.c: In function 'init':
> cairo-test-directfb.c:40: error: 'DFBGraphicsDeviceDescription'
> undeclared (first use in this function)
> cairo-test-directfb.c:40: error: (Each undeclared identifier is
> reported only once
> cairo-test-directfb.c:40: error: for each function it appears in.)
> cairo-test-directfb.c:40: error: syntax error before 'desc'
> cairo-test-directfb.c:49: error: 'struct _IDirectFB' has no member
> named 'GetDeviceDescription'
> cairo-test-directfb.c:49: error: 'desc' undeclared (first use in this
> function)
> make[2]: *** [cairo-test-directfb.lo] Error 1
> make[2]: Leaving directory `/home/zino/PRE-PATCHED/cairo/test'
> make[1]: *** [all-recursive] Error 1
> make[1]: Leaving directory `/home/zino/PRE-PATCHED/cairo'
> make: *** [all] Error 2
> ------------------------------------------
>
> the only option I use is "--enable-directfb=yes"
>
> and this is the set of libraries I use:
>
> cvs -d:pserver:[EMAIL PROTECTED]:/cvs/gnome -z3 co -r
> GLIB_2_8_3 glib
> cvs -d:pserver:[EMAIL PROTECTED]:/cvs/gnome -z3 co atk
> cvs -d:pserver:[EMAIL PROTECTED]:/cvs/gnome -z3 co -r
> PANGO_1_10_1 pango
> cvs -d:pserver:[EMAIL PROTECTED]:/cvs/gnome -z3 co -r
> GTK_2_8_3 gtk+
>
> cvs -d :pserver:[EMAIL PROTECTED]:/cvs/cairo co slim
> cvs -d :pserver:[EMAIL PROTECTED]:/cvs/cairo co
> libpixregion
> cvs -d :pserver:[EMAIL PROTECTED]:/cvs/cairo co libic
> cvs -d :pserver:[EMAIL PROTECTED]:/cvs/cairo co -D
> "20051230"  cairo
>
> cvs -d:pserver:[EMAIL PROTECTED]:/cvs/directfb -z3 co
> DirectFB
> cvs -d:pserver:[EMAIL PROTECTED]:/cvs/directfb -z3 co
> gdk-directfb
>
>
> mv gdk-directfb gtk+/gdk/directfb
> cd gtk+/gdk/directfb
> patch -b -p0 < ./gtk-directfb.patch
> cd ../../..
>
> Please let me know if I'm doing anything wrong.
> Thanx
> Davide
>
>
> -----BEGIN PGP SIGNATURE-----
> Version: GnuPG v1.4.1 (GNU/Linux)
>
> iD8DBQFDuwRrax2slmJA7HoRAvT/AKCS3MPFEOx2j9sLNINURlHQmgtocACeJqMJ
> +jcLxPmZsy2YP1yfGLeNzzo=
> =jzd3
> -----END PGP SIGNATURE-----
>
>
>

_______________________________________________
directfb-dev mailing list
[email protected]
http://mail.directfb.org/cgi-bin/mailman/listinfo/directfb-dev

Reply via email to