LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Mandriva
User Name
Password
Mandriva This Forum is for the discussion of Mandriva (Mandrake) Linux.

Notices


Reply
  Search this Thread
Old 02-04-2005, 06:28 PM   #1
PatomaS
LQ Newbie
 
Registered: Oct 2003
Location: Kuala Lumpur
Distribution: Gentoo
Posts: 27

Rep: Reputation: 15
Talking vmware + gcc problems


Hello

I have a little problem at this momment.

I'm traying to install vmware 4.5.2 in my Mandrake Community 10.1 with gcc 3.4.1, but the problem is that when I'm running the vmware-config.pl the program detects my gcc libraries and pops an alert telling tha my system was compiled with the gcc 3.3.2 and if try to create the vmmon module with the version 3.4.1 it will crash. And it happens, the vmware-config.pl crashes.

So i've tried to install gcc 3.3.2 but i get the message thar everything is installed, obvious because ia already have a newer version.

Do you know any solution for this situaton?

Thanks for your time and patience.

Bye
 
Old 02-04-2005, 06:39 PM   #2
nafan
Member
 
Registered: May 2004
Location: /dev/bed
Distribution: Mandriva 2009.0 Powerpack
Posts: 172

Rep: Reputation: 30
You can install multiple versions of gcc, the 3.3.2 was probably installed with your Mandrake 9.1 install. There is a way of choosing which gcc to use but that's only if you run gcc directly. Try renaming the 'gcc' file in your /usr/bin to gcc-3.4.1. There should be a file named gcc-3.3.2 in there too, rename it to 'gcc' and try re-running the vmware-config.pl script.

This confusion comes because both the kernel you're using and all of it's modules must be compiled using the same gcc version so that no incompatibilites are introduced using the different gcc version. You might still be using a kernel supplied with 9.2, built with gcc 3.3.2, where Mandrake 10.1 has come along and installed a newer version of gcc, and it is now the default.

If it works, all well and good, if not, rename the gcc files back to their original names and we'll try something else
 
Old 02-05-2005, 05:26 AM   #3
PatomaS
LQ Newbie
 
Registered: Oct 2003
Location: Kuala Lumpur
Distribution: Gentoo
Posts: 27

Original Poster
Rep: Reputation: 15
Hello

Well i'll try renaming the files.

But i forgot to mention that the new versi'on of mandrake was installed in a new machine, not upgrading my old version.

Indeed, first i installed the 10.1 version with the 2.4.27 kernel and when i got the message, o thouhgt that the problem was something related to the kernel and the files use for each specific installation and compilation, so itried with the 2.6.8.1 kernel in the cd, and got the same results.

At this momment i'm traying again to download the old version of gcc from the gnu page.

And if doesn't work, i'll try renaming the files.

Tnahks

Bye
 
Old 02-06-2005, 12:17 AM   #4
RoofRabbit
Member
 
Registered: Mar 2004
Location: Lenoir, NC USA
Distribution: Mandrake 10.2
Posts: 129

Rep: Reputation: 15
My workstation is close to yours:

Intel 865PERL 2.8gig Cpu
Sound Blaster card (I needed the joy port)
ATI AIW 9000 Video
Mandrake 10.1 Official
Vmware 5 Beta

I had to switch to the 2.6.8.1 kernel AND source code for the 2.6.8.1 kernel.
I had no more problems compiling vmware after that.
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
VMWare problems introuble Linux - Software 0 07-26-2005 10:07 AM
Fedora running VMware/GCC compiling atko Fedora 3 12-14-2003 06:49 AM
vmware problems eschwartz Linux - Software 0 09-20-2002 06:01 PM
VMWare problems Chijtska Linux - General 5 02-08-2002 11:06 PM
ok with vmware but again some problems???HELP emperor13 Linux - General 1 08-09-2001 09:19 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Mandriva

All times are GMT -5. The time now is 02:33 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration