1、/bin/bash: bison: command not found
make: ***
[out/host/linux-x86/obj/EXECUTABLES/aidl_intermediates/aidl_language_y.cpp]
Error 127
解决方法:sudo apt-get install bison
2、make: ***
[out/host/linux-x86/obj/EXECUTABLES/aidl_intermediates/aidl_language_l.cpp]
Error 127
解决方法: sudo apt-get install flex
3、make: ***
[out/target/product/generic/obj/STATIC_LIBRARIES/libwebcore_intermediates/Source/WebCore/css/CSSPropertyNames.h]
Error 25
解决方法:sudo apt-get install gperf
4、/usr/include/features.h:324:26: fatal error: bits/predefs.h:
No such file or directoryIn file included from
/home/hudan/android/source/android4.1.1/prebuilts/gcc/linux-x86/host/i686-linux-glibc2.7-4.6/bin/../sysroot/usr/include/sys/types.h:27:0,
from frameworks/native/i
我们经常在linux要查看某个文件或者软件位置,可以使用下面的一些命令来搜索:
- which 查看可执行文件的位置。
- whereis 查看二进制文件、源文件、用户页文件的位置。
- locate 配合数据库查看文件位置。
- find 实际搜寻硬盘查询文件名称。
- which
- 格式:
which [-a] filename
- 参数:
-a print all matching pathnames of
each argument
- 功能描述:
which returns the pathnames of the files (or links) which would be
exe‐ cuted in the current environment, had its arguments been given
as com‐ mands in a strictly POSIX-conformant shell. It does this by
searching the PATH for executable files matching the names of the
arguments. It does not follow symbolic links.