Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
mplayer-1.0pre3-r1 compile errors
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Multimedia
View previous topic :: View next topic  
Author Message
ProTech
Tux's lil' helper
Tux's lil' helper


Joined: 30 Dec 2003
Posts: 88
Location: Hungary

PostPosted: Fri Mar 12, 2004 9:06 pm    Post subject: mplayer-1.0pre3-r1 compile errors Reply with quote

I tried to compile mplayer-1.0pre3-r1 and got the following error:
Code:
gcc -c -O4 -march=athlon-4 -mcpu=athlon-4 -pipe -ffast-math -fomit-frame-pointer -D_REENTRANT -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -I/usr/include/gtk-2.0 -I/usr/lib/gtk-2.0/include -I/usr/include/atk-1.0 -I/usr/include/pango-1.0 -I/usr/X11R6/include -I/usr/include/freetype2 -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include   -I../loader  -I/usr/include/gtk-2.0 -I/usr/lib/gtk-2.0/include -I/usr/include/atk-1.0 -I/usr/include/pango-1.0 -I/usr/X11R6/include -I/usr/include/freetype2 -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include       -o demux_mkv.o demux_mkv.cpp
demux_mkv.cpp: In function `void parse_cues(mkv_demuxer_t*, long long unsigned
   int)':
demux_mkv.cpp:1229: error: `KaxCueReference' undeclared (first use this
   function)
demux_mkv.cpp:1229: error: (Each undeclared identifier is reported only once
   for each function it appears in.)
demux_mkv.cpp:1229: error: `cref' undeclared (first use this function)
demux_mkv.cpp:1303: error: parse error before `*' token
make[1]: *** [demux_mkv.o] Error 1
make[1]: Leaving directory `/var/tmp/portage/mplayer-1.0_pre3-r1/work/MPlayer-1.0pre3/libmpdemux'
make: *** [libmpdemux/libmpdemux.a] Error 2

!!! ERROR: media-video/mplayer-1.0_pre3-r1 failed.
!!! Function src_compile, Line 307, Exitcode 2
!!! Failed to build MPlayer!


Last edited by ProTech on Sun Mar 14, 2004 8:58 am; edited 2 times in total
Back to top
View user's profile Send private message
plasmagunman
l33t
l33t


Joined: 07 Jun 2002
Posts: 604
Location: berlin

PostPosted: Fri Mar 12, 2004 9:24 pm    Post subject: Reply with quote

same error here. did you compile your glibc with nptl-support? i did and i read somewhere that breaks some packages.
_________________
please, feel free to correct my english. - por favor, corrige mi español.
Back to top
View user's profile Send private message
superjaded
l33t
l33t


Joined: 05 Jul 2002
Posts: 802

PostPosted: Fri Mar 12, 2004 9:54 pm    Post subject: Reply with quote

Try compiling it without matroska support.

I don't know if mplayer's support is out of date as far as the latest stable version of libmatroska goes.. but it should compile if you take matroska out of your use flags.
Back to top
View user's profile Send private message
plasmagunman
l33t
l33t


Joined: 07 Jun 2002
Posts: 604
Location: berlin

PostPosted: Sat Mar 13, 2004 9:13 am    Post subject: Reply with quote

that works here, thanks.
_________________
please, feel free to correct my english. - por favor, corrige mi español.
Back to top
View user's profile Send private message
ProTech
Tux's lil' helper
Tux's lil' helper


Joined: 30 Dec 2003
Posts: 88
Location: Hungary

PostPosted: Sat Mar 13, 2004 10:31 pm    Post subject: Reply with quote

Thanks! It's works for me too!
Back to top
View user's profile Send private message
helmers
Guru
Guru


Joined: 16 Sep 2002
Posts: 553
Location: Stange, Norway

PostPosted: Sun Mar 14, 2004 7:48 am    Post subject: Reply with quote

Unfortunatuly, it didn't work for me. Can someone tell me what's the problem here?
Code:
gcc -yet_exec -O4 -march=athlon-4 -mcpu=athlon-4 -pipe -ffast-math -fomit-frame-pointer -D_REENTRANT -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -I/usr/include/gtk-2.0 -I/usr/lib/gtk-2.0/include -I/usr/include/atk-1.0 -I/usr/include/pango-1.0 -I/usr/X11R6/include -I/usr/include/freetype2 -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include   -DHAVE_AV_CONFIG_H -I.. -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -D_GNU_SOURCE -c -o i386/fdct_mmx.o i386/fdct_mmx.c
gcc -yet_exec -O4 -march=athlon-4 -mcpu=athlon-4 -pipe -ffast-math -fomit-frame-pointer -D_REENTRANT -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -I/usr/include/gtk-2.0 -I/usr/lib/gtk-2.0/include -I/usr/include/atk-1.0 -I/usr/include/pango-1.0 -I/usr/X11R6/include -I/usr/include/freetype2 -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include   -DHAVE_AV_CONFIG_H -I.. -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -D_GNU_SOURCE -c -o i386/cputest.o i386/cputest.c
gcc -yet_exec -O4 -march=athlon-4 -mcpu=athlon-4 -pipe -ffast-math -fomit-frame-pointer -D_REENTRANT -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -I/usr/include/gtk-2.0 -I/usr/lib/gtk-2.0/include -I/usr/include/atk-1.0 -I/usr/include/pango-1.0 -I/usr/X11R6/include -I/usr/include/freetype2 -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include   -DHAVE_AV_CONFIG_H -I.. -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -D_GNU_SOURCE -c -o i386/dsputil_mmx.o i386/dsputil_mmx.c
i386/dsputil_mmx.c: In function `h263_h_loop_filter_mmx':
i386/dsputil_mmx.c:610: error: can't find a register in class `GENERAL_REGS' while reloading `asm'
make[1]: *** [i386/dsputil_mmx.o] Error 1
make[1]: Leaving directory `/var/tmp/portage/mplayer-1.0_pre3-r1/work/MPlayer-1.0pre3/libavcodec'
make: *** [libavcodec/libavcodec.a] Error 2
 
