打印本文 打印本文 关闭窗口 关闭窗口
Linux 内核 版本 2.0.xx
作者:武汉SEO闵涛  文章来源:敏韬网  点击数2791  更新时间:2009/4/22 20:45:36  文章录入:mintao  责任编辑:mintao
                        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]  下一页

打印本文 打印本文 关闭窗口 关闭窗口