Planet of NCCUCS

Quick fix for virtualbox 1.6.4 PUEL version and kernel 2.6.27

作者:TaopaiC on 八月 29, 2008 Posted in RSS | | 觀看文章來源

這幾天 ubuntu 8.10 使用了 2.6.27 的 kernel , 而 virtualbox 1.6.4 的 kernel module 和 2.6.27 不太合.
編譯時都會出現 error .

In file included from /tmp/vbox.1/linux/SUPDrv-linux.c:35:
/tmp/vbox.1/SUPDRV.h:104:30: error: asm/semaphore.h: 沒有此一檔案或目錄
/tmp/vbox.1/linux/SUPDrv-linux.c: In function ‘supdrvOSGipResume’:
/tmp/vbox.1/linux/SUPDrv-linux.c:1331: error: too many arguments to function ‘smp_call_function’
make[2]: *** [/tmp/vbox.1/linux/SUPDrv-linux.o] Error 1
make[1]: *** [_module_/tmp/vbox.1] Error 2
make[1]: Leaving directory `/usr/src/linux-headers-2.6.27-1-generic’
make: *** [vboxdrv] Error 2

Ubuntu討論區上這篇 quick fix , 修改之後就可成功編譯. Good Job!


Copyright © 2008. Testing of TaopaiC blog (Digital Fingerprint: 554f5e09b31680c311537b4abfc7c33d)

Similar Posts:
No comments for this entry yet...

Comments are closed.