12 2008 档案

摘要:1 an error during the compilation of binutils sudo apt-get install texinfo2 last time, following command gets a file not exist message, however, this time gets nothing. No news is good news, I hope.s... 阅读全文
posted @ 2008-12-20 19:22 雨纷飞 阅读(192) 评论(0) 推荐(0)
摘要:1 rewrite source list file. /etc/apt/sources.list2 build a development environment sudo apt-get install build-essentialdeb http://cn.archive.ubuntu.com/ubuntu hardy main restricted universe multivers... 阅读全文
posted @ 2008-12-20 16:10 雨纷飞 阅读(183) 评论(0) 推荐(0)
摘要:查看搜索路径ld --verbose | grep SEARCHSEARCH_DIR("/tools/i686-pc-linux-gnu/lib"); SEARCH_DIR("/tools/lib");1 修改binutils-build/ld Makefile。#LIB_PATH = /tools/libLIB_PATH = /tools/i686-pc-linux-gnu/lib:/tools... 阅读全文
posted @ 2008-12-16 22:06 雨纷飞 阅读(1433) 评论(0) 推荐(0)
摘要:make > makeresult 2>&1makeresult是要重定向到的文件名,这样可以把所有的输出到屏幕的信息输入到制定文件。 阅读全文
posted @ 2008-12-16 11:41 雨纷飞 阅读(388) 评论(0) 推荐(0)
摘要:glibc 编译错误。No rule to make target /media/lfs/sources/glibc-build/dlfcn/libdl.so, needed by /media/lfs/sources/glibc-build/malloc/libmemusage.so。#部分是dlfcn/Makefile libdl.so前面的注释。DT_NEEDED 信息表示应用程序使用的,但... 阅读全文
posted @ 2008-12-15 09:18 雨纷飞 阅读(1932) 评论(0) 推荐(0)
摘要:/bin/sh: cannot create ../sysdeps/gnu/errlist.c-tmp: Permission denied修改文件用户组 chown chown -R lfs\: glibc-2.8-20080929最上面的错误是这样引起的,解压缩文件的时候使用的是另外一个用户名,解压到了lfs的目录;当使用lfs用户名进行编译的时候,就出现了错误。 最合适的解决方法就是利用ch... 阅读全文
posted @ 2008-12-06 10:47 雨纷飞 阅读(291) 评论(0) 推荐(0)
摘要:mawk: scripts/gen-sorted.awk: line 19: syntax error at or near ] line 19 正则表达式错误 [^\] 改为 [\^] That is not suitable. Just install the right package. Above changes may cause other problems. apt-get ... 阅读全文
posted @ 2008-12-06 10:27 雨纷飞 阅读(223) 评论(0) 推荐(0)
摘要:GCC的编译时间很长,可能长达4-5个小时。如果中期强制停止了编译,以后又重新编译,这样可能导致整个编译失败,结果是校验错误,即前面的版本和后面编译的文件时间不同。解决这类问题一种方法是,中间过程不要停止编译。如果编译被强制停止了,那么就重新做所有的工作,包括重新confige,重新生成Makefile。最好呢,废弃原来的文件夹,重新生成编译文件夹,rm -rf gcc-build... 阅读全文
posted @ 2008-12-06 09:33 雨纷飞 阅读(450) 评论(0) 推荐(0)
摘要:第一遍编译binutils,一下是错误信息。 WARNING: `makeinfo' is missing on your system. You should only need it if you modified a `.texi' or `.texinfo' file, or any other file indirectly affecting th... 阅读全文
posted @ 2008-12-02 21:14 雨纷飞 阅读(1023) 评论(0) 推荐(0)
摘要:利用fdisk分区工具修改分区时,不小心颠倒了分区的顺序,把sd7变成了sd6,或者其他的。导致系统无法正常引导启动。grub启动时,会显示引导的是(hd0,6),好像linux分区不是这个。在错误提示界面,无法进入任何系统,本机是xp和Ubuntu双系统。以下是在网上搜索的解决方案。 搜索一下,照做,OK. 使用Ubuntu Live CD启动后,打开终端命令行 $sudo grub ... 阅读全文
posted @ 2008-12-02 20:33 雨纷飞 阅读(935) 评论(0) 推荐(0)