[Plug] Διαφορετικες εκδοσεις gcc για kernel και modules
Dimitris Dalianis
dalian at ceid.upatras.gr
Mon Jan 5 18:31:39 EET 2009
Kostis P. Ventrix wrote:
> On Mon, Jan 5, 2009 at 11:03 AM, <dalian at ceid.upatras.gr> wrote:
>
>> Καλημερα σε ολους χρονια πολλά και καλή χρονιά.
>>
>> Προσπαθώ να στησω εναν VMware Server σε debian.Εχω ομως το προβλημα που
>> περιγραφω στον τιτλο.Συγκεκριμενα μου εμφανιζει το εξης:
>>
>> 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] 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.3.2". 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.3.2" anyway? [no]
>>
>> και πατωντας yes
>>
>> What is the location of the directory of C header files that match your
>> running
>> kernel? [/lib/modules/2.6.26-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.26-1-686/build/include/.. SUBDIRS=$PWD
>> SRCROOT=$PWD/. modules
>> make[1]: Entering directory `/usr/src/linux-headers-2.6.26-1-686'
>> /tmp/vmware-config2/vmmon-only/Makefile:106: *** Inappropriate build
>> environment: you wanted to use gcc version 4.3.2 while kernel attempts to
>> use gcc version 4.1.3.
>> /tmp/vmware-config2/vmmon-only/Makefile:108: *** For proper build you'll
>> have to replace gcc-4.1 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.26-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/go/unsup-linux-products" and
>> "http://www.vmware.com/go/unsup-linux-tools".
>>
>> Execution aborted.
>>
>> και τελος.
>>
>> τι προτεινετε;;
>> ευχαριστω
>>
>>
>> --
>> Patras Linux User Group mailing list
>>
>
> Κάνε ενα ls -ls `which gcc` και θα καταλάβεις τι πρέπει να κάνεις ;)
>
>
ευχαριστω παρα πολυ.
More information about the Plug
mailing list