LinuxQuestions.org
Review your favorite Linux distribution.
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 08-16-2002, 07:11 PM   #1
Tinkster
Moderator
 
Registered: Apr 2002
Location: in a fallen world
Distribution: slackware by choice, others too :} ... android.
Posts: 23,067
Blog Entries: 11

Rep: Reputation: 910Reputation: 910Reputation: 910Reputation: 910Reputation: 910Reputation: 910Reputation: 910Reputation: 910
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
 
Old 08-16-2002, 07:52 PM   #2
gdrobson
Member
 
Registered: Jun 2002
Location: Ontario, Canada
Distribution: RH8.0
Posts: 65

Rep: Reputation: 15
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.
 
Old 08-17-2002, 12:48 AM   #3
MasterC
LQ Guru
 
Registered: Mar 2002
Location: Salt Lake City, UT - USA
Distribution: Gentoo ; LFS ; Kubuntu
Posts: 12,612

Rep: Reputation: 68
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.
 
Old 08-17-2002, 03:06 AM   #4
acid_kewpie
Moderator
 
Registered: Jun 2001
Location: UK
Distribution: Gentoo, RHEL, Fedora, Centos
Posts: 43,417

Rep: Reputation: 1975Reputation: 1975Reputation: 1975Reputation: 1975Reputation: 1975Reputation: 1975Reputation: 1975Reputation: 1975Reputation: 1975Reputation: 1975Reputation: 1975
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
 
Old 08-17-2002, 09:29 AM   #5
neo77777
LQ Addict
 
Registered: Dec 2001
Location: Brooklyn, NY
Distribution: *NIX
Posts: 3,704

Rep: Reputation: 56
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.
 
Old 08-17-2002, 04:18 PM   #6
Tinkster
Moderator
 
Registered: Apr 2002
Location: in a fallen world
Distribution: slackware by choice, others too :} ... android.
Posts: 23,067
Blog Entries: 11

Original Poster
Rep: Reputation: 910Reputation: 910Reputation: 910Reputation: 910Reputation: 910Reputation: 910Reputation: 910Reputation: 910
Thanks for all the comments guys,
the CVS-snapshot solved the problem :}

Cheers,
Tink
 
Old 08-19-2002, 06:11 AM   #7
dharmender_rai
Member
 
Registered: Aug 2002
Location: Pune,India
Posts: 39

Rep: Reputation: 15
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.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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
compiling mplayer from source attempt simcox1 Linux - Software 8 05-18-2005 03:10 PM
mplayer-plugin from source will not build djinn1973 Mandriva 1 03-28-2005 06:30 AM
I came this far with Installing MPlayer from source ur-unholyness Linux - Newbie 2 10-22-2004 10:40 AM
Installing Mplayer from source--???? ur-unholyness Linux - Newbie 3 10-22-2004 10:09 AM
compile mplayer from source shanenin Linux - Software 2 09-21-2003 01:38 PM


All times are GMT -5. The time now is 04:03 AM.

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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration