nvidia-drivers-177.82 & 2.6.26-gentoo-r4

Вот уже 3-ий день пытаюсь разобраться с проблемой.
Ставлю дрова nvidia-drivers-177.82 на ядро 2.6.26-gentoo-r4 и вылетает ошибка (лог ниже)

 * Determining the location of the kernel source code
 * Found kernel source directory:
 *     /usr/src/linux
 * Found kernel object directory:
 *     /lib/modules/2.6.26-gentoo-r4/build
 * Found sources for kernel version:
 *     2.6.26-gentoo-r4
 * Checking for MTRR support ...
  [ ok ]
 * Checking for Paravirtualized guest support ...
>>> Unpacking source...
>>> Unpacking NVIDIA-Linux-x86-177.82-pkg0.run to /var/tmp/portage/x11-drivers/nvidia-drivers-177.82/work/NVIDIA-Linux-x86-177.82-pkg0
 * Applying NVIDIA_glx-defines.patch ...
  [ ok ]
 * Applying NVIDIA_glx-glheader.patch ...
  [ ok ]
 * Applying NVIDIA_i2c-hwmon.patch ...
  [ ok ]
 * Converting NVIDIA-Linux-x86-177.82-pkg0/usr/src/nv/Makefile.kbuild to use M= instead of SUBDIRS= ...
  [ ok ]
>>> Source unpacked.
>>> Compiling source in /var/tmp/portage/x11-drivers/nvidia-drivers-177.82/work/NVIDIA-Linux-x86-177.82-pkg0 ...
 * Preparing nvidia module
