Since Debian uses directfb-1.0, that's why I use 1.0. I installed directfb-2.x with configuring ./configure --with-inputdrivers=all --with-gfxdrivers=all, then I installed glib and gtk+. when I run gtk-demo, I got:
# ./gtk-demo commandline read: gtk-demo ~~~~~~~~~~~~~~~~~~~~~~~~~~| DirectFB 1.2.8 |~~~~~~~~~~~~~~~~~~~~~~~~~~ (c) 2001-2008 The world wide DirectFB Open Source Community (c) 2000-2004 Convergence (integrated media) GmbH ---------------------------------------------------------------- (*) DirectFB/Core: Single Application Core. (2009-04-10 02:26) (*) Direct/Memcpy: Using libc memcpy() (*) Direct/Thread: Started 'VT Switcher' (-1) [CRITICAL OTHER/OTHER 0/0] <8388608>... (!) [ 1736: 0.000] --> Caught signal 11 (at 0x300000, invalid address) <-- terminated Any idea how to solve it? Thanks again! Regards, Joe. On Thu, Apr 9, 2009 at 8:18 PM, Sven Neumann wrote: > Hi, > > On Thu, 2009-04-09 at 18:13 +0800, Joe Culler wrote: >> Thanks. When I try to make the GTK+-2.16 libraries I am getting the following >> error: >> >> gdktestutils-directfb.c: In function ‘IA__gdk_test_simulate_key’: >> gdktestutils-directfb.c:178: error: ‘DFBWindowEvent’ has no member named >> ‘flags’ >> gdktestutils-directfb.c:178: error: ‘DWEF_NONE’ undeclared (first use >> in this function) >> gdktestutils-directfb.c:178: error: (Each undeclared identifier is >> reported only once >> gdktestutils-directfb.c:178: error: for each function it appears in.) >> gdktestutils-directfb.c: In function ‘IA__gdk_test_simulate_button’: >> gdktestutils-directfb.c:244: error: ‘DFBWindowEvent’ has no member named >> ‘flags’ >> gdktestutils-directfb.c:244: error: ‘DWEF_NONE’ undeclared (first use >> in this function) >> make[4]: *** [gdktestutils-directfb.lo] Error 1 >> make[4]: Leaving directory `/root/gtk+-2.16.0/gdk/directfb' >> >> It seems that gtk+-2.16 is broken as well... > > Hmm, looks like this code relies on API that was added in DirectFB 1.2. > Any particular reason you are still using version 1.0? > > I'll get this fixed. Hopefully the next GTK+ release will also compile > with DirectFB 1.0 then. > > > Sven > > > _______________________________________________ directfb-dev mailing list directfb-dev@directfb.org http://mail.directfb.org/cgi-bin/mailman/listinfo/directfb-dev