[+] vmware, problem z konfiguracja
: 13 listopada 2007, 12:26
rozpakowalem, zainstalowalem i konfiguruje zgodnie z opisem kaki http://kaka.ovh.org/howto/vmware/
Jednek w pewnym momencie kofigruacja zwraca mi cos takiego:
Domyslam sie, ze to przez to ze najpierw mialem etcha ktory uzywal gcc 4.1.3 ale po przejsciu na lenny mam teraz 4.2.3, jak jednak moge to rozwiazac?
Moj system:
Linux lanceroot 2.6.22-2-amd64 #1 SMP Thu Aug 30 23:43:59 UTC 2007 x86_64 GNU/Linux
//edit
poprawiłem tytuł tematu - nie dodajemy [solved], ale [+] na początku
mlyczek
Jednek w pewnym momencie kofigruacja zwraca mi cos takiego:
Kod: Zaznacz cały
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.22-2-amd64/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: Wejście do katalogu `/tmp/vmware-config0/vmmon-only'
make -C /lib/modules/2.6.22-2-amd64/build/include/.. SUBDIRS=$PWD SRCROOT=$PWD/. modules
make[1]: Wejście do katalogu `/usr/src/linux-headers-2.6.22-2-amd64'
/tmp/vmware-config0/vmmon-only/Makefile:127: *** Inappropriate build environment: you wanted to use gcc version 4.2.3 while kernel attempts to use gcc version 4.1.3.
/tmp/vmware-config0/vmmon-only/Makefile:129: *** For proper build you'll have to replace gcc-4.1 with symbolic link to /usr/bin/gcc. Stop.
make[1]: *** [_module_/tmp/vmware-config0/vmmon-only] Błąd 2
make[1]: Opuszczenie katalogu `/usr/src/linux-headers-2.6.22-2-amd64'
make: *** [vmmon.ko] Błąd 2
make: Opuszczenie katalogu `/tmp/vmware-config0/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.
lanceroot:/vmware/vmware-any-any-update114#
Moj system:
Linux lanceroot 2.6.22-2-amd64 #1 SMP Thu Aug 30 23:43:59 UTC 2007 x86_64 GNU/Linux
//edit
poprawiłem tytuł tematu - nie dodajemy [solved], ale [+] na początku
mlyczek