Subject: mplayer build fails
To: None <pkgsrc-users@netbsd.org>
From: None <antiright@gmail.com>
List: pkgsrc-users
Date: 07/25/2006 03:33:05
Building mplayer fails on current pkgsrc as follows:

gmake[1]: Entering directory `/usr/obj/multimedia/mplayer/work/MPlayer-1.0pre8/libvo'
cc -c -I../libvo -I../../libvo -I/usr/X11R6/include -O4   -pipe -ffast-math -fomit-frame-pointer -D_THREAD_SAFE -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -I/usr/pkg/include -I/usr/pkg/include/faad2 -DPNG_NO_ASSEMBLER_CODE -I/usr/pkg/include -I/usr/pkg/include/faad2 -I/usr/include -DGLX_GLXEXT_LEGACY -I/usr/pkg/include/freetype2 -I. -I.. -I../osdep  -I../libavutil -I/usr/pkg/include/freetype2 -I/usr/pkg/include -I/usr/pkg/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -D_THREAD_SAFE -I/usr/X11R6/include -I/usr/pkg/include -I/usr/pkg/include/faad2 -DPNG_NO_ASSEMBLER_CODE -I/usr/pkg/include -I/usr/pkg/include/faad2 -I/usr/include -DGLX_GLXEXT_LEGACY -I/usr/pkg/include/freetype2   -DMPG12PLAY  -o osd.o osd.c
{standard input}: Assembler messages:
{standard input}:318: Error: can't encode register '%ch' in an instruction requiring REX prefix.
{standard input}:319: Error: can't encode register '%ah' in an instruction requiring REX prefix.
{standard input}:320: Error: can't encode register '%dh' in an instruction requiring REX prefix.
gmake[1]: *** [osd.o] Error 1
gmake[1]: Leaving directory `/usr/obj/multimedia/mplayer/work/MPlayer-1.0pre8/libvo'
gmake: *** [libvo/libvo.a] Error 2
*** Error code 2


-Jeff