Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
vmware-modules compilation error on vmmon
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Unsupported Software
View previous topic :: View next topic  
Author Message
NaRvA
n00b
n00b


Joined: 06 Feb 2007
Posts: 1
Location: Poland

PostPosted: Wed Feb 16, 2011 10:18 am    Post subject: vmware-modules compilation error on vmmon Reply with quote

Hello :)

Is it some bug or something wrong with my system ?

CC [M] /var/tmp/portage/app-emulation/vmware-modules-238.3-r2/work/vmmon-only/vmcore/moduleloop.o
/var/tmp/portage/app-emulation/vmware-modules-238.3-r2/work/vmmon-only/linux/hostif.c: In function 'HostIFDoIoctl':
/var/tmp/portage/app-emulation/vmware-modules-238.3-r2/work/vmmon-only/linux/hostif.c:3706:18: error: 'const struct file_operations' has no member named 'ioctl'
/var/tmp/portage/app-emulation/vmware-modules-238.3-r2/work/vmmon-only/linux/hostif.c:3710:23: error: 'const struct file_operations' has no member named 'ioctl'
make[3]: *** [/var/tmp/portage/app-emulation/vmware-modules-238.3-r2/work/vmmon-only/linux/hostif.o] Error 1
make[2]: *** [_module_/var/tmp/portage/app-emulation/vmware-modules-238.3-r2/work/vmmon-only] Error 2
make[1]: *** [sub-make] Error 2
make[1]: Leaving directory `/usr/src/linux-2.6.37-gentoo'
make: *** [vmmon.ko] Error 2
emake failed

Anyone could help please ?
_________________
Greetings
Adam
Back to top
View user's profile Send private message
dreamshadow
n00b
n00b


Joined: 15 Nov 2004
Posts: 18
Location: Reno, NV

PostPosted: Sat Mar 05, 2011 1:59 am    Post subject: Reply with quote

What worked for me on this is the following:
emerge -v layman
layman -a vmware
edit your /etc/make.conf to make sure the new layout is added: ie adding (PORTAGE_OVERLAY="/var/lib/layman/vmware"
PORTDIR_OVERLAY="${PORTAGE_OVERLAY}" to the make.conf
get the file: http://www.debuntu.org/sites/www.debuntu.org/files/vmware-7.1-ubuntu10.10-patch-v2.tar_.gz
run the apply-patch.sh file, it patched all the modules and everything.
then
cd /var/lib/layman/vmware/app-emmulation/vmware-modules/
emerge -v --nodeps ./vmware-modules-238.3-r2.ebuild
and it went in fine and the modules worked fine. course this was with vmware-workstation-7.1.2-301548 on an amd64.

hope this helps.
_________________
+-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-+

Life is but a dream, reality is but a shadow

+-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-+
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Unsupported Software All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum