|
|
好象我每次都会出错,每次错误都不一样.
大概半年多没怎么碰过linux了,我觉得我要与兄弟们彻底失去联系了。所以咬了好几天牙,作了
一个lfs6.1,然后在编译xorg的时候出错了.具体:
lfs6.1+blfs-svn-20050829
编译到xorg的时候(package name:X11R6.8.2-src.tar.bz2)
某一个(n个?)地方会用到include <linux/config.h>
而linux-libc-headers里面带的config.h是空的.
确切地说,是有这么2句话:
#error "Compilation aborted. Please read the FAQ for linux-libc-headers package..
"
#error "(can be found at http://ep09.pld-linux.org/~mmazur/linux-libc-headers/doo
c/)"
这样,当调用到它的时候,程序就出错了。
解决办法:
cp xc/programs/xfs/os/config.h /usr/include/linux/
覆盖掉这个破config.h |
|