FAQ Search Today's Posts Mark Forums Read
» Video Reviews

» Linux Archive

Linux-archive is a website aiming to archive linux email lists and to make them easily accessible for linux users/developers.


» Sponsor

» Partners

» Sponsor

Go Back   Linux Archive > Debian > Debian User

 
 
LinkBack Thread Tools
 
Old 04-12-2008, 01:39 AM
"Miguel Gaiowski"
 
Default Problems with vmware-server-console

Hi, I've been trying to get vmware to work here and I got this issue while compiling the kernel module.

I'm using Debian Lenny, kernel 2.6.24-686 and here's the output I get:

==

None of the pre-built vmmon modules for VMware Server 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 "4.1.3", while you are trying to use
"/usr/bin/gcc" version "4.2.3". This configuration is not recommended and
VMware Server may crash if you'll continue. Please try to use exactly same

compiler as one used for building your kernel. Do you want to go with compiler
"/usr/bin/gcc" version "4.2.3" anyway? [no]* yes

What is the location of the directory of C header files that match your running

kernel? [/lib/modules/2.6.24-1-686/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.24-1-686/build/include/.. SUBDIRS=$PWD SRCROOT=$PWD/. modules
make[1]: Entering directory `/usr/src/linux-headers-2.6.24-1-686'
/tmp/vmware-config2/vmmon-only/Makefile:89: *** Inappropriate build environment: you wanted to use gcc version 4.2.3 while kernel attempts to use gcc version 4.1.3.

/tmp/vmware-config2/vmmon-only/Makefile:91: *** For proper build you'll have to replace* gcc-4.1 -m32 with symbolic link to /usr/bin/gcc.* Stop.
make[1]: *** [_module_/tmp/vmware-config2/vmmon-only] Error 2
make[1]: Leaving directory `/usr/src/linux-headers-2.6.24-1-686'

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.

==

Notice that I said yes when it recommended no. I also tried 'export CC='gcc-4.1' and it didnt work.


Thanks in advance,
--
Miguel Fco. A. de Mattos Gaiowski
 
Old 04-12-2008, 01:49 AM
Alex Samad
 
Default Problems with vmware-server-console

On Fri, Apr 11, 2008 at 10:39:17PM -0300, Miguel Gaiowski wrote:
> Hi, I've been trying to get vmware to work here and I got this issue while
> compiling the kernel module.
>
> I'm using Debian Lenny, kernel 2.6.24-686 and here's the output I get:
>
[snip]

sounds like you need the vmware any any package
> Thanks in advance,
>
> --
> Miguel Fco. A. de Mattos Gaiowski

--
"This is what I'm good at. I like meeting people, my fellow citizens, I like interfacing with them."

- George W. Bush
09/08/2000
outside Pittsburgh, PA
 
Old 04-12-2008, 02:06 AM
"Miguel Gaiowski"
 
Default Problems with vmware-server-console

On Fri, Apr 11, 2008 at 10:49 PM, Alex Samad <alex@samad.com.au> wrote:

On Fri, Apr 11, 2008 at 10:39:17PM -0300, Miguel Gaiowski wrote:

> Hi, I've been trying to get vmware to work here and I got this issue while

> compiling the kernel module.

>

> I'm using Debian Lenny, kernel 2.6.24-686 and here's the output I get:

>

[snip]



sounds like you need the vmware any any package
Just tried it. Got the same error...
*


> Thanks in advance,

>

> --

> Miguel Fco. A. de Mattos Gaiowski



--

"This is what I'm good at. I like meeting people, my fellow citizens, I like interfacing with them."



* * * *- George W. Bush

09/08/2000

outside Pittsburgh, PA


-----BEGIN PGP SIGNATURE-----

Version: GnuPG v1.4.6 (GNU/Linux)



iD8DBQFIABUpkZz88chpJ2MRArdIAKDI9byT2kZpxV1H+9rb4y c0FTgoXQCfciDP

knBNLyi7shMmApuiUGS7u14=

=26cy

-----END PGP SIGNATURE-----




--
Miguel Fco. A. de Mattos Gaiowski
 
Old 04-12-2008, 04:00 AM
Alex Samad
 
Default Problems with vmware-server-console

On Fri, Apr 11, 2008 at 11:06:32PM -0300, Miguel Gaiowski wrote:
> On Fri, Apr 11, 2008 at 10:49 PM, Alex Samad <alex@samad.com.au> wrote:
>
> > On Fri, Apr 11, 2008 at 10:39:17PM -0300, Miguel Gaiowski wrote:
> > > Hi, I've been trying to get vmware to work here and I got this issue
> > while
> > > compiling the kernel module.
> > >
> > > I'm using Debian Lenny, kernel 2.6.24-686 and here's the output I get:
> > >
> > [snip]
> >
> > sounds like you need the vmware any any package
>
>
> Just tried it. Got the same error...
I build 116 against linux-image-2.6.24-1-amd64 yesterday with no
problems.

>
>
> >
> > > Thanks in advance,
> > >
> > > --
> > > Miguel Fco. A. de Mattos Gaiowski
> >
> > --
> > "This is what I'm good at. I like meeting people, my fellow citizens, I
> > like interfacing with them."
> >
> > - George W. Bush
> > 09/08/2000
> > outside Pittsburgh, PA
> >
> > -----BEGIN PGP SIGNATURE-----
> > Version: GnuPG v1.4.6 (GNU/Linux)
> >
> > iD8DBQFIABUpkZz88chpJ2MRArdIAKDI9byT2kZpxV1H+9rb4y c0FTgoXQCfciDP
> > knBNLyi7shMmApuiUGS7u14=
> > =26cy
> > -----END PGP SIGNATURE-----
> >
> >
>
>
> --
> Miguel Fco. A. de Mattos Gaiowski

--
Brian Kernighan has an automobile which he helped design.
Unlike most automobiles, it has neither speedometer, nor gas gauge, nor
any of the numerous idiot lights which plague the modern driver.
Rather, if the driver makes any mistake, a giant "?" lights up in the
center of the dashboard. "The experienced driver", he says, "will
usually know what's wrong."
 
Old 04-14-2008, 11:32 PM
Chris Parker
 
Default Problems with vmware-server-console

On Sat, 2008-04-12 at 21:05 +0300, Γιώργος *άλλας wrote:
> Miguel Gaiowski wrote:
> > Hi, I've been trying to get vmware to work here and I got this issue
> > while compiling the kernel module.
> >
> > I'm using Debian Lenny, kernel 2.6.24-686 and here's the output I get:
> >
>
> http://www.debian-administration.org/users/gpall/weblog/5
>
Hello all,

you can also do:
ln -s /usr/bin/gcc-4.1 /usr/bin/gcc
/usr/bin/gcc -> /usr/bin/gcc-4.1

that worked for me on the same kernel. I have successfully got it
working on the beta 2.2 and 1.4 versions of vmware. it may not be the
correct Debian way but it got the job done.


--
To UNSUBSCRIBE, email to debian-user-REQUEST@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org
 
Old 04-15-2008, 12:02 AM
"Miguel Gaiowski"
 
Default Problems with vmware-server-console

On Mon, Apr 14, 2008 at 8:32 PM, Chris Parker <chris_parker@adelphia.net> wrote:

On Sat, 2008-04-12 at 21:05 +0300, Γιώργος *άλλας wrote:

> Miguel Gaiowski wrote:

> > Hi, I've been trying to get vmware to work here and I got this issue

> > while compiling the kernel module.

> >

> > I'm using Debian Lenny, kernel 2.6.24-686 and here's the output I get:

> >

>

> http://www.debian-administration.org/users/gpall/weblog/5

>

Hello all,



you can also do:

ln -s /usr/bin/gcc-4.1 /usr/bin/gcc

*/usr/bin/gcc -> /usr/bin/gcc-4.1



that worked for me on the same kernel. *I have successfully got it

working on the beta 2.2 and 1.4 versions of vmware. *it may not be the

correct Debian way but it got the job done.


The any any update almost worked.. here's the output:

Using compiler "/usr/bin/gcc-4.1". 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.24-1-686/build/include]

