Edit:
Disregard this post, I will start my own thread for it. Sorry for unnecessarily bumping it.
Hi,
I have been trying to install VMware server for a few days now, following various guides and using different patching solutions. But no matter what I try, I always get some error message at the end. Right now I get the error message described below.
I'm using the latest Ubuntu server LTS, 10.04.2, with Kernel 2.6.32-31-generic on x86_64. Trying to install VMWare server 2.0.2-203138.
Code:
You have VMware Server archive:
VMware-server-2.0.2-203138.x86_64.tar.gz
Checking for needed packages on Ubuntu
You do have the linux-headers-2.6.32-31-generic package...
You do have the build-essential package...
You do have the patch package...
Extracting the contents of VMware-server-2.0.2-203138.x86_64.tar.gz
Found .tar file for vmci module
Found .tar file for vmnet module
Found .tar file for vmmon module
Found .tar file for vsock module
Extracting .tar files in order to apply the patch...
Untarring /home/vm/vmware_server_package//vmware-server-distrib/lib/modules/source/vmci.tar
Untarring /home/vm/vmware_server_package//vmware-server-distrib/lib/modules/source/vmnet.tar
Untarring /home/vm/vmware_server_package//vmware-server-distrib/lib/modules/source/vmmon.tar
Untarring /home/vm/vmware_server_package//vmware-server-distrib/lib/modules/source/vsock.tar
Testing patch...
Creating some simlinks for the newer kernels...
ln: creating symbolic link `/usr/src/linux-headers-2.6.32-31-generic/include/linux/autoconf.h': File exists
ln: creating symbolic link `/usr/src/linux-headers-2.6.32-31-generic/include/linux/utsrelease.h': File exists
Applying patch...
Preparing new tar file for vmci module
Preparing new tar file for vmnet module
Preparing new tar file for vmmon module
Preparing new tar file for vsock module
Checking that the compiling will succeed...
Trying to compile vmci module to see if it works
Performing make in /home/vm/vmware_server_package//vmware-server-distrib/lib/modules/source/vmci-only
Using 2.6.x kernel build system.
Trying to compile vmnet module to see if it works
Performing make in /home/vm/vmware_server_package//vmware-server-distrib/lib/modules/source/vmnet-only
Using 2.6.x kernel build system.
/home/vm/vmware_server_package/vmware-server-distrib/lib/modules/source/vmnet-only/driver.c:121: warning: data definition has no type or storage class
/home/vm/vmware_server_package/vmware-server-distrib/lib/modules/source/vmnet-only/driver.c:121: warning: type defaults to âintâ in declaration of âDEFINE_SEMAPHOREâ
/home/vm/vmware_server_package/vmware-server-distrib/lib/modules/source/vmnet-only/driver.c:121: warning: parameter names (without types) in function declaration
/home/vm/vmware_server_package/vmware-server-distrib/lib/modules/source/vmnet-only/filter.c:82: warning: type defaults to âintâ in declaration of âDEFINE_SEMAPHOREâ
/home/vm/vmware_server_package/vmware-server-distrib/lib/modules/source/vmnet-only/filter.c:82: warning: parameter names (without types) in function declaration
/home/vm/vmware_server_package/vmware-server-distrib/lib/modules/source/vmnet-only/filter.c: In function âVNetFilter_HandleUserCallâ:
/home/vm/vmware_server_package/vmware-server-distrib/lib/modules/source/vmnet-only/filter.c:1089: error: âfilterIoctlSemâ undeclared (first use in this function)
/home/vm/vmware_server_package/vmware-server-distrib/lib/modules/source/vmnet-only/filter.c:1089: error: (Each undeclared identifier is reported only once
/home/vm/vmware_server_package/vmware-server-distrib/lib/modules/source/vmnet-only/filter.c:1089: error: for each function it appears in.)
make[2]: *** [/home/vm/vmware_server_package/vmware-server-distrib/lib/modules/source/vmnet-only/filter.o] Error 1
make[1]: *** [_module_/home/vm/vmware_server_package/vmware-server-distrib/lib/modules/source/vmnet-only] Error 2
make: *** [vmnet.ko] Error 2
There is a problem compiling the vmnet module after it was patched. :(
I'm using the same script and patch as this guy did:
Originally Posted by
karhukuoma
I'm using raducotescu-vmware-server-linux-2.6.3x-kernel-f271f27.tar.gz with updated vmware-server-2.0.2-203138-update.patch from this thread. What could I've missed?
Update
##########
This has been fixed like this:
Code:
sudo su -
goto /usr/src/linux-headers-2.6.38-9-generic/include/linux
cat ../generated/utsrelease.h >> version.h
ln -s ../generated/autoconf.h
kudos to
thingy@vmware-communities
Also, a lot of guides tell me to use files in the /usr/src/linux-headers-2.6.32-31-generic/generated/ directory but I don't have that directory at all.
Anyone have any ideas?
Thanks in advance!
Bookmarks