Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 6119 - mplayer 0.90-pre6 doesnt compile
Summary: mplayer 0.90-pre6 doesnt compile
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: x86 Linux
: High normal (vote)
Assignee: Martin Schlemmer (RETIRED)
URL:
Whiteboard:
Keywords:
: 6121 6141 (view as bug list)
Depends on:
Blocks:
 
Reported: 2002-08-06 18:30 UTC by Olivier Crete (RETIRED)
Modified: 2003-02-04 19:42 UTC (History)
4 users (show)

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Olivier Crete (RETIRED) gentoo-dev 2002-08-06 18:30:20 UTC
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....
Comment 1 Seemant Kulleen (RETIRED) gentoo-dev 2002-08-06 19:05:05 UTC
*** Bug 6121 has been marked as a duplicate of this bug. ***
Comment 2 Seemant Kulleen (RETIRED) gentoo-dev 2002-08-06 19:06:19 UTC
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
Comment 3 Jacob Perkins 2002-08-06 19:27:40 UTC
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.
Comment 4 Olivier Crete (RETIRED) gentoo-dev 2002-08-06 20:08:53 UTC
yes... I unmasked it when I upgraded xine-dvdnav
Comment 5 Daryl Stimm 2002-08-06 21:23:07 UTC
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
Comment 6 peter hiltz 2002-08-06 21:27:11 UTC
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:

Comment 7 Daryl Stimm 2002-08-06 21:46:35 UTC
I was able to compile the src with out using the ebuild, I think its one of the
patches portage is using...
Comment 8 Stefano Zamprogno 2002-08-07 07:00:45 UTC
same problem here, gcc 3.1.1 
Comment 9 Stefano Zamprogno 2002-08-07 07:22:56 UTC
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 ?!?!
Comment 10 Olivier Crete (RETIRED) gentoo-dev 2002-08-07 11:07:43 UTC
btw, same problem with 0.90-pre6-r1
Comment 11 Martin Schlemmer (RETIRED) gentoo-dev 2002-08-07 14:26:41 UTC
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.


Comment 12 Martin Schlemmer (RETIRED) gentoo-dev 2002-08-07 15:35:06 UTC
Try -r2, it should fix some of the misterious breakage (changed emake to make).
Comment 13 Martin Schlemmer (RETIRED) gentoo-dev 2002-08-07 16:06:50 UTC
*** Bug 6141 has been marked as a duplicate of this bug. ***
Comment 14 Jacob Perkins 2002-08-07 16:44:36 UTC
r2 fixed it for me
Comment 15 Luca Barbato gentoo-dev 2002-08-07 17:51:35 UTC
mplayer now has its own dvd lib set called libmpdvdkit ans seems quite good, why
use the external ones?
Comment 16 Martin Schlemmer (RETIRED) gentoo-dev 2002-08-07 18:12:42 UTC
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.
Comment 17 Stefano Zamprogno 2002-08-08 03:28:50 UTC
ok, r2 seems to emerge ok now, thanks :)
Comment 18 Olivier Crete (RETIRED) gentoo-dev 2002-08-08 15:45:47 UTC
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)
Comment 19 Martin Schlemmer (RETIRED) gentoo-dev 2002-08-11 14:38:44 UTC
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*.