View previous topic :: View next topic |
Author |
Message |
ProTech Tux's lil' helper
Joined: 30 Dec 2003 Posts: 88 Location: Hungary
|
Posted: Fri Mar 12, 2004 9:06 pm Post subject: mplayer-1.0pre3-r1 compile errors |
|
|
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 |
|
|
plasmagunman l33t
Joined: 07 Jun 2002 Posts: 604 Location: berlin
|
Posted: Fri Mar 12, 2004 9:24 pm Post subject: |
|
|
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 |
|
|
superjaded l33t
Joined: 05 Jul 2002 Posts: 802
|
Posted: Fri Mar 12, 2004 9:54 pm Post subject: |
|
|
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 |
|
|
plasmagunman l33t
Joined: 07 Jun 2002 Posts: 604 Location: berlin
|
Posted: Sat Mar 13, 2004 9:13 am Post subject: |
|
|
that works here, thanks. _________________ please, feel free to correct my english. - por favor, corrige mi español. |
|
Back to top |
|
|
ProTech Tux's lil' helper
Joined: 30 Dec 2003 Posts: 88 Location: Hungary
|
Posted: Sat Mar 13, 2004 10:31 pm Post subject: |
|
|
Thanks! It's works for me too! |
|
Back to top |
|
|
helmers Guru
Joined: 16 Sep 2002 Posts: 553 Location: Stange, Norway
|
Posted: Sun Mar 14, 2004 7:48 am Post subject: |
|
|
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 |
|
|
superjaded l33t
Joined: 05 Jul 2002 Posts: 802
|
Posted: Sun Mar 14, 2004 8:27 am Post subject: |
|
|
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 |
|
|
helmers Guru
Joined: 16 Sep 2002 Posts: 553 Location: Stange, Norway
|
Posted: Sun Mar 14, 2004 9:01 am Post subject: |
|
|
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. _________________ C is for Cookies! |
|
Back to top |
|
|
fp2099 Apprentice
Joined: 08 Oct 2003 Posts: 261
|
Posted: Tue Mar 16, 2004 5:43 pm Post subject: |
|
|
i think i will keep the one I have i don't see the need to do all these small updates... |
|
Back to top |
|
|
cjc n00b
Joined: 16 Mar 2004 Posts: 63 Location: Birmingham, United Kingdom
|
Posted: Tue Mar 16, 2004 5:53 pm Post subject: |
|
|
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 |
|
|
helmers Guru
Joined: 16 Sep 2002 Posts: 553 Location: Stange, Norway
|
Posted: Tue Mar 16, 2004 7:03 pm Post subject: |
|
|
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 |
|
|
cjc n00b
Joined: 16 Mar 2004 Posts: 63 Location: Birmingham, United Kingdom
|
Posted: Tue Mar 16, 2004 7:25 pm Post subject: |
|
|
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 |
|
|
helmers Guru
Joined: 16 Sep 2002 Posts: 553 Location: Stange, Norway
|
Posted: Tue Mar 16, 2004 8:13 pm Post subject: |
|
|
Geez, my english is very bad, I really need a spellchecker. Glad you got my point anyway. _________________ C is for Cookies! |
|
Back to top |
|
|
Mosu n00b
Joined: 16 Mar 2004 Posts: 8 Location: Braunschweig, Germany
|
Posted: Tue Mar 16, 2004 8:49 pm Post subject: |
|
|
(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 |
|
|
|