Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Problem z kompilacją mplayera
View unanswered posts
View posts from last 24 hours
View posts from last 7 days

 
Reply to topic    Gentoo Forums Forum Index Polskie forum (Polish)
View previous topic :: View next topic  
Author Message
josio
n00b
n00b


Joined: 07 Jan 2006
Posts: 6

PostPosted: Sat Jan 06, 2007 3:54 pm    Post subject: Problem z kompilacją mplayera Reply with quote

emerge mplayer wywala się następująco
Code:

h264.c: In function 'filter_mb_fast':
h264.c:7101: warning: dereferencing type-punned pointer will break strict-aliasing rules
h264.c: In function 'decode_unregistered_user_data':
h264.c:7593: warning: comparison between signed and unsigned
h264.c:7598: warning: pointer targets in passing argument 1 of 'sscanf' differ in signedness
h264.c: At top level:
h264.c:8652: warning: missing initializer
h264.c:8652: warning: (near initialization for 'h264_parser.next')
In file included from h264.c:8655:
svq3.c: In function 'svq3_decode_block':
svq3.c:224: warning: comparison between signed and unsigned
svq3.c: In function 'svq3_mc_dir':
svq3.c:374: warning: comparison between signed and unsigned
svq3.c:374: warning: comparison between signed and unsigned
svq3.c: In function 'svq3_decode_mb':
svq3.c:450: warning: comparison between signed and unsigned
svq3.c: In function 'svq3_decode_slice_header':
svq3.c:741: warning: comparison between signed and unsigned
svq3.c: At top level:
svq3.c:1014: warning: missing initializer
svq3.c:1014: warning: (near initialization for 'svq3_decoder.next')
cabac.h:106: warning: 'put_cabac_static' defined but not used
cabac.h:152: warning: 'put_cabac_terminate' defined but not used
cabac.h:180: warning: 'put_cabac_u' defined but not used
cabac.h:215: warning: 'put_cabac_ueg' defined but not used
cabac.h:267: warning: 'refill2' defined but not used
cabac.h:799: warning: 'get_cabac_u' defined but not used
cabac.h:815: warning: 'get_cabac_ueg' defined but not used
cabac.h: In function 'get_cabac_noinline':
cabac.h:513: error: can't find a register in class 'GENERAL_REGS' while reloading 'asm'
make[1]: *** [h264.o] Błąd 1
make[1]: Opuszczenie katalogu `/var/tmp/portage/media-video/mplayer-1.0_rc1/work/MPlayer-1.0rc1/libavcodec'
make: *** [libavcodec/libavcodec.a] Błąd 2
 
!!! ERROR: media-video/mplayer-1.0_rc1 failed.
Call stack:
  ebuild.sh, line 1593:   Called dyn_compile
  ebuild.sh, line 951:   Called src_compile
  mplayer-1.0_rc1.ebuild, line 447:   Called die
 
!!! Failed to build MPlayer!
!!! If you need support, post the topmost build error, and the call stack if relevant.


Wyczytalem na jakims forum ze wystarczy dodac -fomit-frame-pointer do cflags. W moim przypadku nie pomogło.
System updatowany, gcc aktualizowane 4.1.1, glibc 2.5, jajko, system, world przekompilowane nowym gcc. Proszę o rady, pozdrawiam ;)
Back to top
View user's profile Send private message
mbar
Veteran
Veteran


Joined: 19 Jan 2005
Posts: 1990
Location: Poland

PostPosted: Sat Jan 06, 2007 4:16 pm    Post subject: Reply with quote

to ja proszę o kryształową kulę
kolejny posr kur.a bez emerge --info
Back to top
View user's profile Send private message
josio
n00b
n00b


Joined: 07 Jan 2006
Posts: 6

PostPosted: Sat Jan 06, 2007 4:38 pm    Post subject: Reply with quote

tak wlasnie myslalem ze o czyms zapomnialem ;)

Code:

hell etc # emerge --info
Portage 2.1.2_rc4-r6 (default-linux/x86/2006.1/desktop, gcc-4.1.1, glibc-2.5-r0, 2.6.15-gentoo-r7 i686)
=================================================================
System uname: 2.6.15-gentoo-r7 i686 Intel(R) Pentium(R) 4 CPU 1.60GHz
Gentoo Base System version 1.12.8
Last Sync: Sat, 06 Jan 2007 12:30:01 +0000
dev-java/java-config: 1.3.7, 2.0.31
dev-lang/python:     2.4.4
dev-python/pycrypto: 2.0.1-r5
sys-apps/sandbox:    1.2.18.1
sys-devel/autoconf:  2.13, 2.61
sys-devel/automake:  1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.6-r2, 1.10
sys-devel/binutils:  2.17
sys-devel/gcc-config: 1.3.14
sys-devel/libtool:   1.5.22
virtual/os-headers:  2.6.19
ACCEPT_KEYWORDS="x86 ~x86"
AUTOCLEAN="yes"
CBUILD="i686-pc-linux-gnu"
CFLAGS="-march=pentium4 -O3 -pipe -fomit-frame-pointer"
CHOST="i686-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/share/X11/xkb"
CONFIG_PROTECT_MASK="/etc/env.d /etc/env.d/java/ /etc/gconf /etc/java-config/vms/ /etc/revdep-rebuild /etc/terminfo"
CXXFLAGS="-march=pentium4 -O3 -pipe -fomit-frame-pointer"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoconfig distlocks metadata-transfer sandbox sfperms strict"
GENTOO_MIRRORS="http://gentoo.inode.at/ http://ftp.belnet.be/mirror/rsync.gentoo.org/gentoo/"
LANG="pl_PL"
LC_ALL="pl_PL"
LINGUAS="en pl"
MAKEOPTS="-j2"
PKGDIR="/usr/portage/packages"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --delete-after --stats --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="3dnow 3dnowext X alsa apm berkdb bitmap-fonts cairo cdr cli cracklib crypt cups dbus dga directfb dlloader dri dvd dvdr eds emboss encode esd fam firefox fortran gdbm gif gpm gstreamer hal iconv ipv6 isdnlog java jpeg ldap libg++ live mad mikmod mp3 mpeg ncurses nls nptl nptlonly ogg oog opengl oss pam pcre perl png ppds pppd python qt3 qt4 quicktime readline reflection samba sdl session spell spl ssl svga tcpd truetype truetype-fonts type1-fonts udev unicode usb vcd vorbis wifi win32codecs x86 xml xorg xv xvid xvmc zlib" ALSA_CARDS="ali5451 als4000 atiixp atiixp-modem bt87x ca0106 cmipci emu10k1x ens1370 ens1371 es1938 es1968 fm801 hda-intel intel8x0 intel8x0m maestro3 trident usb-audio via82xx via82xx-modem ymfpci" 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 softvol" ELIBC="glibc" INPUT_DEVICES="mouse keyboard" KERNEL="linux" LINGUAS="en pl" USERLAND="GNU" VIDEO_CARDS="ati"
Unset:  CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LDFLAGS, PORTAGE_RSYNC_EXTRA_OPTS, PORTDIR_OVERLAY
Back to top
View user's profile Send private message
mbar
Veteran
Veteran


Joined: 19 Jan 2005
Posts: 1990
Location: Poland

PostPosted: Sat Jan 06, 2007 6:31 pm    Post subject: Reply with quote

człowieeeeeeeeeeku, od kiedy to P4 ma 3dnow i 3dnowext? 8O
Back to top
View user's profile Send private message
josio
n00b
n00b


Joined: 07 Jan 2006
Posts: 6

PostPosted: Sat Jan 06, 2007 7:05 pm    Post subject: Reply with quote

Hm, faktycznie przerzucilem bezmyslnie use z athlona starego. Ale problem pozostaje taki sam. (usunąlem te flagi i skompilowalem ponownie mplayera)
Back to top
View user's profile Send private message
mbar
Veteran
Veteran


Joined: 19 Jan 2005
Posts: 1990
Location: Poland

PostPosted: Sat Jan 06, 2007 8:04 pm    Post subject: Reply with quote

spróbuj z custom-cflags
Back to top
View user's profile Send private message
josio
n00b
n00b


Joined: 07 Jan 2006
Posts: 6

PostPosted: Sat Jan 06, 2007 10:15 pm    Post subject: Reply with quote

Probowalem juz wczesniej, ten sam efekt.

dodano.
Godzine temu dodano nową wersje do portage, bump czy cos, emerge z -directfb zmielił. Dziekuję.
Back to top
View user's profile Send private message
kfiaciarka
Veteran
Veteran


Joined: 20 May 2005
Posts: 1498
Location: Dobre Miasto, Poland

PostPosted: Sun Jan 07, 2007 9:51 am    Post subject: Reply with quote

najlepiej by było jakbyś pokazał emerge -vp mplayer ;) Jak sie za bardzo przekombinuje z USe to są problemy;)
Back to top
View user's profile Send private message
Radioaktywny
Apprentice
Apprentice


Joined: 01 Sep 2005
Posts: 248
Location: Jestem przed komputerem ;)

PostPosted: Mon Jan 08, 2007 8:11 am    Post subject: Reply with quote

Witam
U mnie wystąpił identyczny błąd kompilacji:
Code:
In file included from h264.c:8655:
svq3.c: In function `svq3_decode_block':
svq3.c:224: warning: comparison between signed and unsigned
svq3.c: In function `svq3_mc_dir':
svq3.c:374: warning: comparison between signed and unsigned
svq3.c:374: warning: comparison between signed and unsigned
svq3.c: In function `svq3_decode_mb':
svq3.c:450: warning: comparison between signed and unsigned
svq3.c: In function `svq3_decode_slice_header':
svq3.c:741: warning: comparison between signed and unsigned
svq3.c: At top level:
svq3.c:1014: warning: missing initializer
svq3.c:1014: warning: (near initialization for `svq3_decoder.next')
cabac.h: In function `get_cabac_noinline':
cabac.h:513: error: can't find a register in class `GENERAL_REGS' while reloading `asm'
h264.c: At top level:
cabac.h:106: warning: 'put_cabac_static' defined but not used
cabac.h:152: warning: 'put_cabac_terminate' defined but not used
cabac.h:180: warning: 'put_cabac_u' defined but not used
cabac.h:215: warning: 'put_cabac_ueg' defined but not used
cabac.h:267: warning: 'refill2' defined but not used
cabac.h:799: warning: 'get_cabac_u' defined but not used
cabac.h:815: warning: 'get_cabac_ueg' defined but not used
make[1]: *** [h264.o] Error 1
make: *** [libavcodec/libavcodec.a] Error 2

