Jump to content

Vmware vmmon won't compile


Apoc
 Share

Recommended Posts

I have installed vmware and it asks me to compile vmmon, i have the kernel source files installed from the Mandrake 10 disc 3.

 

It starts compiling but then errors with the following error:

What is the location of the directory of C header files that match your running
kernel? [/usr/src/linux/include] /usr/src/linux-2.6.3-7mdk/include/

Extracting the sources of the vmmon module.

Building the vmmon module.

Building for VMware Workstation 4.0.x.
Using 2.6.x kernel build system.
make: Entering directory `/root/tmp/vmware-config5/vmmon-only'
make -C /usr/src/linux-2.6.3-7mdk/include/.. SUBDIRS=$PWD SRCROOT=$PWD/. modules
make[1]: Entering directory `/usr/src/linux-2.6.3-7mdk'
*** Warning: Overriding SUBDIRS on the command line can cause
***          inconsistencies
make[2]: `arch/i386/kernel/asm-offsets.s' is up to date.
 CHK     include/asm-i386/asm_offsets.h
 CC [M]  /root/tmp/vmware-config5/vmmon-only/linux/driver.o
/root/tmp/vmware-config5/vmmon-only/linux/driver.c: In function `Panic':
/root/tmp/vmware-config5/vmmon-only/linux/driver.c:2994: warning: implicit declaration of function `_exit'
 CC [M]  /root/tmp/vmware-config5/vmmon-only/linux/hostif.o
 CC [M]  /root/tmp/vmware-config5/vmmon-only/common/vmx86.o
 CC [M]  /root/tmp/vmware-config5/vmmon-only/common/memtrack.o
 CC [M]  /root/tmp/vmware-config5/vmmon-only/common/phystrack.o
 CC [M]  /root/tmp/vmware-config5/vmmon-only/common/cpuid.o
gcc -D__KERNEL__ -Iinclude  -Wall -Wstrict-prototypes -Wno-trigraphs -fno-strict-aliasing -fno-common -pipe -mpreferred-stack-boundary=2 -march=i586 -Iinclude/asm-i386/mach-default -O2  -DMODULE  -Wall -Wstrict-prototypes   -DVMWARE__FIX_IO_APIC_BASE=FIX_IO_APIC_BASE_0 -DVMW_HAVE_EPOLL -DVME_DEFAULT=VME_V4 -DVMW_USING_KBUILD -I/root/tmp/vmware-config5/vmmon-only/./include -I/root/tmp/vmware-config5/vmmon-only/./common -I/root/tmp/vmware-config5/vmmon-only/./linux  -DVMW_NOPAGE_261 -fno-exceptions -c -o /root/tmp/vmware-config5/vmmon-only/common/task.o /root/tmp/vmware-config5/vmmon-only/common/task.C
 LD [M]  /root/tmp/vmware-config5/vmmon-only/vmmon.o
 Building modules, stage 2.
 MODPOST
 CC      /root/tmp/vmware-config5/vmmon-only/vmmon.mod.o
 LD [M]  /root/tmp/vmware-config5/vmmon-only/vmmon.ko
make[1]: Leaving directory `/usr/src/linux-2.6.3-7mdk'
cp -f vmmon.ko ./../vmmon.o
make: Leaving directory `/root/tmp/vmware-config5/vmmon-only'
Unable to make a vmmon module that can be loaded in the running kernel:
insmod: error inserting '/root/tmp/vmware-config5/vmmon.o': -1 Unknown symbol in module
There is probably a slight difference in the kernel configuration between the
set of C header files you specified and your running kernel.  You may want to
rebuild a kernel based on that directory, or specify another directory.

For more information on how to troubleshoot module-related problems, please
visit our Web site at "http://www.vmware.com/download/modules/modules.html" and
"http://www.vmware.com/support/reference/linux/prebuilt_modules_linux.html".

Execution aborted.

[root@localhost vmware-distrib]#

 

any ideas on how to resolve this? cheers

 

[moved from Software by spinynorman]

Link to comment
Share on other sites

Tried `2.6.3-7mdk` and it came back with the 2.6.3-7mdk which is as expected.

 

I have, however, solved the no compiling problem now, i downloaded one of the any-any updates (56 i think) and thats worked a treat, can compile and got it working, though it does have a video display error saying i can't do fuill screen but it works.. yeay. :-)

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...
 Share

×
×
  • Create New...