LinuxSir.cn,穿越时空的Linuxsir!

 找回密码
 注册
搜索
热搜: shell linux mysql
查看: 699|回复: 3

rh9下编译内核出错?

[复制链接]
发表于 2004-12-7 20:05:10 | 显示全部楼层 |阅读模式
--------------
*** 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
[root@dbtest linux-2.6.0]#

请问该怎么解决,谢谢
发表于 2004-12-7 21:10:51 | 显示全部楼层
没有那个æ-‡ä»æˆ-目录
这一坨是什么东西啊?
编译内核前先切到英文
export LANG=en
发表于 2004-12-8 19:45:40 | 显示全部楼层
内核是2.6的嗎?
 楼主| 发表于 2004-12-9 15:35:43 | 显示全部楼层
最初由 弥敦路九号 发表
没有那个æ-‡ä»æˆ-目录
这一坨是什么东西啊?
编译内核前先切到英文
export LANG=en


切到英文后还是抱错啊
您需要登录后才可以回帖 登录 | 注册

本版积分规则

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