acpi4asus

не могу скомпилить пакет acpi4asus. Вот что пишет:
*
* ERROR: app-laptop/acpi4asus-0.41 failed.
* Call stack:
* ebuild.sh, line 49: Called src_compile
* environment, line 3111: Called linux-mod_src_compile
* environment, line 2384: Called die
* The specific snippet of code:
* emake HOSTCC="$(tc-getBUILD_CC)" CC="$(get-KERNEL_CC)" LDFLAGS="$(get_abi_LDFLAGS)" ${BUILD_FIXES} ${BUILD_PARAMS} ${BUILD_TARGETS} || die "Unable to make ${BUILD_FIXES} ${BUILD_PARAMS} ${BUILD_TARGETS}.";
* The die message:
* Unable to make KDIR=/usr/src/linux .
*

Подскажите вчем загвоздка.

в чём пролема

в чём пролема было написано выше...

Ну может и

Ну может и написано, только я не пойму что именно делать-то?

если ты

если ты непонимаеш, то может быть ты запостиш это сюда и мы посмотрим?

Вот весь лог: >>>

Вот весь лог:
>>> Source unpacked.
>>> Compiling source in /var/tmp/portage/app-laptop/acpi4asus-0.41/work/acpi4asus-0.41 ...
* Preparing asus-laptop module
Kernel configuration :
CONFIG_BACKLIGHT_CLASS_DEVICE : [Y]
CONFIG_LEDS_CLASS : [M]
make -C /usr/src/linux SUBDIRS=/var/tmp/portage/app-laptop/acpi4asus-0.41/work/acpi4asus-0.41/driver modules
make[1]: Entering directory `/usr/src/linux-2.6.24-gentoo'
CC [M] /var/tmp/portage/app-laptop/acpi4asus-0.41/work/acpi4asus-0.41/driver/asus-laptop.o
/var/tmp/portage/app-laptop/acpi4asus-0.41/work/acpi4asus-0.41/driver/asus-laptop.c:210: предупреждение: initialization from incompatible pointer type
/var/tmp/portage/app-laptop/acpi4asus-0.41/work/acpi4asus-0.41/driver/asus-laptop.c: В функции ‘asus_hotk_notify’
/var/tmp/portage/app-laptop/acpi4asus-0.41/work/acpi4asus-0.41/driver/asus-laptop.c:734: ошибка: implicit declaration of function ‘acpi_bus_generate_event’
/var/tmp/portage/app-laptop/acpi4asus-0.41/work/acpi4asus-0.41/driver/asus-laptop.c: В функции ‘asus_led_exit’
/var/tmp/portage/app-laptop/acpi4asus-0.41/work/acpi4asus-0.41/driver/asus-laptop.c:1083: ошибка: ‘struct led_classdev’ has no member named ‘class_dev’
/var/tmp/portage/app-laptop/acpi4asus-0.41/work/acpi4asus-0.41/driver/asus-laptop.c:1083: ошибка: ‘struct led_classdev’ has no member named ‘class_dev’
/var/tmp/portage/app-laptop/acpi4asus-0.41/work/acpi4asus-0.41/driver/asus-laptop.c:1084: ошибка: ‘struct led_classdev’ has no member named ‘class_dev’
/var/tmp/portage/app-laptop/acpi4asus-0.41/work/acpi4asus-0.41/driver/asus-laptop.c:1084: ошибка: ‘struct led_classdev’ has no member named ‘class_dev’
/var/tmp/portage/app-laptop/acpi4asus-0.41/work/acpi4asus-0.41/driver/asus-laptop.c:1085: ошибка: ‘struct led_classdev’ has no member named ‘class_dev’
/var/tmp/portage/app-laptop/acpi4asus-0.41/work/acpi4asus-0.41/driver/asus-laptop.c:1085: ошибка: ‘struct led_classdev’ has no member named ‘class_dev’
/var/tmp/portage/app-laptop/acpi4asus-0.41/work/acpi4asus-0.41/driver/asus-laptop.c:1086: ошибка: ‘struct led_classdev’ has no member named ‘class_dev’
/var/tmp/portage/app-laptop/acpi4asus-0.41/work/acpi4asus-0.41/driver/asus-laptop.c:1086: ошибка: ‘struct led_classdev’ has no member named ‘class_dev’
/var/tmp/portage/app-laptop/acpi4asus-0.41/work/acpi4asus-0.41/driver/asus-laptop.c:1087: ошибка: ‘struct led_classdev’ has no member named ‘class_dev’
/var/tmp/portage/app-laptop/acpi4asus-0.41/work/acpi4asus-0.41/driver/asus-laptop.c:1087: ошибка: ‘struct led_classdev’ has no member named ‘class_dev’
make[2]: *** [/var/tmp/portage/app-laptop/acpi4asus-0.41/work/acpi4asus-0.41/driver/asus-laptop.o] Ошибка 1
make[1]: *** [_module_/var/tmp/portage/app-laptop/acpi4asus-0.41/work/acpi4asus-0.41/driver] Ошибка 2
make[1]: Leaving directory `/usr/src/linux-2.6.24-gentoo'
make: *** [default] Ошибка 2
*
* ERROR: app-laptop/acpi4asus-0.41 failed.
* Call stack:
* ebuild.sh, line 49: Called src_compile
* environment, line 3122: Called linux-mod_src_compile
* environment, line 2395: Called die
* The specific snippet of code:
* emake HOSTCC="$(tc-getBUILD_CC)" CC="$(get-KERNEL_CC)" LDFLAGS="$(get_abi_LDFLAGS)" ${BUILD_FIXES} ${BUILD_PARAMS} ${BUILD_TARGETS} || die "Unable to make ${BUILD_FIXES} ${BUILD_PARAMS} ${BUILD_TARGETS}.";
* The die message:
* Unable to make KDIR=/usr/src/linux .
*
* 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/app-laptop/acpi4asus-0.41/temp/build.log'.
* The ebuild environment file is located at '/var/tmp/portage/app-laptop/acpi4asus-0.41/temp/environment'.
*

