免费注册 查看新帖 |

Chinaunix

  平台 论坛 博客 文库
最近访问板块 发新帖
查看: 2890 | 回复: 2
打印 上一主题 下一主题

[系统安装] centos 7源码安装mplayer播放器出错,帮忙看报错信息 [复制链接]

论坛徽章:
1
2015年迎新春徽章
日期:2015-03-04 10:16:53
跳转到指定楼层
1 [收藏(0)] [报告]
发表于 2016-12-23 20:09 |只看该作者 |倒序浏览
按照本教程http://blog.csdn.net/u010048823/article/details/51292544来作的实验,在./config这一步中失败了,报错信息如下:
  1. [root@shizongger MPlayer-1.3.0]# ./configure
  2. Checking for ffmpeg/libavcodec/allcodecs.c ... found
  3. Checking for ffmpeg/libavformat/allformats.c ... found
  4. Checking for ffmpeg/libavfilter/allfilters.c ... found
  5. Checking for cc version ... 4.8.5
  6. Checking for working compiler ... yes
  7. Detected operating system: Linux
  8. Detected host architecture: x86_64
  9. Checking for cross compilation ... no
  10. Checking for host cc ... cc
  11. Checking for CPU vendor ... GenuineIntel (6:42:7)
  12. Checking for CPU type ...  Intel(R) Core(TM) i5-2450M CPU @ 2.50GHz
  13. Checking for kernel support of mmx ... yes
  14. Checking for kernel support of mmxext ... yes
  15. Checking for kernel support of sse ... yes
  16. Checking for kernel support of sse2 ... yes
  17. Checking for kernel support of sse3 ... yes
  18. Checking for kernel support of ssse3 ... yes
  19. Checking for kernel support of sse4_1 ... yes
  20. Checking for kernel support of sse4_2 ... yes
  21. Checking for kernel support of avx ... yes
  22. Checking for kernel support of cmov ... yes
  23. Checking for mtrr support ... yes
  24. Checking for GCC & CPU optimization abilities ... native
  25. Checking for byte order ... little-endian
  26. Checking for extern symbol prefix ...  
  27. Checking for assembler support of -pipe option ... yes
  28. Checking for relocatable binary ... yes (fast PIC)
  29. Checking for PIC ... yes
  30. Checking for .align is a power of two ... no
  31. Checking for ebx availability ... yes
  32. Checking for yasm ...
  33. Error: yasm not found, use --yasm='' if you really want to compile without

  34. Check "config.log" if you do not understand why it failed.
