This issue relates to my previous post http://forum.slitaz.org/topic/how-to-get-compiz-working
Essentially, from what I understand compiz requires an external window decorator to get the decorator plugin working. After trying all sorts of window managers, jwm, xfwm4 etc I was not able to make any progress and if I try to run any of them I get an error message stating that a window manager (compiz) is already running and if I use --replace option, it takes me back to the Slim login.
The Compiz Wiki tells me that I could run emerald as a decorator and since emerald is not in the Slitaz repo, I downloaded emerald-0.8.8 from http://releases.compiz-fusion.org/0.8.8/ and tried to compile it.
I ran .configure from the source directory and it worked without any errors. However, when I ran make check (before doing a make), make fails with following errors.
main.c: In function ‘decor_update_window_property’:
main.c:508:8: warning: passing argument 7 of ‘decor_quads_to_property’ makes integer from pointer without a cast
/usr/include/compiz/decoration.h:186:1: note: expected ‘int’ but argument is of type ‘struct decor_quad_t *’
main.c:508:8: error: too few arguments to function ‘decor_quads_to_property’
/usr/include/compiz/decoration.h:186:1: note: declared here
main.c: In function ‘decor_update_switcher_property’:
main.c:1940:8: warning: passing argument 7 of ‘decor_quads_to_property’ makes integer from pointer without a cast
/usr/include/compiz/decoration.h:186:1: note: expected ‘int’ but argument is of type ‘struct decor_quad_t *’
main.c:1940:8: error: too few arguments to function ‘decor_quads_to_property’
/usr/include/compiz/decoration.h:186:1: note: declared here
main.c: In function ‘update_default_decorations’:
main.c:2368:5: warning: passing argument 7 of ‘decor_quads_to_property’ makes integer from pointer without a cast
/usr/include/compiz/decoration.h:186:1: note: expected ‘int’ but argument is of type ‘struct decor_quad_t *’
main.c:2368:5: error: too few arguments to function ‘decor_quads_to_property’
/usr/include/compiz/decoration.h:186:1: note: declared here
main.c:2427:5: warning: passing argument 7 of ‘decor_quads_to_property’ makes integer from pointer without a cast
/usr/include/compiz/decoration.h:186:1: note: expected ‘int’ but argument is of type ‘struct decor_quad_t *’
main.c:2427:5: error: too few arguments to function ‘decor_quads_to_property’
/usr/include/compiz/decoration.h:186:1: note: declared here
main.c:2436:5: warning: passing argument 7 of ‘decor_quads_to_property’ makes integer from pointer without a cast
/usr/include/compiz/decoration.h:186:1: note: expected ‘int’ but argument is of type ‘struct decor_quad_t *’
main.c:2436:5: error: too few arguments to function ‘decor_quads_to_property’
/usr/include/compiz/decoration.h:186:1: note: declared here
main.c: In function ‘update_window_decoration_size’:
main.c:3044:11: warning: assignment makes pointer from integer without a cast
main.c: In function ‘update_switcher_window’:
main.c:3242:9: warning: assignment makes pointer from integer without a cast
main.c:3291:11: warning: assignment makes pointer from integer without a cast
main.c: In function ‘main’:
main.c:5620:5: error: too few arguments to function ‘decor_set_dm_check_hint’
/usr/include/compiz/decoration.h:411:1: note: declared here
make[1]: *** [main.o] Error 1
make[1]: Leaving directory `/home/tux/Downloads/emerald-0.8.8/src'
make: *** [check-recursive] Error 1
Any help to resolve this issue is greatly appreciated.