!!! ERROR: media-video/mplayer-1.0_pre3-r1 failed.
!!! Function src_compile, Line 307, Exitcode 2
!!! Failed to build MPlayer!


Code:
Portage 2.0.50-r1 (hardened-x86-2004.0, gcc-3.3.2, glibc-2.3.2-r9, 2.6.3-gentoo-r1)
=================================================================
System uname: 2.6.3-gentoo-r1 i686 AMD Athlon(TM) XP 3000+
Gentoo Base System version 1.4.3.13
Autoconf: sys-devel/autoconf-2.58-r1
Automake: sys-devel/automake-1.7.7
ACCEPT_KEYWORDS="x86"
AUTOCLEAN="yes"
CFLAGS="-O3 -march=athlon-xp -fomit-frame-pointer -pipe"
CHOST="i686-pc-linux-gnu"
COMPILER="gcc3"
CONFIG_PROTECT="/etc /usr/X11R6/lib/X11/xkb /usr/kde/2/share/config /usr/kde/3.2/share/config /usr/kde/3/share/config /usr/lib/mozilla/defaults/pref /usr/share/config /var/qmail/control"
CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/env.d"
CXXFLAGS="-O3 -march=athlon-xp -fomit-frame-pointer -pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoaddcvs ccache sandbox sfperms strict"
GENTOO_MIRRORS="http://mirror.pudas.net/gentoo http://ftp.easynet.nl/mirror/gentoo/ http://ftp.snt.utwente.nl/pub/os/linux/gentoo http://212.219.247.13/sites/www.ibiblio.org/gentoo/ http://212.219.247.15/sites/www.ibiblio.org/gentoo/"
MAKEOPTS="-j1"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY=""
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="3dnow S3TC X Xaw3d aalib alsa arts avi berkdb bonobo cdr crypt dga dvd esd evo faad gdbm gnome gphoto2 gstreamer gtk gtk2 gtkhtml guile imlib imlib2 java jpeg kde ldap mad maildir mbox mikmod mmx motif mozilla moznocompose moznoirc moznomail msn ncurses nls oggvorbis openal opengl pam pdflib perl pic png python qt quicktime readline samba scanner sdl speex spell sse ssl stencil-buffer svg tcltk tcpd theora tiff transcode truetype unicode usb videos wmf x86 xml2 xv xvid zlib"

_________________
C is for Cookies!
Back to top
View user's profile Send private message
superjaded
l33t
l33t


Joined: 05 Jul 2002
Posts: 802

PostPosted: Sun Mar 14, 2004 8:27 am    Post subject: Reply with quote

It looks like you're having a totally different problem compared to the guy who started this thread.
Try cutting down your optimizations a bit and see if you can compile it then.
Back to top
View user's profile Send private message
helmers
Guru
Guru


Joined: 16 Sep 2002
Posts: 553
Location: Stange, Norway

PostPosted: Sun Mar 14, 2004 9:01 am    Post subject: Reply with quote

I know, but it was just the name of the topic that got me attracted, and I thought "what the heck, it is worth a shot". The ebuild says it doesn't use the CFLAGS, but commenting out all my use flags really did work.

I think that mplayer is a bit sensetive when it comes to the 'flags. :wink:
_________________
C is for Cookies!
Back to top
View user's profile Send private message
fp2099
Apprentice
Apprentice


Joined: 08 Oct 2003
Posts: 261

PostPosted: Tue Mar 16, 2004 5:43 pm    Post subject: Reply with quote

i think i will keep the one I have i don't see the need to do all these small updates...
Back to top
View user's profile Send private message
cjc
n00b
n00b


