标签:
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://www.cnblogs.com/jvava/p/4439063.html