[MPlayer-users] Compiling mmx asm code.
James Gallagher
jgallagher at gso.uri.edu
Wed Oct 17 07:33:07 CEST 2001
Hi,
Any help with the following would be much apreciated.
I'm trying to build mplayer on Red Hat 6.2 using gcc 2.95.2. I ran configure
using no options, and again with --disable-mmx.
Using plain ./configure I get:
gcc -g3 -O0 -Wall -g -DHAVE_AV_CONFIG_H -c -o i386/dsputil_mmx.o
i386/dsputil_mmx.c
In file included from i386/dsputil_mmx.c:49:
i386/dsputil_mmx_avg.h: In function `put_pixels_x2_3dnow':
i386/dsputil_mmx_avg.h:51: Invalid `asm' statement:
i386/dsputil_mmx_avg.h:51: fixed or forbidden register 6 (bp) was spilled for
class GENERAL_REGS.
i386/dsputil_mmx_avg.h: In function `avg_pixels_3dnow':
i386/dsputil_mmx_avg.h:135: Invalid `asm' statement:
i386/dsputil_mmx_avg.h:135: fixed or forbidden register 6 (bp) was spilled for
class GENERAL_REGS.
In file included from i386/dsputil_mmx.c:62:
i386/dsputil_mmx_avg.h: In function `put_pixels_x2_sse':
i386/dsputil_mmx_avg.h:51: Invalid `asm' statement:
i386/dsputil_mmx_avg.h:51: fixed or forbidden register 6 (bp) was spilled for
class GENERAL_REGS.
i386/dsputil_mmx_avg.h: In function `avg_pixels_sse':
i386/dsputil_mmx_avg.h:135: Invalid `asm' statement:
i386/dsputil_mmx_avg.h:135: fixed or forbidden register 6 (bp) was spilled for
class GENERAL_REGS.
i386/dsputil_mmx.c: In function `put_pixels_clamped_mmx':
i386/dsputil_mmx.c:132: Invalid `asm' statement:
i386/dsputil_mmx.c:132: fixed or forbidden register 6 (bp) was spilled for
class GENERAL_REGS.
i386/dsputil_mmx.c: In function `put_pixels_mmx':
i386/dsputil_mmx.c:199: Invalid `asm' statement:
i386/dsputil_mmx.c:199: fixed or forbidden register 6 (bp) was spilled for
class GENERAL_REGS.
make[1]: *** [i386/dsputil_mmx.o] Error 1
make[1]: Leaving directory `/usr/local/src/MPlayer-0.50/libavcodec'
make: *** [libavcodec/libavcodec.a] Error 2
[jimg at dcz MPlayer-0.50]$
Using ./configure --disable-mmx I get:
ar r libencore.a encore.o mom_access.o bitstream.o mom_util.o mot_code.o
mot_est_comp.o mot_est_mb.o mot_util.o putvlc.o rc_hist.o rc_q2.o rgb2yuv.o
text_bits.o text_code.o text_code_mb.o text_dct.o vop_code.o
make[1]: Leaving directory `/usr/local/src/MPlayer-0.50/encore'
gcc -g3 -O0 -Iloader -Ilibvo -I/usr/local/include -o mplayer mplayer.o
mp_msg.o open.o parse_es.o ac3-iec958.o find_sub.o aviprint.o dec_audio.o
dec_video.o aviwrite.o aviheader.o asfheader.o demux_avi.o demux_asf.o
demux_mpg.o demux_mov.o demuxer.o stream.o codec-cfg.o subreader.o
linux/getch2.o linux/timer-lx.o linux/shmem.o xa/xa_gsm.o xa/rle8.o lirc_mp.o
cfgparser.o mixer.o dvdauth.o spudec.o dll_init.o -Lmp3lib -lMP3 -Llibac3
-lac3 -lm -ltermcap -Lloader -lloader -Lloader/DirectShow -lDS_Filter
-lstdc++ -Llibavcodec -lavcodec -Llibmpeg2 -lmpeg2 -Llibao2 -lao2 -Llibvo -lvo
-L/usr/X11R6/lib -L/usr/local/lib -lGL -L/usr/local/lib
-Wl,-rpath,/usr/local/lib -lSDL -lpthread -lXxf86dga -lX11 -lXext -lXdpms -lXv
-lXxf86vm -lvgagl -lvga -lpng -lz -lnsl -Lencore -lencore -Lopendivx
-ldecore -ldl -lpthread
mp3lib/libMP3.a(sr1.o): In function `MP3_Init':
/usr/local/src/MPlayer-0.50/mp3lib/sr1.c:446: undefined reference to
`synth_1to1_MMX'
mp3lib/libMP3.a(dct64_sse.o): In function `dct64_MMX_sse':
dct64_sse.o(.text+0x26): undefined reference to `costab_mmx'
loader/DirectShow/libDS_Filter.a(DS_VideoDecoder.o): In function
`MemAllocator::SetPointer(char *)':
/usr/local/src/MPlayer-0.50/loader/DirectShow/libwin32.h(.text+0x581):
undefined reference to `endl(ostream &)'
/usr/local/src/MPlayer-0.50/loader/DirectShow/libwin32.h(.text+0x58e):
undefined reference to `cerr'
James Gallagher
More information about the MPlayer-users
mailing list