DVD playback with Xine

Christopher Brown yellowdog-general@lists.terrasoftsolutions.com
Fri May 14 13:47:01 2004


I am following the official How-To on the YellowDog Linux site to get DVD 
playback to work. I have Xine compiled, the UI installed and it works great 
for playing .mov files from my hard drive, but I really want to watch a 
DVD. I downloaded the d4d plugin, was able to compile it, but when I try to 
"make" I get this error, thanks for any help, Christopher:

--- begin cut and paste ---

[chris@localhost xine_d4d_plugin-0.3.2]$ make
make  all-recursive
make[1]: Entering directory `/home/chris/installers/xine_d4d_plugin-0.3.2'
Making all in src
make[2]: Entering directory 
`/home/chris/installers/xine_d4d_plugin-0.3.2/src'
Making all in input
make[3]: Entering directory 
`/home/chris/installers/xine_d4d_plugin-0.3.2/src/input'
/bin/sh ../../libtool-nofpic --mode=compile gcc -DHAVE_CONFIG_H -I. -I. 
-I../.. -I../.. -I../
.. -I/usr/local/include    -D_FILE_OFFSET_BITS=64 -Wall -c input_dvd.c
gcc -DHAVE_CONFIG_H -I. -I. -I../.. -I../.. -I../.. -I/usr/local/include 
-D_FILE_OFFSET_BITS=
64 -Wall -c input_dvd.c  -DPIC -o input_dvd.lo
input_dvd.c:105: parse error before "mrl_t"
input_dvd.c:105: warning: no semicolon at end of struct or union
input_dvd.c:107: parse error before '}' token
input_dvd.c:107: warning: type defaults to `int' in declaration of 
`dvd_input_plugin_t'
input_dvd.c:107: warning: data definition has no type or storage class
input_dvd.c:149: parse error before '*' token
input_dvd.c: In function `open_drive':
input_dvd.c:151: `this' undeclared (first use in this function)
input_dvd.c:151: (Each undeclared identifier is reported only once
input_dvd.c:151: for each function it appears in.)
input_dvd.c: At top level:
input_dvd.c:171: parse error before '*' token
input_dvd.c: In function `close_drive':
input_dvd.c:173: `this' undeclared (first use in this function)
input_dvd.c: At top level:
input_dvd.c:183: parse error before '*' token
input_dvd.c: In function `unlockDrive':
input_dvd.c:185: `this' undeclared (first use in this function)
input_dvd.c:185: `lbnum' undeclared (first use in this function)
input_dvd.c: At top level:
input_dvd.c:219: parse error before '*' token
input_dvd.c: In function `openDVDFile':
input_dvd.c:231: `filename' undeclared (first use in this function)
input_dvd.c:236: `this' undeclared (first use in this function)
input_dvd.c:279: `size' undeclared (first use in this function)
input_dvd.c: At top level:
input_dvd.c:296: parse error before '*' token
input_dvd.c: In function `_dvd_next_cell':
input_dvd.c:298: `this' undeclared (first use in this function)
input_dvd.c: At top level:
input_dvd.c:336: parse error before '*' token
input_dvd.c: In function `get_num_ifos':
input_dvd.c:340: `this' undeclared (first use in this function)
input_dvd.c: At top level:
input_dvd.c:358: parse error before '*' token
input_dvd.c: In function `find_movie_ifo':
input_dvd.c:362: `this' undeclared (first use in this function)
input_dvd.c: At top level:
input_dvd.c:382: parse error before '*' token
input_dvd.c: In function `parse_ifo':
input_dvd.c:387: `ifo_num' undeclared (first use in this function)
input_dvd.c:389: `this' undeclared (first use in this function)
input_dvd.c: At top level:
input_dvd.c:412: parse error before '*' token
input_dvd.c: In function `openDVDChapter':
input_dvd.c:417: `this' undeclared (first use in this function)
input_dvd.c:417: `title_num' undeclared (first use in this function)
input_dvd.c:418: `chapter' undeclared (first use in this function)
input_dvd.c:419: `to_chapter' undeclared (first use in this function)
input_dvd.c:430: `ifo_num' undeclared (first use in this function)
input_dvd.c: In function `dvd_plugin_open':
input_dvd.c:551: `this' undeclared (first use in this function)
input_dvd.c:551: parse error before ')' token
input_dvd.c: At top level:
input_dvd.c:600: parse error before '*' token
input_dvd.c: In function `dvd_plugin_next_lb':
input_dvd.c:602: `this' undeclared (first use in this function)
input_dvd.c: In function `dvd_plugin_read':
input_dvd.c:640: `this' undeclared (first use in this function)
input_dvd.c:640: parse error before ')' token
input_dvd.c: In function `dvd_plugin_read_block':
input_dvd.c:674: `this' undeclared (first use in this function)
input_dvd.c:674: parse error before ')' token
input_dvd.c: In function `dvd_plugin_seek':
input_dvd.c:708: `this' undeclared (first use in this function)
input_dvd.c:708: parse error before ')' token
input_dvd.c: In function `dvd_plugin_get_length':
input_dvd.c:789: `this' undeclared (first use in this function)
input_dvd.c:789: parse error before ')' token
input_dvd.c: In function `dvd_plugin_get_capabilities':
input_dvd.c:795: `INPUT_CAP_AUTOPLAY' undeclared (first use in this 
function)
input_dvd.c:795: `INPUT_CAP_GET_DIR' undeclared (first use in this function)
input_dvd.c: In function `dvd_plugin_eject_media':
input_dvd.c:804: `this' undeclared (first use in this function)
input_dvd.c:804: parse error before ')' token
input_dvd.c: In function `dvd_plugin_close':
input_dvd.c:862: `this' undeclared (first use in this function)
input_dvd.c:862: parse error before ')' token
input_dvd.c: At top level:
input_dvd.c:886: parse error before '*' token
input_dvd.c:887: warning: return type defaults to `int'
input_dvd.c: In function `dvd_plugin_get_dir':
input_dvd.c:889: `this' undeclared (first use in this function)
input_dvd.c:889: parse error before ')' token
input_dvd.c: In function `dvd_plugin_get_autoplay_list':
input_dvd.c:985: `this' undeclared (first use in this function)
input_dvd.c:985: parse error before ')' token
input_dvd.c: In function `dvd_plugin_get_current_pos':
input_dvd.c:1035: `this' undeclared (first use in this function)
input_dvd.c:1035: parse error before ')' token
input_dvd.c: In function `dvd_plugin_get_mrl':
input_dvd.c:1044: `this' undeclared (first use in this function)
input_dvd.c:1044: parse error before ')' token
input_dvd.c: In function `dvd_plugin_get_optional_data':
input_dvd.c:1051: `this' undeclared (first use in this function)
input_dvd.c:1051: parse error before ')' token
input_dvd.c:1056: `INPUT_OPTIONAL_DATA_CLUT' undeclared (first use in this 
function)
input_dvd.c: In function `dvd_plugin_is_branch_possible':
input_dvd.c:1097: `this' undeclared (first use in this function)
input_dvd.c:1097: parse error before ')' token
[chris@localhost xine_d4d_plugin-0.3.2]$ make
make  all-recursive
make[1]: Entering directory `/home/chris/installers/xine_d4d_plugin-0.3.2'
Making all in src
make[2]: Entering directory 
`/home/chris/installers/xine_d4d_plugin-0.3.2/src'
Making all in input
make[3]: Entering directory 
`/home/chris/installers/xine_d4d_plugin-0.3.2/src/input'
/bin/sh ../../libtool-nofpic --mode=compile gcc -DHAVE_CONFIG_H -I. -I. 
-I../.. -I../.. -I../.. -I/usr/local/include    -D_FILE_OFFSET_BITS=64 
-Wall -c input_dvd.c
gcc -DHAVE_CONFIG_H -I. -I. -I../.. -I../.. -I../.. -I/usr/local/include 
-D_FILE_OFFSET_BITS=64 -Wall -c input_dvd.c  -DPIC -o input_dvd.lo
input_dvd.c:105: parse error before "mrl_t"
input_dvd.c:105: warning: no semicolon at end of struct or union
input_dvd.c:107: parse error before '}' token
input_dvd.c:107: warning: type defaults to `int' in declaration of 
`dvd_input_plugin_t'
input_dvd.c:107: warning: data definition has no type or storage class
input_dvd.c:149: parse error before '*' token
input_dvd.c: In function `open_drive':
input_dvd.c:151: `this' undeclared (first use in this function)
input_dvd.c:151: (Each undeclared identifier is reported only once
input_dvd.c:151: for each function it appears in.)
input_dvd.c: At top level:
input_dvd.c:171: parse error before '*' token
input_dvd.c: In function `close_drive':
input_dvd.c:173: `this' undeclared (first use in this function)
input_dvd.c: At top level:
input_dvd.c:183: parse error before '*' token
input_dvd.c: In function `unlockDrive':
input_dvd.c:185: `this' undeclared (first use in this function)
input_dvd.c:185: `lbnum' undeclared (first use in this function)
input_dvd.c: At top level:
input_dvd.c:219: parse error before '*' token
input_dvd.c: In function `openDVDFile':
input_dvd.c:231: `filename' undeclared (first use in this function)
input_dvd.c:236: `this' undeclared (first use in this function)
input_dvd.c:279: `size' undeclared (first use in this function)
input_dvd.c: At top level:
input_dvd.c:296: parse error before '*' token
input_dvd.c: In function `_dvd_next_cell':
input_dvd.c:298: `this' undeclared (first use in this function)
input_dvd.c: At top level:
input_dvd.c:336: parse error before '*' token
input_dvd.c: In function `get_num_ifos':
input_dvd.c:340: `this' undeclared (first use in this function)
input_dvd.c: At top level:
input_dvd.c:358: parse error before '*' token
input_dvd.c: In function `find_movie_ifo':
input_dvd.c:362: `this' undeclared (first use in this function)
input_dvd.c: At top level:
input_dvd.c:382: parse error before '*' token
input_dvd.c: In function `parse_ifo':
input_dvd.c:387: `ifo_num' undeclared (first use in this function)
input_dvd.c:389: `this' undeclared (first use in this function)
input_dvd.c: At top level:
input_dvd.c:412: parse error before '*' token
input_dvd.c: In function `openDVDChapter':
input_dvd.c:417: `this' undeclared (first use in this function)
input_dvd.c:417: `title_num' undeclared (first use in this function)
input_dvd.c:418: `chapter' undeclared (first use in this function)
input_dvd.c:419: `to_chapter' undeclared (first use in this function)
input_dvd.c:430: `ifo_num' undeclared (first use in this function)
input_dvd.c: In function `dvd_plugin_open':
input_dvd.c:551: `this' undeclared (first use in this function)
input_dvd.c:551: parse error before ')' token
input_dvd.c: At top level:
input_dvd.c:600: parse error before '*' token
input_dvd.c: In function `dvd_plugin_next_lb':
input_dvd.c:602: `this' undeclared (first use in this function)
input_dvd.c: In function `dvd_plugin_read':
input_dvd.c:640: `this' undeclared (first use in this function)
input_dvd.c:640: parse error before ')' token
input_dvd.c: In function `dvd_plugin_read_block':
input_dvd.c:674: `this' undeclared (first use in this function)
input_dvd.c:674: parse error before ')' token
input_dvd.c: In function `dvd_plugin_seek':
input_dvd.c:708: `this' undeclared (first use in this function)
input_dvd.c:708: parse error before ')' token
input_dvd.c: In function `dvd_plugin_get_length':
input_dvd.c:789: `this' undeclared (first use in this function)
input_dvd.c:789: parse error before ')' token
input_dvd.c: In function `dvd_plugin_get_capabilities':
input_dvd.c:795: `INPUT_CAP_AUTOPLAY' undeclared (first use in this 
function)
input_dvd.c:795: `INPUT_CAP_GET_DIR' undeclared (first use in this function)
input_dvd.c: In function `dvd_plugin_eject_media':
input_dvd.c:804: `this' undeclared (first use in this function)
input_dvd.c:804: parse error before ')' token
input_dvd.c: In function `dvd_plugin_close':
input_dvd.c:862: `this' undeclared (first use in this function)
input_dvd.c:862: parse error before ')' token
input_dvd.c: At top level:
input_dvd.c:886: parse error before '*' token
input_dvd.c:887: warning: return type defaults to `int'
input_dvd.c: In function `dvd_plugin_get_dir':
input_dvd.c:889: `this' undeclared (first use in this function)
input_dvd.c:889: parse error before ')' token
input_dvd.c: In function `dvd_plugin_get_autoplay_list':
input_dvd.c:985: `this' undeclared (first use in this function)
input_dvd.c:985: parse error before ')' token
input_dvd.c: In function `dvd_plugin_get_current_pos':
input_dvd.c:1035: `this' undeclared (first use in this function)
input_dvd.c:1035: parse error before ')' token
input_dvd.c: In function `dvd_plugin_get_mrl':
input_dvd.c:1044: `this' undeclared (first use in this function)
input_dvd.c:1044: parse error before ')' token
input_dvd.c: In function `dvd_plugin_get_optional_data':
input_dvd.c:1051: `this' undeclared (first use in this function)
input_dvd.c:1051: parse error before ')' token
input_dvd.c:1056: `INPUT_OPTIONAL_DATA_CLUT' undeclared (first use in this 
function)
input_dvd.c: In function `dvd_plugin_is_branch_possible':
input_dvd.c:1097: `this' undeclared (first use in this function)
input_dvd.c:1097: parse error before ')' token
input_dvd.c: In function `dvd_plugin_dispose':
input_dvd.c:1125: `this' undeclared (first use in this function)
input_dvd.c:1125: parse error before ')' token
input_dvd.c: In function `init_input_plugin':
input_dvd.c:1132: `this' undeclared (first use in this function)
input_dvd.c:1142: parse error before ')' token
input_dvd.c:1148: `mrl_t' undeclared (first use in this function)
input_dvd.c:1148: parse error before ')' token
make[3]: *** [input_dvd.lo] Error 1
make[3]: Leaving directory 
`/home/chris/installers/xine_d4d_plugin-0.3.2/src/input'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory 
`/home/chris/installers/xine_d4d_plugin-0.3.2/src'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/home/chris/installers/xine_d4d_plugin-0.3.2'
make: *** [all-recursive-am] Error 2