LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 07-04-2004, 08:04 PM   #1
silent_assasin
LQ Newbie
 
Registered: Jul 2004
Location: Mexico
Distribution: Suse
Posts: 5

Rep: Reputation: 0
Unhappy Error Installing Xine-dvdnav Mandrake10


Hi, I have some trouble installing DVDNAV in order to watch DVDs with xine, I am using Mandrake 10 and succesfully compiled and installed libdvdnav package. But wen I want to compile xine-dvdnav package I got error messages, first I got an issue with automake 1.6 that is requiered for the ./configure to work, I succesfully configured but when I type make, this happens:

Code:
[root@orion xine-dvdnav-0.9.13]# make
make  all-recursive
make[1]: Entering directory `/home/orion/Desktop/xine-dvdnav-0.9.13'
Making all in input
make[2]: Entering directory `/home/orion/Desktop/xine-dvdnav-0.9.13/input'
/bin/sh ../libtool --mode=compile gcc -DHAVE_CONFIG_H -I. -I. -I.. -I.. -I/usr/include    -O3 -pipe -fomit-frame-pointer -falign-functions=4 -falign-loops=4 -falign-jumps=4  -mpreferred-stack-boundary=2 -fexpensive-optimizations -fschedule-insns2 -fno-strict-aliasing -ffast-math -funroll-loops -finline-functions -mcpu=pentiumpro -Wall -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE   -I/usr/include -I/usr/local/include -I/usr/local/include/dvdnav -c input_dvdnav.c
gcc -DHAVE_CONFIG_H -I. -I. -I.. -I.. -I/usr/include -O3 -pipe -fomit-frame-pointer -falign-functions=4 -falign-loops=4 -falign-jumps=4 -mpreferred-stack-boundary=2 -fexpensive-optimizations -fschedule-insns2 -fno-strict-aliasing -ffast-math -funroll-loops -finline-functions -mcpu=pentiumpro -Wall -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -I/usr/include -I/usr/local/include -I/usr/local/include/dvdnav -c input_dvdnav.c  -fPIC -DPIC -o input_dvdnav.lo
input_dvdnav.c:61:25: xine/events.h: No such file or directory
input_dvdnav.c:63:34: xine/spu_decoder_api.h: No such file or directory
input_dvdnav.c:70:30: dvdread/nav_read.h: No such file or directory
input_dvdnav.c:150: error: parse error before "mrl_t"
input_dvdnav.c:150: warning: no semicolon at end of struct or union
input_dvdnav.c:159: error: parse error before '}' token
input_dvdnav.c:159: warning: type defaults to `int' in declaration of `dvdnav_input_plugin_t'
input_dvdnav.c:159: warning: data definition has no type or storage class
input_dvdnav.c:161: error: parse error before '*' token
input_dvdnav.c:162: error: parse error before '*' token
input_dvdnav.c: In function `device_change_cb':
input_dvdnav.c:166: error: `this' undeclared (first use in this function)
input_dvdnav.c:166: error: (Each undeclared identifier is reported only once
input_dvdnav.c:166: error: for each function it appears in.)
input_dvdnav.c:166: error: parse error before ')' token
input_dvdnav.c: In function `dvdnav_plugin_get_capabilities':
input_dvdnav.c:174: error: `INPUT_CAP_AUTOPLAY' undeclared (first use in this function)
input_dvdnav.c:174: error: `INPUT_CAP_CLUT' undeclared (first use in this function)
input_dvdnav.c:176: error: `INPUT_CAP_VARIABLE_BITRATE' undeclared (first use in this function)
input_dvdnav.c:178: error: `INPUT_CAP_GET_DIR' undeclared (first use in this function)
input_dvdnav.c: In function `read_ahead_cb':
input_dvdnav.c:182: error: `this' undeclared (first use in this function)
input_dvdnav.c:182: error: parse error before ')' token
input_dvdnav.c: In function `region_changed_cb':
input_dvdnav.c:194: error: `this' undeclared (first use in this function)
input_dvdnav.c:194: error: parse error before ')' token
input_dvdnav.c: In function `language_changed_cb':
input_dvdnav.c:211: error: `this' undeclared (first use in this function)
input_dvdnav.c:211: error: parse error before ')' token
input_dvdnav.c: At top level:
input_dvdnav.c:224: error: parse error before '*' token
input_dvdnav.c: In function `update_title_display':
input_dvdnav.c:225: error: `xine_ui_event_t' undeclared (first use in this function)
input_dvdnav.c:225: error: parse error before "uevent"
input_dvdnav.c:229: error: `this' undeclared (first use in this function)
input_dvdnav.c:233: error: `uevent' undeclared (first use in this function)
input_dvdnav.c:264: warning: implicit declaration of function `xine_send_event'
input_dvdnav.c: In function `dvdnav_plugin_stop':
input_dvdnav.c:268: error: `this' undeclared (first use in this function)
input_dvdnav.c:268: error: parse error before ')' token
input_dvdnav.c: In function `dvdnav_plugin_close':
input_dvdnav.c:277: error: `this' undeclared (first use in this function)
input_dvdnav.c:277: error: parse error before ')' token
input_dvdnav.c: At top level:
input_dvdnav.c:289: error: parse error before '*' token
input_dvdnav.c: In function `dvdnav_build_mrl_list':
input_dvdnav.c:293: error: `this' undeclared (first use in this function)
input_dvdnav.c:311: warning: implicit declaration of function `dvdnav_get_number_of_programs'
input_dvdnav.c:321: error: `mrl_t' undeclared (first use in this function)
input_dvdnav.c:321: error: parse error before ')' token
input_dvdnav.c:322: error: parse error before ')' token
input_dvdnav.c:322: error: parse error before ')' token
input_dvdnav.c:327: error: `mrl' undeclared (first use in this function)
input_dvdnav.c: At top level:
input_dvdnav.c:354: error: parse error before '->' token
input_dvdnav.c:354: warning: type defaults to `int' in declaration of `dvdnav_close'
input_dvdnav.c:354: warning: data definition has no type or storage class
input_dvdnav.c: In function `dvdnav_plugin_open':
input_dvdnav.c:371: error: `this' undeclared (first use in this function)
input_dvdnav.c:371: error: parse error before ')' token
input_dvdnav.c: In function `dvdnav_plugin_free_buffer':
input_dvdnav.c:568: error: `this' undeclared (first use in this function)
input_dvdnav.c: In function `dvdnav_plugin_read_block':
input_dvdnav.c:584: error: `this' undeclared (first use in this function)
input_dvdnav.c:584: error: parse error before ')' token
input_dvdnav.c:726: error: `xine_ui_event_t' undeclared (first use in this function)
input_dvdnav.c:726: error: parse error before "uevent"
input_dvdnav.c:729: error: `uevent' undeclared (first use in this function)
input_dvdnav.c:736: error: `DVDNAV_SEEK_DONE' undeclared (first use in this function)
input_dvdnav.c:757: error: `BUF_SPU_CLUT' undeclared (first use in this function)
input_dvdnav.c: In function `dvdnav_plugin_seek':
input_dvdnav.c:809: error: `this' undeclared (first use in this function)
input_dvdnav.c:809: error: parse error before ')' token
input_dvdnav.c: In function `dvdnav_plugin_get_current_pos':
input_dvdnav.c:823: error: `this' undeclared (first use in this function)
input_dvdnav.c:823: error: parse error before ')' token
input_dvdnav.c: In function `dvdnav_plugin_get_length':
input_dvdnav.c:837: error: `this' undeclared (first use in this function)
input_dvdnav.c:837: error: parse error before ')' token
input_dvdnav.c: At top level:
input_dvdnav.c:858: error: parse error before '*' token
input_dvdnav.c:859: warning: return type defaults to `int'
input_dvdnav.c: In function `dvdnav_plugin_get_dir':
input_dvdnav.c:860: error: `this' undeclared (first use in this function)
input_dvdnav.c:860: error: parse error before ')' token
input_dvdnav.c:865: error: parse error before ')' token
input_dvdnav.c: In function `dvdnav_plugin_eject_media':
input_dvdnav.c:899: error: `this' undeclared (first use in this function)
input_dvdnav.c:899: error: parse error before ')' token
input_dvdnav.c: In function `dvdnav_plugin_get_mrl':
input_dvdnav.c:960: error: `this' undeclared (first use in this function)
input_dvdnav.c:960: error: parse error before ')' token
input_dvdnav.c: At top level:
input_dvdnav.c:979: error: parse error before '*' token
input_dvdnav.c: In function `flush_buffers':
input_dvdnav.c:985: error: `this' undeclared (first use in this function)
input_dvdnav.c: At top level:
input_dvdnav.c:998: error: parse error before '*' token
input_dvdnav.c: In function `xine_dvdnav_send_button_update':
input_dvdnav.c:1000: error: `spu_button_t' undeclared (first use in this function)
input_dvdnav.c:1000: error: parse error before "spu_button"
input_dvdnav.c:1001: error: `xine_spu_event_t' undeclared (first use in this function)
input_dvdnav.c:1002: error: `this' undeclared (first use in this function)
input_dvdnav.c:1003: error: `mode' undeclared (first use in this function)
input_dvdnav.c:1008: error: `spu_event' undeclared (first use in this function)
input_dvdnav.c:1009: error: `spu_button' undeclared (first use in this function)
input_dvdnav.c: In function `dvdnav_event_listener':
input_dvdnav.c:1017: error: `this' undeclared (first use in this function)
input_dvdnav.c:1017: error: parse error before ')' token
input_dvdnav.c:1074: error: too few arguments to function `dvdnav_button_activate'
input_dvdnav.c:1077: error: `XINE_EVENT_MOUSE_BUTTON' undeclared (first use in this function)
input_dvdnav.c:1079: error: `xine_input_event_t' undeclared (first use in this function)
input_dvdnav.c:1079: error: `input_event' undeclared (first use in this function)
input_dvdnav.c:1079: error: parse error before ')' token
input_dvdnav.c:1082: error: too few arguments to function `dvdnav_mouse_activate'
input_dvdnav.c:1087: error: `xine_spu_event_t' undeclared (first use in this function)
input_dvdnav.c:1087: error: `spu_event' undeclared (first use in this function)
input_dvdnav.c:1087: error: parse error before ')' token
input_dvdnav.c:1088: error: `spu_button_t' undeclared (first use in this function)
input_dvdnav.c:1088: error: `but' undeclared (first use in this function)
input_dvdnav.c:1090: error: too few arguments to function `dvdnav_button_select'
input_dvdnav.c:1093: error: `XINE_EVENT_MOUSE_MOVE' undeclared (first use in this function)
input_dvdnav.c:1095: error: parse error before ')' token
input_dvdnav.c:1098: error: too few arguments to function `dvdnav_mouse_select'
input_dvdnav.c:1103: error: too few arguments to function `dvdnav_upper_button_select'
input_dvdnav.c:1107: error: too few arguments to function `dvdnav_lower_button_select'
input_dvdnav.c:1111: error: too few arguments to function `dvdnav_left_button_select'
input_dvdnav.c:1115: error: too few arguments to function `dvdnav_right_button_select'
input_dvdnav.c: In function `dvdnav_plugin_get_optional_data':
input_dvdnav.c:1125: error: `this' undeclared (first use in this function)
input_dvdnav.c:1125: error: parse error before ')' token
input_dvdnav.c:1141: warning: implicit declaration of function `xine_get_audio_channel'
input_dvdnav.c:1180: warning: implicit declaration of function `xine_get_spu_channel'
input_dvdnav.c: In function `dvdnav_plugin_get_autoplay_list':
input_dvdnav.c:1220: error: `this' undeclared (first use in this function)
input_dvdnav.c:1220: error: parse error before ')' token
input_dvdnav.c: In function `dvdnav_plugin_dispose':
input_dvdnav.c:1258: error: `this' undeclared (first use in this function)
input_dvdnav.c:1258: error: parse error before ')' token
input_dvdnav.c: In function `init_input_plugin':
input_dvdnav.c:1296: error: `this' undeclared (first use in this function)
input_dvdnav.c:1303: error: parse error before ')' token
input_dvdnav.c:1339: warning: implicit declaration of function `xine_register_event_listener'
input_dvdnav.c:1345: warning: passing arg 6 of pointer to function makes integer from pointer without a cast
input_dvdnav.c:1345: error: too few arguments to function
input_dvdnav.c:1356: warning: passing arg 6 of pointer to function makes integer from pointer without a cast
input_dvdnav.c:1356: error: too few arguments to function
input_dvdnav.c:1363: warning: passing arg 6 of pointer to function makes integer from pointer without a cast
input_dvdnav.c:1363: error: too few arguments to function
input_dvdnav.c:1370: warning: passing arg 6 of pointer to function makes integer from pointer without a cast
input_dvdnav.c:1370: error: too few arguments to function
make[2]: *** [input_dvdnav.lo] Error 1
make[2]: Leaving directory `/home/orion/Desktop/xine-dvdnav-0.9.13/input'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/home/orion/Desktop/xine-dvdnav-0.9.13'
make: *** [all-recursive-am] Error 2
Obviously it is a problem with input_dvdnav.c but I don t know how to fix it, could anyone help me please?
 