Extracting the sources of the vmmon module.

Building the vmmon module.

Building for VMware Server 1.0.0.
Using 2.6.x kernel build system.

make: Entering directory `/tmp/vmware-config13/vmmon-only'
make -C /lib/modules/2.6.24-1-686/build/include/.. SUBDIRS=$PWD SRCROOT=$PWD/. modules
make[1]: Entering directory `/usr/src/linux-headers-2.6.24-1-686'

* CC [M]* /tmp/vmware-config13/vmmon-only/linux/driver.o
* CC [M]* /tmp/vmware-config13/vmmon-only/linux/driverLog.o
* CC [M]* /tmp/vmware-config13/vmmon-only/linux/hostif.o
* CC [M]* /tmp/vmware-config13/vmmon-only/common/comport.o

* CC [M]* /tmp/vmware-config13/vmmon-only/common/cpuid.o
* CC [M]* /tmp/vmware-config13/vmmon-only/common/hash.o
* CC [M]* /tmp/vmware-config13/vmmon-only/common/memtrack.o
* CC [M]* /tmp/vmware-config13/vmmon-only/common/phystrack.o

* CC [M]* /tmp/vmware-config13/vmmon-only/common/task.o
gcc-4.1: error trying to exec 'cc1plus': execvp: No such file or directory
make[2]: *** [/tmp/vmware-config13/vmmon-only/common/task.o] Error 1
make[1]: *** [_module_/tmp/vmware-config13/vmmon-only] Error 2

