本以为下一个版本是2.8,没想到直接到3.0了.
5月30号kernel提供了3.0rc1的下载,马上安装了尝尝鲜
Linux localhost.localdomain 3.0.0-rc1 #1 SMP Sun Jun 5 06:47:21 CST 2011 i686 i686 i386 GNU/Linux
vmware不能用了,重新编译模块失败,3.0还太新了,等待vmware更新
Using 2.6.x kernel build system.
make: Entering directory `/tmp/vmware-root/modules/vmmon-only''
make -C /lib/modules/3.0.0-rc1/build/include/.. SUBDIRS=$PWD SRCROOT=$PWD/.
MODULEBUILDDIR= modules
make[1]: Entering directory `/home/niuxinli/linux-3.0-rc1''
CC [M] /tmp/vmware-root/modules/vmmon-only/linux/driverLog.o
CC [M] /tmp/vmware-root/modules/vmmon-only/linux/iommu.o
/tmp/vmware-root/modules/vmmon-only/linux/iommu.c:47:44: error: ‘SPIN_LOCK_UNLOCKED’ undeclared here (not in a function)
/tmp/vmware-root/modules/vmmon-only/linux/iommu.c: In function ‘IOMMU_SetupMMU’:
/tmp/vmware-root/modules/vmmon-only/linux/iommu.c:103:28: warning: cast from pointer to integer of different size
/tmp/vmware-root/modules/vmmon-only/linux/iommu.c:113:17: warning: format ‘%lx’ expects type ‘long unsigned int’, but argument 3 has type ‘long long unsigned int’
/tmp/vmware-root/modules/vmmon-only/linux/iommu.c:117:35: warning: cast to pointer from integer of different size
/tmp/vmware-root/modules/vmmon-only/linux/iommu.c:120:20: warning: format ‘%lu’ expects type ‘long unsigned int’, but argument 3 has type ‘uint64’
make[2]: *** [/tmp/vmware-root/modules/vmmon-only/linux/iommu.o] Error 1
make[1]: *** [_module_/tmp/vmware-root/modules/vmmon-only] Error 2
make[1]: Leaving directory `/home/niuxinli/linux-3.0-rc1''
make: *** [vmmon.ko] Error 2
make: Leaving directory `/tmp/vmware-root/modules/vmmon-only''
本文出自 “牛哥的博客” 博客,请务必保留此出处http://nxlhero.blog.51cto.com/962631/581483
|