首页
社区
课程
招聘
未解决 [求助]交叉编译的遇到的问题
发表于: 2018-11-5 10:22 1009

未解决 [求助]交叉编译的遇到的问题

2018-11-5 10:22
1009
提示如下,需要查看日志

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


[招生]科锐逆向工程师培训(2024年11月15日实地,远程教学同时开班, 第51期)

收藏
免费 0
支持
分享
最新回复 (1)
雪    币: 43
活跃值: (388)
能力值: ( LV9,RANK:140 )
在线值:
发帖
回帖
粉丝
2
./build/make/configure.sh: line 285: -E: command not found
-E参数多见于gcc,用于仅做预处理。这里提示没有这个命令,可能是这样:$(CC) -E xxx, 然后CC为空,导致将-E识别为命令。这样子要检查一下你的toolchain,和环境变量。
最后于 2018-11-5 15:01 被malokch编辑 ,原因:
2018-11-5 15:00
0
游客
登录 | 注册 方可回帖
返回
//