How you setup local build environment on your Ubuntu8.04? We suggest you create a pure chroot moblin development environment against your host machine. In addition, keep right clutter-core, NBTK,etc devel packages installed.
-----Original Message----- From: [email protected] [mailto:[email protected]] On Behalf Of Xixi Zhou Sent: 2009年7月1日 23:33 To: [email protected] Subject: [Moblin Dev] [Moblin Web Browser ] Fail to compile clutter-mozembed Dear all, I want to build moblin-web-browser these days, but when I'm building clutter-mozembed, I can't go on with the error message: ====================================================================== In file included from clutter-mozembed.c:22: clutter-mozembed.h:109: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘clutter_mozembed_get_cursor’ clutter-mozembed.c:163: error: expected specifier-qualifier-list before ‘MozHeadlessCursorType’ clutter-mozembed.c: In function ‘update’: clutter-mozembed.c:250: warning: passing argument 2 of ‘clutter_actor_get_size’ from incompatible pointer type clutter-mozembed.c:250: warning: passing argument 3 of ‘clutter_actor_get_size’ from incompatible pointer type clutter-mozembed.c: In function ‘process_feedback’: clutter-mozembed.c:429: warning: implicit declaration of function ‘clutter_threads_add_repaint_func’ clutter-mozembed.c:611: error: ‘ClutterMozEmbedPrivate’ has no member named ‘cursor’ clutter-mozembed.c: In function ‘clutter_mozembed_get_property’: clutter-mozembed.c:1177: error: ‘ClutterMozEmbedPrivate’ has no member named ‘cursor’ clutter-mozembed.c: In function ‘clutter_mozembed_set_property’: clutter-mozembed.c:1236: error: ‘ClutterMozEmbedPrivate’ has no member named ‘cursor’ clutter-mozembed.c: In function ‘clutter_mozembed_dispose’: clutter-mozembed.c:1424: warning: implicit declaration of function ‘clutter_threads_remove_repaint_func’ clutter-mozembed.c: At top level: clutter-mozembed.c:1559: error: expected declaration specifiers or ‘...’ before ‘ClutterAllocationFlags’ clutter-mozembed.c: In function ‘clutter_mozembed_allocate’: clutter-mozembed.c:1599: error: ‘flags’ undeclared (first use in this function) clutter-mozembed.c:1599: error: (Each undeclared identifier is reported only once clutter-mozembed.c:1599: error: for each function it appears in.) clutter-mozembed.c: In function ‘clutter_mozembed_pick’: clutter-mozembed.c:1656: warning: passing argument 2 of ‘clutter_actor_get_size’ from incompatible pointer type clutter-mozembed.c:1656: warning: passing argument 3 of ‘clutter_actor_get_size’ from incompatible pointer type clutter-mozembed.c: In function ‘clutter_mozembed_class_init’: clutter-mozembed.c:2341: warning: assignment from incompatible pointer type clutter-mozembed.c: At top level: clutter-mozembed.c:2905: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘clutter_mozembed_get_cursor’ make[3]: *** [clutter-mozembed.lo] Error 1 make[3]: Leaving directory `/root/resource/moblin/git/clutter-mozembed/cluttermozembed' make[2]: *** [all] Error 2 make[2]: Leaving directory `/root/resource/moblin/git/clutter-mozembed/cluttermozembed' make[1]: *** [all-recursive] Error 1 make[1]: Leaving directory `/root/resource/moblin/git/clutter-mozembed' make: *** [all] Error 2 ====================================================================== I use Ubuntu 8.04, and have installed all the dependences of cluttermozembed. But according to the error message in compiling, seems there is no definition of ‘MozHeadlessCursorType’? I'm not sure if I use the old version of source codes or not: git://git.o-hand.com/mozilla-headless and git://git.clutter-project.org/clutter-mozembed. Could you kindly give me some advice if anyone knows this? Thanks a lot. Xixi _______________________________________________ Moblin dev Mailing List [email protected] To manage or unsubscribe from this mailing list visit: https://lists.moblin.org/mailman/listinfo/dev or your user account on http://moblin.org once logged in. For more information on the Moblin Developer Mailing lists visit: http://moblin.org/community/mailing-lists _______________________________________________ Moblin dev Mailing List [email protected] To manage or unsubscribe from this mailing list visit: https://lists.moblin.org/mailman/listinfo/dev or your user account on http://moblin.org once logged in. For more information on the Moblin Developer Mailing lists visit: http://moblin.org/community/mailing-lists
