ubuntu环境下编译内核详解

编译打包和其他
zzxxer
帖子: 21
注册时间: 2011-02-28 17:41

Re: ubuntu环境下编译内核详解

#61

帖子 zzxxer » 2011-05-20 14:30

我sudo make-kpkg -initrd --initrd --append-to-version=dell1400 kernel_image kernel-headers时,发生:

Unknown option: i
Unknown option: n
Unknown option: i
Unknown option: t
Unknown option: r
Unknown option: d
use --help to display command line syntax help.
。。。。。。。
执行不下去了,,请高手指教 :em03
头像
IvanHan0511
帖子: 79
注册时间: 2009-08-25 21:06
来自: 魔王寨

Re: ubuntu环境下编译内核详解

#62

帖子 IvanHan0511 » 2011-06-03 14:41

Mark
渐渐地开始真正了解Ubuntu精神了
RaebLoocMai
帖子: 81
注册时间: 2011-06-09 22:17

Re: ubuntu环境下编译内核详解

#63

帖子 RaebLoocMai » 2011-06-09 23:10

这个回头需要学习一下
soledadboy
帖子: 25
注册时间: 2010-11-08 11:28

Re: ubuntu环境下编译内核详解

#64

帖子 soledadboy » 2011-08-29 10:17

飘过..~
头像
qq420100523
帖子: 1684
注册时间: 2009-07-31 18:56
系统: windows、ubuntu
来自: 广东阳江

Re: ubuntu环境下编译内核详解

#65

帖子 qq420100523 » 2011-10-26 0:37

标记,学习。。
jinniye
帖子: 4
注册时间: 2011-12-06 14:56

Re: ubuntu环境下编译内核详解

#66

帖子 jinniye » 2011-12-06 15:02

我试过很多遍不同的方法,很想知道,为什么总是提示我 mount:mounting /dev/disk/by-uuid/... on /root/failed:No such device
这是什么原因。。我用你的这个方法走了一遍,就不是这个错误 不过也是另外一种的。。我是新手。。本来就是照着各种教程一步步的试,结果也一直没试出个结果来。。用的Ubuntu9.10 2.6.31的内核
蒙面饿僧
帖子: 43
注册时间: 2011-07-27 23:15

Re: ubuntu环境下编译内核详解

#67

帖子 蒙面饿僧 » 2011-12-06 16:12

zzxxer 写了:我sudo make-kpkg -initrd --initrd --append-to-version=dell1400 kernel_image kernel-headers时,发生:

Unknown option: i
Unknown option: n
Unknown option: i
Unknown option: t
Unknown option: r
Unknown option: d
use --help to display command line syntax help.
。。。。。。。
执行不下去了,,请高手指教 :em03

红色部分少了一个“-
正确的代码是:

代码: 全选

sudo make-kpkg --initrd --initrd --append-to-version=dell1400 kernel_image kernel-headers
貌似只要一个"--initrd"就行了?
头像
左手握右手
帖子: 61
注册时间: 2011-12-16 19:52

Re: ubuntu环境下编译内核详解

#68

帖子 左手握右手 » 2011-12-17 9:32

各位不要再挖坟了,现在的3.2.X和以前大不相同了,这样会害死很多新手的。 :em20
tivooooli
帖子: 88
注册时间: 2008-06-04 12:50
来自: Beckosecurity
联系:

Re: ubuntu环境下编译内核详解

#69

帖子 tivooooli » 2012-01-10 8:53

Mark
www.beckosecurity.com
----
TivooooLi
ichain
帖子: 27
注册时间: 2012-01-15 13:41

Re: ubuntu环境下编译内核详解

#70

帖子 ichain » 2012-02-11 14:26

:em11 :em11 :em11
头像
naqch
帖子: 138
注册时间: 2010-07-23 19:34

Re: ubuntu环境下编译内核详解

#71

帖子 naqch » 2012-03-21 23:26

很好,学习了
I talked about being different, about discovering something important, something to live for, something to fight for, anything, regardless of the consequences, whatever it takes
mznd520
帖子: 1
注册时间: 2012-08-04 23:48

Re: ubuntu环境下编译内核详解

#72

帖子 mznd520 » 2012-08-12 23:15

左手握右手 写了:各位不要再挖坟了,现在的3.2.X和以前大不相同了,这样会害死很多新手的。 :em20
————————————————————————————————————————————————————————————
神马,我想编译3.2.4的内核会跟这个有很大差异?小弟入门级新手,还没编译过内核,求指教啊!
herchurong
帖子: 2
注册时间: 2012-11-27 22:57
系统: ubuntu

Re: ubuntu环境下编译内核详解

#73

帖子 herchurong » 2013-01-11 14:13

为什么我安装了libncurses5-dev,build-essential,kernel-package之后运行make menuconfig依然出现错误呢
错误内容如下
make[1]: `scripts/fixdep' is up to date.
HOSTCC scripts/kconfig/mconf.o
scripts/kconfig/mconf.c:91:21: error: static declaration of ‘current_menu’ follows non-static declaration
scripts/kconfig/lkc.h:63:21: note: previous declaration of ‘current_menu’ was here
scripts/kconfig/mconf.c: In function ‘show_textbox’:
scripts/kconfig/mconf.c:553:7: warning: ignoring return value of ‘write’, declared with attribute warn_unused_result [-Wunused-result]
scripts/kconfig/mconf.c: In function ‘exec_conf’:
scripts/kconfig/mconf.c:225:6: warning: ignoring return value of ‘pipe’, declared with attribute warn_unused_result [-Wunused-result]
make[1]: *** [scripts/kconfig/mconf.o] Error 1
make: *** [menuconfig] Error 2
ffbp
帖子: 18
注册时间: 2006-07-22 21:15

Re: ubuntu环境下编译内核详解

#74

帖子 ffbp » 2015-03-15 9:13

请转往 viewtopic.php?f=97&t=468207 ,看本文的新版本。
回复