Guest dysxhi Posted August 18, 2005 Report Share Posted August 18, 2005 I am trying to install the vmware ver5. During installation I am getting following error. Please advice the solution. The present OS is Mandriva Linux LE2005 for i586 up-to-date with latest cooker. I tried to remove gcc-4.0.1 but it is asking to remove lot many package alongwith. Thanks and Regards Dhananjaya ----------------------------------------------------------------------------------------------------- [dysxhi@localhost ~]$ su Password: [root@localhost dysxhi]# /usr/bin/vmware-config.pl Making sure services for VMware Workstation are stopped. Stopping VMware services: Virtual machine monitor [ OK ] Configuring fallback GTK+ 2.4 libraries. *** * Updating MIME database in /usr/share/mime... *** In which directory do you want to install the mime type icons? [/usr/share/icons] In which directory do you want to install the application's icon? [/usr/share/pixmaps] Trying to find a suitable vmmon module for your running kernel. None of the pre-built vmmon modules for VMware Workstation is suitable for your running kernel. Do you want this program to try to build the vmmon module for your system (you need to have a C compiler installed on your system)? [yes] Using compiler "/usr/bin/gcc". Use environment variable CC to override. Your kernel was built with "gcc" version "3.4.3", while you are trying to use "/usr/bin/gcc" version "4.0.1". This configuration is not supported and VMware Workstation cannot work in such configuration. Please either recompile your kernel with "/usr/bin/gcc" version "4.0.1", or restart /usr/bin/vmware-config.plwith CC environment variable pointing to the "gcc" version "3.4.3". 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. Quote Link to comment Share on other sites More sharing options...
devries Posted August 18, 2005 Report Share Posted August 18, 2005 Your kernel was built with "gcc" version "3.4.3", while you are trying to use"/usr/bin/gcc" version "4.0.1". This configuration is not supported and VMware Workstation cannot work in such configuration. Please either recompile your kernel with "/usr/bin/gcc" version "4.0.1", or restart /usr/bin/vmware-config.plwith CC environment variable pointing to the "gcc" version "3.4.3". Open the vmware-config.pl with your favorite text editor and make sure it uses gcc 3.4.3. Quote Link to comment Share on other sites More sharing options...
scarecrow Posted August 18, 2005 Report Share Posted August 18, 2005 (edited) http://ftp.cvut.cz/vmware/ Get from there the latest any-any patch and run that one instead. It worked for me- I've created the necessary modules using gcc 4.0.1 (under Arch Linux), but it may not work for some distributions. PS: Another solution (which should work on most distros) is using a specific patch: http://atrey.karlin.mff.cuni.cz/~qiq/src/s...ompilefix.patch Of course, this *does* require rebuilding your kernel using gcc 4.X If you don't use the above patch, then rebuilding your kernel (say from a source RPM) may fail. Edited August 20, 2005 by scarecrow Quote Link to comment Share on other sites More sharing options...
Recommended Posts
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.