[MPlayer-users] Compilation of CVS version fails on RH EL 4 64bit/AMD64
Guillaume POIRIER
poirierg at gmail.com
Thu Jan 19 10:54:54 CET 2006
Hi,
On 1/19/06, mslama at email.cz <mslama at email.cz> wrote:
> I compiled gcc 3.4.5 myself:
> Reading specs from /usr/local/gcc-3.4.5/lib/gcc/x86_64-unknown-linux-gnu/3.4.5/specs
> Configured with: ../configure --prefix=/usr/local/gcc-3.4.5
> Thread model: posix
> gcc version 3.4.5
>
> Default system gcc is:
> Reading specs from /usr/lib/gcc/x86_64-redhat-linux/3.4.3/specs
> Configured with: ../configure --prefix=/usr --mandir=/usr/share/man --infodir=/usr/share/info --enable-shared --enable-threads=posix --disable-checking --with-system-zlib --enable-__cxa_atexit --disable-libunwind-exceptions --enable-languages=c,c++,objc,java,f77 --enable-java-awt=gtk --host=x86_64-redhat-linux
> Thread model: posix
> gcc version 3.4.3 20041212 (Red Hat 3.4.3-9.EL4)
>
> I installed only lame-3.96.1 and freetype-2.1.10 in addition to default system libraries.
> I run: ./configure --enable-largefiles and make
>
> Error:
> gcc -I../libvo -I../../libvo -fno-PIC -O4 -march=k8 -mtune=k8 -pipe -ffast-math -fomit-frame-pointer -D_REENTRANT -D_LARGEFILE_SOURCE -D_FILE_OFFSET_B ITS=64 -DHAVE_AV_CONFIG_H -I.. -I../libavutil -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -D_GNU_SOURCE -c -o libpostproc/postprocess.o libpostproc/p ostprocess.c
> {standard input}: Assembler messages:
> {standard input}:619: Error: `(%eax,%r10,2)' is not a valid base/index expression
> {standard input}:620: Error: `(%eax,%r10,2)' is not a valid base/index expression
> {standard input}:636: Error: `(%edx,%r12,2)' is not a valid base/index expression
> {standard input}:639: Error: `(%eax,%r10,4)' is not a valid base/index expression
> {standard input}:640: Error: `(%eax,%r10,4)' is not a valid base/index expression
> {standard input}:656: Error: `(%edx,%r12,4)' is not a valid base/index expression
> {standard input}:657: Error: `(%eax,%r10,4)' is not a valid base/index expression
> {standard input}:658: Error: `(%edx,%r12,4)' is not a valid base/index expression
> {standard input}:659: Error: `(%eax,%r10)' is not a valid base/index expression
> {standard input}:660: Error: `(%eax,%r10)' is not a valid base/index expression
> {standard input}:661: Error: `(%eax,%r10,2)' is not a valid base/index expression
> {standard input}:662: Error: `(%eax,%r10,2)' is not a valid base/index expression
> {standard input}:677: Error: `(%edx,%r12)' is not a valid base/index expression
> {standard input}:678: Error: `(%edx,%r12,2)' is not a valid base/index expression
> {standard input}:697: Error: `(%eax,%r12,4)' is not a valid base/index expression
> {standard input}:699: Error: `(%eax,%r12)' is not a valid base/index expression
> {standard input}:704: Error: `(%eax,%r12,2)' is not a valid base/index expression
> ......
> a lot of more similar messages
> ......
> {standard input}:5790: Error: `(%edx,%r12,2)' is not a valid base/index expression
> {standard input}:5792: Error: `(%edx,%r12,4)' is not a valid base/index expression
> {standard input}:5814: Error: `(%edx,%r12,2)' is not a valid base/index expression
> make[1]: *** [libpostproc/postprocess.o] Error 1
> make[1]: Leaving directory `/home.local/mslama/programs/mplayer-cvs-1/main/libavcodec'
> make: *** [libavcodec/libavcodec.a] Error 2
>
> The same happens with system gcc. Here is beginning of configure output:
> Detected operating system: Linux
> Detected host architecture: i386
> Checking for cc version ... not found
> Checking for gcc version ... 3.4.5, ok
> Checking for host cc ... gcc
> Checking for cross compilation ... no
> Checking for CPU vendor ... AuthenticAMD (15:39:1)
> Checking for CPU type ... AMD Opteron(tm) Processor 152
> Checking for GCC & CPU optimization abilities ... k8
> Checking for kernel support of mmx ... yes
> Checking for kernel support of mmx2 ... yes
> Checking for kernel support of 3dnow ... yes
> Checking for kernel support of 3dnowex ... yes
> Checking for kernel support of sse ... yes
> Checking for kernel support of sse2 ... yes
> Checking for mtrr support ... yes
> Checking for assembler support of -pipe option ... yes
> Checking for assembler (as 2.15.92.0.2) ... ok
> Checking for Linux kernel version ... 2.6.9-5.EL, ok
> Checking for mplayer binary name ... mplayer
> Checking for awk ... gawk
> .......
>
> I did not find any note about 64bit Linux in docs. Anything special is necessary?
>
> (I also tried gcc 4.0.2 and updated binutils to latest version 2.16.1 but result is the same.)
It should really work out of the box just all right. I'd say do a
clean CVS checkout of both mplayer and libav*, and retry.
It works all right on my machine (ubuntu 64bits)
Guillaume
--
Life is pleasant. Death is peaceful. It's the transition that's troublesome.
Isaac Asimov (1920 - 1992)
MPlayer's doc is offline. Find some fresh one here:
http://tuxrip.free.fr//MPlayer-DOCS-HTML/en/
http://tuxrip.free.fr//MPlayer-DOCS-HTML/fr/
More information about the MPlayer-users
mailing list