QQ登录

只需一步,快速开始

 找回密码
 注册

QQ登录

只需一步,快速开始

查看: 2474|回复: 2

/user/include/linux/config.h?

[复制链接]
发表于 2005-3-19 14:34:15 | 显示全部楼层 |阅读模式
为什么它里面只有两行:
#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/doc/)"

这是我在编译x11.6.8.2时发现的,编译出错,RC1好像没有这种情况。
发表于 2005-3-19 14:49:49 | 显示全部楼层
Q: Compilation of $INSERTYOURAPP failed after inclusion of linux/config.h
A: The llh package is distribution and kernel configuration agnostic therefore
   it can not provide any kernel config. In an ideal world all applications
   would have runtime detection of what kernel does and doesn't support.
   Unfortunately applications don't always do that and in some specific
   situations it's advisable to link your current kernel's config file to
   replace linux/config.h (do note, that one has to have really good reasons
   to do that, since it will probably generate more problems, than it fixes).

   That error message is there to force users to be aware of this situation.
   Distribution vendors (and most users) will most likely want to get rid of it
   by emptying the config.h file.
回复

使用道具 举报

发表于 2005-3-19 15:30:05 | 显示全部楼层
执行 ln -sf /boot/config-2.6.9 /user/include/linux/config.h
回复

使用道具 举报

您需要登录后才可以回帖 登录 | 注册

本版积分规则

GMT+8, 2024-11-30 07:21 , Processed in 0.045301 second(s), 16 queries .

© 2021 Powered by Discuz! X3.5.

快速回复 返回顶部 返回列表