Hello,
I have corrected my problem to compile my embedded application using the
last version of gtk (2.20.0)
I have used the patch here :
https://bugzilla.gnome.org/show_bug.cgi?id=605185
And using the same principle I added these lines to be able to compile
(using direct-fb 1.4.3) :
---------------------------------------------------------------------------------------
*File gdkkeys-directfb.c (add in line 2000) : *
*void
gdk_keymap_add_virtual_modifiers (GdkKeymap *keymap,
GdkModifierType *state)
{
}
*
*File gdk.symbols (add in line 872) : *
*gdk_keymap_add_virtual_modifiers*
---------------------------------------------------------------------------------------
But now my application is still not working because I've got a crash when
starting !
Here the gdb backtrace.
My application is working with the version 2.16.6 of Gtk (glib 2.22.4 and
atk 1.20)
I know I had some troubles with the version 2.18.6 of gtk so I wait for a
new version... still not working !
Can someone help me ??
May be a new version of directfb will correct all my problems but I don't
know how many time it will take. Should I try with the version in
development ?
Thanks for any help.
IMS
[Thread debugging using libthread_db
enabled]
[New Thread 1089447520 (LWP
2953)]
commandline read:
displayapp
commandline read:
-mtype
commandline read:
601
~~~~~~~~~~~~~~~~~~~~~~~~~~| DirectFB 1.4.3
|~~~~~~~~~~~~~~~~~~~~~~~~~~
(c) 2001-2009 The world wide DirectFB Open Source
Community
(c) 2000-2004 Convergence (integrated media)
GmbH
----------------------------------------------------------------
(*) DirectFB/Core: Multi Application Core. (2010-02-15 12:58) [ DEBUG ][
TRACE ]
(*) Direct/Memcpy: Using libc
memcpy()
(*) Fusion/Init: Builtin Implementation is still experimental!
Crash/Deadlocks might
occur!
(*) Fusion/SHM: Using MADV_REMOVE (2.6.24.6 >=
2.6.19.2)
[New Thread 1098019984 (LWP
2956)]
(*) Direct/Thread: Started 'Fusion Dispatch' (-1) [MESSAGING OTHER/OTHER
0/0] <8388608>...
[New Thread 1106408592 (LWP
2959)]
(*) Direct/Thread: Started 'VT Switcher' (-1) [CRITICAL OTHER/OTHER 0/0]
<8388608>...
[New Thread 1114797200 (LWP
2962)]
(*) Direct/Thread: Started 'VT Flusher' (-1) [DEFAULT OTHER/OTHER 0/0]
<8388608>...
(*) DirectFB/FBDev: Found 'DISP0 BG' (ID 0) with frame buffer at 0xa0c00000,
255k (MMIO 0x00000000, 0k)
(!) Direct/Modules: Unable to dlopen
`/usr/lib/directfb-1.4-0/inputdrivers/libdirectfb_tslib.so'!
--> /usr/lib/directfb-1.4-0/inputdrivers/libdirectfb_tslib.so: undefined
symbol: ts_close
[New Thread 1123493008 (LWP
2963)]
(*) Direct/Thread: Started 'Keyboard Input' (-1) [INPUT OTHER/OTHER 0/0]
<8388608>...
(*) DirectFB/Input: Keyboard 0.9 (directfb.org)
(*) DirectFB/Graphics: Generic Software Rasterizer 0.6 (directfb.org)
(*) DirectFB/Core/WM: Default 0.3 (directfb.org)
(<unknown>:2953): Gdk-CRITICAL **: gdk_drawable_set_colormap: assertion
`cmap == NULL || gdk_drawable_get_depth (drawable) == cmap->visual->depth'
fd
[New Thread 1131988112 (LWP
2964)]
(*) Direct/Thread: Started 'EventBufferFeed' (-1) [MESSAGING OTHER/OTHER
0/0] <8388608>...
[New Thread 1140376720 (LWP
2965)]
[New Thread 1148925072 (LWP
2966)]
[New Thread 1157313680 (LWP
2967)]
(<unknown>:2953): Gdk-DirectFB-WARNING **: gdk_window_set_keep_above() not
implemented.
(<unknown>:2953): Gdk-DirectFB-WARNING **: gdk_window_set_keep_below() not
implemented.
mope - Mar 25 12:47:33.776 {SimpleExecutor-2848} [ERROR]
_network_read_eth_config_from_linux - Cannot get device eth1
settings
(<unknown>:2953): Gdk-DirectFB-WARNING **:
gdk_display_request_selection_notification Unimplemented
function
Program received signal SIGSEGV, Segmentation
fault.
[Switching to Thread 1089447520 (LWP
2953)]
0x407de6a4 in cairo_directfb_surface_create (dfb=0x504b0,
dfbsurface=0x0)
at
cairo-directfb-surface.c:1916
1916 cairo-directfb-surface.c: No such file or
directory.
in
cairo-directfb-surface.c
Current language: auto; currently
c
(gdb)
bt
#0 0x407de6a4 in cairo_directfb_surface_create (dfb=0x504b0,
dfbsurface=0x0)
at
cairo-directfb-surface.c:1916
#1 0x406212b4 in _gdk_windowing_create_cairo_surface
()
from
/usr/lib/libgdk-directfb-2.0.so.0
#2 0x405f3c00 in _gdk_drawable_create_cairo_surface
()
from
/usr/lib/libgdk-directfb-2.0.so.0
#3 0x406197f8 in gdk_window_ref_cairo_surface
()
from
/usr/lib/libgdk-directfb-2.0.so.0
#4 0x405f3eb0 in _gdk_drawable_ref_cairo_surface
()
from
/usr/lib/libgdk-directfb-2.0.so.0
#5 0x40616940 in gdk_window_clear_region_internal
()
from
/usr/lib/libgdk-directfb-2.0.so.0
#6 0x40616f90 in gdk_window_clear_area_internal
()
from
/usr/lib/libgdk-directfb-2.0.so.0
#7 0x4061700c in gdk_window_clear_area
()
from
/usr/lib/libgdk-directfb-2.0.so.0
#8 0x40617098 in gdk_window_clear () from
/usr/lib/libgdk-directfb-2.0.so.0
#9 0x40624c44 in dfb_events_process_window_event
()
from
/usr/lib/libgdk-directfb-2.0.so.0
#10 0x40625388 in dfb_events_io_func () from
/usr/lib/libgdk-directfb-2.0.so.0
#11 0x408f3a50 in g_io_unix_dispatch () from
/usr/lib/libglib-2.0.so.0
#12 0x408adec0 in g_main_context_dispatch () from
/usr/lib/libglib-2.0.so.0
#13 0x408b1324 in g_main_context_iterate () from
/usr/lib/libglib-2.0.so.0
_______________________________________________
gtk-list mailing list
[email protected]
http://mail.gnome.org/mailman/listinfo/gtk-list