VMWare gcc problem
HarryG
hg57
Sun Dec 18 16:32:07 PST 2005
On Sunday 18 December 2005 03:47 pm, Net Llama! wrote:
> On 12/18/2005 12:32 PM, HarryG wrote:
> > I am not too swift on this stuff, so please bear with me.
<snip>
>
> Try doing:
> export CC=/usr/bin/gcc-3.3
>
> and then running the install script again.
I did, but still got the error. I included more info this time:
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-3.3". Use environment variable CC to override.
What is the location of the directory of C header files that match your
running
kernel? [/usr/src/linux-headers-2.6.12-1-586tsc/include]
Extracting the sources of the vmmon module.
Building the vmmon module.
Using 2.6.x kernel build system.
make: Entering directory `/tmp/vmware-config4/vmmon-only'
make -C /usr/src/linux-headers-2.6.12-1-586tsc/include/.. SUBDIRS=$PWD
SRCROOT=$PWD/. modules
/usr/src/linux-headers-2.6.12-1-586tsc/scripts/gcc-version.sh: line 11: gcc:
command not found
/usr/src/linux-headers-2.6.12-1-586tsc/scripts/gcc-version.sh: line 12: gcc:
command not found
make[1]: gcc: Command not found
make[1]: Entering directory `/usr/src/linux-headers-2.6.12-1-586tsc'
make[2]: gcc: Command not found
/tmp/vmware-config4/vmmon-only/Makefile:89: *** Inappropriate build
environment: you wanted to use gcc version 3.3.6 while kernel attempts to use
gcc version .
/tmp/vmware-config4/vmmon-only/Makefile:91: *** For proper build you'll have
to replace gcc with symbolic link to /usr/bin/gcc-3.3. Stop.
make[1]: *** [_module_/tmp/vmware-config4/vmmon-only] Error 2
make[1]: Leaving directory `/usr/src/linux-headers-2.6.12-1-586tsc'
make: *** [vmmon.ko] Error 2
make: Leaving directory `/tmp/vmware-config4/vmmon-only'
Unable to build the vmmon module.
What am I missing here?
Harry G
More information about the Linux-users
mailing list