при emerge -a madwifi-ng выдает ошибку, и в ядре нету опции CONFIG_KMOD, помогите
make -j3 HOSTCC=x86_64-pc-linux-gnu-gcc CROSS_COMPILE=x86_64-pc-linux-gnu- LDFLAGS= KERNELPATH=/lib/modules/2.6.32-gentoo-r6/build all
make -C /lib/modules/2.6.32-gentoo-r6/build M=/var/tmp/portage/net-wireless/madwifi-ng-0.9.4.4030.20090529/work/madwifi-0.9.4-r4030-20090529/net80211 modules
make[1]: Entering directory `/usr/src/linux-2.6.32-gentoo-r6'
CC [M] /var/tmp/portage/net-wireless/madwifi-ng-0.9.4.4030.20090529/work/madwifi-0.9.4-r4030-20090529/net80211/if_media.o
CC [M] /var/tmp/portage/net-wireless/madwifi-ng-0.9.4.4030.20090529/work/madwifi-0.9.4-r4030-20090529/net80211/ieee80211_beacon.o
CC [M] /var/tmp/portage/net-wireless/madwifi-ng-0.9.4.4030.20090529/work/madwifi-0.9.4-r4030-20090529/net80211/ieee80211.o
CC [M] /var/tmp/portage/net-wireless/madwifi-ng-0.9.4.4030.20090529/work/madwifi-0.9.4-r4030-20090529/net80211/ieee80211_crypto.o
CC [M] /var/tmp/portage/net-wireless/madwifi-ng-0.9.4.4030.20090529/work/madwifi-0.9.4-r4030-20090529/net80211/ieee80211_crypto_none.o
CC [M] /var/tmp/portage/net-wireless/madwifi-ng-0.9.4.4030.20090529/work/madwifi-0.9.4-r4030-20090529/net80211/ieee80211_input.o
CC [M] /var/tmp/portage/net-wireless/madwifi-ng-0.9.4.4030.20090529/work/madwifi-0.9.4-r4030-20090529/net80211/ieee80211_node.o
CC [M] /var/tmp/portage/net-wireless/madwifi-ng-0.9.4.4030.20090529/work/madwifi-0.9.4-r4030-20090529/net80211/ieee80211_output.o
CC [M] /var/tmp/portage/net-wireless/madwifi-ng-0.9.4.4030.20090529/work/madwifi-0.9.4-r4030-20090529/net80211/ieee80211_power.o
CC [M] /var/tmp/portage/net-wireless/madwifi-ng-0.9.4.4030.20090529/work/madwifi-0.9.4-r4030-20090529/net80211/ieee80211_proto.o
CC [M] /var/tmp/portage/net-wireless/madwifi-ng-0.9.4.4030.20090529/work/madwifi-0.9.4-r4030-20090529/net80211/ieee80211_scan.o
CC [M] /var/tmp/portage/net-wireless/madwifi-ng-0.9.4.4030.20090529/work/madwifi-0.9.4-r4030-20090529/net80211/ieee80211_wireless.o
CC [M] /var/tmp/portage/net-wireless/madwifi-ng-0.9.4.4030.20090529/work/madwifi-0.9.4-r4030-20090529/net80211/ieee80211_linux.o
CC [M] /var/tmp/portage/net-wireless/madwifi-ng-0.9.4.4030.20090529/work/madwifi-0.9.4-r4030-20090529/net80211/ieee80211_monitor.o
/var/tmp/portage/net-wireless/madwifi-ng-0.9.4.4030.20090529/work/madwifi-0.9.4-r4030-20090529/net80211/ieee80211_linux.c: In function 'ieee80211_sysctl_debug':
/var/tmp/portage/net-wireless/madwifi-ng-0.9.4.4030.20090529/work/madwifi-0.9.4-r4030-20090529/net80211/ieee80211_linux.c:492: warning: passing argument 5 of 'proc_dointvec' from incompatible pointer type
/var/tmp/portage/net-wireless/madwifi-ng-0.9.4.4030.20090529/work/madwifi-0.9.4-r4030-20090529/net80211/ieee80211_linux.c:492: error: too many arguments to function 'proc_dointvec'
/var/tmp/portage/net-wireless/madwifi-ng-0.9.4.4030.20090529/work/madwifi-0.9.4-r4030-20090529/net80211/ieee80211_linux.c:498: warning: passing argument 5 of 'proc_dointvec' from incompatible pointer type
/var/tmp/portage/net-wireless/madwifi-ng-0.9.4.4030.20090529/work/madwifi-0.9.4-r4030-20090529/net80211/ieee80211_linux.c:498: error: too many arguments to function 'proc_dointvec'
/var/tmp/portage/net-wireless/madwifi-ng-0.9.4.4030.20090529/work/madwifi-0.9.4-r4030-20090529/net80211/ieee80211_linux.c: In function 'ieee80211_sysctl_dev_type':
/var/tmp/portage/net-wireless/madwifi-ng-0.9.4.4030.20090529/work/madwifi-0.9.4-r4030-20090529/net80211/ieee80211_linux.c:516: warning: passing argument 5 of 'proc_dointvec' from incompatible pointer type
/var/tmp/portage/net-wireless/madwifi-ng-0.9.4.4030.20090529/work/madwifi-0.9.4-r4030-20090529/net80211/ieee80211_linux.c:516: error: too many arguments to function 'proc_dointvec'
/var/tmp/portage/net-wireless/madwifi-ng-0.9.4.4030.20090529/work/madwifi-0.9.4-r4030-20090529/net80211/ieee80211_linux.c:528: warning: passing argument 5 of 'proc_dointvec' from incompatible pointer type
/var/tmp/portage/net-wireless/madwifi-ng-0.9.4.4030.20090529/work/madwifi-0.9.4-r4030-20090529/net80211/ieee80211_linux.c:528: error: too many arguments to function 'proc_dointvec'
/var/tmp/portage/net-wireless/madwifi-ng-0.9.4.4030.20090529/work/madwifi-0.9.4-r4030-20090529/net80211/ieee80211_linux.c: In function 'ieee80211_sysctl_monitor_nods_only':
/var/tmp/portage/net-wireless/madwifi-ng-0.9.4.4030.20090529/work/madwifi-0.9.4-r4030-20090529/net80211/ieee80211_linux.c:544: warning: passing argument 5 of 'proc_dointvec' from incompatible pointer type
/var/tmp/portage/net-wireless/madwifi-ng-0.9.4.4030.20090529/work/madwifi-0.9.4-r4030-20090529/net80211/ieee80211_linux.c:544: error: too many arguments to function 'proc_dointvec'
/var/tmp/portage/net-wireless/madwifi-ng-0.9.4.4030.20090529/work/madwifi-0.9.4-r4030-20090529/net80211/ieee80211_linux.c:550: warning: passing argument 5 of 'proc_dointvec' from incompatible pointer type
/var/tmp/portage/net-wireless/madwifi-ng-0.9.4.4030.20090529/work/madwifi-0.9.4-r4030-20090529/net80211/ieee80211_linux.c:550: error: too many arguments to function 'proc_dointvec'
/var/tmp/portage/net-wireless/madwifi-ng-0.9.4.4030.20090529/work/madwifi-0.9.4-r4030-20090529/net80211/ieee80211_linux.c: In function 'ieee80211_sysctl_monitor_txf_len':
/var/tmp/portage/net-wireless/madwifi-ng-0.9.4.4030.20090529/work/madwifi-0.9.4-r4030-20090529/net80211/ieee80211_linux.c:566: warning: passing argument 5 of 'proc_dointvec' from incompatible pointer type
/var/tmp/portage/net-wireless/madwifi-ng-0.9.4.4030.20090529/work/madwifi-0.9.4-r4030-20090529/net80211/ieee80211_linux.c:566: error: too many arguments to function 'proc_dointvec'
/var/tmp/portage/net-wireless/madwifi-ng-0.9.4.4030.20090529/work/madwifi-0.9.4-r4030-20090529/net80211/ieee80211_linux.c:572: warning: passing argument 5 of 'proc_dointvec' from incompatible pointer type
/var/tmp/portage/net-wireless/madwifi-ng-0.9.4.4030.20090529/work/madwifi-0.9.4-r4030-20090529/net80211/ieee80211_linux.c:572: error: too many arguments to function 'proc_dointvec'
/var/tmp/portage/net-wireless/madwifi-ng-0.9.4.4030.20090529/work/madwifi-0.9.4-r4030-20090529/net80211/ieee80211_linux.c: In function 'ieee80211_sysctl_monitor_phy_errors':
/var/tmp/portage/net-wireless/madwifi-ng-0.9.4.4030.20090529/work/madwifi-0.9.4-r4030-20090529/net80211/ieee80211_linux.c:588: warning: passing argument 5 of 'proc_dointvec' from incompatible pointer type
/var/tmp/portage/net-wireless/madwifi-ng-0.9.4.4030.20090529/work/madwifi-0.9.4-r4030-20090529/net80211/ieee80211_linux.c:588: error: too many arguments to function 'proc_dointvec'
/var/tmp/portage/net-wireless/madwifi-ng-0.9.4.4030.20090529/work/madwifi-0.9.4-r4030-20090529/net80211/ieee80211_linux.c:594: warning: passing argument 5 of 'proc_dointvec' from incompatible pointer type
/var/tmp/portage/net-wireless/madwifi-ng-0.9.4.4030.20090529/work/madwifi-0.9.4-r4030-20090529/net80211/ieee80211_linux.c:594: error: too many arguments to function 'proc_dointvec'
/var/tmp/portage/net-wireless/madwifi-ng-0.9.4.4030.20090529/work/madwifi-0.9.4-r4030-20090529/net80211/ieee80211_linux.c: In function 'ieee80211_sysctl_monitor_crc_errors':
/var/tmp/portage/net-wireless/madwifi-ng-0.9.4.4030.20090529/work/madwifi-0.9.4-r4030-20090529/net80211/ieee80211_linux.c:611: warning: passing argument 5 of 'proc_dointvec' from incompatible pointer type
/var/tmp/portage/net-wireless/madwifi-ng-0.9.4.4030.20090529/work/madwifi-0.9.4-r4030-20090529/net80211/ieee80211_linux.c:611: error: too many arguments to function 'proc_dointvec'
/var/tmp/portage/net-wireless/madwifi-ng-0.9.4.4030.20090529/work/madwifi-0.9.4-r4030-20090529/net80211/ieee80211_linux.c:617: warning: passing argument 5 of 'proc_dointvec' from incompatible pointer type
/var/tmp/portage/net-wireless/madwifi-ng-0.9.4.4030.20090529/work/madwifi-0.9.4-r4030-20090529/net80211/ieee80211_linux.c:617: error: too many arguments to function 'proc_dointvec'
/var/tmp/portage/net-wireless/madwifi-ng-0.9.4.4030.20090529/work/madwifi-0.9.4-r4030-20090529/net80211/ieee80211_linux.c: At top level:
/var/tmp/portage/net-wireless/madwifi-ng-0.9.4.4030.20090529/work/madwifi-0.9.4-r4030-20090529/net80211/ieee80211_linux.c:629: warning: initialization from incompatible pointer type
/var/tmp/portage/net-wireless/madwifi-ng-0.9.4.4030.20090529/work/madwifi-0.9.4-r4030-20090529/net80211/ieee80211_linux.c:635: warning: initialization from incompatible pointer type
/var/tmp/portage/net-wireless/madwifi-ng-0.9.4.4030.20090529/work/madwifi-0.9.4-r4030-20090529/net80211/ieee80211_linux.c:640: warning: initialization from incompatible pointer type
/var/tmp/portage/net-wireless/madwifi-ng-0.9.4.4030.20090529/work/madwifi-0.9.4-r4030-20090529/net80211/ieee80211_linux.c:645: warning: initialization from incompatible pointer type
/var/tmp/portage/net-wireless/madwifi-ng-0.9.4.4030.20090529/work/madwifi-0.9.4-r4030-20090529/net80211/ieee80211_linux.c:650: warning: initialization from incompatible pointer type
/var/tmp/portage/net-wireless/madwifi-ng-0.9.4.4030.20090529/work/madwifi-0.9.4-r4030-20090529/net80211/ieee80211_linux.c:655: warning: initialization from incompatible pointer type
make[2]: *** [/var/tmp/portage/net-wireless/madwifi-ng-0.9.4.4030.20090529/work/madwifi-0.9.4-r4030-20090529/net80211/ieee80211_linux.o] Error 1
make[2]: *** Waiting for unfinished jobs....
make[1]: *** [_module_/var/tmp/portage/net-wireless/madwifi-ng-0.9.4.4030.20090529/work/madwifi-0.9.4-r4030-20090529/net80211] Error 2
make[1]: Leaving directory `/usr/src/linux-2.6.32-gentoo-r6'
make: *** [all] Ошибка 2
* ERROR: net-wireless/madwifi-ng-0.9.4.4030.20090529 failed:
* Unable to emake HOSTCC=x86_64-pc-linux-gnu-gcc CROSS_COMPILE=x86_64-pc-linux-gnu- LDFLAGS= KERNELPATH=/lib/modules/2.6.32-gentoo-r6/build all
*
* Call stack:
* ebuild.sh, line 54: Called src_compile
* environment, line 3636: Called linux-mod_src_compile
* environment, line 2788: 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}";
*
* If you need support, post the output of 'emerge --info =net-wireless/madwifi-ng-0.9.4.4030.20090529',
* the complete build log and the output of 'emerge -pqv =net-wireless/madwifi-ng-0.9.4.4030.20090529'.
* The complete build log is located at '/var/tmp/portage/net-wireless/madwifi-ng-0.9.4.4030.20090529/temp/build.log'.
* The ebuild environment file is located at '/var/tmp/portage/net-wireless/madwifi-ng-0.9.4.4030.20090529/temp/environment'.
* S: '/var/tmp/portage/net-wireless/madwifi-ng-0.9.4.4030.20090529/work/madwifi-0.9.4-r4030-20090529'
>>> Failed to emerge net-wireless/madwifi-ng-0.9.4.4030.20090529, Log file:
>>> '/var/tmp/portage/net-wireless/madwifi-ng-0.9.4.4030.20090529/temp/build.log'
* Messages for package net-wireless/madwifi-ng-0.9.4.4030.20090529:
* ERROR: net-wireless/madwifi-ng-0.9.4.4030.20090529 failed:
* Unable to emake HOSTCC=x86_64-pc-linux-gnu-gcc CROSS_COMPILE=x86_64-pc-linux-gnu- LDFLAGS= KERNELPATH=/lib/modules/2.6.32-gentoo-r6/build all
*
* Call stack:
* ebuild.sh, line 54: Called src_compile
* environment, line 3636: Called linux-mod_src_compile
* environment, line 2788: 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}";
*
* If you need support, post the output of 'emerge --info =net-wireless/madwifi-ng-0.9.4.4030.20090529',
* the complete build log and the output of 'emerge -pqv =net-wireless/madwifi-ng-0.9.4.4030.20090529'.
* The complete build log is located at '/var/tmp/portage/net-wireless/madwifi-ng-0.9.4.4030.20090529/temp/build.log'.
* The ebuild environment file is located at '/var/tmp/portage/net-wireless/madwifi-ng-0.9.4.4030.20090529/temp/environment'.
* S: '/var/tmp/portage/net-wireless/madwifi-ng-0.9.4.4030.20090529/work/madwifi-0.9.4-r4030-20090529'
* IMPORTANT: 5 news items need reading for repository 'gentoo'.
* Use eselect news to read news items.
- Для комментирования войдите или зарегистрируйтесь
Поставить последнюю версию
Поставить последнюю версию 0.9.4.4119.20100201 и использовать конфигурацию ядра 2.6.33 отсюда http://ru.gentoo-wiki.com/wiki/Atheros_5XXX_Wireless_Access_Point_средствами_Madwifi
.
Опять вопрос - а зачем? Чем не устраивает ядерный ath5k?
...и почему так сложно
...и почему так сложно сделать
НУ это на усмотрение. Нельзя
НУ это на усмотрение. Нельзя заставлять делать то, что человек не хочет пока что. Главное ему конфигурация ядра для madwifi интересовала!