[MPlayer-users] cpu_state.c on OS/X fails to compile

Steven M. Schultz sms at 2BSD.COM
Fri Jun 13 17:17:51 CEST 2003


On Fri, 13 Jun 2003, Magnus Damm wrote:

> [Automatic answer: RTFM (read DOCS, FAQ), also read DOCS/bugreports.html]
> 
> I don't know how inline assembly and the preprocessor
> are working together, though, and we probably want to stay
> compatible with libmpeg2 at sourceforge.

	Remaining compatible with libmpeg2 is trivial.

	I simply copied cpu_state.c from libmpeg2 (0.3.2)  into the
	MPlayer source	tree and it just works

Script started on Fri Jun 13 08:13:32 2003
[DHCP-250:src/mpeg2dec-0.3.2-cvs/libmpeg2] sms% pwd
/usr/local/src/mpeg2dec-0.3.2-cvs/libmpeg2

[DHCP-250:src/mpeg2dec-0.3.2-cvs/libmpeg2] sms% cp cpu_state.c /usr/local/src/MP layer-cvs/libmpeg2/cpu_state.c
[DHCP-250:src/mpeg2dec-0.3.2-cvs/libmpeg2] sms% cd /usr/local/src/MPlayer-cvs/li bmpeg2
[DHCP-250:src/MPlayer-cvs/libmpeg2] sms% gmake
gcc -c -O4   -pipe -ffast-math -fomit-frame-pointer -no-cpp-precomp -DSYS_DARWIN -DCONFIG_DARWIN -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -I. -I../libvo -I..   -DMPG12PLAY -faltivec -o cpu_state.o cpu_state.c
gcc -c -O4   -pipe -ffast-math -fomit-frame-pointer -no-cpp-precomp -DSYS_DARWIN -DCONFIG_DARWIN -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -I. -I../libvo -I..   -DMPG12PLAY -faltivec -o decode.o decode.c
gcc -c -O4   -pipe -ffast-math -fomit-frame-pointer -no-cpp-precomp -DSYS_DARWIN -DCONFIG_DARWIN -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -I. -I../libvo -I..   -DMPG12PLAY -faltivec -o header.o header.c
gcc -c -O4   -pipe -ffast-math -fomit-frame-pointer -no-cpp-precomp -DSYS_DARWIN -DCONFIG_DARWIN -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -I. -I../libvo -I..   -DMPG12PLAY -faltivec -o idct.o idct.c
gcc -c -O4   -pipe -ffast-math -fomit-frame-pointer -no-cpp-precomp -DSYS_DARWIN -DCONFIG_DARWIN -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -I. -I../libvo -I..   -DMPG12PLAY -faltivec -o idct_alpha.o idct_alpha.c
gcc -c -O4   -pipe -ffast-math -fomit-frame-pointer -no-cpp-precomp -DSYS_DARWIN -DCONFIG_DARWIN -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -I. -I../libvo -I..   -DMPG12PLAY -faltivec -o idct_mlib.o idct_mlib.c
gcc -c -O4   -pipe -ffast-math -fomit-frame-pointer -no-cpp-precomp -DSYS_DARWIN -DCONFIG_DARWIN -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -I. -I../libvo -I..   -DMPG12PLAY -faltivec -o idct_mmx.o idct_mmx.c
gcc -c -O4   -pipe -ffast-math -fomit-frame-pointer -no-cpp-precomp -DSYS_DARWIN -DCONFIG_DARWIN -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -I. -I../libvo -I..   -DMPG12PLAY -faltivec -o motion_comp.o motion_comp.c
gcc -c -O4   -pipe -ffast-math -fomit-frame-pointer -no-cpp-precomp -DSYS_DARWIN -DCONFIG_DARWIN -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -I. -I../libvo -I..   -DMPG12PLAY -faltivec -o motion_comp_alpha.o motion_comp_alpha.c
gcc -c -O4   -pipe -ffast-math -fomit-frame-pointer -no-cpp-precomp -DSYS_DARWIN -DCONFIG_DARWIN -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -I. -I../libvo -I..   -DMPG12PLAY -faltivec -o motion_comp_mlib.o motion_comp_mlib.c
gcc -c -O4   -pipe -ffast-math -fomit-frame-pointer -no-cpp-precomp -DSYS_DARWIN -DCONFIG_DARWIN -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -I. -I../libvo -I..   -DMPG12PLAY -faltivec -o motion_comp_mmx.o motion_comp_mmx.c
gcc -c -O4   -pipe -ffast-math -fomit-frame-pointer -no-cpp-precomp -DSYS_DARWIN -DCONFIG_DARWIN -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -I. -I../libvo -I..   -DMPG12PLAY -faltivec -o slice.o slice.c
gcc -c -O4   -pipe -ffast-math -fomit-frame-pointer -no-cpp-precomp -DSYS_DARWIN -DCONFIG_DARWIN -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -I. -I../libvo -I..   -DMPG12PLAY -faltivec -o motion_comp_altivec.o motion_comp_altivec.c
gcc -c -O4   -pipe -ffast-math -fomit-frame-pointer -no-cpp-precomp -DSYS_DARWIN -DCONFIG_DARWIN -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -I. -I../libvo -I..   -DMPG12PLAY -faltivec -o idct_altivec.o idct_altivec.c
ar r libmpeg2.a alloc.o cpu_accel.o cpu_state.o decode.o header.o idct.o idct_alpha.o idct_mlib.o idct_mmx.o motion_comp.o motion_comp_alpha.o motion_comp_mlib.o motion_comp_mmx.o slice.o motion_comp_altivec.o idct_altivec.o
ar: creating archive libmpeg2.a

Script done on Fri Jun 13 08:14:28 2003

	Cheers,
	Steven Schultz



More information about the MPlayer-users mailing list