Web lists-archives.com

Re: [MPlayer-dev-eng] [PATCH 2/6] fixup compiling conflict of x86 asm header on loongson




obviously, it will die on other archs, because only x86 has file libavutil/x86/asm.h

-  header_check libavutil/x86/asm.h || die "libavutil/x86/asm.h header is required for shared FFmpeg"
+  if x86; then
+    header_check libavutil/x86/asm.h || die "libavutil/x86/asm.h header is required for shared FFmpeg"
+  fi
   def_ffmpeg='#define CONFIG_FFMPEG 1'
   if test "$ffmpeg_a" = yes ; then
     codecmodules="ffmpeg(internal) $codecmodules"

the error occur when do configure:

Checking for LIVE555 Streaming Media libraries ... no 
Checking for RTMPDump Streaming Media library ... yes 
Checking for FFmpeg ... 
Error: libavutil/x86/asm.h header is required for shared FFmpeg

Check "config.log" if you do not understand why it failed.



> -----原始邮件-----
> 发件人: "Reimar Döffinger" <Reimar.Doeffinger@xxxxxx>
> 发送时间: 2015年9月7日 星期一
> 收件人: mplayer-dev-eng@xxxxxxxxxxxx
> 抄送: 
> 主题: Re: [MPlayer-dev-eng] [PATCH 2/6] fixup compiling conflict of x86 asm header on loongson
> 
> On Wed, Sep 02, 2015 at 06:06:04PM +0800, 周晓勇 wrote:
> > From a345ab0a8a8cd7a1a10f4cd20a1156c646ae0c8d Mon Sep 17 00:00:00 2001
> > From: ZhouXiaoyong <zhouxiaoyong@xxxxxxxxxxx>
> > Date: Thu, 20 Aug 2015 16:40:55 +0800
> > Subject: [PATCH 2/6] fixup compiling conflict of x86 asm header on loongson
> 
> What kind of errors do you get?
> This include does not cause issues on all other architectures
> (ARM, PPC, ...) and I'd prefer to not have more ifdefs.

_______________________________________________
MPlayer-dev-eng mailing list
MPlayer-dev-eng@xxxxxxxxxxxx
https://lists.mplayerhq.hu/mailman/listinfo/mplayer-dev-eng