NVIDIA: calling KBUILD...
make CC=cc KBUILD_OUTPUT=/lib/modules/2.6.26-gentoo-r4/build KBUILD_VERBOSE=1 -C /usr/src/linux M=/var/tmp/portage/x11-drivers/nvidia-drivers-177.82/work/NVIDIA-Linux-x86-177.82-pkg0/usr/src/nv modules
make[2]: предупреждение: сервер задач недоступен: используется -j1.
Добавьте `+' к правилу в родительском make.
make -C /lib/modules/2.6.26-gentoo-r4/build \
	KBUILD_SRC=/usr/src/linux-2.6.26-gentoo-r4 \
	KBUILD_EXTMOD="/var/tmp/portage/x11-drivers/nvidia-drivers-177.82/work/NVIDIA-Linux-x86-177.82-pkg0/usr/src/nv" -f /usr/src/linux-2.6.26-gentoo-r4/Makefile \
	modules
test -e include/linux/autoconf.h -a -e include/config/auto.conf || (		\
	echo;								\
	echo "  ERROR: Kernel configuration is invalid.";		\
	echo "         include/linux/autoconf.h or include/config/auto.conf are missing.";	\
	echo "         Run 'make oldconfig && make prepare' on kernel src to fix it.";	\
	echo;								\
	/bin/false)
mkdir -p /var/tmp/portage/x11-drivers/nvidia-drivers-177.82/work/NVIDIA-Linux-x86-177.82-pkg0/usr/src/nv/.tmp_versions ; rm -f /var/tmp/portage/x11-drivers/nvidia-drivers-177.82/work/NVIDIA-Linux-x86-177.82-pkg0/usr/src/nv/.tmp_versions/*
make -f /usr/src/linux-2.6.26-gentoo-r4/scripts/Makefile.build obj=/var/tmp/portage/x11-drivers/nvidia-drivers-177.82/work/NVIDIA-Linux-x86-177.82-pkg0/usr/src/nv
  cc -Wp,-MD,/var/tmp/portage/x11-drivers/nvidia-drivers-177.82/work/NVIDIA-Linux-x86-177.82-pkg0/usr/src/nv/.nv.o.d  -nostdinc -isystem /usr/lib/gcc/i486-pc-linux-gnu/4.1.2/include -D__KERNEL__ -Iinclude -Iinclude2 -I/usr/src/linux-2.6.26-gentoo-r4/include -include include/linux/autoconf.h  -I/var/tmp/portage/x11-drivers/nvidia-drivers-177.82/work/NVIDIA-Linux-x86-177.82-pkg0/usr/src/nv -Wall -Wundef -Wstrict-prototypes -Wno-trigraphs -fno-strict-aliasing -fno-common -Werror-implicit-function-declaration -Os -fno-stack-protector -m32 -msoft-float -mregparm=3 -freg-struct-return -mpreferred-stack-boundary=2 -march=i686 -ffreestanding -DCONFIG_AS_CFI=1 -DCONFIG_AS_CFI_SIGNAL_FRAME=1 -pipe -Wno-sign-compare -fno-asynchronous-unwind-tables -mno-sse -mno-mmx -mno-sse2 -mno-3dnow -I/usr/src/linux-2.6.26-gentoo-r4/include/asm-x86/mach-default -Iinclude/asm-x86/mach-default -fomit-frame-pointer -Wdeclaration-after-statement -Wno-pointer-sign  -I/var/tmp/portage/x11-drivers/nvidia-drivers-177.82/work/NVIDIA-Linux-x86-177.82-pkg0/usr/src/nv -Wall -Wimplicit -Wreturn-type -Wswitch -Wformat -Wchar-subscripts -Wparentheses -Wno-multichar -Werror -MD -Wno-cast-qual -Wno-error -D__KERNEL__ -DMODULE -DNVRM -DNV_VERSION_STRING=\"177.82\" -UDEBUG -U_DEBUG -DNDEBUG -DMODULE -D"KBUILD_STR(s)=#s" -D"KBUILD_BASENAME=KBUILD_STR(nv)"  -D"KBUILD_MODNAME=KBUILD_STR(nvidia)" -c -o /var/tmp/portage/x11-drivers/nvidia-drivers-177.82/work/NVIDIA-Linux-x86-177.82-pkg0/usr/src/nv/nv.o /var/tmp/portage/x11-drivers/nvidia-drivers-177.82/work/NVIDIA-Linux-x86-177.82-pkg0/usr/src/nv/nv.c
  cc -Wp,-MD,/var/tmp/portage/x11-drivers/nvidia-drivers-177.82/work/NVIDIA-Linux-x86-177.82-pkg0/usr/src/nv/.nv-vm.o.d  -nostdinc -isystem /usr/lib/gcc/i486-pc-linux-gnu/4.1.2/include -D__KERNEL__ -Iinclude -Iinclude2 -I/usr/src/linux-2.6.26-gentoo-r4/include -include include/linux/autoconf.h  -I/var/tmp/portage/x11-drivers/nvidia-drivers-177.82/work/NVIDIA-Linux-x86-177.82-pkg0/usr/src/nv -Wall -Wundef -Wstrict-prototypes -Wno-trigraphs -fno-strict-aliasing -fno-common -Werror-implicit-function-declaration -Os -fno-stack-protector -m32 -msoft-float -mregparm=3 -freg-struct-return -mpreferred-stack-boundary=2 -march=i686 -ffreestanding -DCONFIG_AS_CFI=1 -DCONFIG_AS_CFI_SIGNAL_FRAME=1 -pipe -Wno-sign-compare -fno-asynchronous-unwind-tables -mno-sse -mno-mmx -mno-sse2 -mno-3dnow -I/usr/src/linux-2.6.26-gentoo-r4/include/asm-x86/mach-default -Iinclude/asm-x86/mach-default -fomit-frame-pointer -Wdeclaration-after-statement -Wno-pointer-sign  -I/var/tmp/portage/x11-drivers/nvidia-drivers-177.82/work/NVIDIA-Linux-x86-177.82-pkg0/usr/src/nv -Wall -Wimplicit -Wreturn-type -Wswitch -Wformat -Wchar-subscripts -Wparentheses -Wno-multichar -Werror -MD -Wno-cast-qual -Wno-error -D__KERNEL__ -DMODULE -DNVRM -DNV_VERSION_STRING=\"177.82\" -UDEBUG -U_DEBUG -DNDEBUG -DMODULE -D"KBUILD_STR(s)=#s" -D"KBUILD_BASENAME=KBUILD_STR(nv_vm)"  -D"KBUILD_MODNAME=KBUILD_STR(nvidia)" -c -o /var/tmp/portage/x11-drivers/nvidia-drivers-177.82/work/NVIDIA-Linux-x86-177.82-pkg0/usr/src/nv/nv-vm.o /var/tmp/portage/x11-drivers/nvidia-drivers-177.82/work/NVIDIA-Linux-x86-177.82-pkg0/usr/src/nv/nv-vm.c
  cc -Wp,-MD,/var/tmp/portage/x11-drivers/nvidia-drivers-177.82/work/NVIDIA-Linux-x86-177.82-pkg0/usr/src/nv/.os-agp.o.d  -nostdinc -isystem /usr/lib/gcc/i486-pc-linux-gnu/4.1.2/include -D__KERNEL__ -Iinclude -Iinclude2 -I/usr/src/linux-2.6.26-gentoo-r4/include -include include/linux/autoconf.h  -I/var/tmp/portage/x11-drivers/nvidia-drivers-177.82/work/NVIDIA-Linux-x86-177.82-pkg0/usr/src/nv -Wall -Wundef -Wstrict-prototypes -Wno-trigraphs -fno-strict-aliasing -fno-common -Werror-implicit-function-declaration -Os -fno-stack-protector -m32 -msoft-float -mregparm=3 -freg-struct-return -mpreferred-stack-boundary=2 -march=i686 -ffreestanding -DCONFIG_AS_CFI=1 -DCONFIG_AS_CFI_SIGNAL_FRAME=1 -pipe -Wno-sign-compare -fno-asynchronous-unwind-tables -mno-sse -mno-mmx -mno-sse2 -mno-3dnow -I/usr/src/linux-2.6.26-gentoo-r4/include/asm-x86/mach-default -Iinclude/asm-x86/mach-default -fomit-frame-pointer -Wdeclaration-after-statement -Wno-pointer-sign  -I/var/tmp/portage/x11-drivers/nvidia-drivers-177.82/work/NVIDIA-Linux-x86-177.82-pkg0/usr/src/nv -Wall -Wimplicit -Wreturn-type -Wswitch -Wformat -Wchar-subscripts -Wparentheses -Wno-multichar -Werror -MD -Wno-cast-qual -Wno-error -D__KERNEL__ -DMODULE -DNVRM -DNV_VERSION_STRING=\"177.82\" -UDEBUG -U_DEBUG -DNDEBUG -DMODULE -D"KBUILD_STR(s)=#s" -D"KBUILD_BASENAME=KBUILD_STR(os_agp)"  -D"KBUILD_MODNAME=KBUILD_STR(nvidia)" -c -o /var/tmp/portage/x11-drivers/nvidia-drivers-177.82/work/NVIDIA-Linux-x86-177.82-pkg0/usr/src/nv/os-agp.o /var/tmp/portage/x11-drivers/nvidia-drivers-177.82/work/NVIDIA-Linux-x86-177.82-pkg0/usr/src/nv/os-agp.c
  cc -Wp,-MD,/var/tmp/portage/x11-drivers/nvidia-drivers-177.82/work/NVIDIA-Linux-x86-177.82-pkg0/usr/src/nv/.os-interface.o.d  -nostdinc -isystem /usr/lib/gcc/i486-pc-linux-gnu/4.1.2/include -D__KERNEL__ -Iinclude -Iinclude2 -I/usr/src/linux-2.6.26-gentoo-r4/include -include include/linux/autoconf.h  -I/var/tmp/portage/x11-drivers/nvidia-drivers-177.82/work/NVIDIA-Linux-x86-177.82-pkg0/usr/src/nv -Wall -Wundef -Wstrict-prototypes -Wno-trigraphs -fno-strict-aliasing -fno-common -Werror-implicit-function-declaration -Os -fno-stack-protector -m32 -msoft-float -mregparm=3 -freg-struct-return -mpreferred-stack-boundary=2 -march=i686 -ffreestanding -DCONFIG_AS_CFI=1 -DCONFIG_AS_CFI_SIGNAL_FRAME=1 -pipe -Wno-sign-compare -fno-asynchronous-unwind-tables -mno-sse -mno-mmx -mno-sse2 -mno-3dnow -I/usr/src/linux-2.6.26-gentoo-r4/include/asm-x86/mach-default -Iinclude/asm-x86/mach-default -fomit-frame-pointer -Wdeclaration-after-statement -Wno-pointer-sign  -I/var/tmp/portage/x11-drivers/nvidia-drivers-177.82/work/NVIDIA-Linux-x86-177.82-pkg0/usr/src/nv -Wall -Wimplicit -Wreturn-type -Wswitch -Wformat -Wchar-subscripts -Wparentheses -Wno-multichar -Werror -MD -Wno-cast-qual -Wno-error -D__KERNEL__ -DMODULE -DNVRM -DNV_VERSION_STRING=\"177.82\" -UDEBUG -U_DEBUG -DNDEBUG -DMODULE -D"KBUILD_STR(s)=#s" -D"KBUILD_BASENAME=KBUILD_STR(os_interface)"  -D"KBUILD_MODNAME=KBUILD_STR(nvidia)" -c -o /var/tmp/portage/x11-drivers/nvidia-drivers-177.82/work/NVIDIA-Linux-x86-177.82-pkg0/usr/src/nv/os-interface.o /var/tmp/portage/x11-drivers/nvidia-drivers-177.82/work/NVIDIA-Linux-x86-177.82-pkg0/usr/src/nv/os-interface.c
  cc -Wp,-MD,/var/tmp/portage/x11-drivers/nvidia-drivers-177.82/work/NVIDIA-Linux-x86-177.82-pkg0/usr/src/nv/.os-registry.o.d  -nostdinc -isystem /usr/lib/gcc/i486-pc-linux-gnu/4.1.2/include -D__KERNEL__ -Iinclude -Iinclude2 -I/usr/src/linux-2.6.26-gentoo-r4/include -include include/linux/autoconf.h  -I/var/tmp/portage/x11-drivers/nvidia-drivers-177.82/work/NVIDIA-Linux-x86-177.82-pkg0/usr/src/nv -Wall -Wundef -Wstrict-prototypes -Wno-trigraphs -fno-strict-aliasing -fno-common -Werror-implicit-function-declaration -Os -fno-stack-protector -m32 -msoft-float -mregparm=3 -freg-struct-return -mpreferred-stack-boundary=2 -march=i686 -ffreestanding -DCONFIG_AS_CFI=1 -DCONFIG_AS_CFI_SIGNAL_FRAME=1 -pipe -Wno-sign-compare -fno-asynchronous-unwind-tables -mno-sse -mno-mmx -mno-sse2 -mno-3dnow -I/usr/src/linux-2.6.26-gentoo-r4/include/asm-x86/mach-default -Iinclude/asm-x86/mach-default -fomit-frame-pointer -Wdeclaration-after-statement -Wno-pointer-sign  -I/var/tmp/portage/x11-drivers/nvidia-drivers-177.82/work/NVIDIA-Linux-x86-177.82-pkg0/usr/src/nv -Wall -Wimplicit -Wreturn-type -Wswitch -Wformat -Wchar-subscripts -Wparentheses -Wno-multichar -Werror -MD -Wno-cast-qual -Wno-error -D__KERNEL__ -DMODULE -DNVRM -DNV_VERSION_STRING=\"177.82\" -UDEBUG -U_DEBUG -DNDEBUG -DMODULE -D"KBUILD_STR(s)=#s" -D"KBUILD_BASENAME=KBUILD_STR(os_registry)"  -D"KBUILD_MODNAME=KBUILD_STR(nvidia)" -c -o /var/tmp/portage/x11-drivers/nvidia-drivers-177.82/work/NVIDIA-Linux-x86-177.82-pkg0/usr/src/nv/os-registry.o /var/tmp/portage/x11-drivers/nvidia-drivers-177.82/work/NVIDIA-Linux-x86-177.82-pkg0/usr/src/nv/os-registry.c
  cc -Wp,-MD,/var/tmp/portage/x11-drivers/nvidia-drivers-177.82/work/NVIDIA-Linux-x86-177.82-pkg0/usr/src/nv/.nv-i2c.o.d  -nostdinc -isystem /usr/lib/gcc/i486-pc-linux-gnu/4.1.2/include -D__KERNEL__ -Iinclude -Iinclude2 -I/usr/src/linux-2.6.26-gentoo-r4/include -include include/linux/autoconf.h  -I/var/tmp/portage/x11-drivers/nvidia-drivers-177.82/work/NVIDIA-Linux-x86-177.82-pkg0/usr/src/nv -Wall -Wundef -Wstrict-prototypes -Wno-trigraphs -fno-strict-aliasing -fno-common -Werror-implicit-function-declaration -Os -fno-stack-protector -m32 -msoft-float -mregparm=3 -freg-struct-return -mpreferred-stack-boundary=2 -march=i686 -ffreestanding -DCONFIG_AS_CFI=1 -DCONFIG_AS_CFI_SIGNAL_FRAME=1 -pipe -Wno-sign-compare -fno-asynchronous-unwind-tables -mno-sse -mno-mmx -mno-sse2 -mno-3dnow -I/usr/src/linux-2.6.26-gentoo-r4/include/asm-x86/mach-default -Iinclude/asm-x86/mach-default -fomit-frame-pointer -Wdeclaration-after-statement -Wno-pointer-sign  -I/var/tmp/portage/x11-drivers/nvidia-drivers-177.82/work/NVIDIA-Linux-x86-177.82-pkg0/usr/src/nv -Wall -Wimplicit -Wreturn-type -Wswitch -Wformat -Wchar-subscripts -Wparentheses -Wno-multichar -Werror -MD -Wno-cast-qual -Wno-error -D__KERNEL__ -DMODULE -DNVRM -DNV_VERSION_STRING=\"177.82\" -UDEBUG -U_DEBUG -DNDEBUG -DMODULE -D"KBUILD_STR(s)=#s" -D"KBUILD_BASENAME=KBUILD_STR(nv_i2c)"  -D"KBUILD_MODNAME=KBUILD_STR(nvidia)" -c -o /var/tmp/portage/x11-drivers/nvidia-drivers-177.82/work/NVIDIA-Linux-x86-177.82-pkg0/usr/src/nv/nv-i2c.o /var/tmp/portage/x11-drivers/nvidia-drivers-177.82/work/NVIDIA-Linux-x86-177.82-pkg0/usr/src/nv/nv-i2c.c
  cc -Wp,-MD,/var/tmp/portage/x11-drivers/nvidia-drivers-177.82/work/NVIDIA-Linux-x86-177.82-pkg0/usr/src/nv/.nvacpi.o.d  -nostdinc -isystem /usr/lib/gcc/i486-pc-linux-gnu/4.1.2/include -D__KERNEL__ -Iinclude -Iinclude2 -I/usr/src/linux-2.6.26-gentoo-r4/include -include include/linux/autoconf.h  -I/var/tmp/portage/x11-drivers/nvidia-drivers-177.82/work/NVIDIA-Linux-x86-177.82-pkg0/usr/src/nv -Wall -Wundef -Wstrict-prototypes -Wno-trigraphs -fno-strict-aliasing -fno-common -Werror-implicit-function-declaration -Os -fno-stack-protector -m32 -msoft-float -mregparm=3 -freg-struct-return -mpreferred-stack-boundary=2 -march=i686 -ffreestanding -DCONFIG_AS_CFI=1 -DCONFIG_AS_CFI_SIGNAL_FRAME=1 -pipe -Wno-sign-compare -fno-asynchronous-unwind-tables -mno-sse -mno-mmx -mno-sse2 -mno-3dnow -I/usr/src/linux-2.6.26-gentoo-r4/include/asm-x86/mach-default -Iinclude/asm-x86/mach-default -fomit-frame-pointer -Wdeclaration-after-statement -Wno-pointer-sign  -I/var/tmp/portage/x11-drivers/nvidia-drivers-177.82/work/NVIDIA-Linux-x86-177.82-pkg0/usr/src/nv -Wall -Wimplicit -Wreturn-type -Wswitch -Wformat -Wchar-subscripts -Wparentheses -Wno-multichar -Werror -MD -Wno-cast-qual -Wno-error -D__KERNEL__ -DMODULE -DNVRM -DNV_VERSION_STRING=\"177.82\" -UDEBUG -U_DEBUG -DNDEBUG -DMODULE -D"KBUILD_STR(s)=#s" -D"KBUILD_BASENAME=KBUILD_STR(nvacpi)"  -D"KBUILD_MODNAME=KBUILD_STR(nvidia)" -c -o /var/tmp/portage/x11-drivers/nvidia-drivers-177.82/work/NVIDIA-Linux-x86-177.82-pkg0/usr/src/nv/nvacpi.o /var/tmp/portage/x11-drivers/nvidia-drivers-177.82/work/NVIDIA-Linux-x86-177.82-pkg0/usr/src/nv/nvacpi.c
  i686-pc-linux-gnu-ld    -r -o /var/tmp/portage/x11-drivers/nvidia-drivers-177.82/work/NVIDIA-Linux-x86-177.82-pkg0/usr/src/nv/nvidia.o /var/tmp/portage/x11-drivers/nvidia-drivers-177.82/work/NVIDIA-Linux-x86-177.82-pkg0/usr/src/nv/nv-kernel.o /var/tmp/portage/x11-drivers/nvidia-drivers-177.82/work/NVIDIA-Linux-x86-177.82-pkg0/usr/src/nv/nv.o /var/tmp/portage/x11-drivers/nvidia-drivers-177.82/work/NVIDIA-Linux-x86-177.82-pkg0/usr/src/nv/nv-vm.o /var/tmp/portage/x11-drivers/nvidia-drivers-177.82/work/NVIDIA-Linux-x86-177.82-pkg0/usr/src/nv/os-agp.o /var/tmp/portage/x11-drivers/nvidia-drivers-177.82/work/NVIDIA-Linux-x86-177.82-pkg0/usr/src/nv/os-interface.o /var/tmp/portage/x11-drivers/nvidia-drivers-177.82/work/NVIDIA-Linux-x86-177.82-pkg0/usr/src/nv/os-registry.o /var/tmp/portage/x11-drivers/nvidia-drivers-177.82/work/NVIDIA-Linux-x86-177.82-pkg0/usr/src/nv/nv-i2c.o /var/tmp/portage/x11-drivers/nvidia-drivers-177.82/work/NVIDIA-Linux-x86-177.82-pkg0/usr/src/nv/nvacpi.o 
/bin/sh: i686-pc-linux-gnu-ld: команда не найдена
make[4]: *** [/var/tmp/portage/x11-drivers/nvidia-drivers-177.82/work/NVIDIA-Linux-x86-177.82-pkg0/usr/src/nv/nvidia.o] Ошибка 127
make[3]: *** [_module_/var/tmp/portage/x11-drivers/nvidia-drivers-177.82/work/NVIDIA-Linux-x86-177.82-pkg0/usr/src/nv] Ошибка 2
make[2]: *** [sub-make] Ошибка 2
NVIDIA: left KBUILD.
nvidia.ko failed to build!
make[1]: *** [module] Ошибка 1
make: *** [module] Ошибка 2
 * 
 * ERROR: x11-drivers/nvidia-drivers-177.82 failed.
 * Call stack:
 *               ebuild.sh, line   49:  Called src_compile
 *             environment, line 3631:  Called linux-mod_src_compile
 *             environment, line 2659:  Called die
 * The specific snippet of code:
 *               eval "emake HOSTCC=\"$(tc-getBUILD_CC)\" 						CROSS_COMPILE=${CHOST}- 						LDFLAGS=\"$(get_abi_LDFLAGS)\" 						${BUILD_FIXES} 						${BUILD_PARAMS} 						${BUILD_TARGETS} " || die "Unable to emake HOSTCC="$(tc-getBUILD_CC)" CROSS_COMPILE=${CHOST}- LDFLAGS="$(get_abi_LDFLAGS)" ${BUILD_FIXES} ${BUILD_PARAMS} ${BUILD_TARGETS}";
 *  The die message:
 *   Unable to emake HOSTCC=gcc CROSS_COMPILE=i686-pc-linux-gnu- LDFLAGS=  IGNORE_CC_MISMATCH=yes V=1 SYSSRC=/usr/src/linux 		SYSOUT=/lib/modules/2.6.26-gentoo-r4/build HOST_CC=gcc clean module
 * 
 * If you need support, post the topmost build error, and the call stack if relevant.
 * A complete build log is located at '/var/tmp/portage/x11-drivers/nvidia-drivers-177.82/temp/build.log'.
 * The ebuild environment file is located at '/var/tmp/portage/x11-drivers/nvidia-drivers-177.82/temp/environment'.
 * 

Пробовал ставить различные версии дров, результат аналогичный.

P.S.
На всякий случай приведу инфу:
- карточка Nvidia 8600M GT
- дрова ставлю командой emerge =nvidia-drivers-177.82

а строчка: /bin/sh:

а строчка:
/bin/sh: i686-pc-linux-gnu-ld: команда не найдена
ни на какаие мысли не наводит ?

/bin/sh:

/bin/sh: i686-pc-linux-gnu-ld: команда не найдена

Нужен вывод emerge --info и make.conf

satsura написал(а):Вот уже

satsura написал(а):
Вот уже 3-ий день пытаюсь разобраться с проблемой.
Ставлю дрова nvidia-drivers-177.82 на ядро 2.6.26-gentoo-r4 и вылетает ошибка (лог ниже)

	echo;								\
	echo "  ERROR: Kernel configuration is invalid.";		\
	echo "         include/linux/autoconf.h or include/config/auto.conf are missing.";	\
	echo "         Run 'make oldconfig && make prepare' on kernel src to fix it.";	\
	echo;								\

Вроде как все доступно черным по белому написано

Gentoo Way - Дорогу знаю. Секс люблю.

Да нет...

Конечно возможно, что напортачено с ядром, но эти строчки больше походят
на выведенный кусок скрипта (а не отработанный кусок с ошибкой).
Я бы обратил внимание, во-первых, вот на это:

Unable to emake HOSTCC=gcc CROSS_COMPILE=i686-pc-linux-gnu- ...

и это:

make[2]: предупреждение: сервер задач недоступен: используется -j1.,

во-вторых, внимательней бы изучил лог:
/var/tmp/portage/x11-drivers/nvidia-drivers-177.82/temp/build.log

и результат:
uname -a; gcc-config -l; emerge --info

а заодно содержимое:
ls /etc/env/*gcc*

Первое впечатление (которое может быть ошибочным), что либо:
а) намудрили с компилятором (кросс-компилятором!? distcc?);
б) либо напутали с архитектурой или переменной CHOST.

/bin/sh: i686-pc-linux-gnu-ld
похоже на траблы с binutils. Т.е. ещё бы вывод:
eselect binutils list ;-)

.

У меня

$ ls -hal /usr/src/linux/include/linux/autoconf.h
-rw-r--r-- 1 root root 22K Дек 28 23:28 /usr/src/linux/include/linux/autoconf.h
$ ls -hal /usr/src/linux/include/config/auto.conf
-rw-r--r-- 1 root root 16K Дек 28 23:28 /usr/src/linux/include/config/auto.conf
$ ls -l /usr/src/
итого 5
drwxr-xr-x 19 root root 1184 Ноя 30 07:24 linux-2.6.25-gentoo-r9
drwxr-xr-x 19 root root 1184 Дек 20 22:23 linux-2.6.26-gentoo-r3
drwxr-xr-x 22 root root 1504 Дек 20 03:06 linux-2.6.26-gentoo-r4
drwxr-xr-x 23 root root 1528 Дек 28 23:43 linux-2.6.27-gentoo-r7
lrwxrwxrwx  1 root root   22 Дек 28 21:13 linux -> linux-2.6.27-gentoo-r7

А у вас?

Модуль собираете тем же

Модуль собираете тем же компилятором, что и ядро?

Не грусти, товарищ! Всё хорошо, beautiful good!

Настройки просмотра комментариев

Выберите нужный метод показа комментариев и нажмите "Сохранить установки".