复制代码
然后我打开了config.log查看报错信息,如下:
  1. [root@shizongger MPlayer-1.3.0]# cat config.log
  2. configuration:

  3. ============ Checking for ffmpeg/libavcodec/allcodecs.c ============
  4. Result is: found
  5. ##########################################

  6. ============ Checking for ffmpeg/libavformat/allformats.c ============
  7. Result is: found
  8. ##########################################

  9. ============ Checking for ffmpeg/libavfilter/allfilters.c ============
  10. Result is: found
  11. ##########################################

  12. ============ Checking for cc version ============
  13. Result is: 4.8.5
  14. ##########################################



  15. #if !(defined(__MINGW32__))
  16. #error condition not true: defined(__MINGW32__)
  17. #endif
  18. int main(void) { return 0; }

  19. cc    /tmp/mplayer-configure-18137-8829/tmp.c      -o /tmp/mplayer-configure-18137-8829/tmp  
  20. /tmp/mplayer-configure-18137-8829/tmp.c:3:2: error: #error condition not true: defined(__MINGW32__)
  21. #error condition not true: defined(__MINGW32__)
  22.   ^


  23. ============ Checking for working compiler ============

  24. int main(void) { return 0; }

  25. cc    /tmp/mplayer-configure-18137-8829/tmp.c      -o /tmp/mplayer-configure-18137-8829/tmp  



  26. int main(void) { return 0; }

  27. cc    /tmp/mplayer-configure-18137-8829/tmp.c      -o /tmp/mplayer-configure-18137-8829/tmp -lm



  28. int main(void) {
  29.     int test[(int)sizeof(char *)-7];
  30.     return 0;
  31. }

  32. cc    /tmp/mplayer-configure-18137-8829/tmp.c      -o /tmp/mplayer-configure-18137-8829/tmp  -lm


  33. ============ Checking for cross compilation ============

  34. int main(void) { return 0; }

  35. cc    /tmp/mplayer-configure-18137-8829/tmp.c      -o /tmp/mplayer-configure-18137-8829/tmp  -lm


  36. Result is: no
  37. ##########################################

  38. ============ Checking for host cc ============
  39. Result is: cc
  40. ##########################################

  41. ============ Checking for CPU vendor ============
  42. Result is: GenuineIntel (6:42:7)
  43. ##########################################

  44. ============ Checking for CPU type ============
  45. Result is:  Intel(R) Core(TM) i5-2450M CPU @ 2.50GHz
  46. ##########################################

  47. ============ Checking for kernel support of mmx ============

  48. #include <stdlib.h>
  49. #include <signal.h>
  50. static void catch(int sig) { exit(1); }
  51. int main(void) {
  52.   signal(SIGILL, catch);
  53.   __asm__ volatile ("emms":::"memory"); return 0;
  54. }

  55. cc    /tmp/mplayer-configure-18137-8829/tmp.c      -o /tmp/mplayer-configure-18137-8829/tmp  -lm


  56. Result is: yes
  57. ##########################################

  58. ============ Checking for kernel support of mmxext ============

  59. #include <stdlib.h>
  60. #include <signal.h>
  61. static void catch(int sig) { exit(1); }
  62. int main(void) {
  63.   signal(SIGILL, catch);
  64.   __asm__ volatile ("sfence":::"memory"); return 0;
  65. }

  66. cc    /tmp/mplayer-configure-18137-8829/tmp.c      -o /tmp/mplayer-configure-18137-8829/tmp  -lm


  67. Result is: yes
  68. ##########################################

  69. ============ Checking for kernel support of sse ============

  70. #include <stdlib.h>
  71. #include <signal.h>
  72. static void catch(int sig) { exit(1); }
  73. int main(void) {
  74.   signal(SIGILL, catch);
  75.   __asm__ volatile ("xorps %%xmm0, %%xmm0":::"memory"); return 0;
  76. }

  77. cc    /tmp/mplayer-configure-18137-8829/tmp.c      -o /tmp/mplayer-configure-18137-8829/tmp  -lm


  78. Result is: yes
  79. ##########################################

  80. ============ Checking for kernel support of sse2 ============

  81. #include <stdlib.h>
  82. #include <signal.h>
  83. static void catch(int sig) { exit(1); }
  84. int main(void) {
  85.   signal(SIGILL, catch);
  86.   __asm__ volatile ("xorpd %%xmm0, %%xmm0":::"memory"); return 0;
  87. }

  88. cc    /tmp/mplayer-configure-18137-8829/tmp.c      -o /tmp/mplayer-configure-18137-8829/tmp  -lm


  89. Result is: yes
  90. ##########################################

  91. ============ Checking for kernel support of sse3 ============

  92. #include <stdlib.h>
  93. #include <signal.h>
  94. static void catch(int sig) { exit(1); }
  95. int main(void) {
  96.   signal(SIGILL, catch);
  97.   __asm__ volatile ("addsubps %%xmm0, %%xmm0":::"memory"); return 0;
  98. }

  99. cc    /tmp/mplayer-configure-18137-8829/tmp.c      -o /tmp/mplayer-configure-18137-8829/tmp  -lm


  100. Result is: yes
  101. ##########################################

  102. ============ Checking for kernel support of ssse3 ============

  103. #include <stdlib.h>
  104. #include <signal.h>
  105. static void catch(int sig) { exit(1); }
  106. int main(void) {
  107.   signal(SIGILL, catch);
  108.   __asm__ volatile ("pabsd %%xmm0, %%xmm0":::"memory"); return 0;
  109. }

  110. cc    /tmp/mplayer-configure-18137-8829/tmp.c      -o /tmp/mplayer-configure-18137-8829/tmp  -lm


  111. Result is: yes
  112. ##########################################

  113. ============ Checking for kernel support of sse4_1 ============

  114. #include <stdlib.h>
  115. #include <signal.h>
  116. static void catch(int sig) { exit(1); }
  117. int main(void) {
  118.   signal(SIGILL, catch);
  119.   __asm__ volatile ("pmaxsb %%xmm0, %%xmm0":::"memory"); return 0;
  120. }

  121. cc    /tmp/mplayer-configure-18137-8829/tmp.c      -o /tmp/mplayer-configure-18137-8829/tmp  -lm


  122. Result is: yes
  123. ##########################################

  124. ============ Checking for kernel support of sse4_2 ============

  125. #include <stdlib.h>
  126. #include <signal.h>
  127. static void catch(int sig) { exit(1); }
  128. int main(void) {
  129.   signal(SIGILL, catch);
  130.   __asm__ volatile ("pcmpgtq %%xmm0, %%xmm0":::"memory"); return 0;
  131. }

  132. cc    /tmp/mplayer-configure-18137-8829/tmp.c      -o /tmp/mplayer-configure-18137-8829/tmp  -lm


  133. Result is: yes
  134. ##########################################

  135. ============ Checking for kernel support of avx ============

  136. #include <stdlib.h>
  137. #include <signal.h>
  138. static void catch(int sig) { exit(1); }
  139. int main(void) {
  140.   signal(SIGILL, catch);
  141.   __asm__ volatile ("vpabsw %%xmm0, %%xmm0":::"memory"); return 0;
  142. }

  143. cc    /tmp/mplayer-configure-18137-8829/tmp.c      -o /tmp/mplayer-configure-18137-8829/tmp  -lm


  144. Result is: yes
  145. ##########################################

  146. ============ Checking for kernel support of cmov ============

  147. #include <stdlib.h>
  148. #include <signal.h>
  149. static void catch(int sig) { exit(1); }
  150. int main(void) {
  151.   signal(SIGILL, catch);
  152.   __asm__ volatile ("cmovb %%eax,  %%ebx":::"memory"); return 0;
  153. }

  154. cc    /tmp/mplayer-configure-18137-8829/tmp.c      -o /tmp/mplayer-configure-18137-8829/tmp  -lm


  155. Result is: yes
  156. ##########################################

  157. ============ Checking for mtrr support ============
  158. Result is: yes
  159. ##########################################

  160. ============ Checking for GCC & CPU optimization abilities ============

  161. int main(void) { return 0; }

  162. cc    /tmp/mplayer-configure-18137-8829/tmp.c      -o /tmp/mplayer-configure-18137-8829/tmp -march=native -lm


  163. Result is: native
  164. ##########################################

  165. ============ Checking for byte order ============

  166. short ascii_name[] = {
  167.   'M' << 8 | 'P', 'l' << 8 | 'a', 'y' << 8 | 'e', 'r' << 8 | 'B',
  168.   'i' << 8 | 'g', 'E' << 8 | 'n', 'd' << 8 | 'i', 'a' << 8 | 'n', 0 };
  169. int main(void) { return (long)ascii_name; }

  170. cc    /tmp/mplayer-configure-18137-8829/tmp.c      -o /tmp/mplayer-configure-18137-8829/tmp  -lm


  171. Result is: little-endian
  172. ##########################################

  173. ============ Checking for extern symbol prefix ============

  174. int ff_extern;

  175. cc    /tmp/mplayer-configure-18137-8829/tmp.c      -o /tmp/mplayer-configure-18137-8829/tmp -c -lm


  176. Result is:  
  177. ##########################################

  178. ============ Checking for assembler support of -pipe option ============

  179. int main(void) { return 0; }

  180. cc    /tmp/mplayer-configure-18137-8829/tmp.c      -o /tmp/mplayer-configure-18137-8829/tmp -pipe -I. -lm


  181. Result is: yes
  182. ##########################################


  183. #include <features.h>
  184. #if !(defined __GLIBC__)
  185. #error condition not true: defined __GLIBC__
  186. #endif
  187. int main(void) { return 0; }

  188. cc -Wall -Wno-switch -Wno-parentheses -Wpointer-arith -Wredundant-decls -Werror=format-security -Werror-implicit-function-declaration -D_ISOC99_SOURCE -I. -Iffmpeg -O4 -march=native -mtune=native -pipe -ffast-math -fomit-frame-pointer /tmp/mplayer-configure-18137-8829/tmp.c    -ffast-math   -o /tmp/mplayer-configure-18137-8829/tmp  -lm



  189. int main(void) { return 0; }

  190. cc -Wall -Wno-switch -Wno-parentheses -Wpointer-arith -Wredundant-decls -Werror=format-security -Werror-implicit-function-declaration -D_POSIX_C_SOURCE=200112 -D_XOPEN_SOURCE=600 -D_ISOC99_SOURCE -I. -Iffmpeg -O4 -march=native -mtune=native -pipe -ffast-math -fomit-frame-pointer /tmp/mplayer-configure-18137-8829/tmp.c    -ffast-math   -o /tmp/mplayer-configure-18137-8829/tmp -fno-tree-vectorize -lm



  191. int main(void) { return 0; }

  192. cc -Wall -Wno-switch -Wno-parentheses -Wpointer-arith -Wredundant-decls -Werror=format-security -Werror-implicit-function-declaration -D_POSIX_C_SOURCE=200112 -D_XOPEN_SOURCE=600 -D_ISOC99_SOURCE -I. -Iffmpeg -O4 -march=native -mtune=native -pipe -ffast-math -fomit-frame-pointer -fno-tree-vectorize /tmp/mplayer-configure-18137-8829/tmp.c    -ffast-math   -o /tmp/mplayer-configure-18137-8829/tmp -Wundef -lm



  193. int main(void) { return 0; }

  194. cc -Wundef -Wall -Wno-switch -Wno-parentheses -Wpointer-arith -Wredundant-decls -Werror=format-security -Werror-implicit-function-declaration -D_POSIX_C_SOURCE=200112 -D_XOPEN_SOURCE=600 -D_ISOC99_SOURCE -I. -Iffmpeg -O4 -march=native -mtune=native -pipe -ffast-math -fomit-frame-pointer -fno-tree-vectorize /tmp/mplayer-configure-18137-8829/tmp.c    -ffast-math   -o /tmp/mplayer-configure-18137-8829/tmp -std=gnu99 -lm



  195. int main(void) { return 0; }

  196. cc -Wundef -Wall -Wno-switch -Wno-parentheses -Wpointer-arith -Wredundant-decls -Werror=format-security -std=gnu99 -Werror-implicit-function-declaration -D_POSIX_C_SOURCE=200112 -D_XOPEN_SOURCE=600 -D_ISOC99_SOURCE -I. -Iffmpeg -O4 -march=native -mtune=native -pipe -ffast-math -fomit-frame-pointer -fno-tree-vectorize /tmp/mplayer-configure-18137-8829/tmp.c    -ffast-math   -o /tmp/mplayer-configure-18137-8829/tmp -Wdeclaration-after-statement -lm



  197. int main(void) { return 0; }

  198. cc -Wundef -Wall -Wno-switch -Wno-parentheses -Wpointer-arith -Wredundant-decls -Werror=format-security -Wdeclaration-after-statement -std=gnu99 -Werror-implicit-function-declaration -D_POSIX_C_SOURCE=200112 -D_XOPEN_SOURCE=600 -D_ISOC99_SOURCE -I. -Iffmpeg -O4 -march=native -mtune=native -pipe -ffast-math -fomit-frame-pointer -fno-tree-vectorize /tmp/mplayer-configure-18137-8829/tmp.c    -ffast-math   -o /tmp/mplayer-configure-18137-8829/tmp -Wno-pointer-sign -lm



  199. int main(void) { return 0; }

  200. cc -Wundef -Wall -Wno-switch -Wno-parentheses -Wpointer-arith -Wredundant-decls -Werror=format-security -Wno-pointer-sign -Wdeclaration-after-statement -std=gnu99 -Werror-implicit-function-declaration -D_POSIX_C_SOURCE=200112 -D_XOPEN_SOURCE=600 -D_ISOC99_SOURCE -I. -Iffmpeg -O4 -march=native -mtune=native -pipe -ffast-math -fomit-frame-pointer -fno-tree-vectorize /tmp/mplayer-configure-18137-8829/tmp.c    -ffast-math   -o /tmp/mplayer-configure-18137-8829/tmp -Wdisabled-optimization -lm



  201. int main(void) { return 0; }

  202. cc -Wundef -Wall -Wno-switch -Wno-parentheses -Wpointer-arith -Wredundant-decls -Werror=format-security -Wdisabled-optimization -Wno-pointer-sign -Wdeclaration-after-statement -std=gnu99 -Werror-implicit-function-declaration -D_POSIX_C_SOURCE=200112 -D_XOPEN_SOURCE=600 -D_ISOC99_SOURCE -I. -Iffmpeg -O4 -march=native -mtune=native -pipe -ffast-math -fomit-frame-pointer -fno-tree-vectorize /tmp/mplayer-configure-18137-8829/tmp.c    -ffast-math   -o /tmp/mplayer-configure-18137-8829/tmp -Wmissing-prototypes -lm



  203. int main(void) { return 0; }

  204. cc -Wundef -Wall -Wno-switch -Wno-parentheses -Wpointer-arith -Wredundant-decls -Werror=format-security -Wmissing-prototypes -Wdisabled-optimization -Wno-pointer-sign -Wdeclaration-after-statement -std=gnu99 -Werror-implicit-function-declaration -D_POSIX_C_SOURCE=200112 -D_XOPEN_SOURCE=600 -D_ISOC99_SOURCE -I. -Iffmpeg -O4 -march=native -mtune=native -pipe -ffast-math -fomit-frame-pointer -fno-tree-vectorize /tmp/mplayer-configure-18137-8829/tmp.c    -ffast-math   -o /tmp/mplayer-configure-18137-8829/tmp -Wstrict-prototypes -lm



  205. int main(void) { return 0; }

  206. cc -Wundef -Wall -Wno-switch -Wno-parentheses -Wpointer-arith -Wredundant-decls -Werror=format-security -Wstrict-prototypes -Wmissing-prototypes -Wdisabled-optimization -Wno-pointer-sign -Wdeclaration-after-statement -std=gnu99 -Werror-implicit-function-declaration -D_POSIX_C_SOURCE=200112 -D_XOPEN_SOURCE=600 -D_ISOC99_SOURCE -I. -Iffmpeg -O4 -march=native -mtune=native -pipe -ffast-math -fomit-frame-pointer -fno-tree-vectorize /tmp/mplayer-configure-18137-8829/tmp.c    -ffast-math   -o /tmp/mplayer-configure-18137-8829/tmp -fno-asynchronous-unwind-tables -lm



  207. int main(void) { return 0; }

  208. cc -Wundef -Wall -Wno-switch -Wno-parentheses -Wpointer-arith -Wredundant-decls -Werror=format-security -Wstrict-prototypes -Wmissing-prototypes -Wdisabled-optimization -Wno-pointer-sign -Wdeclaration-after-statement -std=gnu99 -Werror-implicit-function-declaration -D_POSIX_C_SOURCE=200112 -D_XOPEN_SOURCE=600 -D_ISOC99_SOURCE -I. -Iffmpeg -O4 -march=native -mtune=native -pipe -ffast-math -fomit-frame-pointer -fno-tree-vectorize -fno-asynchronous-unwind-tables /tmp/mplayer-configure-18137-8829/tmp.c    -ffast-math   -o /tmp/mplayer-configure-18137-8829/tmp -mno-omit-leaf-frame-pointer -lm



  209. int main(void) { return 0; }

  210. cc -Wundef -Wall -Wno-switch -Wno-parentheses -Wpointer-arith -Wredundant-decls -Werror=format-security -Wstrict-prototypes -Wmissing-prototypes -Wdisabled-optimization -Wno-pointer-sign -Wdeclaration-after-statement -std=gnu99 -Werror-implicit-function-declaration -D_POSIX_C_SOURCE=200112 -D_XOPEN_SOURCE=600 -D_ISOC99_SOURCE -I. -Iffmpeg -O4 -march=native -mtune=native -pipe -ffast-math -fomit-frame-pointer -fno-tree-vectorize -fno-asynchronous-unwind-tables /tmp/mplayer-configure-18137-8829/tmp.c    -ffast-math   -o /tmp/mplayer-configure-18137-8829/tmp -MMD -MP -lm


  211. ============ Checking for relocatable binary ============

  212. int main(void) { return 0; }

  213. cc -Wundef -Wall -Wno-switch -Wno-parentheses -Wpointer-arith -Wredundant-decls -Werror=format-security -Wstrict-prototypes -Wmissing-prototypes -Wdisabled-optimization -Wno-pointer-sign -Wdeclaration-after-statement -std=gnu99 -Werror-implicit-function-declaration -D_POSIX_C_SOURCE=200112 -D_XOPEN_SOURCE=600 -D_ISOC99_SOURCE -I. -Iffmpeg -O4 -march=native -mtune=native -pipe -ffast-math -fomit-frame-pointer -fno-tree-vectorize -fno-asynchronous-unwind-tables /tmp/mplayer-configure-18137-8829/tmp.c    -ffast-math   -o /tmp/mplayer-configure-18137-8829/tmp -fpie -pie -lm


  214. Result is: yes (fast PIC)
  215. ##########################################

  216. ============ Checking for PIC ============


  217. #if !(defined(__PIC__) || defined(__pic__) || defined(PIC))
  218. #error condition not true: defined(__PIC__) || defined(__pic__) || defined(PIC)
  219. #endif
  220. int main(void) { return 0; }

  221. cc -Wundef -Wall -Wno-switch -Wno-parentheses -Wpointer-arith -Wredundant-decls -Werror=format-security -Wstrict-prototypes -Wmissing-prototypes -Wdisabled-optimization -Wno-pointer-sign -Wdeclaration-after-statement -std=gnu99 -Werror-implicit-function-declaration -D_POSIX_C_SOURCE=200112 -D_XOPEN_SOURCE=600 -D_ISOC99_SOURCE -I. -Iffmpeg -O4 -march=native -mtune=native -pipe -ffast-math -fomit-frame-pointer -fno-tree-vectorize -fno-asynchronous-unwind-tables /tmp/mplayer-configure-18137-8829/tmp.c  -fpie   -ffast-math -fpie -pie   -o /tmp/mplayer-configure-18137-8829/tmp  -lm


  222. Result is: yes
  223. ##########################################


  224. int main(void) { __asm__ volatile ("mov (%eax), %eax"); return 0; }

  225. cc -Wundef -Wall -Wno-switch -Wno-parentheses -Wpointer-arith -Wredundant-decls -Werror=format-security -Wstrict-prototypes -Wmissing-prototypes -Wdisabled-optimization -Wno-pointer-sign -Wdeclaration-after-statement -std=gnu99 -Werror-implicit-function-declaration -D_POSIX_C_SOURCE=200112 -D_XOPEN_SOURCE=600 -D_ISOC99_SOURCE -I. -Iffmpeg -O4 -march=native -mtune=native -pipe -ffast-math -fomit-frame-pointer -fno-tree-vectorize -fno-asynchronous-unwind-tables /tmp/mplayer-configure-18137-8829/tmp.c  -fpie -DPIC   -ffast-math -fpie -pie   -o /tmp/mplayer-configure-18137-8829/tmp  -lm


  226. ============ Checking for .align is a power of two ============

  227. int main(void) { __asm__ volatile (".align 3"); return 0; }

  228. cc -Wundef -Wall -Wno-switch -Wno-parentheses -Wpointer-arith -Wredundant-decls -Werror=format-security -Wstrict-prototypes -Wmissing-prototypes -Wdisabled-optimization -Wno-pointer-sign -Wdeclaration-after-statement -std=gnu99 -Werror-implicit-function-declaration -D_POSIX_C_SOURCE=200112 -D_XOPEN_SOURCE=600 -D_ISOC99_SOURCE -I. -Iffmpeg -O4 -march=native -mtune=native -pipe -ffast-math -fomit-frame-pointer -fno-tree-vectorize -fno-asynchronous-unwind-tables /tmp/mplayer-configure-18137-8829/tmp.c  -fpie -DPIC   -ffast-math -fpie -pie   -o /tmp/mplayer-configure-18137-8829/tmp  -lm
  229. /tmp/mplayer-configure-18137-8829/tmp.c: Assembler messages:
  230. /tmp/mplayer-configure-18137-8829/tmp.c:1: Error: alignment not a power of 2


  231. Result is: no
  232. ##########################################

  233. ============ Checking for ebx availability ============

  234. int main(void) {
  235.     int x;
  236.     __asm__ volatile(
  237.         "xor %0, %0"
  238.         :"=b"(x)
  239.         // just adding ebx to clobber list seems unreliable with some
  240.         // compilers, e.g. Haiku's gcc 2.95
  241.     );
  242.     // and the above check does not work for OSX 64 bit...
  243.     __asm__ volatile("":::"%ebx");
  244.     return 0;
  245. }

  246. cc -Wundef -Wall -Wno-switch -Wno-parentheses -Wpointer-arith -Wredundant-decls -Werror=format-security -Wstrict-prototypes -Wmissing-prototypes -Wdisabled-optimization -Wno-pointer-sign -Wdeclaration-after-statement -std=gnu99 -Werror-implicit-function-declaration -D_POSIX_C_SOURCE=200112 -D_XOPEN_SOURCE=600 -D_ISOC99_SOURCE -I. -Iffmpeg -O4 -march=native -mtune=native -pipe -ffast-math -fomit-frame-pointer -fno-tree-vectorize -fno-asynchronous-unwind-tables /tmp/mplayer-configure-18137-8829/tmp.c  -fpie -DPIC   -ffast-math -fpie -pie   -o /tmp/mplayer-configure-18137-8829/tmp  -lm


  247. Result is: yes
  248. ##########################################

  249. ============ Checking for yasm ============

  250. pextrd [eax], xmm0, 1

  251. yasm -f elf  -DPIC -m amd64 -o /tmp/mplayer-configure-18137-8829/tmp /tmp/mplayer-configure-18137-8829/tmp.S
  252. ./configure: line 186: yasm: command not found



  253. pextrd [eax], xmm0, 1

  254. yasm -f elf64  -DPIC -o /tmp/mplayer-configure-18137-8829/tmp /tmp/mplayer-configure-18137-8829/tmp.S
  255. ./configure: line 186: yasm: command not found


  256. [root@shizongger MPlayer-1.3.0]# cat config.log |more
  257. configuration:

  258. ============ Checking for ffmpeg/libavcodec/allcodecs.c ============
  259. Result is: found
  260. ##########################################

  261. ============ Checking for ffmpeg/libavformat/allformats.c ============
  262. Result is: found
  263. ##########################################

  264. ============ Checking for ffmpeg/libavfilter/allfilters.c ============
  265. Result is: found
  266. ##########################################

  267. ============ Checking for cc version ============
  268. Result is: 4.8.5
  269. ##########################################



  270. #if !(defined(__MINGW32__))
  271. #error condition not true: defined(__MINGW32__)
  272. #endif
  273. int main(void) { return 0; }

  274. cc    /tmp/mplayer-configure-18137-8829/tmp.c      -o /tmp/mplayer-configure-18137-8829/tmp  
  275. /tmp/mplayer-configure-18137-8829/tmp.c:3:2: error: #error condition not true: defined(__MINGW32__)
  276. #error condition not true: defined(__MINGW32__)
  277.   ^


  278. ============ Checking for working compiler ============

  279. int main(void) { return 0; }

  280. cc    /tmp/mplayer-configure-18137-8829/tmp.c      -o /tmp/mplayer-configure-18137-8829/tmp  



  281. int main(void) { return 0; }

  282. cc    /tmp/mplayer-configure-18137-8829/tmp.c      -o /tmp/mplayer-configure-18137-8829/tmp -lm



  283. int main(void) {
  284.     int test[(int)sizeof(char *)-7];
  285.     return 0;
  286. }

  287. cc    /tmp/mplayer-configure-18137-8829/tmp.c      -o /tmp/mplayer-configure-18137-8829/tmp  -lm


  288. ============ Checking for cross compilation ============

  289. int main(void) { return 0; }

  290. cc    /tmp/mplayer-configure-18137-8829/tmp.c      -o /tmp/mplayer-configure-18137-8829/tmp  -lm


  291. Result is: no
  292. ##########################################

  293. ============ Checking for host cc ============
  294. Result is: cc
  295. ##########################################

  296. ============ Checking for CPU vendor ============
  297. Result is: GenuineIntel (6:42:7)
  298. ##########################################

  299. ============ Checking for CPU type ============
  300. Result is:  Intel(R) Core(TM) i5-2450M CPU @ 2.50GHz
  301. ##########################################

  302. ============ Checking for kernel support of mmx ============

  303. #include <stdlib.h>
  304. #include <signal.h>
  305. static void catch(int sig) { exit(1); }
  306. int main(void) {
  307.   signal(SIGILL, catch);
  308.   __asm__ volatile ("emms":::"memory"); return 0;
  309. }

  310. cc    /tmp/mplayer-configure-18137-8829/tmp.c      -o /tmp/mplayer-configure-18137-8829/tmp  -lm


  311. Result is: yes
  312. ##########################################

  313. ============ Checking for kernel support of mmxext ============

  314. #include <stdlib.h>
  315. #include <signal.h>
  316. static void catch(int sig) { exit(1); }
  317. int main(void) {
  318.   signal(SIGILL, catch);
  319.   __asm__ volatile ("sfence":::"memory"); return 0;
  320. }

  321. cc    /tmp/mplayer-configure-18137-8829/tmp.c      -o /tmp/mplayer-configure-18137-8829/tmp  -lm


  322. Result is: yes
  323. ##########################################

  324. ============ Checking for kernel support of sse ============

  325. #include <stdlib.h>
  326. #include <signal.h>
  327. static void catch(int sig) { exit(1); }
  328. int main(void) {
  329.   signal(SIGILL, catch);
  330.   __asm__ volatile ("xorps %%xmm0, %%xmm0":::"memory"); return 0;
  331. }

  332. cc    /tmp/mplayer-configure-18137-8829/tmp.c      -o /tmp/mplayer-configure-18137-8829/tmp  -lm


  333. Result is: yes
  334. ##########################################

  335. ============ Checking for kernel support of sse2 ============

  336. #include <stdlib.h>
  337. #include <signal.h>
  338. static void catch(int sig) { exit(1); }
  339. int main(void) {
  340.   signal(SIGILL, catch);
  341.   __asm__ volatile ("xorpd %%xmm0, %%xmm0":::"memory"); return 0;
  342. }

  343. cc    /tmp/mplayer-configure-18137-8829/tmp.c      -o /tmp/mplayer-configure-18137-8829/tmp  -lm


  344. Result is: yes
  345. ##########################################

  346. ============ Checking for kernel support of sse3 ============

  347. #include <stdlib.h>
  348. #include <signal.h>
  349. static void catch(int sig) { exit(1); }
  350. int main(void) {
  351.   signal(SIGILL, catch);
  352.   __asm__ volatile ("addsubps %%xmm0, %%xmm0":::"memory"); return 0;
  353. }

  354. cc    /tmp/mplayer-configure-18137-8829/tmp.c      -o /tmp/mplayer-configure-18137-8829/tmp  -lm


  355. Result is: yes
  356. ##########################################

  357. ============ Checking for kernel support of ssse3 ============

  358. #include <stdlib.h>
  359. #include <signal.h>
  360. static void catch(int sig) { exit(1); }
  361. int main(void) {
  362.   signal(SIGILL, catch);
  363.   __asm__ volatile ("pabsd %%xmm0, %%xmm0":::"memory"); return 0;
  364. }

  365. cc    /tmp/mplayer-configure-18137-8829/tmp.c      -o /tmp/mplayer-configure-18137-8829/tmp  -lm


  366. Result is: yes
  367. ##########################################

  368. ============ Checking for kernel support of sse4_1 ============

  369. #include <stdlib.h>
  370. #include <signal.h>
  371. static void catch(int sig) { exit(1); }
  372. int main(void) {
  373.   signal(SIGILL, catch);
  374.   __asm__ volatile ("pmaxsb %%xmm0, %%xmm0":::"memory"); return 0;
  375. }

  376. cc    /tmp/mplayer-configure-18137-8829/tmp.c      -o /tmp/mplayer-configure-18137-8829/tmp  -lm


  377. Result is: yes
  378. ##########################################

  379. ============ Checking for kernel support of sse4_2 ============

  380. #include <stdlib.h>
  381. #include <signal.h>
  382. static void catch(int sig) { exit(1); }
  383. int main(void) {
  384.   signal(SIGILL, catch);
  385.   __asm__ volatile ("pcmpgtq %%xmm0, %%xmm0":::"memory"); return 0;
  386. }

  387. cc    /tmp/mplayer-configure-18137-8829/tmp.c      -o /tmp/mplayer-configure-18137-8829/tmp  -lm


  388. Result is: yes
  389. ##########################################

  390. ============ Checking for kernel support of avx ============

  391. #include <stdlib.h>
  392. #include <signal.h>
  393. static void catch(int sig) { exit(1); }
  394. int main(void) {
  395.   signal(SIGILL, catch);
  396.   __asm__ volatile ("vpabsw %%xmm0, %%xmm0":::"memory"); return 0;
  397. }

  398. cc    /tmp/mplayer-configure-18137-8829/tmp.c      -o /tmp/mplayer-configure-18137-8829/tmp  -lm


  399. Result is: yes
  400. ##########################################

  401. ============ Checking for kernel support of cmov ============

  402. #include <stdlib.h>
  403. #include <signal.h>
  404. static void catch(int sig) { exit(1); }
  405. int main(void) {
  406.   signal(SIGILL, catch);
  407.   __asm__ volatile ("cmovb %%eax,  %%ebx":::"memory"); return 0;
  408. }

  409. cc    /tmp/mplayer-configure-18137-8829/tmp.c      -o /tmp/mplayer-configure-18137-8829/tmp  -lm


  410. Result is: yes
  411. ##########################################

  412. ============ Checking for mtrr support ============
  413. Result is: yes
  414. ##########################################

  415. ============ Checking for GCC & CPU optimization abilities ============

  416. int main(void) { return 0; }

  417. cc    /tmp/mplayer-configure-18137-8829/tmp.c      -o /tmp/mplayer-configure-18137-8829/tmp -march=native -lm


  418. Result is: native
  419. ##########################################

  420. ============ Checking for byte order ============

  421. short ascii_name[] = {
  422.   'M' << 8 | 'P', 'l' << 8 | 'a', 'y' << 8 | 'e', 'r' << 8 | 'B',
  423.   'i' << 8 | 'g', 'E' << 8 | 'n', 'd' << 8 | 'i', 'a' << 8 | 'n', 0 };
  424. int main(void) { return (long)ascii_name; }

  425. cc    /tmp/mplayer-configure-18137-8829/tmp.c      -o /tmp/mplayer-configure-18137-8829/tmp  -lm


  426. Result is: little-endian
  427. ##########################################

  428. ============ Checking for extern symbol prefix ============

  429. int ff_extern;

  430. cc    /tmp/mplayer-configure-18137-8829/tmp.c      -o /tmp/mplayer-configure-18137-8829/tmp -c -lm


  431. Result is:  
  432. ##########################################

  433. ============ Checking for assembler support of -pipe option ============

  434. int main(void) { return 0; }

  435. cc    /tmp/mplayer-configure-18137-8829/tmp.c      -o /tmp/mplayer-configure-18137-8829/tmp -pipe -I. -lm


  436. Result is: yes
  437. ##########################################


  438. #include <features.h>
  439. #if !(defined __GLIBC__)
  440. #error condition not true: defined __GLIBC__
  441. #endif
  442. int main(void) { return 0; }

  443. cc -Wall -Wno-switch -Wno-parentheses -Wpointer-arith -Wredundant-decls -Werror=format-security -Werror-implicit-function-declaration -D_ISOC99_SOURCE
  444. -I. -Iffmpeg -O4 -march=native -mtune=native -pipe -ffast-math -fomit-frame-pointer /tmp/mplayer-configure-18137-8829/tmp.c    -ffast-math   -o /tmp/
  445. mplayer-configure-18137-8829/tmp  -lm



  446. int main(void) { return 0; }

  447. cc -Wall -Wno-switch -Wno-parentheses -Wpointer-arith -Wredundant-decls -Werror=format-security -Werror-implicit-function-declaration -D_POSIX_C_SOURC
  448. E=200112 -D_XOPEN_SOURCE=600 -D_ISOC99_SOURCE -I. -Iffmpeg -O4 -march=native -mtune=native -pipe -ffast-math -fomit-frame-pointer /tmp/mplayer-configu
  449. re-18137-8829/tmp.c    -ffast-math   -o /tmp/mplayer-configure-18137-8829/tmp -fno-tree-vectorize -lm



  450. int main(void) { return 0; }

  451. cc -Wall -Wno-switch -Wno-parentheses -Wpointer-arith -Wredundant-decls -Werror=format-security -Werror-implicit-function-declaration -D_POSIX_C_SOURC
  452. E=200112 -D_XOPEN_SOURCE=600 -D_ISOC99_SOURCE -I. -Iffmpeg -O4 -march=native -mtune=native -pipe -ffast-math -fomit-frame-pointer -fno-tree-vectorize
  453. /tmp/mplayer-configure-18137-8829/tmp.c    -ffast-math   -o /tmp/mplayer-configure-18137-8829/tmp -Wundef -lm



  454. int main(void) { return 0; }

  455. cc -Wundef -Wall -Wno-switch -Wno-parentheses -Wpointer-arith -Wredundant-decls -Werror=format-security -Werror-implicit-function-declaration -D_POSIX
  456. _C_SOURCE=200112 -D_XOPEN_SOURCE=600 -D_ISOC99_SOURCE -I. -Iffmpeg -O4 -march=native -mtune=native -pipe -ffast-math -fomit-frame-pointer -fno-tree-ve
  457. ctorize /tmp/mplayer-configure-18137-8829/tmp.c    -ffast-math   -o /tmp/mplayer-configure-18137-8829/tmp -std=gnu99 -lm



  458. int main(void) { return 0; }

  459. cc -Wundef -Wall -Wno-switch -Wno-parentheses -Wpointer-arith -Wredundant-decls -Werror=format-security -std=gnu99 -Werror-implicit-function-declarati
  460. on -D_POSIX_C_SOURCE=200112 -D_XOPEN_SOURCE=600 -D_ISOC99_SOURCE -I. -Iffmpeg -O4 -march=native -mtune=native -pipe -ffast-math -fomit-frame-pointer -
  461. fno-tree-vectorize /tmp/mplayer-configure-18137-8829/tmp.c    -ffast-math   -o /tmp/mplayer-configure-18137-8829/tmp -Wdeclaration-after-statement -lm



  462. int main(void) { return 0; }

  463. cc -Wundef -Wall -Wno-switch -Wno-parentheses -Wpointer-arith -Wredundant-decls -Werror=format-security -Wdeclaration-after-statement -std=gnu99 -Werr
  464. or-implicit-function-declaration -D_POSIX_C_SOURCE=200112 -D_XOPEN_SOURCE=600 -D_ISOC99_SOURCE -I. -Iffmpeg -O4 -march=native -mtune=native -pipe -ffa
  465. st-math -fomit-frame-pointer -fno-tree-vectorize /tmp/mplayer-configure-18137-8829/tmp.c    -ffast-math   -o /tmp/mplayer-configure-18137-8829/tmp -Wn
  466. o-pointer-sign -lm



  467. int main(void) { return 0; }

  468. cc -Wundef -Wall -Wno-switch -Wno-parentheses -Wpointer-arith -Wredundant-decls -Werror=format-security -Wno-pointer-sign -Wdeclaration-after-statemen
  469. t -std=gnu99 -Werror-implicit-function-declaration -D_POSIX_C_SOURCE=200112 -D_XOPEN_SOURCE=600 -D_ISOC99_SOURCE -I. -Iffmpeg -O4 -march=native -mtune
  470. =native -pipe -ffast-math -fomit-frame-pointer -fno-tree-vectorize /tmp/mplayer-configure-18137-8829/tmp.c    -ffast-math   -o /tmp/mplayer-configure-
  471. 18137-8829/tmp -Wdisabled-optimization -lm



  472. int main(void) { return 0; }

  473. cc -Wundef -Wall -Wno-switch -Wno-parentheses -Wpointer-arith -Wredundant-decls -Werror=format-security -Wdisabled-optimization -Wno-pointer-sign -Wde
  474. claration-after-statement -std=gnu99 -Werror-implicit-function-declaration -D_POSIX_C_SOURCE=200112 -D_XOPEN_SOURCE=600 -D_ISOC99_SOURCE -I. -Iffmpeg
  475. -O4 -march=native -mtune=native -pipe -ffast-math -fomit-frame-pointer -fno-tree-vectorize /tmp/mplayer-configure-18137-8829/tmp.c    -ffast-math   -o
  476. /tmp/mplayer-configure-18137-8829/tmp -Wmissing-prototypes -lm



  477. int main(void) { return 0; }

  478. cc -Wundef -Wall -Wno-switch -Wno-parentheses -Wpointer-arith -Wredundant-decls -Werror=format-security -Wmissing-prototypes -Wdisabled-optimization -
  479. Wno-pointer-sign -Wdeclaration-after-statement -std=gnu99 -Werror-implicit-function-declaration -D_POSIX_C_SOURCE=200112 -D_XOPEN_SOURCE=600 -D_ISOC99
  480. _SOURCE -I. -Iffmpeg -O4 -march=native -mtune=native -pipe -ffast-math -fomit-frame-pointer -fno-tree-vectorize /tmp/mplayer-configure-18137-8829/tmp.
  481. c    -ffast-math   -o /tmp/mplayer-configure-18137-8829/tmp -Wstrict-prototypes -lm



  482. int main(void) { return 0; }

  483. cc -Wundef -Wall -Wno-switch -Wno-parentheses -Wpointer-arith -Wredundant-decls -Werror=format-security -Wstrict-prototypes -Wmissing-prototypes -Wdis
  484. abled-optimization -Wno-pointer-sign -Wdeclaration-after-statement -std=gnu99 -Werror-implicit-function-declaration -D_POSIX_C_SOURCE=200112 -D_XOPEN_
  485. SOURCE=600 -D_ISOC99_SOURCE -I. -Iffmpeg -O4 -march=native -mtune=native -pipe -ffast-math -fomit-frame-pointer -fno-tree-vectorize /tmp/mplayer-confi
  486. gure-18137-8829/tmp.c    -ffast-math   -o /tmp/mplayer-configure-18137-8829/tmp -fno-asynchronous-unwind-tables -lm



  487. int main(void) { return 0; }

  488. cc -Wundef -Wall -Wno-switch -Wno-parentheses -Wpointer-arith -Wredundant-decls -Werror=format-security -Wstrict-prototypes -Wmissing-prototypes -Wdis
  489. abled-optimization -Wno-pointer-sign -Wdeclaration-after-statement -std=gnu99 -Werror-implicit-function-declaration -D_POSIX_C_SOURCE=200112 -D_XOPEN_
  490. SOURCE=600 -D_ISOC99_SOURCE -I. -Iffmpeg -O4 -march=native -mtune=native -pipe -ffast-math -fomit-frame-pointer -fno-tree-vectorize -fno-asynchronous-
  491. unwind-tables /tmp/mplayer-configure-18137-8829/tmp.c    -ffast-math   -o /tmp/mplayer-configure-18137-8829/tmp -mno-omit-leaf-frame-pointer -lm



  492. int main(void) { return 0; }

  493. cc -Wundef -Wall -Wno-switch -Wno-parentheses -Wpointer-arith -Wredundant-decls -Werror=format-security -Wstrict-prototypes -Wmissing-prototypes -Wdis
  494. abled-optimization -Wno-pointer-sign -Wdeclaration-after-statement -std=gnu99 -Werror-implicit-function-declaration -D_POSIX_C_SOURCE=200112 -D_XOPEN_
  495. SOURCE=600 -D_ISOC99_SOURCE -I. -Iffmpeg -O4 -march=native -mtune=native -pipe -ffast-math -fomit-frame-pointer -fno-tree-vectorize -fno-asynchronous-
  496. unwind-tables /tmp/mplayer-configure-18137-8829/tmp.c    -ffast-math   -o /tmp/mplayer-configure-18137-8829/tmp -MMD -MP -lm


  497. ============ Checking for relocatable binary ============

  498. int main(void) { return 0; }

  499. cc -Wundef -Wall -Wno-switch -Wno-parentheses -Wpointer-arith -Wredundant-decls -Werror=format-security -Wstrict-prototypes -Wmissing-prototypes -Wdis
  500. abled-optimization -Wno-pointer-sign -Wdeclaration-after-statement -std=gnu99 -Werror-implicit-function-declaration -D_POSIX_C_SOURCE=200112 -D_XOPEN_
  501. SOURCE=600 -D_ISOC99_SOURCE -I. -Iffmpeg -O4 -march=native -mtune=native -pipe -ffast-math -fomit-frame-pointer -fno-tree-vectorize -fno-asynchronous-
  502. unwind-tables /tmp/mplayer-configure-18137-8829/tmp.c    -ffast-math   -o /tmp/mplayer-configure-18137-8829/tmp -fpie -pie -lm


  503. Result is: yes (fast PIC)
  504. ##########################################

  505. ============ Checking for PIC ============


  506. #if !(defined(__PIC__) || defined(__pic__) || defined(PIC))
  507. #error condition not true: defined(__PIC__) || defined(__pic__) || defined(PIC)
  508. #endif
  509. int main(void) { return 0; }

  510. cc -Wundef -Wall -Wno-switch -Wno-parentheses -Wpointer-arith -Wredundant-decls -Werror=format-security -Wstrict-prototypes -Wmissing-prototypes -Wdis
  511. abled-optimization -Wno-pointer-sign -Wdeclaration-after-statement -std=gnu99 -Werror-implicit-function-declaration -D_POSIX_C_SOURCE=200112 -D_XOPEN_
  512. SOURCE=600 -D_ISOC99_SOURCE -I. -Iffmpeg -O4 -march=native -mtune=native -pipe -ffast-math -fomit-frame-pointer -fno-tree-vectorize -fno-asynchronous-
  513. unwind-tables /tmp/mplayer-configure-18137-8829/tmp.c  -fpie   -ffast-math -fpie -pie   -o /tmp/mplayer-configure-18137-8829/tmp  -lm


  514. Result is: yes
  515. ##########################################


  516. int main(void) { __asm__ volatile ("mov (%eax), %eax"); return 0; }

  517. cc -Wundef -Wall -Wno-switch -Wno-parentheses -Wpointer-arith -Wredundant-decls -Werror=format-security -Wstrict-prototypes -Wmissing-prototypes -Wdis
  518. abled-optimization -Wno-pointer-sign -Wdeclaration-after-statement -std=gnu99 -Werror-implicit-function-declaration -D_POSIX_C_SOURCE=200112 -D_XOPEN_
  519. SOURCE=600 -D_ISOC99_SOURCE -I. -Iffmpeg -O4 -march=native -mtune=native -pipe -ffast-math -fomit-frame-pointer -fno-tree-vectorize -fno-asynchronous-
  520. unwind-tables /tmp/mplayer-configure-18137-8829/tmp.c  -fpie -DPIC   -ffast-math -fpie -pie   -o /tmp/mplayer-configure-18137-8829/tmp  -lm


  521. ============ Checking for .align is a power of two ============

  522. int main(void) { __asm__ volatile (".align 3"); return 0; }

  523. cc -Wundef -Wall -Wno-switch -Wno-parentheses -Wpointer-arith -Wredundant-decls -Werror=format-security -Wstrict-prototypes -Wmissing-prototypes -Wdis
  524. abled-optimization -Wno-pointer-sign -Wdeclaration-after-statement -std=gnu99 -Werror-implicit-function-declaration -D_POSIX_C_SOURCE=200112 -D_XOPEN_
  525. SOURCE=600 -D_ISOC99_SOURCE -I. -Iffmpeg -O4 -march=native -mtune=native -pipe -ffast-math -fomit-frame-pointer -fno-tree-vectorize -fno-asynchronous-
  526. unwind-tables /tmp/mplayer-configure-18137-8829/tmp.c  -fpie -DPIC   -ffast-math -fpie -pie   -o /tmp/mplayer-configure-18137-8829/tmp  -lm
  527. /tmp/mplayer-configure-18137-8829/tmp.c: Assembler messages:
  528. /tmp/mplayer-configure-18137-8829/tmp.c:1: Error: alignment not a power of 2


  529. Result is: no
  530. ##########################################

  531. ============ Checking for ebx availability ============

  532. int main(void) {
  533.     int x;
  534.     __asm__ volatile(
  535.         "xor %0, %0"
  536.         :"=b"(x)
  537.         // just adding ebx to clobber list seems unreliable with some
  538.         // compilers, e.g. Haiku's gcc 2.95
  539.     );
  540.     // and the above check does not work for OSX 64 bit...
  541.     __asm__ volatile("":::"%ebx");
  542.     return 0;
  543. }

  544. cc -Wundef -Wall -Wno-switch -Wno-parentheses -Wpointer-arith -Wredundant-decls -Werror=format-security -Wstrict-prototypes -Wmissing-prototypes -Wdis
  545. abled-optimization -Wno-pointer-sign -Wdeclaration-after-statement -std=gnu99 -Werror-implicit-function-declaration -D_POSIX_C_SOURCE=200112 -D_XOPEN_
  546. SOURCE=600 -D_ISOC99_SOURCE -I. -Iffmpeg -O4 -march=native -mtune=native -pipe -ffast-math -fomit-frame-pointer -fno-tree-vectorize -fno-asynchronous-
  547. unwind-tables /tmp/mplayer-configure-18137-8829/tmp.c  -fpie -DPIC   -ffast-math -fpie -pie   -o /tmp/mplayer-configure-18137-8829/tmp  -lm


  548. Result is: yes
  549. ##########################################

  550. ============ Checking for yasm ============

  551. pextrd [eax], xmm0, 1

  552. yasm -f elf  -DPIC -m amd64 -o /tmp/mplayer-configure-18137-8829/tmp /tmp/mplayer-configure-18137-8829/tmp.S
  553. ./configure: line 186: yasm: command not found



  554. pextrd [eax], xmm0, 1

  555. yasm -f elf64  -DPIC -o /tmp/mplayer-configure-18137-8829/tmp /tmp/mplayer-configure-18137-8829/tmp.S
  556. ./configure: line 186: yasm: command not found
