[MPlayer-users] muxer_mpeg.c compile error on FreeBSD 5.4/AMD64

Steven M. Schultz sms at 2BSD.COM
Wed Nov 9 07:07:24 CET 2005


Hi -

	On a FreeBSD 5.4 AMD64 system I'm encountering a bit of trouble
	building MPlayer

gmake -C libmpdemux
gmake[1]: Entering directory `/usr/local/src/MPlayer-cvs/libmpdemux'
cc -c -I../libvo -I../../libvo -I/usr/X11R6/include -fno-PIC -O4   -pipe -ffast-math -fomit-frame-pointer -D_THREAD_SAFE -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -I/usr/local/include -I.. -I../loader  -I/usr/local/include  -I../libavutil -I../libavcodec -I../libavformat    -o muxer_mpeg.o muxer_mpeg.c
muxer_mpeg.c:1013:1: warning: "max" redefined
In file included from muxer_mpeg.c:13:
aviheader.h:16:1: warning: this is the location of the previous definition
muxer_mpeg.c:1014:1: warning: "min" redefined
aviheader.h:12:1: warning: this is the location of the previous definition
muxer_mpeg.c: In function `write_mpeg_system_header':
muxer_mpeg.c:569: error: extended registers have no high halves
{standard input}: Assembler messages:
{standard input}:609: Error: bad register name `%'
gmake[1]: *** [muxer_mpeg.o] Error 1
gmake[1]: Leaving directory `/usr/local/src/MPlayer-cvs/libmpdemux'
gmake: *** [libmpdemux/libmpdemux.a] Error 2

	muxer_mpeg.c:569: error: extended registers have no high halves
	is an error I haven't seen when building other programs.

	The same type of error happens in the demux_mkv.c - I disabled building
	that and then hit the error in muxer_mpeg.c

	Bug in the compiler?  Or code that gcc version 3.4.2 [FreeBSD] 20040728
	can't compile?

	Cheers,
	Steven Schultz




More information about the MPlayer-users mailing list