LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Software (https://www.linuxquestions.org/questions/linux-software-2/)
-   -   MPlayer source (https://www.linuxquestions.org/questions/linux-software-2/mplayer-source-28096/)

Tinkster 08-16-2002 07:11 PM

MPlayer source
 
I'm getting parse errors in MPlayer 0.90pre6

Anyone gotten around that?

mplayer.c: In function `main':
mplayer.c:1284: warning: assignment makes pointer from integer without a cast
mplayer.c:1285: warning: assignment makes pointer from integer without a cast
mplayer.c:2695: `dvdnav_stream_change_event_t' undeclared (first use in this function)
mplayer.c:2695: (Each undeclared identifier is reported only once
mplayer.c:2695: for each function it appears in.)
mplayer.c:2695: `stream_change' undeclared (first use in this function)
mplayer.c:2695: parse error before `)'
mplayer.c:2713: parse error before `)'
gmake: *** [mplayer.o] Error 1

And in case the compiler is an issue :)
Reading specs from /usr/lib/gcc-lib/i386-slackware-linux/2.95.3/specs
gcc version 2.95.3 20010315 (release)

Cheers,
Tink

gdrobson 08-16-2002 07:52 PM

try dloadin the CVS version to see if it gives you the same errors when you run ./configure...

Mplayer-current.tar.bz2

also you might want to try installing it with just the rpms...if that is possible.

MasterC 08-17-2002 12:48 AM

Slack baby, rpm's are for the weak minded :) Just kidding buddy. Tinkster, I would have to agree about the CVS version. I have run into problems with one of the releases, not sure which, but I went back 1 version and got the old one and it compiled just fine for me.

You could try what I like to call "the 4 times rule". Run make clean, and try again. If it fails again, make clean, start over. Do this 4 times (maybe altering a few things in the ./configure sequence) and with any luck it will work. Not always, but sometimes, it does, very strange indeed.

Not really a fix, but an idea anyway. Good luck.

acid_kewpie 08-17-2002 03:06 AM

you should just be able to turn dvd-nav support of and the error will presumably dissapear, it doesn't really do anything as such yet anyway

neo77777 08-17-2002 09:29 AM

Aha, did you installed libdvdread before installing MPlayer? You shouldn't, b/c MPlayer provides its own dvd-read libs that are, in my opinion, much finer than the one from http://dvd.sourceforge.net/ and alike. I believe one of the requirements for libdvdnav is libdvdread, and MPlayer suggest to use its implementation of libdvdread, you can see it during ./configure step
Code:

Checking for DVD support (libdvdread - new style) ... disabled by libmpdvdkit
libmpdvdkit provides MPplayer's libdvdread.

Tinkster 08-17-2002 04:18 PM

Thanks for all the comments guys,
the CVS-snapshot solved the problem :}

Cheers,
Tink

dharmender_rai 08-19-2002 06:11 AM

hi,
first check line number 1284 . u might have used the function parameters wrongly. check for the headers files for the function used at line number 2695. all of these of compile time errors. open the header file, which u have included for the functions at line number 2695 and see if they are declared there.


All times are GMT -5. The time now is 03:25 PM.