100字范文,内容丰富有趣,生活中的好帮手!
100字范文 > android 编译 bison Ubuntu搭建android编译环境问题总结

android 编译 bison Ubuntu搭建android编译环境问题总结

时间:2019-12-21 03:02:07

相关推荐

android 编译 bison Ubuntu搭建android编译环境问题总结

1./bin/bash: bison: command not found

方法:sudo apt-get install bison

2. /bin/bash: xsltproc: command not found

方法:sudo apt-get install xsltproc

3./bin/bash: flex: command not found

make: *** [out/host/linux-x86/obj/EXECUTABLES/aidl_intermediates/aidl_language_l.cpp] Error 127

方法:sudo apt-get install flex

4.sh: gperf: not found

calling gperf failed: 32512 at ./makeprop.pl line 140.

方法:sudo apt-get install gperf

5.gcc: error trying to exec ‘cc1plus’: execvp: No such file or directory

方法:sudo apt-get installg++

6.collect2: error: ld terminated with signal 9

方法:需要增加ubuntu的虚拟内存。

7.In file included from /usr/include/semaphore.h:22:0,

from cts/suite/audio_quality/lib/include/Semaphore.h:21,

from cts/suite/audio_quality/lib/src/Semaphore.cpp:17:

/usr/include/features.h:323:26: fatal error: bits/predefs.h: No such file or directory

compilation terminated.

make: In file included from /usr/include/stdlib.h:25:0,

from cts/suite/audio_quality/lib/src/Adb.cpp:16:

/usr/include/features.h:323:26: fatal error: bits/predefs.h: No such file or directory

compilation terminated.

方法:sudo apt-get install libc6-dev:i386

sudo apt-get install build-essential

sudo apt-get install gcc-multilib

8./bin/sh: gcc: not found

方法:sudo apt-get install gcc,gcc是C的编译器

9.gccgcc: error trying to exec ‘cc1plus’: execvp: gcc: error trying to exec ‘No such file or directory

方法:sudo apt-get install g++,g++是C++的编译器

10./bin/bash: xmllint: command not found

方法:sudo apt-get install libxml2-utils

11.make[1]: lzma: Command not found

方法:sudo apt-get install lzma

本内容不代表本网观点和政治立场,如有侵犯你的权益请联系我们处理。
网友评论
网友评论仅供其表达个人看法,并不表明网站立场。