[MPlayer-users] openbsd 3.0 compiling problems... (MPlayer-User)

pl p_l at gmx.fr
Thu Feb 21 13:03:01 CET 2002


On Thu, Feb 21, 2002 at 10:13:45AM +0100, Silasz at gmx.net wrote:
> [Automatic answer: RTFM (read DOCS, FAQ), also read DOCS/bugreports.html]
> When I try to compile Mplayer (0.60 and current) on my system (OpenBsd 3.0)
> I get this error. Can anyone tell me what my problem is. ( I am using an 1
> GHz Pentium Mobile Prozessor).
> 
> #gmake
> ...
> dec_audio.c:1239: warning: passing arg 2 of pointer to function from
> incompatible pointer type
> gcc -c -O4 -march=i686 -mcpu=i686 -pipe -ffast-math -fomit-frame-pointer
> -D_THREAD_SAFE -Ilibmpdemux -Iloader -Ilibvo   -o dec_video.o dec_video.c
> In file included from dec_video.c:8:
> /usr/include/malloc.h:4: warning: #warning "<malloc.h> is obsolete, use
> <stdlib.h>"
> dec_video.c: In function `decode_video':
> dec_video.c:1228: warning: assignment from incompatible pointer type
> {standard input}: Assembler messages:
> {standard input}:1077: Error: no such 386 instruction: `femms'
> {standard input}:1086: Error: no such 386 instruction: `emms'
> gmake: *** [dec_video.o] Error 1

These are mmx instructions your binutils package seems not to
understand. Try and disable mmx code by means of ./configure options.
Upgrading your gcc/binutils might help too.

-- 
Best regards,
  pl




More information about the MPlayer-users mailing list