码迷,mamicode.com
首页 > 其他好文 > 详细

glibc

时间:2015-04-19 14:34:47      阅读:129      评论:0      收藏:0      [点我收藏+]

标签:

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

glibc

标签:

原文地址:http://www.cnblogs.com/jvava/p/4439063.html

(0)
(0)
   
举报
评论 一句话评论(0
登录后才能评论!
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!