make[1]: Leaving directory `/usr/src/linux-headers-2.6.24-1-686'
make: *** [vmmon.ko] Error 2
make: Leaving directory `/tmp/vmware-config13/vmmon-only'
Unable to build the vmmon module.

Thanks
*




--

To UNSUBSCRIBE, email to debian-user-REQUEST@lists.debian.org

with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org





--
Miguel Fco. A. de Mattos Gaiowski
 
Old 04-15-2008, 05:35 AM
Alex Samad
 
Default Problems with vmware-server-console

On Mon, Apr 14, 2008 at 09:02:54PM -0300, Miguel Gaiowski wrote:
> On Mon, Apr 14, 2008 at 8:32 PM, Chris Parker <chris_parker@adelphia.net>
> wrote:
>
[snip]
> CC [M] /tmp/vmware-config13/vmmon-only/common/task.o
> gcc-4.1: error trying to exec 'cc1plus': execvp: No such file or directory

you are missing the c++ compiler


> make[2]: *** [/tmp/vmware-config13/vmmon-only/common/task.o] Error 1
> make[1]: *** [_module_/tmp/vmware-config13/vmmon-only] Error 2
> make[1]: Leaving directory `/usr/src/linux-headers-2.6.24-1-686'
> make: *** [vmmon.ko] Error 2
> make: Leaving directory `/tmp/vmware-config13/vmmon-only'
> Unable to build the vmmon module.
>
> Thanks
>
>
> >
> >
> > --
> > To UNSUBSCRIBE, email to debian-user-REQUEST@lists.debian.org
> > with a subject of "unsubscribe". Trouble? Contact
> > listmaster@lists.debian.org
> >
> >
>
>
> --
> Miguel Fco. A. de Mattos Gaiowski

--
You are number 6! Who is number one?
 
Old 04-15-2008, 10:52 PM
"Miguel Gaiowski"
 
Default Problems with vmware-server-console

On Tue, Apr 15, 2008 at 2:35 AM, Alex Samad <alex@samad.com.au> wrote:

On Mon, Apr 14, 2008 at 09:02:54PM -0300, Miguel Gaiowski wrote:

> On Mon, Apr 14, 2008 at 8:32 PM, Chris Parker <chris_parker@adelphia.net>

> wrote:

>

[snip]

> * CC [M] */tmp/vmware-config13/vmmon-only/common/task.o

> gcc-4.1: error trying to exec 'cc1plus': execvp: No such file or directory



you are missing the c++ compiler




Yep, I was missing g++ 4.1.

Thanks
*


> make[2]: *** [/tmp/vmware-config13/vmmon-only/common/task.o] Error 1

> make[1]: *** [_module_/tmp/vmware-config13/vmmon-only] Error 2

> make[1]: Leaving directory `/usr/src/linux-headers-2.6.24-1-686'

> make: *** [vmmon.ko] Error 2

> make: Leaving directory `/tmp/vmware-config13/vmmon-only'

> Unable to build the vmmon module.

>

> Thanks

>

>

> >

> >

> > --

> > To UNSUBSCRIBE, email to debian-user-REQUEST@lists.debian.org

> > with a subject of "unsubscribe". Trouble? Contact

> > listmaster@lists.debian.org

> >

> >

>

>

> --

> Miguel Fco. A. de Mattos Gaiowski



--

You are number 6! *Who is number one?


-----BEGIN PGP SIGNATURE-----

Version: GnuPG v1.4.6 (GNU/Linux)



iD8DBQFIBD6tkZz88chpJ2MRAuR/AKDmlSB8ZAQpe+mGRtyLPGEFJRYh6wCeM5IJ

4CmbgQ347Yky+YFg2Cy9Ol0=

=b4oh

-----END PGP SIGNATURE-----




--
Miguel Fco. A. de Mattos Gaiowski
 

Thread Tools




All times are GMT. The time now is 12:52 PM.

VBulletin, Copyright ©2000 - 2014, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO ©2007, Crawlability, Inc.
Copyright 2007 - 2008, www.linux-archive.org