ubuntu 12.04
kernel编译
# sudo apt-get install lib32stdc++6
问题:
"mkimage" command not found - U-Boot images will not be built
解决方法:
如果使用的是Ubuntu 9.10及以上版本,可以使用下面的命令安装mkimage:
#apt-get install uboot-mkimage
--------------------------------------------------------------------------------------------------------------------------
android编译
root@ubuntu:/home/ygm/source/android#make -j4
在out/target/product/fiber-xxx/ 目录下面会生成boot.img, recovery.img, system.img 3个包。
会报错的:
You will need a 64-bit version of Ubuntu. Ubuntu 10.04 is recommended. Building using a newer version of Ubuntu is currently only experimentally supported and is not guaranteed to work on branches other than master.
apt-get install bison;
apt-get install flex;
5、OSError: [Errno 2] No such file or directory
make: *** [out/host/linux-x86/obj/SHARED_LIBRARIES/libbcc_intermediates/libbcc-stamp.c] 错误 1
make: *** 正在删除文件“out/host/linux-x86/obj/SHARED_LIBRARIES/libbcc_intermediates/libbcc-stamp.c”
make: *** 正在等待未完成的任务....
解决:sudo apt-get install git, sudo apt-get install git-core
this not slove problem
apt-get install xmllint;
apt-get install python-markdown;
so use this sudo apt-get install git-core gnupg gperf build-essential \
zip curl zlib1g-dev libc6-dev lib32ncurses5-dev ia32-libs\
x11proto-core-dev libx11-dev lib32readline5-dev lib32z-dev \
下面这些先不要装
libgl1-mesa-dev g++-multilib mingw32 tofrodos libxml2-utils xsltproc
11. /bin/bash: xmllint: command not found
方法:sudo apt-get install libxml2-utils