Subject: Re: mplayer crashes compilation
To: None <>
From: Shannon <>
List: netbsd-users
Date: 01/28/2002 12:17:24
On Mon, Jan 28, 2002 at 08:39:06AM +0100, Robert Zgrzebniak wrote:
> When I try to compile mplayer in current pkgsrc it shows:
> ----------
> /usr/pkg/gcc-2.95.3/bin/cc -c -I/usr/pkgsrc/graphics/mplayer/work/.buildlink
> /include -O2 -D_THREAD_SAFE -Ilibmpdemux -Iloader -Ilibvo -I/usr/pkgsrc/grap
> hics/mplayer/work/.buildlink/include   -o dec_video.o dec_video.c
> dec_video.c: In function `init_video':
> dec_video.c:326: warning: assignment makes pointer from integer without a
> cast
> dec_video.c: In function `decode_video':
> dec_video.c:841: warning: assignment from incompatible pointer type
> /var/tmp/ccIs04z9.s: Assembler messages:
> /var/tmp/ccIs04z9.s:1390: Error: no such 386 instruction: `femms'
> gmake: *** [dec_video.o] Error 1
> *** Error code 2

Your assembler is too old or is otherwise not accepting extended CPU
instruction sets. femms is an MMX instruction if I remember correctly. I
think mplayer requires the use of the GNU assembler because /usr/bin/as
doesn't handle the newer stuff.

It would probably be a good idea to search the archives for solutions to
this problem, since it seems to be fairly common.

--  _________________________________________________
______________________/ armchairrocketscientistgraffitiexenstentialist
 "And in billows of might swell the Saxons before her,-- Unite, oh
 unite!  Or the billows burst o'er her!" -- Downfall of the Gael