[MPlayer-dev-eng] Release 0.60pre-2 today?

pl p_l at tfz.net
Fri Dec 28 18:39:31 CET 2001


On Fri, Dec 28, 2001 at 03:31:51PM +0200, Arpi wrote:

> what about portability?
> does it still compile and work on solaris, *bsd, qnx, ppc, irix, alpha ?

It doesn't compile on the SunOS I have here: some i386 asm that leaked I
guess, which will most likely break other arch's. There's the libavcodec
from ffmpeg cvs imported.

uname -a reports:
 SunOS host 5.7 Generic_106541-18 sun4u sparc SUNW,Ultra-60

A './configure && make' gives:
...
gcc -MM -O4  -mcpu=v8 -pipe -ffast-math -fomit-frame-pointer -Ilibmpdemux -Iloader -Ilibvo   mplayer.c mencoder.c mplayer.c adpcm.c xacodec.c cpudetect.c mp_msg.c ac3-iec958.c dec_audio.c dec_video.c msvidc.c cinepak.c fli.c qtrle.c codec-cfg.c cfgparser.c my_profile.c RTjpegN.c minilzo.c nuppelvideo.c find_sub.c subreader.c lirc_mp.c mixer.c spudec.c mencoder.c adpcm.c xacodec.c cpudetect.c mp_msg.c ac3-iec958.c dec_audio.c dec_video.c msvidc.c cinepak.c fli.c qtrle.c codec-cfg.c cfgparser.c my_profile.c RTjpegN.c minilzo.c nuppelvideo.c libao2/afmt.c divx4_vbr.c libvo/aclib.c libvo/img_format.c 1>.depend
mencoder.c:48: warning: No include path in which to find encore2.h
mencoder.c:48: warning: No include path in which to find encore2.h
divx4_vbr.c:46: warning: No include path in which to find stdint.h
...

gcc -c -O4  -mcpu=v8 -pipe -ffast-math -fomit-frame-pointer  -DHAVE_CONFIG_H -D_GNU_SOURCE -D_REENTRANT -DFLOAT=float -I. -I.. -fPIC -o audio/filter.o audio/filter.c
In file included from audio/audio.h:24,
                 from audio/filter.c:26:
audio/../common/bstream.h:42: warning: `regparm' attribute directive ignored
audio/../common/bstream.h:45: warning: `regparm' attribute directive ignored
audio/../common/bstream.h: In function `bstartq':
audio/../common/bstream.h:54: unknown register name `st(7)' in `asm'
audio/../common/bstream.h:54: unknown register name `st(6)' in `asm'
audio/../common/bstream.h:54: unknown register name `st(5)' in `asm'
audio/../common/bstream.h:54: unknown register name `st(4)' in `asm'
audio/../common/bstream.h:54: unknown register name `st(3)' in `asm'
audio/../common/bstream.h:54: unknown register name `st(2)' in `asm'
audio/../common/bstream.h:54: unknown register name `st(1)' in `asm'
audio/../common/bstream.h:54: unknown register name `st' in `asm'
In file included from audio/filter.c:26:
audio/audio.h: At top level:
audio/audio.h:150: warning: `regparm' attribute directive ignored
audio/audio.h:151: warning: `regparm' attribute directive ignored
audio/audio.h:152: warning: `regparm' attribute directive ignored
audio/audio.h:153: warning: `regparm' attribute directive ignored
audio/audio.h: In function `mmx_filter_mono':
audio/audio.h:170: unknown register name `st(7)' in `asm'
audio/audio.h:170: unknown register name `st(6)' in `asm'
audio/audio.h:170: unknown register name `st(5)' in `asm'
audio/audio.h:170: unknown register name `st(4)' in `asm'
audio/audio.h:170: unknown register name `st(3)' in `asm'
audio/audio.h:170: unknown register name `st(2)' in `asm'
audio/audio.h:170: unknown register name `st(1)' in `asm'
audio/audio.h:170: unknown register name `st' in `asm'
audio/audio.h: In function `mmx_filter_stereo':
audio/audio.h:195: unknown register name `st(7)' in `asm'
audio/audio.h:195: unknown register name `st(6)' in `asm'
audio/audio.h:195: unknown register name `st(5)' in `asm'
audio/audio.h:195: unknown register name `st(4)' in `asm'
audio/audio.h:195: unknown register name `st(3)' in `asm'
audio/audio.h:195: unknown register name `st(2)' in `asm'
audio/audio.h:195: unknown register name `st(1)' in `asm'
audio/audio.h:195: unknown register name `st' in `asm'
audio/filter.c: In function `filter_test':
audio/filter.c:122: unknown register name `st(7)' in `asm'
audio/filter.c:122: unknown register name `st(6)' in `asm'
audio/filter.c:122: unknown register name `st(5)' in `asm'
audio/filter.c:122: unknown register name `st(4)' in `asm'
audio/filter.c:122: unknown register name `st(3)' in `asm'
audio/filter.c:122: unknown register name `st(2)' in `asm'
audio/filter.c:122: unknown register name `st(1)' in `asm'
audio/filter.c:122: unknown register name `st' in `asm'
/usr/ccs/bin/as: "<stdin>", line 577: error: unknown opcode "emms"
/usr/ccs/bin/as: "<stdin>", line 577: error: statement syntax
make[1]: *** [audio/filter.o] Error 1


A './configure --disable-mp1e && make' goes farther but does not give a
mplayer executable (dunno yet whether mp1e or configure is to blame):

...
make[1]: Leaving directory `/users/pl/main+/libvo'
gcc -O4  -mcpu=v8 -pipe -ffast-math -fomit-frame-pointer -Ilibmpdemux -Iloader -Ilibvo   -o mplayer mplayer.o adpcm.o xacodec.o cpudetect.o mp_msg.o ac3-iec958.o dec_audio.o dec_video.o msvidc.o cinepak.o fli.o qtrle.o codec-cfg.o cfgparser.o my_profile.o RTjpegN.o minilzo.o nuppelvideo.o find_sub.o subreader.o lirc_mp.o mixer.o spudec.o -Lg72x -lg72x -Lmp3lib -lMP3 -Llibac3 -lac3 -Lliba52 -la52 -Lxa -lxa -Llibmpeg2 -lmpeg2 -Llibavcodec -lavcodec -Llibmpdemux -lmpdemux -Llibvo -lvo -Llibao2 -lao2    -Llinux -losdep -Lpostproc -lpostproc       -L/usr/openwin/lib -lX11 -lXext  -lnsl        -lnsl           -lposix4 -lkstat  -lpthread -ldl   -Lopendivx -ldecore -ltermcap     -lm
ld: warning: symbol `quant_store' has differing sizes:
        (file libmpeg2/libmpeg2.a(decode.o) value=0x8a04; file opendivx/libdecore.a(mp4_decoder.o) value=0x1c54);
        libmpeg2/libmpeg2.a(decode.o) definition taken
ld: fatal: symbol `block' is multiply-defined:
        (file RTjpegN.o type=OBJT; file opendivx/libdecore.a(mp4_block.o) type=FUNC);
ld: fatal: File processing errors. No output written to mplayer
collect2: ld returned 1 exit status
make: *** [mplayer] Error 1


I don't much this OS/machine so if you need further info/logs I'll try
and provide them.  I just know there's a gcc 2.95.2 and GNU tools
installed.

I can only do compilation tests as I only have currently a remote access.

(sorry for the long lines but it's cr*p to format)

-- 
Best regards,
  pl



More information about the MPlayer-dev-eng mailing list