复制代码

我知道报错信息很长,但是还是劳烦大神帮忙看看是怎么回事儿!


论坛徽章:
17
巨蟹座
日期:2014-11-20 23:04:5215-16赛季CBA联赛之北控
日期:2018-08-01 16:08:4015-16赛季CBA联赛之浙江
日期:2017-12-08 11:25:2415-16赛季CBA联赛之四川
日期:2016-11-21 00:16:50操作系统版块每日发帖之星
日期:2016-07-28 06:20:0015-16赛季CBA联赛之吉林
日期:2016-05-25 15:36:04操作系统版块每日发帖之星
日期:2016-02-12 06:20:002015亚冠之西悉尼流浪者
日期:2015-08-28 14:48:322015亚冠之平阳省
日期:2015-08-19 14:54:162015亚冠之武里南联
日期:2015-07-07 10:49:112015亚冠之城南
日期:2015-06-22 10:15:002015亚冠之山东鲁能
日期:2015-06-18 18:03:44
2 [报告]
发表于 2016-12-26 13:04 |只看该作者
yasm没装啊,另外如果你是打算练习一下源码安装,建议别用mplayer试手,这个程序依赖的东西很多很杂,不是适合新手入门

论坛徽章:
0
3 [报告]
发表于 2017-01-08 22:31 |只看该作者
yasm没装。报错就按错误找。这是Linux的基本能力呀!
您需要登录后才可以回帖 登录 | 注册

本版积分规则 发表回复

  

北京盛拓优讯信息技术有限公司. 版权所有 京ICP备16024965号-6 北京市公安局海淀分局网监中心备案编号:11010802020122 niuxiaotong@pcpop.com 17352615567
未成年举报专区
中国互联网协会会员  联系我们:huangweiwei@itpub.net
感谢所有关心和支持过ChinaUnix的朋友们 转载本站内容请注明原作者名及出处

清除 Cookies - ChinaUnix - Archiver - WAP - TOP