当前时区为 UTC + 8 小时



发表新帖 回复这个主题  [ 3 篇帖子 ] 
作者 内容
1 楼 
 文章标题 : make mrproper error
帖子发表于 : 2008-10-08 9:47 

注册: 2008-08-14 16:18
帖子: 9
送出感谢: 0 次
接收感谢: 0 次
Hello, all:
I want to compile linux 2.6.10 kernel source, but i am stunk when excute "make mrproper" command.
-------------------------------------------
thomas@thomas-ubuntu7:~/Desktop/usagi/kernel/linux26$ make mrproper
grep: /usr/include/bits/stat.h: No such file or directory

thomas@thomas-ubuntu7:~/Desktop/usagi/kernel/linux26$ pwd
/home/thomas/Desktop/usagi/kernel/linux26
thomas@thomas-ubuntu7:~/Desktop/usagi/kernel/linux26$ uname -a
Linux thomas-ubuntu7 2.6.20-15-generic #2 SMP Sun Apr 15 07:36:31 UTC 2007 i686 GNU/Linux
--------------------------------------------------------
Have anybody got any idea about this?
Any help appreciates.
Thomas An


页首
 用户资料  
 
2 楼 
 文章标题 : Re: make mrproper error
帖子发表于 : 2008-10-08 10:17 
头像

注册: 2007-01-15 17:15
帖子: 3766
送出感谢: 0 次
接收感谢: 0 次
引用:
grep: /usr/include/bits/stat.h: No such file or directory

seems the compiling envirment ... this file is part of the GNU C Library

代码:
sudo apt-get install build-essential
sudo apt-get install libc6-dev libstdc++


页首
 用户资料  
 
3 楼 
 文章标题 : Re: make mrproper error
帖子发表于 : 2008-10-08 17:57 

注册: 2008-08-14 16:18
帖子: 9
送出感谢: 0 次
接收感谢: 0 次
thank you iblicf.
your way is ok!
but when i proceed to execute "make", it occurs such error:
-------------------
thomas@thomas-ubuntu7:/mnt/sda2/usagi/kernel/linux26$ make
CHK include/linux/version.h
make[1]: `arch/i386/kernel/asm-offsets.s' is up to date.
CHK include/asm-i386/asm_offsets.h
CHK include/linux/compile.h
CHK usr/initramfs_list
drivers/atm/../../include/asm/byteorder.h:5:28: error: linux/compiler.h: No such file or directory
CC drivers/eisa/eisa-bus.o
cc1: warnings being treated as errors
In file included from include/asm/mpspec.h:5,
from include/asm/smp.h:18,
from include/linux/smp.h:17,
from include/linux/sched.h:23,
from include/linux/module.h:10,
from include/linux/device.h:20,
from drivers/eisa/eisa-bus.c:10:
include/asm/mpspec_def.h:78: warning: ‘packed’ attribute ignored for field of type ‘unsigned char[6]’
drivers/eisa/eisa-bus.c:421: warning: pointer targets in initialization differ in signedness
drivers/eisa/eisa-bus.c:422: warning: pointer targets in initialization differ in signedness
make[2]: *** [drivers/eisa/eisa-bus.o] Error 1
make[1]: *** [drivers/eisa] Error 2
make: *** [drivers] Error 2
-------------------------------------
could you give me some suggestion? thanks very much!


页首
 用户资料  
 
显示帖子 :  排序  
发表新帖 回复这个主题  [ 3 篇帖子 ] 

当前时区为 UTC + 8 小时


在线用户

正在浏览此版面的用户:没有注册用户 和 4 位游客


不能 在这个版面发表主题
不能 在这个版面回复主题
不能 在这个版面编辑帖子
不能 在这个版面删除帖子
不能 在这个版面提交附件

前往 :  
本站点为公益性站点,用于推广开源自由软件,由 DiaHosting VPSBudgetVM VPS 提供服务。
我们认为:软件应可免费取得,软件工具在各种语言环境下皆可使用,且不会有任何功能上的差异;
人们应有定制和修改软件的自由,且方式不受限制,只要他们自认为合适。

Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group
简体中文语系由 王笑宇 翻译