SlackwareThis Forum is for the discussion of Slackware Linux.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
At my slack11 I tried to install the vmware-player 1.0.3 with vmware-install.pl script but the second question is asking about the directory that contains the ini scripts but the script does not accept the /etc/rc.d/ directory because the script is looking for any ini script called rc0.d to rc6.d.
If I remember correctly I just created those directories for the install, then moved the resulting rc.vmware script (might be called something different) into /etc/rc.d
That howto is similar to the answers to this same question that are located in the vmware forums at the vmware web site. (lot of Slackware info used to be likely still is at user forums of vmware web site).
Can anyone tell me what this means and how to fix it? I performed the steps exactly as the above posted HOWTO stated. I am running kernel 2.6.20.1, which I compiled myself. Thanks!
Code:
root@keith:/usr/local/bin# ./vmware-config.pl --compile
Making sure services for VMware Player are stopped.
Stopping VMware services:
Virtual machine monitor done
Configuring fallback GTK+ 2.4 libraries.
In which directory do you want to install the mime type icons?
[/usr/share/icons]
What directory contains your desktop menu entry files? These files have a
.desktop file extension. [/usr/share/applications]
In which directory do you want to install the application's icon?
[/usr/share/pixmaps]
Using compiler "/usr/bin/gcc". Use environment variable CC to override.
What is the location of the directory of C header files that match your running
kernel? [/lib/modules/2.6.20.1/build/include]
Extracting the sources of the vmmon module.
Building the vmmon module.
Using 2.6.x kernel build system.
make: Entering directory `/tmp/vmware-config2/vmmon-only'
make -C /lib/modules/2.6.20.1/build/include/.. SUBDIRS=$PWD SRCROOT=$PWD/. modules
make[1]: Entering directory `/home/keith/downloads/kernels/linux-2.6.20.1'
CC [M] /tmp/vmware-config2/vmmon-only/linux/driver.o
In file included from /tmp/vmware-config2/vmmon-only/linux/driver.c:80:
/tmp/vmware-config2/vmmon-only/./include/compat_kernel.h:21: error: syntax error before "compat_exit"
/tmp/vmware-config2/vmmon-only/./include/compat_kernel.h:21: warning: type defaults to `int' in declaration of `_syscall1'
/tmp/vmware-config2/vmmon-only/./include/compat_kernel.h:21: warning: function declaration isn't a prototype
/tmp/vmware-config2/vmmon-only/./include/compat_kernel.h:21: warning: '_syscall1' declared `static' but never defined
make[2]: *** [/tmp/vmware-config2/vmmon-only/linux/driver.o] Error 1
make[1]: *** [_module_/tmp/vmware-config2/vmmon-only] Error 2
make[1]: Leaving directory `/home/keith/downloads/kernels/linux-2.6.20.1'
make: *** [vmmon.ko] Error 2
make: Leaving directory `/tmp/vmware-config2/vmmon-only'
Unable to build the vmmon module.
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.
I'm not certain. But (for whatever reason) it could not build a needed kernel module.
You're running a late kernel. It used to be that in such a case, a patch is needed which allows vmware to run with such kernel.
Mentioned patch used to be found for download on vmware help/support www forums, such patch shared there by a developer.
I'd check at those forums and vmware to see specifically which kernels are supported. If your kernel is too new then you'll need something (patch) otherwise the police inside will not allow to go on unsupported kernel.
In the past, I had to do just such a patch (too new a 2.6.xx kernel back then) and it worked.
But it's been a while.
I'm looking forward to when I'll have the time to do it again with late 2.6 kernel.
So, if this is what you find -- or -- whatever you discover that remedies -- please post back here and share what worked as it'll help me keep up to date. Thanks.
In file included from
/tmp/vmware-config2/vmmon-only/linux/driver.c:80:
Just after that line -- it appears the vmware module builder doesn't like the syntax that's in some of the (what is it kernel header) source code
So, I don't know what the answer is. But I'd try to check into whether yours is a supported kernel or not and if not then is there a patch to allow it to go.
Can anyone tell me what this means and how to fix it? I performed the steps exactly as the above posted HOWTO stated. I am running kernel 2.6.20.1, which I compiled myself. Thanks!...
You need to update your vmware install.
Download this one, unpack it. Run the runme.pl file in it. Let it run the vmware-config.pl thing when it finishes. It should work after that.
You need to update your vmware install.
Download this one, unpack it. Run the runme.pl file in it. Let it run the vmware-config.pl thing when it finishes. It should work after that.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.