Trouble building VMware kernel module 8.0.3 on Slackware64-current with Linux 3.3.6
Hello Guys,
I have trouble building the VMware 8.0.3 kernel module (the vmmon one) in my Slackware64-current setup. I've built and install my custom kernel (linux 3.3.6 with pf patch) and I've also patched the VMware module source using the patch from here: http://weltall.heliohost.org All other modules can be built successfully, except the vmmon one which always threw me errors during compilation. All other modules were successfully built when I issue the command: Code:
vmware-modconfig --console --build-mod -k 3.3.6-pf <module_name> /usr/bin/gcc /lib/modules/source/include Code:
dwi@pavilion:source $ sudo vmware-modconfig --console --install-all The patch I mentioned above does not touch the vmmon at all though, maybe the vmmon source needs to be patched as well? Or can I run vmware without this module, as the other modules built flawlessly. I appreciate your help |
Try read the solution on my SlackBlogs
|
Tried the patch on your blog and still got the same error, the vmmon module won't build (your patch is only for the vmnet source). I've spent some times googling and can't find a case similar to mine. I had this problem on my laptop and my desktop computer.
Frankly I'm confused now on what may be causing this, even reverting to stock kernel packages does not help. What I mean stock is every kernel packages is vanilla from Slackware64-current, the vmmon module still won't compile. |
have you removed your VMWare installation and start a new installation?
Don't try to patch on top of another patch. |
Yes, I've uninstall VMware and removed all previous VMware files in /etc/vmware and /usr/lib/vmware*
Still the same error |
Mind trying this patch ?
|
-fPIC flag is the source
I've tried your patch, still the same errors. It's the vmmon module that won't compile, and from google search result I haven't seen any patch regarding the vmmon module for this vmware version.
Tried the patch again on a different computer (running Slackware64-current with stock kernel) and still same vmmon compile error. I'm beginning to think that VMware won't play nice with Slackware, is this patch working fine in your system? Please share your configuration (Slackware version / kernel version)? Update This has giving me a headache all day long and the culprit is just because VMware modules source won't compile with -fPIC compiler flags :doh: I always have this line inside a script named slackbuild.sh in my /etc/profile.d directory: Code:
export CFLAGS="-O2 -fPIC -march=native -pipe -fomit-frame-pointer" Thanks to Willy for your assistance, I will mark this threas as solved. |
Good to know that it's working since many people have reported that the patch is working on their systems :)
It's also working fine on my system of course because i tested it first before posting it to my blog |
All times are GMT -5. The time now is 11:02 AM. |