Unix Technical Forum

gcc 3.4.6 vs 4.1.2 and vmware

This is a discussion on gcc 3.4.6 vs 4.1.2 and vmware within the Slackware Linux Support forums, part of the Unix Operating Systems category; --> i've rebuilt my kernel 2.6.19 using gcc version 4.1.2 but when i try to update the vmware module, it ...


Go Back   Unix Technical Forum > Unix Operating Systems > Slackware Linux Support

FAQ Members List Calendar Search Today's Posts Mark Forums Read
  #1 (permalink)  
Old 02-20-2008, 09:50 PM
Miguel De Anda
 
Posts: n/a
Default gcc 3.4.6 vs 4.1.2 and vmware

i've rebuilt my kernel 2.6.19 using gcc version 4.1.2 but when i try to
update the vmware module, it gives me an error telling me i built my kernel
using 3.4.6 but i'm trying to build the module using 4.1.2. i'm pretty sure
the kernel was built with 4.1.2.

anyways, i'm running some strange combo of current and 11.0. i've had some
problems and had to roll back, then tried again.. so i'm sure some programs
i have are a littled screwed up. because of this, i imagine that the vmware
message is a little off and its probably telling me that some other library
is compiled with a different version of gcc. maybe i didn't update
something to current that i should have? any ideas?

this is the exact message i'm getting:

Your kernel was built with "gcc" version "3.4.6", while you are trying to
use "/usr/bin/gcc" version "4.1.2". This configuration is not supported and
VMware Workstation cannot work in such configuration. Please either
recompile your kernel with "/usr/bin/gcc" version "4.1.2", or
restart /usr/bin/vmware-config.pl with CC environment variable pointing to
the "gcc" version "3.4.6".


thanks,
miguel de anda


--
Posted via a free Usenet account from http://www.teranews.com

Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #2 (permalink)  
Old 02-20-2008, 09:50 PM
Grant
 
Posts: n/a
Default Re: gcc 3.4.6 vs 4.1.2 and vmware

On Sat, 28 Apr 2007 14:12:49 -0700, Miguel De Anda <miguel@thedeanda.com> wrote:

>i've rebuilt my kernel 2.6.19 using gcc version 4.1.2 but when i try to
>update the vmware module, it gives me an error telling me i built my kernel
>using 3.4.6 but i'm trying to build the module using 4.1.2. i'm pretty sure
>the kernel was built with 4.1.2.


One way to make sure?
>
>anyways, i'm running some strange combo of current and 11.0. i've had some
>problems and had to roll back, then tried again.. so i'm sure some programs
>i have are a littled screwed up. because of this, i imagine that the vmware
>message is a little off and its probably telling me that some other library
>is compiled with a different version of gcc. maybe i didn't update
>something to current that i should have? any ideas?


slack-current, kernel 2.6.20.7 and vmware beta build 44426 work fine here

Grant.
--
http://bugsplatter.mine.nu/
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #3 (permalink)  
Old 02-20-2008, 09:51 PM
Peter
 
Posts: n/a
Default Re: gcc 3.4.6 vs 4.1.2 and vmware

On Sat, 28 Apr 2007 14:12:49 -0700, Miguel De Anda wrote:

> i've rebuilt my kernel 2.6.19 using gcc version 4.1.2 but when i try to
> update the vmware module, it gives me an error telling me i built my
> kernel using 3.4.6 but i'm trying to build the module using 4.1.2. i'm
> pretty sure the kernel was built with 4.1.2.
>
> anyways, i'm running some strange combo of current and 11.0. i've had
> some problems and had to roll back, then tried again.. so i'm sure some
> programs i have are a littled screwed up. because of this, i imagine
> that the vmware message is a little off and its probably telling me that
> some other library is compiled with a different version of gcc. maybe i
> didn't update something to current that i should have? any ideas?
>
> this is the exact message i'm getting:
>
> Your kernel was built with "gcc" version "3.4.6", while you are trying
> to use "/usr/bin/gcc" version "4.1.2". This configuration is not
> supported and VMware Workstation cannot work in such configuration.
> Please either recompile your kernel with "/usr/bin/gcc" version "4.1.2",
> or restart /usr/bin/vmware-config.pl with CC environment variable
> pointing to the "gcc" version "3.4.6".
>
>
> thanks,
> miguel de anda


Upgrading the toolchain is a messy business. There's a lot to recompile,
not just the kernel when you update the compiler. glibc key among them.
On the obvious side, while you may have compiled your kernel with 4.1.2,
did you install it? Did you boot it?

--
Peter
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #4 (permalink)  
Old 02-20-2008, 09:51 PM
Thierry MERLE
 
Posts: n/a
Default Re: gcc 3.4.6 vs 4.1.2 and vmware

Hello,

On Sat, 28 Apr 2007 14:12:49 -0700, Miguel De Anda wrote:

> i've rebuilt my kernel 2.6.19 using gcc version 4.1.2 but when i try to
> update the vmware module, it gives me an error telling me i built my
> kernel using 3.4.6 but i'm trying to build the module using 4.1.2. i'm
> pretty sure the kernel was built with 4.1.2.
>

cat /proc/version will show you if you are right.

> anyways, i'm running some strange combo of current and 11.0. i've had
> some problems and had to roll back, then tried again.. so i'm sure some
> programs i have are a littled screwed up. because of this, i imagine
> that the vmware message is a little off and its probably telling me that
> some other library is compiled with a different version of gcc. maybe i
> didn't update something to current that i should have? any ideas?
>
> this is the exact message i'm getting:
>
> Your kernel was built with "gcc" version "3.4.6", while you are trying
> to use "/usr/bin/gcc" version "4.1.2". This configuration is not
> supported and VMware Workstation cannot work in such configuration.
> Please either recompile your kernel with "/usr/bin/gcc" version "4.1.2",
> or restart /usr/bin/vmware-config.pl with CC environment variable
> pointing to the "gcc" version "3.4.6".
>

Perhaps you will have problems further since the environment is not fully
gcc-4.1.2 compiled.
But it is not forbidden to try

I had some compilation error issues for vmware on a 2.6.19 (and 2.6.20)
kernel a while ago. I hope they are corrected in the latest version.

>
> thanks,
> miguel de anda



Regards,
Thierry
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #5 (permalink)  
Old 02-20-2008, 09:55 PM
Miguel De Anda
 
Posts: n/a
Default Re: gcc 3.4.6 vs 4.1.2 and vmware

Thierry MERLE wrote:

> Hello,
>
> On Sat, 28 Apr 2007 14:12:49 -0700, Miguel De Anda wrote:
>
>> i've rebuilt my kernel 2.6.19 using gcc version 4.1.2 but when i try to
>> update the vmware module, it gives me an error telling me i built my
>> kernel using 3.4.6 but i'm trying to build the module using 4.1.2. i'm
>> pretty sure the kernel was built with 4.1.2.
>>

> cat /proc/version will show you if you are right.
>


$cat /proc/version
Linux version 2.6.19 (my email address) (gcc version 3.4.6) #6 SMP PREEMPT
Fri Jan 12 00:25:49 PST 2007


Odd, how did this happen? I basically upgraded everything to
slackware-current, then rebuilt my kernel. I suppose I can try with a
different version of the kernel, just to make sure all the files are new.


--
Posted via a free Usenet account from http://www.teranews.com

Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #6 (permalink)  
Old 02-20-2008, 09:55 PM
Miguel De Anda
 
Posts: n/a
Default Re: gcc 3.4.6 vs 4.1.2 and vmware

Peter wrote:

> On Sat, 28 Apr 2007 14:12:49 -0700, Miguel De Anda wrote:
>
>> i've rebuilt my kernel 2.6.19 using gcc version 4.1.2 but when i try to
>> update the vmware module, it gives me an error telling me i built my
>> kernel using 3.4.6 but i'm trying to build the module using 4.1.2. i'm
>> pretty sure the kernel was built with 4.1.2.
>>
>> anyways, i'm running some strange combo of current and 11.0. i've had
>> some problems and had to roll back, then tried again.. so i'm sure some
>> programs i have are a littled screwed up. because of this, i imagine
>> that the vmware message is a little off and its probably telling me that
>> some other library is compiled with a different version of gcc. maybe i
>> didn't update something to current that i should have? any ideas?
>>
>> this is the exact message i'm getting:
>>
>> Your kernel was built with "gcc" version "3.4.6", while you are trying
>> to use "/usr/bin/gcc" version "4.1.2". This configuration is not
>> supported and VMware Workstation cannot work in such configuration.
>> Please either recompile your kernel with "/usr/bin/gcc" version "4.1.2",
>> or restart /usr/bin/vmware-config.pl with CC environment variable
>> pointing to the "gcc" version "3.4.6".
>>
>>
>> thanks,
>> miguel de anda

>
> Upgrading the toolchain is a messy business. There's a lot to recompile,
> not just the kernel when you update the compiler. glibc key among them.
> On the obvious side, while you may have compiled your kernel with 4.1.2,
> did you install it? Did you boot it?
>


I figured I'd have problems, but I assume that updating all packages to
slackware-current would also update my toolchain with everything
compatible. Was that a bad assumption?



--
Posted via a free Usenet account from http://www.teranews.com

Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #7 (permalink)  
Old 02-20-2008, 09:55 PM
Robby Workman
 
Posts: n/a
Default Re: gcc 3.4.6 vs 4.1.2 and vmware

On 2007-05-04, Miguel De Anda <miguel@thedeanda.com> wrote:
>
> I figured I'd have problems, but I assume that updating all packages to
> slackware-current would also update my toolchain with everything
> compatible. Was that a bad assumption?



That depends on how you updated. If you followed the instructions given
in UPGRADE.TXT, then everything should have been updated properly.

RW
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Reply


Thread Tools
Display Modes

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

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On
Forum Jump


All times are GMT. The time now is 09:56 AM.


Powered by vBulletin® Version 3.6.5
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Search Engine Optimization by vBSEO 3.2.0
www.UnixAdminTalk.com