LinuxSir.cn,穿越时空的Linuxsir!

 找回密码
 注册
搜索
热搜: shell linux mysql
123
返回列表 发新帖
楼主: huzi

详细编译内核方法

[复制链接]
发表于 2003-12-20 10:26:08 | 显示全部楼层
啊哈,真有用.太感谢了.........
发表于 2003-12-29 10:48:44 | 显示全部楼层
我想问问System.map是怎么回事,有的文章是把它放到了/下,有的则是放到了/boot下,系统是怎么找到System.map的?
 楼主| 发表于 2004-1-6 10:25:03 | 显示全部楼层

把它放到/boot下面!

最初由 fsword 发表
我想问问System.map是怎么回事,有的文章是把它放到了/下,有的则是放到了/boot下,系统是怎么找到System.map的?


-----这么长时间了,没有想到还有这么多朋友看这个贴子。现在连2.6.0都出来了......
发表于 2004-3-2 13:37:09 | 显示全部楼层
好啊,就是看不懂啊。因为我菜啊。努力中。。。。。。。。。。:cool: :cool: :cool: :cool: :cool: :cool: :cool: :cool: :cool: :cool:
发表于 2004-11-30 10:30:28 | 显示全部楼层
感谢楼上的兄弟们!
发表于 2004-11-30 10:45:09 | 显示全部楼层
[php]
--------------
*** End of Linux kernel configuration.
*** Execute 'make' to build the kernel or try 'make help'.

[root@dbtest linux-2.6.0]# make
  CHK     include/linux/version.h
  UPD     include/linux/version.h
  SYMLINK include/asm -> include/asm-i386
  HOSTCC  scripts/genksyms/genksyms.o
  SHIPPED scripts/genksyms/lex.c
  SHIPPED scripts/genksyms/parse.h
  SHIPPED scripts/genksyms/keywords.c
  HOSTCC  scripts/genksyms/lex.o
  SHIPPED scripts/genksyms/parse.c
  HOSTCC  scripts/genksyms/parse.o
  HOSTLD  scripts/genksyms/genksyms
  HOSTCC  scripts/split-include
  HOSTCC  scripts/conmakehash
  HOSTCC  scripts/docproc
  HOSTCC  scripts/kallsyms
  CC      scripts/empty.o
  HOSTCC  scripts/mk_elfconfig
  MKELF   scripts/elfconfig.h
  HOSTCC  scripts/file2alias.o
  HOSTCC  scripts/modpost.o
  HOSTLD  scripts/modpost
  HOSTCC  scripts/pnmtologo
  HOSTCC  scripts/bin2c
  SPLIT   include/linux/autoconf.h -> include/config/*
  CHK     include/asm-i386/asm_offsets.h
  UPD     include/asm-i386/asm_offsets.h
  CC      init/main.o
In file included from include/asm/system.h:5,
                 from include/asm/processor.h:18,
                 from include/asm/thread_info.h:13,
                 from include/linux/thread_info.h:21,
                 from include/linux/spinlock.h:12,
                 from include/linux/capability.h:45,
                 from include/linux/sched.h:7,
                 from include/linux/module.h:10,
                 from init/main.c:15:
include/linux/kernel.h:10:20: stdarg.h: 没有那个æ-‡ä»æˆ-目录
In file included from include/asm/system.h:5,
                 from include/asm/processor.h:18,
                 from include/asm/thread_info.h:13,
                 from include/linux/thread_info.h:21,
                 from include/linux/spinlock.h:12,
                 from include/linux/capability.h:45,
                 from include/linux/sched.h:7,
                 from include/linux/module.h:10,
                 from init/main.c:15:
include/linux/kernel.h:71: parse error before "va_list"
include/linux/kernel.h:71: warning: function declaration isn't a prototype
include/linux/kernel.h:74: parse error before "va_list"
include/linux/kernel.h:74: warning: function declaration isn't a prototype
include/linux/kernel.h:78: parse error before "va_list"
include/linux/kernel.h:78: warning: function declaration isn't a prototype
make[1]: *** [init/main.o] Error 1
make: *** [init] Error 2
[/php]
我编译的时候出错了,那位给看看 RH9
发表于 2004-11-30 10:46:56 | 显示全部楼层
最初由 sqlnet 发表

--------------
*** End of Linux kernel configuration.
*** Execute 'make' to build the kernel or try 'make help'.

[root@dbtest linux-2.6.0]# make
  CHK     include/linux/version.h
  UPD     include/linux/version.h
  SYMLINK include/asm -> include/asm-i386
  HOSTCC  scripts/genksyms/genksyms.o
  SHIPPED scripts/genksyms/lex.c
  SHIPPED scripts/genksyms/parse.h
  SHIPPED scripts/genksyms/keywords.c
  HOSTCC  scripts/genksyms/lex.o
  SHIPPED scripts/genksyms/parse.c
  HOSTCC  scripts/genksyms/parse.o
  HOSTLD  scripts/genksyms/genksyms
  HOSTCC  scripts/split-include
  HOSTCC  scripts/conmakehash
  HOSTCC  scripts/docproc
  HOSTCC  scripts/kallsyms
  CC      scripts/empty.o
  HOSTCC  scripts/mk_elfconfig
  MKELF   scripts/elfconfig.h
  HOSTCC  scripts/file2alias.o
  HOSTCC  scripts/modpost.o
  HOSTLD  scripts/modpost
  HOSTCC  scripts/pnmtologo
  HOSTCC  scripts/bin2c
  SPLIT   include/linux/autoconf.h -> include/config/*
  CHK     include/asm-i386/asm_offsets.h
  UPD     include/asm-i386/asm_offsets.h
  CC      init/main.o
In file included from include/asm/system.h:5,
                 from include/asm/processor.h:18,
                 from include/asm/thread_info.h:13,
                 from include/linux/thread_info.h:21,
                 from include/linux/spinlock.h:12,
                 from include/linux/capability.h:45,
                 from include/linux/sched.h:7,
                 from include/linux/module.h:10,
                 from init/main.c:15:
include/linux/kernel.h:10:20: stdarg.h: 没有那个æ-‡ä»æˆ-目录
In file included from include/asm/system.h:5,
                 from include/asm/processor.h:18,
                 from include/asm/thread_info.h:13,
                 from include/linux/thread_info.h:21,
                 from include/linux/spinlock.h:12,
                 from include/linux/capability.h:45,
                 from include/linux/sched.h:7,
                 from include/linux/module.h:10,
                 from init/main.c:15:
include/linux/kernel.h:71: parse error before "va_list"
include/linux/kernel.h:71: warning: function declaration isn't a prototype
include/linux/kernel.h:74: parse error before "va_list"
include/linux/kernel.h:74: warning: function declaration isn't a prototype
include/linux/kernel.h:78: parse error before "va_list"
include/linux/kernel.h:78: warning: function declaration isn't a prototype
make[1]: *** [init/main.o] Error 1
make: *** [init] Error 2
我编译的时候出错了,那位给看看 RH9
一句话说不清 该用户已被删除
发表于 2004-11-30 23:54:10 | 显示全部楼层
提示: 作者被禁止或删除 内容自动屏蔽
发表于 2005-9-26 15:23:31 | 显示全部楼层
高手啊,佩服佩服~
回复 支持 反对

使用道具 举报

发表于 2005-10-11 14:34:09 | 显示全部楼层
顶^_^黄叶 ^_^
回复 支持 反对

使用道具 举报

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

本版积分规则

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