Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Mplayer won't compile!
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
duffmckagan
n00b
n00b


Joined: 26 Apr 2005
Posts: 58

PostPosted: Tue Jun 05, 2007 4:57 pm    Post subject: Mplayer won't compile! Reply with quote

I have updated portage and my system too, but mplayer simply won't compile.

Regarding what flags was mplayer compiled with..here's some information:

Code:

root ~ # emerge mplayer -pv

These are the packages that would be merged, in order:

Calculating dependencies... done!
[ebuild  N    ] media-video/mplayer-1.0.20070321  USE="X alsa debug doc dvd dvdread encode iconv ipv6 mad mp2 mp3 quicktime theora unicode vorbis win32codecs xvid -3dnow -3dnowext -a52 -aac -aalib (-altivec) -amr -arts -bidi -bindist -bl -cddb -cdparanoia -cpudetection -custom-cflags -dga -directfb -dts -dv -dvb -dvdnav -enca -esd -fbcon -ftp -ggi -gif -gtk -ivtv -jack -joystick -jpeg -libcaca -lirc -live -livecd -lzo -md5sum -mmx -mmxext -musepack -nas -openal -opengl -oss -png -pnm -radio -rar -real -rtc -samba -sdl -speex -srt -sse -sse2 -svga -tga -tivo -truetype -v4l -v4l2 -vidix -x264 -xanim -xinerama -xv -xvmc -zoran" VIDEO_CARDS="-mga -s3virge -tdfx -vesa" 0 kB

Total: 1 package (1 new), Size of downloads: 0 kB




Here's the error log:

Code:

