-
Notifications
You must be signed in to change notification settings - Fork 4
Description
Hi
I'm the package mantainer of all enlightenment in Tiny Core Linux
I get this error during compilation on Tiny Core Linux:
make all-recursive
make[1]: Entering directory /mnt/sda2/tcbuild/storage/ecomorph/src/temp/ecomorph-git20120624' Making all in src make[2]: Entering directory/mnt/sda2/tcbuild/storage/ecomorph/src/temp/ecomorph-git20120624/src'
/bin/sh ../libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I.. -I. -I.. -I/usr/local/include -DUSE_E_CONFIG_H -I/usr/local/include/enlightenment -I/usr/local/include/evas-1 -I/usr/local/include/eina-1 -I/usr/local/include/eina-1/eina -I/usr/local/include/ecore-1 -I/usr/local/include/eet-1 -I/usr/local/include/edje-1 -I/usr/local/include/efreet-1 -I/usr/local/include/dbus-1.0 -I/usr/local/lib/dbus-1.0/include -I/usr/local/include/e_dbus-1 -I/usr/local/include/eeze-1 -I/usr/local/include -I/usr/local/include/glib-2.0 -I/usr/local/lib/glib-2.0/include -I/usr/local/include/embryo-1 -I/usr/include/freetype2 -march=i486 -mtune=i686 -Os -pipe -MT eco_event.lo -MD -MP -MF .deps/eco_event.Tpo -c -o eco_event.lo eco_event.c
libtool: compile: gcc -DHAVE_CONFIG_H -I. -I.. -I. -I.. -I/usr/local/include -DUSE_E_CONFIG_H -I/usr/local/include/enlightenment -I/usr/local/include/evas-1 -I/usr/local/include/eina-1 -I/usr/local/include/eina-1/eina -I/usr/local/include/ecore-1 -I/usr/local/include/eet-1 -I/usr/local/include/edje-1 -I/usr/local/include/efreet-1 -I/usr/local/include/dbus-1.0 -I/usr/local/lib/dbus-1.0/include -I/usr/local/include/e_dbus-1 -I/usr/local/include/eeze-1 -I/usr/local/include -I/usr/local/include/glib-2.0 -I/usr/local/lib/glib-2.0/include -I/usr/local/include/embryo-1 -I/usr/include/freetype2 -march=i486 -mtune=i686 -Os -pipe -MT eco_event.lo -MD -MP -MF .deps/eco_event.Tpo -c eco_event.c -fPIC -DPIC -o .libs/eco_event.o
eco_event.c: In function 'eco_event_init':
eco_event.c:91:4: warning: passing argument 2 of 'ecore_event_handler_add' from incompatible pointer type [enabled by default]
/usr/local/include/ecore-1/Ecore.h:701:27: note: expected 'Ecore_Event_Handler_Cb' but argument is of type 'int ()(void *, int, void *)'
eco_event.c:92:4: warning: passing argument 2 of 'ecore_event_handler_add' from incompatible pointer type [enabled by default]
/usr/local/include/ecore-1/Ecore.h:701:27: note: expected 'Ecore_Event_Handler_Cb' but argument is of type 'int ()(void , int, void *)'
eco_event.c:93:4: warning: passing argument 2 of 'ecore_event_handler_add' from incompatible pointer type [enabled by default]
/usr/local/include/ecore-1/Ecore.h:701:27: note: expected 'Ecore_Event_Handler_Cb' but argument is of type 'int ()(void , int, void *)'
eco_event.c:94:4: warning: passing argument 2 of 'ecore_event_handler_add' from incompatible pointer type [enabled by default]
/usr/local/include/ecore-1/Ecore.h:701:27: note: expected 'Ecore_Event_Handler_Cb' but argument is of type 'int ()(void , int, void *)'
eco_event.c:95:4: warning: passing argument 2 of 'ecore_event_handler_add' from incompatible pointer type [enabled by default]
/usr/local/include/ecore-1/Ecore.h:701:27: note: expected 'Ecore_Event_Handler_Cb' but argument is of type 'int ()(void , int, void *)'
eco_event.c:96:4: warning: passing argument 2 of 'ecore_event_handler_add' from incompatible pointer type [enabled by default]
/usr/local/include/ecore-1/Ecore.h:701:27: note: expected 'Ecore_Event_Handler_Cb' but argument is of type 'int ()(void , int, void *)'
eco_event.c:97:4: warning: passing argument 2 of 'ecore_event_handler_add' from incompatible pointer type [enabled by default]
/usr/local/include/ecore-1/Ecore.h:701:27: note: expected 'Ecore_Event_Handler_Cb' but argument is of type 'int ()(void , int, void *)'
eco_event.c:98:4: warning: passing argument 2 of 'ecore_event_handler_add' from incompatible pointer type [enabled by default]
/usr/local/include/ecore-1/Ecore.h:701:27: note: expected 'Ecore_Event_Handler_Cb' but argument is of type 'int ()(void , int, void *)'
eco_event.c:99:4: warning: passing argument 2 of 'ecore_event_handler_add' from incompatible pointer type [enabled by default]
/usr/local/include/ecore-1/Ecore.h:701:27: note: expected 'Ecore_Event_Handler_Cb' but argument is of type 'int ()(void , int, void *)'
eco_event.c:119:4: warning: passing argument 2 of 'ecore_timer_add' from incompatible pointer type [enabled by default]
/usr/local/include/ecore-1/Ecore.h:1636:19: note: expected 'Ecore_Task_Cb' but argument is of type 'int ()(void _)'
eco_event.c: In function 'eco_borderwait_damage':
eco_event.c:651:5: warning: passing argument 2 of 'ecore_event_handler_add' from incompatible pointer type [enabled by default]
/usr/local/include/ecore-1/Ecore.h:701:27: note: expected 'Ecore_Event_Handler_Cb' but argument is of type 'int ()(void , int, void *)'
eco_event.c:652:3: warning: passing argument 2 of 'ecore_timer_add' from incompatible pointer type [enabled by default]
/usr/local/include/ecore-1/Ecore.h:1636:19: note: expected 'Ecore_Task_Cb' but argument is of type 'int ()(void _)'
eco_event.c: In function 'eco_border_cb_hook_new_border':
eco_event.c:702:27: error: 'E_BINDING_CONTEXT_BORDER' undeclared (first use in this function)
eco_event.c:702:27: note: each undeclared identifier is reported only once for each function it appears in
make[2]: ** [eco_event.lo] Error 1
make[2]: Leaving directory /mnt/sda2/tcbuild/storage/ecomorph/src/temp/ecomorph-git20120624/src' make[1]: *** [all-recursive] Error 1 make[1]: Leaving directory/mnt/sda2/tcbuild/storage/ecomorph/src/temp/ecomorph-git20120624'
make: *** [all] Error 2
googling for the error I found the following page:
http://permalink.gmane.org/gmane.comp.window-managers.enlightenment.cvs/77325
so I made the following patch and the compilation goes fine:
--- a/eco_event.c 2012-06-24 18:11:22.926921126 +0200
+++ b/eco_event.c 2012-06-24 18:15:36.890279270 +0200
@@ -699,8 +699,8 @@
e_canvas_del(bd->bg_ecore_evas);
ecore_evas_free(bd->bg_ecore_evas);
ecore_x_window_free(bd->client.shell_win);
- e_bindings_mouse_ungrab(E_BINDING_CONTEXT_BORDER, bd->win);
- e_bindings_wheel_ungrab(E_BINDING_CONTEXT_BORDER, bd->win);
- e_bindings_mouse_ungrab(E_BINDING_CONTEXT_WINDOW, bd->win);
- e_bindings_wheel_ungrab(E_BINDING_CONTEXT_WINDOW, bd->win);
ecore_x_window_free(bd->win);
e_focus_setdown(bd);
@@ -716,8 +716,8 @@
ecore_x_window_prop_card32_set(bd->win, ECOMORPH_ATOM_MANAGED, &(bd->client.win), 1);
- e_bindings_mouse_grab(E_BINDING_CONTEXT_BORDER, bd->win);
- e_bindings_wheel_grab(E_BINDING_CONTEXT_BORDER, bd->win);
- e_bindings_mouse_grab(E_BINDING_CONTEXT_WINDOW, bd->win);
- e_bindings_wheel_grab(E_BINDING_CONTEXT_WINDOW, bd->win);
e_focus_setup(bd);
bd->bg_ecore_evas = e_canvas_new(bd->win, 0, 0, bd->w, bd->h, 1, 0, &(bd->bg_win));
I still have to try ecomorph after this patch.
Thank u very much for ecomorph