!!! ERROR: media-video/mplayer-1.0_rc1 failed.
Call stack:
  ebuild.sh, line 1593:   Called dyn_compile
  ebuild.sh, line 951:   Called src_compile
  mplayer-1.0_rc1.ebuild, line 447:   Called die

!!! Failed to build MPlayer!
!!! If you need support, post the topmost build error, and the call stack if relevant.

Moje emerge --info:
Code:
Portage 2.1.2_rc4-r7 (default-linux/x86/2006.1/desktop, gcc-3.4.6, glibc-2.4-r4, 2.6.15-gentoo-r1 i686)
=================================================================
System uname: 2.6.15-gentoo-r1 i686 AMD Athlon(tm) XP 2500+
Gentoo Base System version 1.12.6
Last Sync: Mon, 08 Jan 2007 06:50:01 +0000
ccache version 2.4 [disabled]
dev-java/java-config: 1.3.7, 2.0.30
dev-lang/python:     2.3.5-r3, 2.4.3-r4
dev-python/pycrypto: 2.0.1-r5
dev-util/ccache:     2.4-r6
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.8.5-r3, 1.9.6-r2, 1.10
sys-devel/binutils:  2.16.1-r3
sys-devel/gcc-config: 1.3.14
sys-devel/libtool:   1.5.22
virtual/os-headers:  2.6.17-r2
ACCEPT_KEYWORDS="x86"
AUTOCLEAN="yes"
CBUILD="i686-pc-linux-gnu"
CFLAGS="-march=athlon-xp -Os -pipe -s -fomit-frame-pointer"
CHOST="i686-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/kde/3.5/env /usr/kde/3.5/share/config /usr/kde/3.5/shutdown /usr/share/X11/xkb /usr/share/config"
CONFIG_PROTECT_MASK="/etc/env.d /etc/env.d/java/ /etc/gconf /etc/java-config/vms/ /etc/revdep-rebuild /etc/splash /etc/terminfo /etc/texmf/web2c"
CXXFLAGS="-march=athlon-xp -Os -pipe -s"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoconfig distlocks metadata-transfer parallel-fetch sandbox sfperms strict"
GENTOO_MIRRORS="http://gentoo.prz.rzeszow.pl http://src.gentoo.pl http://gentoo.osuosl.org http://gentoo.zie.pg.gda.pl"
LANG="pl_PL"
LC_ALL="pl_PL"
LINGUAS="pl"
MAKEOPTS="-j2 -s"
PKGDIR="/usr/portage/packages"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --delete-after --stats --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages"
PORTAGE_TMPDIR="/home/portemp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/local/portage"
SYNC="rsync://gentoo.prz.rzeszow.pl/gentoo-portage"
USE="X alsa apm avi berkdb bitmap-fonts cairo cdr cli cracklib crypt cups dbus debug dlloader doc dri dvd dvdr eds emboss encode esd fam firefox fortran gdbm gif gpm gstreamer gtk2 hal iconv imlib ipv6 isdnlog java jpeg kde kdeenablefinal ldap libg++ mad mikmod mp3 mpeg ncurses nls nptl nptlonly ogg opengl oss pam pcre perl png ppds pppd python qt qt3 qt4 quicktime readline reflection samba sdl session spell spl ssl svga tcpd truetype truetype-fonts type1-fonts udev unicode usb vorbis win32codecs x86 xml xorg xv zlib" ALSA_CARDS="au8820" 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 softvol" ELIBC="glibc" INPUT_DEVICES="kdb mouse" KERNEL="linux" LINGUAS="pl" USERLAND="GNU" VIDEO_CARDS="nvidia"
Unset:  CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LDFLAGS, PORTAGE_RSYNC_EXTRA_OPTS

