When emerge xine-dmd I get this error: /bin/sh ./libtool-nofpic --mode=compile gcc -DHAVE_CONFIG_H -I. -I. -I. -I/usr/include -L/usr/X11R6/lib -O3 -pipe -fomit-frame-pointer -malign-functions=4 -malign-loops=4 -malign-jumps=4 -malign-functions=4 -mpreferred-stack-boundary=2 -fexpensive-optimizations -fschedule-insns2 -fno-strict-aliasing -ffast-math -funroll-loops -funroll-all-loops -finline-functions -mcpu=pentiumpro -Wall -D_REENTRANT -D_FILE_OFFSET_BITS=64 -c dvd_ifo.c input_dvd.c: In function `dvd_plugin_seek': input_dvd.c:995: `this' undeclared (first use in this function) input_dvd.c:995: parse error before ')' token input_dvd.c: In function `dvd_plugin_read': input_dvd.c:1052: `this' undeclared (first use in this function) input_dvd.c:1052: parse error before ')' token input_dvd.c: In function `dvd_plugin_read_block': input_dvd.c:1189: `this' undeclared (first use in this function) input_dvd.c:1189: parse error before ')' token input_dvd.c: In function `dvd_plugin_get_current_pos': input_dvd.c:1327: `this' undeclared (first use in this function) input_dvd.c:1327: parse error before ')' token input_dvd.c: In function `dvd_plugin_get_length': input_dvd.c:1335: `this' undeclared (first use in this function) input_dvd.c:1335: parse error before ')' token input_dvd.c: In function `dvd_plugin_get_capabilities': input_dvd.c:1342: `INPUT_CAP_AUTOPLAY' undeclared (first use in this function) input_dvd.c:1343: `INPUT_CAP_GET_DIR' undeclared (first use in this function) input_dvd.c:1343: `INPUT_CAP_CLUT' undeclared (first use in this function) input_dvd.c: In function `dvd_plugin_eject_media': input_dvd.c:1408: `this' undeclared (first use in this function) input_dvd.c:1408: parse error before ')' token input_dvd.c: In function `dvd_plugin_close': input_dvd.c:1509: `this' undeclared (first use in this function) input_dvd.c:1509: parse error before ')' token input_dvd.c: In function `dvd_plugin_stop': input_dvd.c:1521: `this' undeclared (first use in this function) input_dvd.c:1521: parse error before ')' token input_dvd.c: At top level: input_dvd.c:1539: parse error before '*' token input_dvd.c:1540: warning: return type defaults to `int' input_dvd.c: In function `dvd_plugin_get_dir': input_dvd.c:1541: `this' undeclared (first use in this function) input_dvd.c:1541: parse error before ')' token input_dvd.c: In function `dvd_plugin_get_autoplay_list': input_dvd.c:1553: `this' undeclared (first use in this function) input_dvd.c:1553: parse error before ')' token input_dvd.c: In function `dvd_plugin_get_mrl': input_dvd.c:1566: `this' undeclared (first use in this function) input_dvd.c:1566: parse error before ')' token input_dvd.c: In function `dvd_plugin_get_optional_data': input_dvd.c:1576: `this' undeclared (first use in this function) input_dvd.c:1576: parse error before ')' token input_dvd.c:1592: `INPUT_OPTIONAL_DATA_CLUT' undeclared (first use in this function) input_dvd.c:1631: warning: implicit declaration of function `xine_select_audio_channel' input_dvd.c: In function `dvd_plugin_is_branch_possible': input_dvd.c:1656: `this' undeclared (first use in this function) input_dvd.c:1656: parse error before ')' token input_dvd.c: At top level: input_dvd.c:1695: parse error before '*' token input_dvd.c: In function `event_set_angle': input_dvd.c:1697: `this' undeclared (first use in this function) input_dvd.c:1698: `angle' undeclared (first use in this function) input_dvd.c: In function `dmd_event_listener': input_dvd.c:1714: `this' undeclared (first use in this function) input_dvd.c:1714: parse error before ')' token input_dvd.c:1729: `XINE_EVENT_MOUSE_BUTTON' undeclared (first use in this function) input_dvd.c:1748: `XINE_EVENT_MOUSE_MOVE' undeclared (first use in this function) input_dvd.c: In function `dvd_plugin_dispose': input_dvd.c:1758: `this' undeclared (first use in this function) input_dvd.c:1758: parse error before ')' token input_dvd.c: In function `init_input_plugin': input_dvd.c:1788: `this' undeclared (first use in this function) input_dvd.c:1796: parse error before ')' token input_dvd.c:1816: `mrl_t' undeclared (first use in this function) input_dvd.c:1816: parse error before ')' token input_dvd.c:1872: warning: implicit declaration of function `xine_register_event_listener' make: *** [input_dvd.lo] Error 1 make: *** Waiting for unfinished jobs.... gcc -DHAVE_CONFIG_H -I. -I. -I. -I/usr/include -L/usr/X11R6/lib -O3 -pipe -fomit-frame-pointer -malign-functions=4 -malign-loops=4 -malign-jumps=4 -malign-functions=4 -mpreferred-stack-boundary=2 -fexpensive-optimizations -fschedule-insns2 -fno-strict-aliasing -ffast-math -funroll-loops -funroll-all-loops -finline-functions -mcpu=pentiumpro -Wall -D_REENTRANT -D_FILE_OFFSET_BITS=64 -c dvd_ifo.c -DPIC -o dvd_ifo.lo In file included from dvd_ifo.c:53: dvd_udf.h:31:28: warning: no newline at end of file cc1: warning: -malign-loops is obsolete, use -falign-loops cc1: warning: -malign-jumps is obsolete, use -falign-jumps cc1: warning: -malign-functions is obsolete, use -falign-functions !!! ERROR: media-plugins/xine-dmd-1.0.6 failed. !!! Function src_compile, Line 18, Exitcode 2 !!! (no error message)
Do you have xine-lib-1 alpha or beta installed? The xine-* plugins only work with xine-lib 0.9.13, and not above. I have fixed the ebuilds for d4d, d5d, dmd and dvdnav to have =media-lib/xine-lib-0.9* as the dependency. This should probably fix your problem. Please let me know if I am wrong in my assumption that you have xine-lib-1alpha installed.
You're right, I have xine-lib-1alpha installed! I can't install other xine-lib, maybe it's because I'm using "~x86" in make.conf. Am I right? Anyway, thanks for help!
What happens if you do "emerge xine-dmd" alone? It should merge the older xine-lib for you. You may want to know that if you have "dvd" USE flag, then xine-lib's internal DVD plugin will be able to play encrypted DVDs, so you may not need dmd or d5d any more.
*** Bug 11598 has been marked as a duplicate of this bug. ***
*** Bug 11599 has been marked as a duplicate of this bug. ***