View Full Version : compiling mplayer
Sirber
14th October 2004, 16:50
gcc -I../libvo -I../../libvo -O4 -march=pentium3 -mcpu=pentium3 -pipe -ffast-math -fomit-frame-pointer -D_REENTRANT -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -DHAVE_AV_CONFIG_H -I.. -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -D_GNU_SOURCE -c -o h261.o h261.c
gcc -I../libvo -I../../libvo -O4 -march=pentium3 -mcpu=pentium3 -pipe -ffast-math -fomit-frame-pointer -D_REENTRANT -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -DHAVE_AV_CONFIG_H -I.. -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -D_GNU_SOURCE -c -o msmpeg4.o msmpeg4.c
msmpeg4.c: In function `msmpeg4_pred_dc':
msmpeg4.c:720: error: can't find a register in class `BREG' while reloading `asm'
make[1]: *** [msmpeg4.o] Error 1
make[1]: Leaving directory `/usr/src/MPlayer-1.0pre5/libavcodec'
make: *** [libavcodec/libavcodec.a] Error 2
:confused:
HW infos can be found here (http://www.detritus.qc.ca/info/).
unixfs
15th October 2004, 07:34
most likely a compiler problem.
gcc -v ?
The Shemeta
15th October 2004, 10:43
Maybe you need to update lavcodec. you can get it from CVS (info on www.mplayerhq.hu) and copy the lavcodec folder into the Mplayer folder.
Sirber
15th October 2004, 12:09
Reading specs from /usr/lib/gcc-lib/i686-pc-linux-gnu/3.3.4/specs
Configured with: /var/tmp/portage/gcc-3.3.4-r1/work/gcc-3.3.4/configure --prefix=/usr --bindir=/usr/i686-pc-linux-gnu/gcc-bin/3.3 --includedir=/usr/lib/gcc-lib/i686-pc-linux-gnu/3.3.4/include --datadir=/usr/share/gcc-data/i686-pc-linux-gnu/3.3 --mandir=/usr/share/gcc-data/i686-pc-linux-gnu/3.3/man --infodir=/usr/share/gcc-data/i686-pc-linux-gnu/3.3/info --enable-shared --host=i686-pc-linux-gnu --target=i686-pc-linux-gnu --with-system-zlib --enable-languages=c,c++,f77 --enable-threads=posix --enable-long-long --disable-checking --disable-libunwind-exceptions --enable-cstdio=stdio --enable-version-specific-runtime-libs --with-gxx-include-dir=/usr/lib/gcc-lib/i686-pc-linux-gnu/3.3.4/include/g++-v3 --with-local-prefix=/usr/local --enable-shared --enable-nls --without-included-gettext --disable-multilib --enable-__cxa_atexit --enable-clocale=generic
Thread model: posix
gcc version 3.3.4 20040623 (Gentoo Hardened Linux 3.3.4-r1, ssp-3.3.2-2, pie-8.7.6)
I compiled the same source at work whitout problem :(
Sirber
15th October 2004, 14:31
pre4 and pre5 give me the same error :(
Drachir
15th October 2004, 15:02
Here: http://bugs.gentoo.org/show_bug.cgi?id=43964 had somebody a similar problem.
------ Additional Comment #9 From Paul Sorensen 2004-04-11 00:30 PST -------
I had this problem (I hit it when compiling xine-lib) and found that the problem went away after removing "-fPIC" from my CFLAGS in /etc/make.conf.
From what I read, this is something to do with a more strict version of the assembler in gcc 3.3.2 in how it handles declaring "clobered" registers. I don't understand why removing -fPIC helps, but it seems to
Sirber
15th October 2004, 15:18
# These settings were set by the catalyst build script that automatically built this stage
CFLAGS="-O3 -march=pentium3 -pipe -fomit-frame-pointer -mfpmath=sse -mmmx -msse"
CXXFLAGS="${CFLAGS}"
CHOST="i686-pc-linux-gnu"
USE="acpi alsa apache2 apm crypt cups -gnome -gtk -gtk2 hardened innodb libg++ maildir mbox
memlimit mmx mysql ncurses nocd odbc oggvorbis -opengl oss -qt samba slp ssl usb -X zlib
x86 jpeg gif png -xmms -kde"
SYNC="rsync://rsync.ca.gentoo.org/gentoo-portage"
mplayer uses it's own flags from the configure.
Sirber
15th October 2004, 18:48
I tryed the CVS version. Works #1 :D
vBulletin® v3.8.11, Copyright ©2000-2026, vBulletin Solutions Inc.