It doesnt compile..using gcc 3.1.1 .... here is the error gcc -c -O4 -march=pentium4 -mcpu=pentium4 -pipe -ffast-math -fomit-frame-pointer -D_REENTRANT -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -Ilibmpdemux -Iloader -Ilibvo -I-I/usr/include -I/usr/include/dvdnav -I/usr/include/gtk-1.2 -I/usr/include/glib-1.2 -I/usr/lib/glib/include -I/usr/X11R6/include -o mp_msg.o mp_msg.c 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 ')' token mplayer.c:2713: parse error before ')' token make: *** [mplayer.o] Error 1 make: *** Waiting for unfinished jobs....
*** Bug 6121 has been marked as a duplicate of this bug. ***
the libdvdnav you're both running... it's the unmasked version, am I right? emerge rsync; emerge libdvdnav; emerge mplayer then please report back if that was indeed the cause
my compile problem does not seem to be related to dvdnav. I've got gcc3.1.1, here's the output: -D_REENTRANT -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -I. -I.. -I/usr/include/SDL -D_REENTRANT -I-I/usr/include -I/usr/include/dvdnav -I/usr/include/gtk-1.2 -I/usr/include/glib-1.2 -I/usr/lib/glib/include -I/usr/X11R6/include -DMPG12PLAY -DVIDIX_PATH='"/usr/lib/mplayer/vidix/"' -o vosub_vidix.o vosub_vidix.c ar r libvo.a aspect.o aclib.o osd.o font_load.o spuenc.o video_out.o vo_null.o vo_pgm.o vo_md5.o vo_mpegpes.o vo_yuv4mpeg.o x11_common.o vo_x11.o vo_xv.o vo_dga.o vo_gl.o vo_gl2.o vo_ggi.o vo_aa.o vo_svga.o vo_png.o vo_jpeg.o vo_gif89a.o vo_vesa.o vesa_lvo.o vo_sdl.o vo_xvidix.o sub.o vosub_vidix.o make[1]: Leaving directory `/var/tmp/portage/mplayer-0.90_pre6/work/MPlayer-0.90pre6/libvo' !!! ERROR: The ebuild did not complete successfully. !!! Function src_compile, Line 119, Exitcode 2 !!! (no error message) !!! emerge aborting on /usr/portage/media-video/mplayer/mplayer-0.90_pre6.ebuild . I can't even tell what went wrong here.
yes... I unmasked it when I upgraded xine-dvdnav
mplayer/play.c:111: structure has no member named `DVD' mplayer/play.c:112: structure has no member named `DVD' mplayer/play.c:113: structure has no member named `DVD' make[1]: *** [mplayer/play.o] Error 1 make[1]: Leaving directory `/var/tmp/portage/mplayer-0.90_pre6/work/MPlayer-0.90 pre6/Gui' make: *** [Gui/libgui.a] Error 2 !!! ERROR: The ebuild did not complete successfully. !!! Function src_compile, Line 146, Exitcode 2 !!! (no error message) !!! emerge aborting on /usr/portage/media-video/mplayer/mplayer-0.90_pre6.ebuil d . Same error didnt help Im running gcc 2.95
Doesn't compile using GCC 2.95.3 either. I have standard unmasked version of libdvdnav. No dmake[2]: Leaving directory `/var/tmp/portage/mplayer-0.90_pre6/work/MPlayer-0.90pre6/Gui' make[2]: Entering directory `/var/tmp/portage/mplayer-0.90_pre6/work/MPlayer-0.90pre6/loader' echo "dependency not required/supported" dependency not required/supported make[2]: Leaving directory `/var/tmp/portage/mplayer-0.90_pre6/work/MPlayer-0.90pre6/loader' make[2]: Entering directory `/var/tmp/portage/mplayer-0.90_pre6/work/MPlayer-0.90pre6/loader/dshow' gcc -MM -O4 -march=i686 -mcpu=i686 -pipe -ffast-math -fomit-frame-pointer -D_REENTRANT -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -I. -I.. -I-I/usr/include -I/usr/include/dvdnav -I/usr/include/gtk-1.2 -I/usr/include/glib-1.2 -I/usr/lib/glib/include -I/usr/X11R6/include -DNOAVIFILE_HEADERS DS_AudioDecoder.c DS_Filter.c DS_VideoDecoder.c allocator.c cmediasample.c guids.c inputpin.c outputpin.c 1>.depend make[2]: Leaving directory `/var/tmp/portage/mplayer-0.90_pre6/work/MPlayer-0.90pre6/loader/dshow' make[1]: Leaving directory `/var/tmp/portage/mplayer-0.90_pre6/work/MPlayer-0.90pre6' !!! ERROR: The ebuild did not complete successfully. !!! Function src_compile, Line 119, Exitcode 2 !!! (no error message) !!! emerge aborting on /usr/portage/media-video/mplayer/mplayer-0.90_pre6.ebuild . ecent error messages, see below:
I was able to compile the src with out using the ebuild, I think its one of the patches portage is using...
same problem here, gcc 3.1.1
i don't know why, but, if i try 10 times to emerge mplayer, 4 times on 10 the compilation goes ok and 6 time goes wrong :-( WHY ?!?!
btw, same problem with 0.90-pre6-r1
Ok, lets start from the beginnig .... Comment #1 (Olivier Crete): libdvdnav changed API, and mplayer will *not* build with it. I have tried to do a quick hack, but it will take some time to try and figure out how the libdvdnav API works, and how mplayer uses it. Thus, downgrade to libdvdnav-0.1.2, and file a bugreport with the mplayer devs. Sorry. Comment #3 (Jacob Perkins): I am sorry, but I cannot help you. There is no error what so ever in the tiny bit you pasted. If you could include a more detailed log ... maybe. Comment #5 (Daryl Stimm): This is a screwup the mplayer guys made, as their code cannot be compiled without dvd support untweaked. Also a slipup from my side, as I should have tested it without dvd support (had this problem before, so I should have known better). Anyhow, mplayer-0.90_pre6-r1 should fix it for you. Comment #6 (peter hiltz): This one is the same as #3. You didnt include the error, only the result. Please supply a more detailed log if you expect help, thanks. Comment #10 (Olivier Crete): Yes, it wont work. Like I (and Seemant tried to) explain, you cannot use libdvdnav-0.1.3. Please unmerge it, and downgrade to 0.1.2. Anyhow, -r1 should fix most problems except for the libdvdnav issue. Please test and let me know.
Try -r2, it should fix some of the misterious breakage (changed emake to make).
*** Bug 6141 has been marked as a duplicate of this bug. ***
r2 fixed it for me
mplayer now has its own dvd lib set called libmpdvdkit ans seems quite good, why use the external ones?
From before, but I dont want to remove it, as I want to add libdvdnav support in the future when I get 0.1.2 to compile with gcc-3.1.1, or get mplayer to work with 0.1.3.
ok, r2 seems to emerge ok now, thanks :)
It emerges correctly if I unmerge libdvdnav before trying to emerge it... maybe add a --disable-dvdnav to the configure options? (That should fix it)
Latest ebuild will not merge with <libdvdnav-0.1.2, so not needed to add that ... anyhow, some people like me want that support, and the version you had merged was *MASKED*.