交叉编译的遇到的问题

[复制链接]
1125|1
 楼主| limee 发表于 2018-11-5 10:44 | 显示全部楼层 |阅读模式
提示如下,需要查看日志

Configuration failed. This could reflect a misconfiguration of your
toolchains, improper options selected, or another problem. If you
don't see any useful error messages above, the next step is to look
at the configure error log file (config.log) to determine what
configure was trying to do when it died.


-----------------------
config.log日志如下:

# ./configure --disable-examples
Configuring selected codecs
  enabling vp8_encoder
  enabling vp8_decoder
  enabling vp9_encoder
  enabling vp9_decoder
Configuring for target 'x86-win32-gcc'
  enabling x86
check_cpp
BEGIN /tmp/vpx-conf-2360-7553.c
    1        #ifndef __ILP32__
    2        #error "not x32"
    3        #endif
END /tmp/vpx-conf-2360-7553.c
-o /tmp/vpx-conf-2360-7553.o /tmp/vpx-conf-2360-7553.c
./build/make/configure.sh: line 285: -E: command not found
  enabling runtime_cpu_detect
  enabling mmx
  enabling sse
  enabling sse2
  enabling sse3
  enabling ssse3
check_cflags -msse4
check_cc -msse4
BEGIN /tmp/vpx-conf-2360-7553.c
    1        int x;
END /tmp/vpx-conf-2360-7553.c
gcc -fno-common -m32 -msse4 -c -o /tmp/vpx-conf-2360-7553.o /tmp/vpx-conf-2360-7553.c
  enabling sse4_1
check_cflags -mavx
check_cc -mavx
BEGIN /tmp/vpx-conf-2360-7553.c
    1        int x;
END /tmp/vpx-conf-2360-7553.c
gcc -fno-common -m32 -mavx -c -o /tmp/vpx-conf-2360-7553.o /tmp/vpx-conf-2360-7553.c
  enabling avx
check_cflags -mavx2
check_cc -mavx2
BEGIN /tmp/vpx-conf-2360-7553.c
    1        int x;
END /tmp/vpx-conf-2360-7553.c
gcc -fno-common -m32 -mavx2 -c -o /tmp/vpx-conf-2360-7553.o /tmp/vpx-conf-2360-7553.c
  enabling avx2







dirtwillfly 发表于 2018-11-5 21:30 | 显示全部楼层
建议楼主先介绍一下使用的平台等信息阿,或者上下文的信息等
您需要登录后才可以回帖 登录 | 注册

本版积分规则

301

主题

475

帖子

0

粉丝
快速回复 在线客服 返回列表 返回顶部