.........
.........
cabac.h:183: warning: 'put_cabac_u' defined but not used
cabac.h:218: warning: 'put_cabac_ueg' defined but not used
cabac.h:270: warning: 'refill2' defined but not used
cabac.h:808: warning: 'get_cabac_u' defined but not used
cabac.h:824: warning: 'get_cabac_ueg' defined but not used
cabac.h: In function 'get_cabac_noinline':
cabac.h:522: error: can't find a register in class 'GENERAL_REGS' while reloading 'asm'
make[1]: *** [h264.o] Error 1
make[1]: Leaving directory `/var/tmp/portage/media-video/mplayer-1.0.20070321/work/mplayer/libavcodec'
make: *** [libavcodec/libavcodec.a] Error 2

!!! ERROR: media-video/mplayer-1.0.20070321 failed.
Call stack:
  ebuild.sh, line 1615:   Called dyn_compile
  ebuild.sh, line 972:   Called qa_call 'src_compile'
  ebuild.sh, line 44:   Called src_compile
  mplayer-1.0.20070321.ebuild, line 452:   Called die

!!! Failed to build MPlayer!
!!! If you need support, post the topmost build error, and the call stack if relevant.
!!! A complete build log is located at '/var/tmp/portage/media-video/mplayer-1.0.20070321/temp/build.log'.



I have no idea what is meant by the "Topmost build error".

I have the entire build.log file at my disposal but it is a huge file!
_________________
C Programs
Back to top
View user's profile Send private message
duffmckagan
n00b
n00b


Joined: 26 Apr 2005
Posts: 58

PostPosted: Thu Jun 07, 2007 9:17 am    Post subject: Reply with quote

How would I do that if emerging mplayer even after emerge --sync fetches the same version that I have already downloaded?

I don't know what is exactly meant by "the topmost build error" - please tell me. :)
_________________
C Programs
Back to top
View user's profile Send private message
d2_racing
Bodhisattva
Bodhisattva


Joined: 25 Apr 2005
Posts: 13047
Location: Ste-Foy,Canada

PostPosted: Thu Jun 07, 2007 11:46 am    Post subject: Reply with quote

emerge --info plz
Back to top
View user's profile Send private message
duffmckagan
n00b
n00b


Joined: 26 Apr 2005
Posts: 58

PostPosted: Thu Jun 07, 2007 1:51 pm    Post subject: Reply with quote

Code:

root ~ # emerge --info
Portage 2.1.2.7 (default-linux/x86/2007.0, gcc-4.1.2, glibc-2.5-r2, 2.6.20-gento
o-r8 i686)
=================================================================
System uname: 2.6.20-gentoo-r8 i686 Intel(R) Pentium(R) 4 CPU 2.40GHz
Gentoo Base System release 1.12.9
Timestamp of tree: Tue, 05 Jun 2007 08:20:01 +0000
dev-java/java-config: 1.3.7, 2.0.31-r5
dev-lang/python:     2.4.4-r4
dev-python/pycrypto: 2.0.1-r5
sys-apps/sandbox:    1.2.17
sys-devel/autoconf:  2.13, 2.61
sys-devel/automake:  1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.9.6-r2, 1.10
sys-devel/binutils:  2.16.1-r3
sys-devel/gcc-config: 1.3.16
sys-devel/libtool:   1.5.22
virtual/os-headers:  2.6.17-r2
ACCEPT_KEYWORDS="x86"
AUTOCLEAN="yes"
CBUILD="i686-pc-linux-gnu"
CFLAGS="-O2 -march=i686 -pipe"
CHOST="i686-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/kde/3.5/env /usr/kde/3.5/share/config /usr/kde/3.5/shu
tdown /usr/share/X11/xkb /usr/share/config"
CONFIG_PROTECT_MASK="/etc/env.d /etc/env.d/java/ /etc/gconf /etc/java-config/vms
/ /etc/php/apache2-php5/ext-active/ /etc/php/cgi-php5/ext-active/ /etc/php/cli-p
hp5/ext-active/ /etc/revdep-rebuild /etc/splash /etc/terminfo"
CXXFLAGS="-O2 -march=i686 -pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="distlocks metadata-transfer sandbox sfperms strict"
GENTOO_MIRRORS="ftp://gg3.net/pub/linux/gentoo/ "
LINGUAS="en"
PKGDIR="/usr/portage/packages"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress
--force --whole-file --delete --delete-after --stats --timeout=180 --exclude=/di
stfiles --exclude=/local --exclude=/packages --filter=H_**/files/digest-*"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
SYNC="rsync://rsync.asia.gentoo.org/gentoo-portage"
USE="X acl alsa berkdb bitmap-fonts cdr cli cracklib crypt cups dri dvd fortran
gdbm gpm iconv ipv6 isdnlog kde libg++ midi mudflap ncurses nls nptl nptlonly op
enmp pam pcre perl pppd python qt3 qt4 readline reflection session spl ssl tcpd
truetype-fonts type1-fonts unicode x86 xorg zlib" ALSA_CARDS="via82xx" ALSA_PCM_
PLUGINS="adpcm alaw asym copy dmix dshare dsnoop empty extplug file hooks iec958
 ioplug ladspa lfloat linear meter mulaw multi null plug rate route share shm so
ftvol" ELIBC="glibc" INPUT_DEVICES="keyboard mouse" KERNEL="linux" LCD_DEVICES="
bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LINGUAS="
en" USERLAND="GNU" VIDEO_CARDS="savage"
Unset:  CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LANG, LC_ALL, LDFLAGS, MAKEO
PTS, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS, PORTDIR
_OVERLAY



_________________
C Programs
Back to top
View user's profile Send private message
yngwin
Retired Dev
Retired Dev


Joined: 19 Dec 2002
Posts: 4572
Location: Suzhou, China

PostPosted: Thu Jun 07, 2007 3:16 pm    Post subject: Reply with quote

Looking at your mplayer USE flags, you are missing out on quite a few features there, but it's your choice and maybe you don't need them. Seeing you have a Pentium 4 processor, you should enable the mmx, sse and sse2 useflags, which may actually solve your problem.
_________________
"Those who deny freedom to others deserve it not for themselves." - Abraham Lincoln
Free Culture | Defective by Design | EFF
Back to top
View user's profile Send private message
duffmckagan
n00b
n00b


Joined: 26 Apr 2005
Posts: 58

PostPosted: Fri Jun 08, 2007 4:28 am    Post subject: Reply with quote

I added "mmx mmxext sse sse2" USE flags, but still I get this error:


Code:

cabac.h:183: warning: 'put_cabac_u' defined but not used
cabac.h:218: warning: 'put_cabac_ueg' defined but not used
cabac.h:270: warning: 'refill2' defined but not used
cabac.h:808: warning: 'get_cabac_u' defined but not used
cabac.h:824: warning: 'get_cabac_ueg' defined but not used
cabac.h: In function 'get_cabac_noinline':
cabac.h:522: error: can't find a register in class 'GENERAL_REGS' while reloadin
g 'asm'
make[1]: *** [h264.o] Error 1
make[1]: Leaving directory `/var/tmp/portage/media-video/mplayer-1.0.20070321/wo
rk/mplayer/libavcodec'
make: *** [libavcodec/libavcodec.a] Error 2

!!! ERROR: media-video/mplayer-1.0.20070321 failed.
Call stack:
  ebuild.sh, line 1615:   Called dyn_compile
  ebuild.sh, line 972:   Called qa_call 'src_compile'
  ebuild.sh, line 44:   Called src_compile
  mplayer-1.0.20070321.ebuild, line 452:   Called die

!!! Failed to build MPlayer!
!!! If you need support, post the topmost build error, and the call stack if rel
evant.
!!! A complete build log is located at '/var/tmp/portage/media-video/mplayer-1.0
.20070321/temp/build.log'.


_________________
C Programs
Back to top
View user's profile Send private message
d2_racing
Bodhisattva
Bodhisattva


Joined: 25 Apr 2005
Posts: 13047
Location: Ste-Foy,Canada

PostPosted: Fri Jun 08, 2007 4:25 pm    Post subject: Reply with quote

Can you post : var/tmp/portage/media-video/mplayer-1.0
.20070321/temp/build.log
Back to top
View user's profile Send private message
duffmckagan
n00b
n00b


Joined: 26 Apr 2005
Posts: 58

PostPosted: Fri Jun 08, 2007 5:22 pm    Post subject: Reply with quote

The file is too big and it won't post..seems like the clipboard is too small for holding the file.

I couldn't think of anything else so I am uploading the file at the following link

http://www.esnips.com/doc/e1d918ce-66c3-479d-9ff6-a119e102a717/build
_________________
C Programs
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