打印

交叉编译的遇到的问题

[复制链接]
1034|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

粉丝