/tmp/vmware-root/modules/vmnet-only/vnetUserListener.c: In function ‘VNetUserListenerEventHandler’: /tmp/vmware-root/modules/vmnet-only/vnetUserListener.c:240: error: ‘TASK_INTERRUPTIBLE’ undeclared (first use in this function) /tmp/vmware-root/modules/vmnet-only/vnetUserListener.c:240: error: (Each undeclared identifier is reported only once /tmp/vmware-root/modules/vmnet-only/vnetUserListener.c:240: error: for each function it appears in.) /tmp/vmware-root/modules/vmnet-only/vnetUserListener.c: In function ‘VNetUserListenerRead’: /tmp/vmware-root/modules/vmnet-only/vnetUserListener.c:282: error: ‘TASK_INTERRUPTIBLE’ undeclared (first use in this function) /tmp/vmware-root/modules/vmnet-only/vnetUserListener.c:282: error: implicit declaration of function ‘signal_pending’ /tmp/vmware-root/modules/vmnet-only/vnetUserListener.c:282: error: implicit declaration of function ‘schedule’ make[4]: *** [/tmp/vmware-root/modules/vmnet-only/vnetUserListener.o] Error 1 make[3]: *** [_module_/tmp/vmware-root/modules/vmnet-only] Error 2 make[2]: *** [sub-make] Error 2 make[1]: *** [all] Error 2
loglarda yukarıdaki şekilde bir hata varsa aşağıdaki komutları çalıştırın. (debian 2.6.32 kernel ile denenmiştir)
# cd /tmp # tar xf /usr/lib/vmware/modules/source/vmnet.tar # cd vmnet-only # vim vnetUserListener.c
vim yerine başka bir editör kullanabilirsiniz. doyayı açtıktan sonra 37. satıra
#include "compat_sched.h"
yazın ve kaydedip çıkın. daha sonra
# cd /tmp # tar cf /usr/lib/vmware/modules/source/vmnet.tar vmnet-only # vmware-modconfig --console --install-all
This entry was posted
on Thursday, February 4th, 2010 at 22:01 and is filed under Bilgi Ve Deneyim.
You can follow any responses to this entry through the RSS 2.0 feed.
You can leave a response, or trackback from your own site.
One comment
Cevap veya Yorum Yaz