/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-allTags: debian, Linux, vmware
ripper | 04-Feb-10 at 9:10 pm | Permalink
guzel yazı tskler