日期:2014-05-16  浏览次数:20851 次

交叉编译glibc出错(mips-linux)
交叉编译glibc出错:
checking build system type... i686-pc-linux-gnu
checking host system type... mips-unknown-linux-gnu
configure: running configure fragment for add-on linuxthreads,配置脚本如下:

用的是下列源码包(未列举完全):
glibc-2.8.tar.gz    glibc-ports-2.8.tar.gz   binutils-2.19.tar.gz     gcc-4.3.3.tar.bz2      glibc-linuxthreads-2.3.2.tar.gz
希望得到各位大虾的指点,thank you in advance!
------解决方案--------------------
看一下错误信息,如果是configure,可以看一下config.log里的信息,还有上网查询一下依赖关系。
------解决方案--------------------
configure 中增加 --build=i686-pc-linux-gnu 试试
------解决方案--------------------
提示需要 nptl 组件,建议你去官网找个教程,一步步做吧
------解决方案--------------------
http://www.ibm.com/developerworks/cn/linux/l-threading.html
Linux 线程模型的比较:LinuxThreads 和 NPTL
------解决方案--------------------
http://hezhao2000.blog.163.com/blog/static/1224363672012101253110848/