Joined: 16 Mar 2004
Posts: 63
Location: Birmingham, United Kingdom

PostPosted: Tue Mar 16, 2004 5:53 pm    Post subject: Reply with quote

Helmers: have you got around your issue yet? I have the same compilation error as you do. Here is my `emerge info', in case it helps anyone. It would be nice if mplayer worked =).

Code:
Portage 2.0.50-r1 (hardened-x86-2004.0, gcc-3.3.3, glibc-2.3.3_pre20040207-r0, 2.4.25-grsec-2.0-rc5)
=================================================================
System uname: 2.4.25-grsec-2.0-rc5 i686
Gentoo Base System version 1.4.3.13p1
Autoconf: sys-devel/autoconf-2.59-r3
Automake: sys-devel/automake-1.8.2
ACCEPT_KEYWORDS="x86 ~x86"
AUTOCLEAN="yes"
CFLAGS="-Os -march=athlon-tbird -fomit-frame-pointer -pipe"
CHOST="i686-pc-linux-gnu"
COMPILER="gcc3"
CONFIG_PROTECT="/etc /usr/X11R6/lib/X11/xkb /usr/kde/2/share/config /usr/kde/3/share/config /usr/share/config /var/qmail/control"
CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/env.d"
CXXFLAGS="-Os -march=athlon-tbird -fomit-frame-pointer -pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoaddcvs ccache sandbox sfperms strict"
GENTOO_MIRRORS="http://212.219.56.146/sites/www.ibiblio.org/gentoo/ http://212.219.247.15/sites/www.ibiblio.org/gentoo/ http://212.219.247.12/sites/www.ibiblio.org/gentoo/ http://212.219.247.16/sites/www.ibiblio.org/gentoo/"
MAKEOPTS="-j2"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY=""
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="X acpi alsa avi berkdb caps crypt dvd encode gif gtk gtk2 hardened java jpeg memlimit mmx mozilla mpeg ncurses nls opengl pam pdflib perl pic png python quicktime readline sdl slang ssl tcpd truetype x86 xv zlib"


Though, I am using `USE="-gtk -gtk2"' when building mplayer, as I do not want gmplayer.
Back to top
View user's profile Send private message
helmers
Guru
Guru


Joined: 16 Sep 2002
Posts: 553
Location: Stange, Norway

PostPosted: Tue Mar 16, 2004 7:03 pm    Post subject: Reply with quote

Like I tried to say in my post, it worked. What I did was just comment out all my USE flags, by adding a "#" in front of each line of USE flags in /etc/make.conf, then I removed it when mplayer had finished the installed.

It still gave me ALSA and aalib support, I suspect that it uses some magic to detect these things without setting USE flags. The CFLAGS shouldn't matter, since the ebuild claims it doesn't read them.

The reason for the inability to compile it is probably a single USE flag, but I don't have the skill to make an educated guess, so I would spend forever tracking it down. (it is not "matroska" that is the cuplrit, I tried with it negated)
_________________
C is for Cookies!
Back to top
View user's profile Send private message
cjc
n00b
n00b


Joined: 16 Mar 2004
Posts: 63
Location: Birmingham, United Kingdom

PostPosted: Tue Mar 16, 2004 7:25 pm    Post subject: Reply with quote

helmers wrote:
Like I tried to say in my post, it worked. What I did was just comment out all my USE flags, by adding a "#" in front of each line of USE flags in /etc/make.conf, then I removed it when mplayer had finished the installed.


Sorry, I did not notice that. Thank you as well, it worked - including giving a few of the (obviously safe) USE arguments at the command-line.
Back to top
View user's profile Send private message
helmers
Guru
Guru


Joined: 16 Sep 2002
Posts: 553
Location: Stange, Norway

PostPosted: Tue Mar 16, 2004 8:13 pm    Post subject: Reply with quote

Geez, my english is very bad, I really need a spellchecker. Glad you got my point anyway. :wink:
_________________
C is for Cookies!
Back to top
View user's profile Send private message
Mosu
n00b
n00b


Joined: 16 Mar 2004
Posts: 8
Location: Braunschweig, Germany

PostPosted: Tue Mar 16, 2004 8:49 pm    Post subject: Reply with quote

(I'm not a Gentoo user, but I'm the one who has written the Matroska demuxer)

1) MPlayer 1.0pre3 does not work with the current libmatroska, v0.6.3.
2) MPlayer's current CVS code has two Matroska demuxers: one ('external Matroska support') that works with the current libmatroska, and one ('internal Matroska support') that doesn't even need libmatroska anymore. If not changed with the appropriate configure option the internal one is used.
3) If you want to get MPlayer 1.0pre3 to work with libmatroska 0.6.3 just apply this patch: http://www.bunkus.org/videotools/mkvtoolnix/sources/mplayer1.0pre3-libmatroska063.diff in MPlayer-1.0pre3/libmpdemux/
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Multimedia All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum