http://www.cnblogs.com/vipzrx/p/3599506.html
原因
wheezy是2.13,编译android4.4 需要2.14的,报错如下:
rebuilts/gcc/linux-x86/arm/arm-linux-androideabi-4.8-linaro/bin/arm-linux-androideabi-gcc: /lib/x86_64-linux-gnu/libc.so.6: version `GLIBC_2.14' not found (required by prebuilts/gcc/linux-x86/arm/arm-linux-androideabi-4.8-linaro/bin/arm-linux-androideabi-gcc)
所以需要升级glibc
出现问题:
出现这个是因为在/etc/apt/sources.list中没有添加testing的源
E: The value 'testing' is invalid for APT::Default-Release as such a release is not available in the sources
升级步骤:
1 添加163的testing的源
#testing
deb http://mirrors.163.com/debian/ testing contrib main non-free
deb-src http://mirrors.163.com/debian/ testing contrib main non-free
2 刷新源
jb@e3v2:~$ sudo apt-get update
3 升级glibc
jb@e3v2:~$ sudo apt-get -t testing install libc6-dev
http://stackoverflow.com/questions/20032019/to-install-ia32-libs-on-debian-wheezy-amd64
sudo dpkg --add-architecture i386
sudo apt-get update
sudo aptitude install ia32-libs