4
Feb

2.6.3x kernellerinde vmware 7 kurulum sorunu

   Posted by: Muhammed YÜRÜRDURMAZ   in Bilgi Ve Deneyim

/tmp/-root/modules/vmnet-only/vnetUserListener.c: In function ‘VNetUserListenerEventHandler’:
/tmp/-root/modules/vmnet-only/vnetUserListener.c:240: error: ‘TASK_INTERRUPTIBLE’ undeclared (first use in this function)
/tmp/-root/modules/vmnet-only/vnetUserListener.c:240: error: (Each undeclared identifier is reported only once
/tmp/-root/modules/vmnet-only/vnetUserListener.c:240: error: for each function it appears in.)
/tmp/-root/modules/vmnet-only/vnetUserListener.c: In function ‘VNetUserListenerRead’:
/tmp/-root/modules/vmnet-only/vnetUserListener.c:282: error: ‘TASK_INTERRUPTIBLE’ undeclared (first use in this function)
/tmp/-root/modules/vmnet-only/vnetUserListener.c:282: error: implicit declaration of function ‘signal_pending’
/tmp/-root/modules/vmnet-only/vnetUserListener.c:282: error: implicit declaration of function ‘schedule’
make[4]: *** [/tmp/-root/modules/vmnet-only/vnetUserListener.o] Error 1
make[3]: *** [_module_/tmp/-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. ( 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
Bookmark and Share
Tags: , ,

Tags: , ,

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

 1 

guzel yazı tskler

February 4th, 2010 at 21:10

Cevap veya Yorum Yaz

İsminiz
e-Mail (Burada yayınlanmayacak endişelenmeyin)
Web Siteniz
Yorumunuz

Switch to our mobile site