* Messages for package app-laptop/acpi4asus-0.41:

*
* ERROR: app-laptop/acpi4asus-0.41 failed.
* Call stack:
* ebuild.sh, line 49: Called src_compile
* environment, line 3122: Called linux-mod_src_compile
* environment, line 2395: Called die
* The specific snippet of code:
* emake HOSTCC="$(tc-getBUILD_CC)" CC="$(get-KERNEL_CC)" LDFLAGS="$(get_abi_LDFLAGS)" ${BUILD_FIXES} ${BUILD_PARAMS} ${BUILD_TARGETS} || die "Unable to make ${BUILD_FIXES} ${BUILD_PARAMS} ${BUILD_TARGETS}.";
* The die message:
* Unable to make KDIR=/usr/src/linux .
*
* 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/app-laptop/acpi4asus-0.41/temp/build.log'.
* The ebuild environment file is located at '/var/tmp/portage/app-laptop/acpi4asus-0.41/temp/environment'.
*

Похоже

Похоже несовместимость между текущим ядром(/usr/src/linux) и данной версией acpi4asus-0.41 попробуй найти поновее в cvs
на сайте дана справка
---
* <= 2.6.19: acpi4asus-0.40
* = 2.6.20 acpi4asus-0.41
* >=2.6.21: use the CVS (or directly asus-laptop in driver/misc)

Помогите

Помогите пожалуйста. Уже и с СVS скачал acpi4asus и все равно не хочет компилироваться...

make -C driver
make[1]: Entering directory `/root/acpi4asus/driver'
Kernel configuration :
CONFIG_BACKLIGHT_CLASS_DEVICE : [Y]
CONFIG_LEDS_CLASS : [Y]
make -C /lib/modules/2.6.24-gentoo-r4/build SUBDIRS=/root/acpi4asus/driver modules
make[2]: Entering directory `/usr/src/linux-2.6.24-gentoo-r4'
CC [M] /root/acpi4asus/driver/asus-laptop.o
/root/acpi4asus/driver/asus-laptop.c:210: предупреждение: initialization from incompatible pointer type
/root/acpi4asus/driver/asus-laptop.c: В функции ‘asus_hotk_notify’
/root/acpi4asus/driver/asus-laptop.c:734: ошибка: implicit declaration of function ‘acpi_bus_generate_event’
/root/acpi4asus/driver/asus-laptop.c: В функции ‘asus_led_exit’
/root/acpi4asus/driver/asus-laptop.c:1083: ошибка: ‘struct led_classdev’ has no member named ‘class_dev’
/root/acpi4asus/driver/asus-laptop.c:1083: ошибка: ‘struct led_classdev’ has no member named ‘class_dev’
/root/acpi4asus/driver/asus-laptop.c:1084: ошибка: ‘struct led_classdev’ has no member named ‘class_dev’
/root/acpi4asus/driver/asus-laptop.c:1084: ошибка: ‘struct led_classdev’ has no member named ‘class_dev’
/root/acpi4asus/driver/asus-laptop.c:1085: ошибка: ‘struct led_classdev’ has no member named ‘class_dev’
/root/acpi4asus/driver/asus-laptop.c:1085: ошибка: ‘struct led_classdev’ has no member named ‘class_dev’
/root/acpi4asus/driver/asus-laptop.c:1086: ошибка: ‘struct led_classdev’ has no member named ‘class_dev’
/root/acpi4asus/driver/asus-laptop.c:1086: ошибка: ‘struct led_classdev’ has no member named ‘class_dev’
/root/acpi4asus/driver/asus-laptop.c:1087: ошибка: ‘struct led_classdev’ has no member named ‘class_dev’
/root/acpi4asus/driver/asus-laptop.c:1087: ошибка: ‘struct led_classdev’ has no member named ‘class_dev’
make[3]: *** [/root/acpi4asus/driver/asus-laptop.o] Ошибка 1
make[2]: *** [_module_/root/acpi4asus/driver] Ошибка 2
make[2]: Leaving directory `/usr/src/linux-2.6.24-gentoo-r4'
make[1]: *** [default] Ошибка 2
make[1]: Leaving directory `/root/acpi4asus/driver'
make: *** [build] Ошибка 2

там же написано

там же написано что эти драйвера есть в самом ядре. может все же проще включить те что идут с ядром а не парить себе мозг со сборкой внешних?
___________________________________________
Gentoo GNU/Linux 2.6.25 GCC 4.2.3 && GCC 4.3.0
Working on Gentoo for iPAQ hx4700 :-)

Может я чего-то

Может я чего-то не понимаю, но в ядре поддержка отключена, на что же он тогда ругается? А внешние дрова нужны потому, что встроеные не работают..

Замечательно

Замечательно что отключена.
а надо включить =)
Кстати если бук лучше tuxonice-sources юзать
опции такие

CONFIG_ACPI_ASUS=y
CONFIG_ASUS_LAPTOP=y

___________________________________________
Gentoo GNU/Linux 2.6.25 GCC 4.2.3 && GCC 4.3.0
Working on Gentoo for iPAQ hx4700 :-)

есть ли

есть ли увеличение жизни акума на tuxonice по сравнению с обычным?

Саспендом впринцыпе не пользуюсь, так что интересует увеличение продолжительности именно непрерывного рабочего режима?
Есть ли понт на него переходить?

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

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