[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: После установки нового ядра что-то не хочет собираться vmmon. Как быть?



Мда нехорошо конечно собирать кернел компилятором отличным от того что
в репозитории.
Ну на крайняк ты можеш сам пересобрать ядро.

Peter Teslenko написав:
> Привет, коллеги.
>
> Вот такая картинка.
>
> 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.1.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.1.2" anyway? [no] yes
>
> What is the location of the directory of C header files that match your
> running
> kernel? [/lib/modules/2.6.21-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-config0/vmmon-only'
> make -C /lib/modules/2.6.21-1-686/build/include/.. SUBDIRS=$PWD
> SRCROOT=$PWD/. modules
> make[1]: Entering directory `/usr/src/linux-headers-2.6.21-1-686'
>    CC [M]  /tmp/vmware-config0/vmmon-only/linux/driver.o
> In file included from /tmp/vmware-config0/vmmon-only/linux/driver.c:80:
> /tmp/vmware-config0/vmmon-only/./include/compat_kernel.h:21: error:
> expected declaration specifiers or '...' before 'compat_exit'
> /tmp/vmware-config0/vmmon-only/./include/compat_kernel.h:21: error:
> expected declaration specifiers or '...' before 'exit_code'
> /tmp/vmware-config0/vmmon-only/./include/compat_kernel.h:21: warning:
> type defaults to 'int' in declaration of '_syscall1'
> make[2]: *** [/tmp/vmware-config0/vmmon-only/linux/driver.o] Error 1
> make[1]: *** [_module_/tmp/vmware-config0/vmmon-only] Error 2
> make[1]: Leaving directory `/usr/src/linux-headers-2.6.21-1-686'
> make: *** [vmmon.ko] Error 2
> make: Leaving directory `/tmp/vmware-config0/vmmon-only'
> Unable to build the vmmon module.
>
>
>
> Где ж я ему возьму gcc 4.1.3 ?
>
> gcc:
>    Installed: 4:4.1.1-15
>    Candidate: 4:4.1.1-15
>    Version table:
>       4:4.1.2-3 0
>          500 http://ftp.funet.fi sid/main Packages
>   *** 4:4.1.1-15 0
>          990 http://ftp.funet.fi lenny/main Packages
>          100 /var/lib/dpkg/status
>
>
> --
> To UNSUBSCRIBE, email to debian-russian-REQUEST@lists.debian.org
> with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org



Reply to: