我试图让我的xen来源编译,我有混合的结果取决于我使用的版本。 到目前为止,我还没有得到任何现有的(截至一个星期前)xen-sources通过gentoo的portage工作。
当我尝试为2.6.18-xen-r12制作menuconfig时,我得到:
Makefile:410: *** mixed implicit and normal rules. Stop.
当我尝试使用2.6.34-xen-r3时,内核启动了,但是它被我认为是USB的问题所困扰,但是我无法得到确切的日志,因为启动永远不会完成。
当我尝试使用2.6.34-xen-r4时,它似乎不能与我的SCSI控制器一起工作(不确定我是否做错了什么,但是我确信我不是),反过来也不行find任何磁盘。
当我尝试使&版本2.6.38-xen modules_install它失败:
LD drivers/xen/sfc_netutil/sfc_netutil.o LD drivers/xen/sfc_netutil/built-in.o LD drivers/xen/built-in.o drivers/xen/blktap2-new/built-in.o: In function blktap_ring_init': (.init.text+0xe0): multiple definition of blktap_ring_init' drivers/xen/blktap2/built-in.o:(.init.text+0x8c): first defined here drivers/xen/blktap2-new/built-in.o: In function blktap_ring_destroy': (.text+0x334): multiple definition of blktap_ring_destroy' drivers/xen/blktap2/built-in.o:(.text+0xcdd): first defined here drivers/xen/blktap2-new/built-in.o: In function blktap_device_init': (.init.text+0x16e): multiple definition of blktap_device_init' drivers/xen/blktap2/built-in.o:(.init.text+0x122): first defined here drivers/xen/blktap2-new/built-in.o: In function blktap_ring_kick_user': (.text+0x88e): multiple definition of blktap_ring_kick_user' drivers/xen/blktap2/built-in.o:(.text+0x5df): first defined here drivers/xen/blktap2-new/built-in.o:(.bss+0x0): multiple definition of blktaps' drivers/xen/blktap2/built-in.o:(.bss+0x0): first defined here ld: Warning: size of symbol blktaps' changed from 1024 in drivers/xen/blktap2/built-in.o to 4 in drivers/xen/blktap2-new/built-in.o drivers/xen/blktap2-new/built-in.o: In function blktap_device_destroy': (.text+0x105d): multiple definition of blktap_device_destroy' drivers/xen/blktap2/built-in.o:(.text+0x2b9b): first defined here drivers/xen/blktap2-new/built-in.o: In function blktap_request_free': (.text+0x15de): multiple definition of blktap_request_free' drivers/xen/blktap2/built-in.o:(.text+0x346c): first defined here drivers/xen/blktap2-new/built-in.o: In function blktap_device_create': (.text+0xd70): multiple definition of blktap_device_create' drivers/xen/blktap2/built-in.o:(.text+0x180f): first defined here drivers/xen/blktap2-new/built-in.o:(.data+0xac): multiple definition of blktap_debug_level' drivers/xen/blktap2/built-in.o:(.data+0x48): first defined here drivers/xen/blktap2-new/built-in.o: In function blktap_ring_create': (.text+0x863): multiple definition of blktap_ring_create' drivers/xen/blktap2/built-in.o:(.text+0xd2b): first defined here drivers/xen/blktap2-new/built-in.o: In function blktap_sysfs_destroy': (.text+0x193d): multiple definition of blktap_sysfs_destroy' drivers/xen/blktap2/built-in.o:(.text+0x365f): first defined here drivers/xen/blktap2-new/built-in.o: In function blktap_sysfs_init': (.init.text+0x261): multiple definition of blktap_sysfs_init' drivers/xen/blktap2/built-in.o:(.init.text+0x20a): first defined here drivers/xen/blktap2-new/built-in.o: In function blktap_sysfs_create': (.text+0x1987): multiple definition of `blktap_sysfs_create' drivers/xen/blktap2/built-in.o:(.text+0x3bc3): first defined here make[2]: * [drivers/xen/built-in.o] Error 1 make[1]: * [drivers/xen] Error 2 make: *** [drivers] Error 2
据我所知,每个可用的版本都失败了,我不确定为什么。
这是一些IBM x330的,我在DL380 G3上遇到同样的问题。 我试着在gentoo论坛上发布这个消息,到目前为止还没有人对此事发表任何评论。
大约五年来我还没有成为Gentoo的用户,我不确定你为什么得到这些构build错误。 你有没有尝试过使用Linux 3.0? 自从3.0版本以来,Xen dom0支持已经成为Linux的主stream,编译该内核的运气可能会好于你一直试图编译的旧内核。