Old 07-04-2004, 08:26 PM   #2
ellyaht
Member
 
Registered: Jul 2003
Location: Brisbane
Distribution: Mandrake 10 Mostly
Posts: 61

Rep: Reputation: 15
If you do not already have urpmi set up, have a look at,
http://plf.zarb.org/
The plf and contrib sources are very handy to have.
 
Old 07-05-2004, 09:21 AM   #3
silent_assasin
LQ Newbie
 
Registered: Jul 2004
Location: Mexico
Distribution: Suse
Posts: 5

Original Poster
Rep: Reputation: 0
I have the urpmi installed, but which package am I missing? Iīve been researching and someone in a forum told that I need to locate the xine/events.h but I canīt find it, and donīt know how to tell the compiler how to find it. Do you know something about this?
 
Old 07-05-2004, 06:23 PM   #4
ellyaht
Member
 
Registered: Jul 2003
Location: Brisbane
Distribution: Mandrake 10 Mostly
Posts: 61

Rep: Reputation: 15
You might have urpmi installed but are you using it to install packages, rather than compiling from source?
Have you set up the urpmi sources as described on plf or www.urpmi.org
Menu > System >configuration > Packages > Software Media Manager
Will show you what sources you have installed.

libdvdnav0-0.1.9-2mdk is I think from one of the contrib sources
libdvdcss2 is available from plf, you will need this to watch encrypted dvds

