myleader 发表于 2003-7-20 10:21:47

编译2.6.0-test1内核失败

到了make modules那步失败了,一下是提示信息:
CC drivers/char/riscom8.o
In file included from drivers/char/riscom8.c:51:
drivers/char/riscom8.h:84: field `tqueue' has incomplete type
drivers/char/riscom8.h:85: field `tqueue_hangup' has incomplete type
drivers/char/riscom8.c:84: warning: type defaults to `int' in declaration of `DECLARE_TASK_QUEUE'
drivers/char/riscom8.c:84: warning: parameter names (without types) in function declaration
drivers/char/riscom8.c:135: confused by earlier errors, bailing out
make: *** Error 1
make: *** Error 2
make: *** Error 2
这个好像是说代码写的不对,但是我怎么能看得懂呢,更不会改。我现在的系统是magic linux 1.1 final,其中kernel,libc,gcc都是原版的,没有换过。

cjacker 发表于 2003-7-20 12:10:07

Re: 编译2.6.0-test1内核失败

到了make modules那步失败了,一下是提示信息:
CC drivers/char/riscom8.o
In file included from drivers/char/riscom8.c:51:
drivers/char/riscom8.h:84: field `tqueue' has incomplete type
drivers/char/riscom8.h:85: field `tqueue_hangup' has incomplete type
drivers/char/riscom8.c:84: warning: type defaults to `int' in declaration of `DECLARE_TASK_QUEUE'
drivers/char/riscom8.c:84: warning: parameter names (without types) in function declaration
drivers/char/riscom8.c:135: confused by earlier errors, bailing out
make: *** Error 1
make: *** Error 2
make: *** Error 2
这个好像是说代码写的不对,但是我怎么能看得懂呢,更不会改。我现在的系统是magic linux 1.1 final,其中kernel,libc,gcc都是原版的,没有换过。

我刚刚打完2.6.0-t1的i686 rpm包,呵呵,还好,没有失败。

lvtao_vision 发表于 2003-7-20 15:59:16

我也是这个错误!!!!!
RedHat9.0    gcc-3.2

hongfeng 发表于 2003-7-21 16:18:59

有人帮忙解决吗?我也是这个错误,而且打了ar2的补丁的。

Dragonfly 发表于 2003-7-21 22:55:12

do not choose thsi module. see old post here.

myleader 发表于 2003-7-22 13:50:56

这个模块是干什么用的,怎么选。make xconfig是那么多,到底那个是。
昨天晚上我在别人的一台机器上编译又成功了,我也生成了bzImage、System.map和initrd.img,但是该怎么在grub里添加呢,我看了以前的贴子,大都是说在lilo里,没见到grub的,grub的man page里也没有。

huangdi 发表于 2003-7-22 14:30:29

Do the following,

#cd /usr/src/linux-2.6....
#make menuconfig

Choose "Character Devices".
Deselect "SDL RISCom/8 card support"

That should disable support for the particular multiport serial controller.

lvtao_vision 发表于 2003-7-22 16:00:27

先打开/boot/grub.conf,按里面的格式把新内核加进去,然后打/sbin/grub-install /dev/hda

hexing 发表于 2003-7-28 20:54:16

是啊
我也出现了这个错误
前面有人提出来的方法好像不行啊
有没有人解决的?

Alex_Sune 发表于 2003-7-28 21:16:32

先打开/boot/grub.conf,按里面的格式把新内核加进去,然后打/sbin/grub-install /dev/hda

最后一步好象是没必要的吧?

hexing 发表于 2003-7-29 10:59:59

是的
最后一步是没有必要的
我的就算失败了
grub里面还是有了新的内核了

huangdi 发表于 2003-7-29 13:04:48

I think you also need to upgrade the following packages

initscripts
mkinitrd
modutils
modutils-devel
nfs-utils
oprofile
oprofile-devel

and some other packages...

Here's where you can find RH9 2.6.0 test kernel rpms
http://people.redhat.com/arjanv/2.5/RPMS.kernel/

Dragonfly 发表于 2003-7-30 22:14:40

that riscom has descrpition in configure.help. it is unmaintained. so it is broken.
页: [1]
查看完整版本: 编译2.6.0-test1内核失败