|
rm -rf asm linux scsi ln -s /usr/src/linux/include/asm-i386 asm ln -s /usr/src/linux/include/linux linux ln -s /usr/src/linux/include/scsi scsi 确认一下已经不存在陈旧的.o文件和互相依赖关系: cd /usr/src/linux make mrproper 现在你应该已经正确配置完安装了。 配置内核: 运行“make config”命令形成基本的内核。“make config”命令需要在bash下工作:它会在$PATH变量中搜索bash,是否有/bin/bash 和/bin/sh,所以希望它们中的某一个已经正确被配置。 另外可选择的构造命令有: “make menuconfig” 基于彩色菜单、选择列表和对话框的文本配置工具。 “make xconfig” X界面下的配置构造工具。 NOTES on "make config": - having unnecessary drivers will make the kernel bigger, and can under some circumstances lead to problems: probing for a nonexistent controller card may confuse your other controllers - compiling the kernel with "Processor type" set higher than 386 will result in a kernel that does NOT work on a 386. The kernel will detect this on bootup, and give up. - A kernel with math-emulation compiled in will still use the coprocessor if one is present: the math emulation will just never get used in that case. The kernel will be slightly larger, but will work on different machines regardless of whether they have a math coprocessor or not. - the "kernel hacking" configuration details usually result in a bigger or slower kernel (or both), and can even make the kernel less stable by configuring some routines to actively try to break bad code to find kernel problems (kmalloc()). Thus you should probably answer ''''n'''' to the questions for a "production" kernel. 为进一步的位置依赖配置检查一下顶级的Makefile。 上一页 [1] [2] [3] [4] 下一页 [Web开发]修改dede v5.7版本网站地图与rss存放路径 [C语言系列]C# 和 Linux 时间戳转换 [Web开发]PHP flock文件锁介绍 [Web开发]flock() Linux下的文件锁 [电脑应用]Linux下的六个免费的虚拟主机管理系统介绍 [电脑应用]Linux数据库大比拚 [操作系统]在Windows中玩转Linux操作系统 [办公软件]如何让低版本的Office也能顺利编辑2007文档 [电脑技术]操作系统版本、BIOS和主板芯片组是如何限制大硬盘… [电脑技术]如何在线更新Windows补丁程序(升级IE到更高的版本…
|