Natomiast emerge -pv mplayer:
Code:
emerge -pv mplayer

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

Calculating dependencies... done!
[ebuild     U ] media-video/mplayer-1.0_rc1 [1.0_pre8] USE="X alsa debug doc dvd dvdread encode esd gif iconv%* ipv6 jpeg mad mmx opengl oss png real samba sdl svga truetype unicode vorbis win32codecs xinerama xv xvid -3dfx -3dnow -3dnowext -aac -aalib (-altivec) -amr% -arts -bidi -bindist -bl -cdparanoia -cpudetection -custom-cflags -dga -directfb -dts -dv -dvb -enca% -fbcon -ggi -gtk -jack -joystick -libcaca -lirc -live -livecd -lzo -matrox -mmxext -musepack -nas -openal -rtc -speex -sse -sse2 -tga -theora -v4l -v4l2 -x264 -xanim -xvmc (-i8x0%) (-nvidia%*)" LINGUAS="pl -bg -cs -da -de -el -en -es -fr -hu -ja -ko -mk -nl -no -pt_BR -ro -ru -sk -tr -uk -zh_CN -zh_TW" 0 kB

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


Raczej nie mam "przekombinowanych" flag.
Natomiast dziwi mnie, że mplayer próbuje się kompilować z flagą -nvidia gdy mam ustawione w /etc/make.conf VIDEO_CARDS="nvidia"
_________________
pozdrawiam
Radioaktywny
Back to top
View user's profile Send private message
kfiaciarka
Veteran
Veteran


Joined: 20 May 2005
Posts: 1498
Location: Dobre Miasto, Poland

PostPosted: Mon Jan 08, 2007 8:44 am    Post subject: Reply with quote

nie że próbuje tak kompilować tylko że tą flage usunięto z ebuilda;) Ja miałem taki błąd jak miałem zbyt dużo use dla mplayera ustawionych;)
Back to top
View user's profile Send private message
mbar
Veteran
Veteran


Joined: 19 Jan 2005
Posts: 1990
Location: Poland

PostPosted: Mon Jan 08, 2007 2:12 pm    Post subject: Reply with quote

Radioaktywny: zamiast -Os używaj -O2
Back to top
View user's profile Send private message
argasek
Bodhisattva
Bodhisattva


Joined: 06 May 2004
Posts: 1121
Location: Sol [0,0], Poland, Kraków

PostPosted: Mon Jan 08, 2007 11:32 pm    Post subject: Reply with quote

Strzelam: być może pomoże upgrade do najnowszej wersji media-libs/x264-svn.
_________________
RLU #137109 | http://soundcloud.com/argasek
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Polskie forum (Polish) 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