On Sunday 28 January 2001 11:48, Chmouel Boudjnah wrote:
> Richard Smith <[EMAIL PROTECTED]> writes:
> > Chmouel Boudjnah wrote:
> > > Bryan Opfer <[EMAIL PROTECTED]> writes:
> > > > I have not been able to get it to work either. I have the source
> > > > installed and I get the following:
> > I should have been more clear, but I just help out when I can.
>
> i say before to be able to compile you need to do :
>
> let know the vmware script (i don't know how it works) to use
> /usr/src/linux, go in the /usr/src/linux run
the VMware script wants /usr/linux, not /usr/src/linux.
>
> make mrproper
> make oldconfig
> make dep
>
> and run the vmware script.
I've done that, and this is the errors I'm getting. Are we looking at a
Cooker issue or a VMware issue?
--- begin paste ---
[root@linux1 /root]# vmware-config.pl
Making sure VMware's services are stopped.
Stopping VMware services:
Virtual machine monitor [ OK ]
Trying to find a suitable vmmon module for your running kernel.
None of VMware's pre-built vmmon modules is suitable for your running kernel.
Do
you want this script to try to build the vmmon module for your system (you
need
to have a C compiler installed on your system)? [yes]
What is the location of the directory of C header files that match your
running
kernel? [/usr/include]
Extracting the sources of the vmmon module.
Building the vmmon module.
make: Entering directory `/tmp/vmware-config1/vmmon-only'
make[1]: Entering directory `/tmp/vmware-config1/vmmon-only'
make[2]: Entering directory
`/tmp/vmware-config1/vmmon-only/driver-2.4.0-11mdk'
In file included from ../linux/driver-config.h:35,
from .././linux/driver.c:11:
/usr/include/linux/modversions.h:1:2: #error Modules should never use
kernel-headers system headers,
/usr/include/linux/modversions.h:2:2: #error but headers from an appropriate
kernel-source
make[2]: *** [driver.d] Error 1
make[2]: Leaving directory `/tmp/vmware-config1/vmmon-only/driver-2.4.0-11mdk'
make[1]: *** [deps] Error 2
make[1]: Leaving directory `/tmp/vmware-config1/vmmon-only'
make: *** [auto-build] Error 2
make: Leaving directory `/tmp/vmware-config1/vmmon-only'
Unable to build the vmmon module.
For more information on how to troubleshoot module-related problems, please
have
a look at "http://www.vmware.com/download/modules/modules.html".
Execution aborted.
--- end paste ---
I can tell you that the modversions.h file in the 2.4 kernel is considerably
smaller than the version in the 2.2.17 kernel source. I'm not a kernel
developer, and don't know if this is expected or not.
[root@linux1 linux]# ls -l `locate modversions.h`
-rw-r--r-- 1 root root 116 Jan 27 16:33
/usr/include/linux/modversions.h
-rw-r--r-- 1 root root 1426 Nov 25 10:32
/usr/src/linux-2.2.17/include/linux/modversions.h
--
Ed Wilts, Mounds View, MN, USA
mailto:[EMAIL PROTECTED]