Installing packages from source rpm or tar balls is a very useful skill, just not a nice thing if you are in dependancy hell.
 
Old 07-06-2004, 07:02 PM   #5
silent_assasin
LQ Newbie
 
Registered: Jul 2004
Location: Mexico
Distribution: Suse
Posts: 5

Original Poster
Rep: Reputation: 0
I have installed the libdvdnav and the libdvdcss2, the one that I can t install is the xine-dvdnav, it shows me the message that I posted in the first time. Or please tell me how do I use the libs of libdvdnav and libdvdcss2 in order to Xine actually uses them, because It still doesnt play any DVDs.
 
Old 07-06-2004, 07:43 PM   #6
silent_assasin
LQ Newbie
 
Registered: Jul 2004
Location: Mexico
Distribution: Suse
Posts: 5

Original Poster
Rep: Reputation: 0
Hi again, Im writing to tell you that I finally did it !!! it was soooo lame my mistake, I just needed to install the xine-plugins package, but I didnt satisfy the dependencies, in order to do this I had to download a package named xinelib-1 from http://rpm.pbone.net/ and the xine-plugins included xine-dvdnav.

I feel so stupid about this haha, but all this is about learning isnt it?

Thank you very much for your advises
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
error when installing the xine player. HELP breezeofheaven Linux - Software 1 06-14-2005 08:24 AM
Installing apache in Mandrake10 *Yipes!* nadezico Linux - Newbie 2 01-14-2005 07:36 AM
An error occured while installing xine kesara3k Fedora 1 08-01-2004 01:51 PM
Installing windows 2000 on Mandrake10 butface Mandriva 2 07-17-2004 06:37 PM
gxine and dvdnav wincen Slackware 2 01-22-2004 03:57 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 01:08 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration