metacity compositor 2.16.3 doesn't compile in edgy

Carlos Eduardo Rodrigues Diógenes cerdiogenes at yahoo.com.br
Mon Oct 30 04:10:39 GMT 2006


Hi,

I'm trying to compile metacity 2.16.3 with --enable-compositor, but it's
given the following error (I'm installed the libcm-dev package):

make[2]: Entering directory `/home/kadu/downloads/metacity-2.16.3/src'
if gcc -DHAVE_CONFIG_H -I. -I. -I.. -DORBIT2=1 -pthread
-I/usr/include/gtk-2.0 -I/usr/lib/gtk-2.0/include -I/usr/include/atk-1.0
-I/usr/include/cairo -I/usr/include/pango-1.0 -I/usr/include/glib-2.0
-I/usr/lib/glib-2.0/include -I/usr/include/gconf/2
-I/usr/include/orbit-2.0   -DMETACITY_LIBEXECDIR=\"/usr/local/libexec\"
-DHOST_ALIAS=\"\" -DMETACITY_LOCALEDIR=\"/usr/local/share/locale\"
-DMETACITY_PKGDATADIR=\"/usr/local/share/metacity\" -DMETACITY_DATADIR=
\"/usr/local/share\" -DG_LOG_DOMAIN=\"metacity\"
-DSN_API_NOT_YET_FROZEN=1    -g -O2 -Wall -Wchar-subscripts
-Wmissing-declarations -Wmissing-prototypes -Wnested-externs
-Wpointer-arith -Wcast-align -Wsign-compare -MT c-screen.o -MD -MP -MF
".deps/c-screen.Tpo" -c -o c-screen.o c-screen.c; \
        then mv -f ".deps/c-screen.Tpo" ".deps/c-screen.Po"; else rm -f
".deps/c-screen.Tpo"; exit 1; fi
c-screen.c:27:22: error: cm/state.h: No such file or directory
c-screen.c:28:26: error: cm/magnifier.h: No such file or directory
c-screen.c:29:23: error: cm/square.h: No such file or directory
c-screen.c:40: error: expected specifier-qualifier-list before
'CmMagnifier'
c-screen.c: In function 'meta_comp_window_lookup':
c-screen.c:62: error: 'MetaCompScreen' has no member named
'windows_by_xid'
c-screen.c: In function 'repaint':
c-screen.c:123: error: 'CmState' undeclared (first use in this function)
c-screen.c:123: error: (Each undeclared identifier is reported only once
c-screen.c:123: error: for each function it appears in.)
c-screen.c:123: error: 'state' undeclared (first use in this function)
c-screen.c:128: error: 'MetaCompScreen' has no member named
'meta_screen'
c-screen.c:129: error: 'MetaCompScreen' has no member named
'meta_screen'
c-screen.c:138: error: 'MetaCompScreen' has no member named 'gl_window'
c-screen.c:149: warning: implicit declaration of function 'cm_state_new'
c-screen.c:149: warning: nested extern declaration of 'cm_state_new'
c-screen.c:151: warning: implicit declaration of function
'cm_state_disable_depth_buffer_update'
c-screen.c:151: warning: nested extern declaration of
'cm_state_disable_depth_buffer_update'
c-screen.c:153: error: 'MetaCompScreen' has no member named 'magnifier'
c-screen.c:153: error: too many arguments to function 'cm_node_render'
c-screen.c:155: warning: implicit declaration of function
'cm_state_enable_depth_buffer_update'
c-screen.c:155: warning: nested extern declaration of
'cm_state_enable_depth_buffer_update'
c-screen.c:159: error: 'MetaCompScreen' has no member named 'gl_window'
c-screen.c:166: error: 'MetaCompScreen' has no member named 'idle_id'
c-screen.c: In function 'meta_comp_screen_new':
c-screen.c:213: error: 'MetaCompScreen' has no member named 'screen'
c-screen.c:215: error: 'MetaCompScreen' has no member named
'root_window'
c-screen.c:215: error: 'MetaCompScreen' has no member named 'screen'
c-screen.c:217: error: 'MetaCompScreen' has no member named
'meta_screen'
c-screen.c:218: error: 'MetaCompScreen' has no member named
'windows_by_xid'
c-screen.c: In function 'make_selection_name':
c-screen.c:230: error: 'MetaCompScreen' has no member named
'meta_screen'
c-screen.c: At top level:
c-screen.c:237: error: expected declaration specifiers or '...' before
'WsSelectionClearEvent'
c-screen.c: In function 'on_selection_clear':
c-screen.c:243: error: 'event' undeclared (first use in this function)
c-screen.c: In function 'claim_selection':
c-screen.c:253: error: 'MetaCompScreen' has no member named
'root_window'
c-screen.c:260: warning: implicit declaration of function
'ws_window_own_selection'
c-screen.c:260: warning: nested extern declaration of
'ws_window_own_selection'
c-screen.c:260: error: 'WS_CURRENT_TIME' undeclared (first use in this
function)
c-screen.c: In function 'meta_comp_screen_redirect':
c-screen.c:282: error: 'MetaCompScreen' has no member named 'screen'
c-screen.c:285: error: 'WsServerRegion' undeclared (first use in this
function)
c-screen.c:285: error: 'region' undeclared (first use in this function)
c-screen.c:288: error: 'CmSquare' undeclared (first use in this
function)
c-screen.c:288: error: 'square' undeclared (first use in this function)
c-screen.c:295: error: 'MetaCompScreen' has no member named 'gl_window'
c-screen.c:295: error: 'MetaCompScreen' has no member named 'screen'
c-screen.c:297: error: 'MetaCompScreen' has no member named 'gl_window'
c-screen.c:298: warning: implicit declaration of function
'ws_server_region_new'
c-screen.c:298: warning: nested extern declaration of
'ws_server_region_new'
c-screen.c:299: error: 'MetaCompScreen' has no member named 'gl_window'
c-screen.c:304: error: 'MetaCompScreen' has no member named 'gl_window'
c-screen.c:308: error: 'MetaCompScreen' has no member named
'selection_window'
c-screen.c:310: error: 'MetaCompScreen' has no member named 'gl_window'
c-screen.c:314: warning: implicit declaration of function
'cm_square_new'
c-screen.c:314: warning: nested extern declaration of 'cm_square_new'
c-screen.c:320: error: 'MetaCompScreen' has no member named 'screen'
c-screen.c:321: error: 'MetaCompScreen' has no member named 'screen'
c-screen.c:337: error: 'MetaCompScreen' has no member named 'magnifier'
c-screen.c:337: warning: implicit declaration of function
'cm_magnifier_new'
c-screen.c:337: warning: nested extern declaration of 'cm_magnifier_new'
c-screen.c:342: warning: implicit declaration of function
'cm_magnifier_set_active'
c-screen.c:342: warning: nested extern declaration of
'cm_magnifier_set_active'
c-screen.c:342: error: 'MetaCompScreen' has no member named 'magnifier'
c-screen.c:344: error: 'MetaCompScreen' has no member named 'magnifier'
c-screen.c:346: error: 'MetaCompScreen' has no member named 'repaint_id'
c-screen.c:347: error: 'MetaCompScreen' has no member named 'magnifier'
c-screen.c: In function 'free_all_windows':
c-screen.c:368: error: 'MetaCompScreen' has no member named
'windows_by_xid'
c-screen.c: In function 'meta_comp_screen_unredirect':
c-screen.c:383: error: 'MetaCompScreen' has no member named 'screen'
c-screen.c:386: error: 'MetaCompScreen' has no member named 'magnifier'
c-screen.c:386: error: 'MetaCompScreen' has no member named 'repaint_id'
c-screen.c:387: error: 'MetaCompScreen' has no member named 'magnifier'
c-screen.c:390: warning: implicit declaration of function
'ws_screen_release_gl_window'
c-screen.c:390: warning: nested extern declaration of
'ws_screen_release_gl_window'
c-screen.c:399: error: 'MetaCompScreen' has no member named
'selection_window'
c-screen.c: In function 'meta_comp_screen_queue_paint':
c-screen.c:408: error: 'MetaCompScreen' has no member named 'idle_id'
c-screen.c:409: error: 'MetaCompScreen' has no member named 'idle_id'
c-screen.c: In function 'meta_comp_screen_restack':
c-screen.c:435: error: 'MetaCompScreen' has no member named 'gl_window'
c-screen.c:437: warning: implicit declaration of function
'cm_stacker_raise_child'
c-screen.c:437: warning: nested extern declaration of
'cm_stacker_raise_child'
c-screen.c:441: warning: implicit declaration of function
'cm_stacker_lower_child'
c-screen.c:441: warning: nested extern declaration of
'cm_stacker_lower_child'
c-screen.c:445: warning: implicit declaration of function
'cm_stacker_restack_child'
c-screen.c:445: warning: nested extern declaration of
'cm_stacker_restack_child'
c-screen.c: In function 'on_window_destroy':
c-screen.c:525: warning: implicit declaration of function
'cm_stacker_remove_child'
c-screen.c:525: warning: nested extern declaration of
'cm_stacker_remove_child'
c-screen.c:526: error: 'MetaCompScreen' has no member named
'windows_by_xid'
c-screen.c: In function 'meta_comp_screen_add_window':
c-screen.c:549: error: 'MetaCompScreen' has no member named 'gl_window'
c-screen.c:550: error: 'MetaCompScreen' has no member named 'screen'
c-screen.c:562: error: 'MetaCompScreen' has no member named
'meta_screen'
c-screen.c:565: error: 'MetaCompScreen' has no member named
'windows_by_xid'
c-screen.c: In function 'meta_comp_screen_unset_patch':
c-screen.c:627: warning: implicit declaration of function
'cm_drawable_node_unset_patch'
c-screen.c:627: warning: nested extern declaration of
'cm_drawable_node_unset_patch'
c-screen.c: In function 'meta_comp_screen_get_real_size':
c-screen.c:652: warning: implicit declaration of function
'cm_drawable_node_get_clipbox'
c-screen.c:652: warning: nested extern declaration of
'cm_drawable_node_get_clipbox'
c-screen.c: In function 'meta_comp_screen_set_target_rect':
c-screen.c:673: warning: implicit declaration of function
'cm_drawable_node_set_scale_rect'
c-screen.c:673: warning: nested extern declaration of
'cm_drawable_node_set_scale_rect'
make[2]: *** [c-screen.o] Error 1
make[2]: Leaving directory `/home/kadu/downloads/metacity-2.16.3/src'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/home/kadu/downloads/metacity-2.16.3/src'
make: *** [all] Error 2

This is the right place for this? What I have to do to correct this?

Thanks,
Carlos.


	

	
		
_______________________________________________________ 
Você quer respostas para suas perguntas? Ou você sabe muito e quer compartilhar seu conhecimento? Experimente o Yahoo! Respostas !
http://br.answers.yahoo.com/




More information about the ubuntu-devel mailing list