Trying to install the Ralink wireless drivers
Hello,
I'm trying to install the open source rt2x00 drivers but am unable to, any suggestions would be greatly appreciated. Following the instructions here http://rt2x00.serialmonkey.com/wiki/index.php/Debian_rt2500_Howto but adapting for the rt2x00 drivers apt-get install rt2x00-source mexican:~# module-assistant auto-install rt2x00-source but I get the errors listed below, and it says firmware loading has been disabled in my kernel. I've downloaded the firmware and copied it to /lib/firmware mexican:/home/ja# ls /lib/firmware/ rt2561.bin rt2561s.bin the build log is below; comments and version info continue below. ----------------------------------------------------------------------- /var/cache/modass/rt2x00-source*buildlog* /usr/bin/make clean KERNDIR=/lib/modules/2.6.21-2-686/build make[1]: Entering directory `/usr/src/modules/rt2x00' make[1]: Leaving directory `/usr/src/modules/rt2x00' dh_clean /usr/bin/make -f debian/rules kdist_clean kdist_config binary-modules make[1]: Entering directory `/usr/src/modules/rt2x00' /usr/bin/make clean KERNDIR=/lib/modules/2.6.21-2-686/build make[2]: Entering directory `/usr/src/modules/rt2x00' make[2]: Leaving directory `/usr/src/modules/rt2x00' dh_clean dh_clean: cannot read debian/control: No such file or directory make[1]: [kdist_clean] Error 1 (ignored) for templ in ; do cp $templ `echo $templ | sed -e 's/_KVERS_/2.6.21-2-686/g'` ; done for templ in `ls debian/*.modules.in` ; do test -e ${templ%.modules.in}.backup || cp ${templ%.modules.in} ${templ%.modules.in}.backup 2>/dev/null || true; sed -e 's/##KVERS##/2.6.21-2-686/g ;s/#KVERS#/2.6.21-2-686/g ; s/_KVERS_/2.6.21-2-686/g ; s/##KDREV##/2.6.21-6~bpo.1/g ; s/#KDREV#/2.6.21-6~bpo.1/g ; s/_KDREV_/2.6.21-6~bpo.1/g ' < $templ > ${templ%.modules.in}; done # Install module dh_installdirs lib/modules/2.6.21-2-686/kernel/drivers/net/wireless # Build modules /usr/bin/make KERNDIR=/lib/modules/2.6.21-2-686/build make[2]: Entering directory `/usr/src/modules/rt2x00' CC [M] /usr/src/modules/rt2x00/ieee80211/ieee80211.o In file included from <command line>:1: /usr/src/modules/rt2x00/rt2x00_compat.h:12:26: error: linux/config.h: No such file or directory In file included from include/asm/thread_info.h:16, from include/linux/thread_info.h:21, from include/linux/preempt.h:9, from include/linux/spinlock.h:49, from include/linux/module.h:9, from /usr/src/modules/rt2x00/rt2x00_compat.h:16, from <command line>:1: include/asm/processor.h:82: error: ‘CONFIG_X86_L1_CACHE_SHIFT’ undeclared here (not in a function) include/asm/processor.h:82: error: requested alignment is not a constant In file included from include/linux/sched.h:51, from include/linux/utsname.h:35, from include/asm/elf.h:12, from include/linux/elf.h:7, from include/linux/module.h:15, from /usr/src/modules/rt2x00/rt2x00_compat.h:16, from <command line>:1: include/linux/jiffies.h:18:5: warning: "CONFIG_HZ" is not defined include/linux/jiffies.h:20:7: warning: "CONFIG_HZ" is not defined include/linux/jiffies.h:22:7: warning: "CONFIG_HZ" is not defined include/linux/jiffies.h:24:7: warning: "CONFIG_HZ" is not defined include/linux/jiffies.h:26:7: warning: "CONFIG_HZ" is not defined include/linux/jiffies.h:28:7: warning: "CONFIG_HZ" is not defined include/linux/jiffies.h:30:7: warning: "CONFIG_HZ" is not defined include/linux/jiffies.h:33:3: error: #error You lose. include/linux/jiffies.h:225:31: warning: "CONFIG_HZ" is not defined include/linux/jiffies.h:225:31: warning: "CONFIG_HZ" is not defined include/linux/jiffies.h:225:31: error: division by zero in #if include/linux/jiffies.h:225:31: warning: "CONFIG_HZ" is not defined include/linux/jiffies.h:225:31: warning: "CONFIG_HZ" is not defined include/linux/jiffies.h:225:31: error: division by zero in #if include/linux/jiffies.h:225:31: warning: "CONFIG_HZ" is not defined include/linux/jiffies.h:225:31: warning: "CONFIG_HZ" is not defined include/linux/jiffies.h:225:31: error: division by zero in #if include/linux/jiffies.h:225:31: warning: "CONFIG_HZ" is not defined include/linux/jiffies.h:225:31: warning: "CONFIG_HZ" is not defined include/linux/jiffies.h:225:31: error: division by zero in #if include/linux/jiffies.h:225:31: warning: "CONFIG_HZ" is not defined include/linux/jiffies.h:225:31: warning: "CONFIG_HZ" is not defined include/linux/jiffies.h:225:31: error: division by zero in #if include/linux/jiffies.h:225:31: warning: "CONFIG_HZ" is not defined include/linux/jiffies.h:225:31: warning: "CONFIG_HZ" is not defined include/linux/jiffies.h:225:31: error: division by zero in #if include/linux/jiffies.h:225:31: warning: "CONFIG_HZ" is not defined include/linux/jiffies.h:225:31: warning: "CONFIG_HZ" is not defined include/linux/jiffies.h:225:31: error: division by zero in #if include/linux/jiffies.h:225:31: warning: "CONFIG_HZ" is not defined include/linux/jiffies.h:225:31: warning: "CONFIG_HZ" is not defined include/linux/jiffies.h:225:31: error: division by zero in #if include/linux/jiffies.h:225:31: warning: "CONFIG_HZ" is not defined include/linux/jiffies.h:225:31: warning: "CONFIG_HZ" is not defined include/linux/jiffies.h:225:31: error: division by zero in #if include/linux/jiffies.h:225:31: warning: "CONFIG_HZ" is not defined include/linux/jiffies.h:225:31: warning: "CONFIG_HZ" is not defined include/linux/jiffies.h:225:31: error: division by zero in #if include/linux/jiffies.h:225:31: warning: "CONFIG_HZ" is not defined include/linux/jiffies.h:225:31: warning: "CONFIG_HZ" is not defined include/linux/jiffies.h:225:31: error: division by zero in #if include/linux/jiffies.h:225:31: warning: "CONFIG_HZ" is not defined include/linux/jiffies.h:225:31: warning: "CONFIG_HZ" is not defined include/linux/jiffies.h:225:31: error: division by zero in #if include/linux/jiffies.h:225:31: warning: "CONFIG_HZ" is not defined include/linux/jiffies.h:225:31: warning: "CONFIG_HZ" is not defined include/linux/jiffies.h:225:31: error: division by zero in #if include/linux/jiffies.h:225:31: warning: "CONFIG_HZ" is not defined include/linux/jiffies.h:225:31: warning: "CONFIG_HZ" is not defined include/linux/jiffies.h:225:31: error: division by zero in #if include/linux/jiffies.h:225:31: warning: "CONFIG_HZ" is not defined include/linux/jiffies.h:225:31: warning: "CONFIG_HZ" is not defined include/linux/jiffies.h:225:31: error: division by zero in #if include/linux/jiffies.h:225:31: warning: "CONFIG_HZ" is not defined include/linux/jiffies.h:225:31: warning: "CONFIG_HZ" is not defined include/linux/jiffies.h:225:31: error: division by zero in #if include/linux/jiffies.h:225:46: warning: "SHIFT_HZ" is not defined In file included from include/linux/utsname.h:35, from include/asm/elf.h:12, from include/linux/elf.h:7, from include/linux/module.h:15, from /usr/src/modules/rt2x00/rt2x00_compat.h:16, from <command line>:1: include/linux/sched.h:272:16: warning: "CONFIG_SPLIT_PTLOCK_CPUS" is not defined In file included from include/linux/utsname.h:35, from include/asm/elf.h:12, from include/linux/elf.h:7, from include/linux/module.h:15, from /usr/src/modules/rt2x00/rt2x00_compat.h:16, from <command line>:1: include/linux/sched.h: In function ‘dequeue_signal_lock’: include/linux/sched.h:1310: warning: implicit declaration of function ‘local_irq_save’ include/linux/sched.h:1312: warning: implicit declaration of function ‘local_irq_restore’ In file included from include/linux/module.h:21, from /usr/src/modules/rt2x00/rt2x00_compat.h:16, from <command line>:1: include/asm/module.h:62:2: error: #error unknown processor family In file included from <command line>:1: /usr/src/modules/rt2x00/rt2x00_compat.h:28:2: error: #error Wireless radio support not enabled in kernel! /usr/src/modules/rt2x00/rt2x00_compat.h:29:2: error: #error Please refer to README file for minimal requirements. /usr/src/modules/rt2x00/rt2x00_compat.h:33:2: error: #error Crypto support not enabled in kernel! /usr/src/modules/rt2x00/rt2x00_compat.h:34:2: error: #error Please refer to README file for minimal requirements. /usr/src/modules/rt2x00/rt2x00_compat.h:40:2: error: #error Crypto AES support not enabled in kernel! /usr/src/modules/rt2x00/rt2x00_compat.h:41:2: error: #error Please refer to README file for minimal requirements. /usr/src/modules/rt2x00/rt2x00_compat.h:47:2: error: #error Crypto ARC4 support not enabled in kernel! /usr/src/modules/rt2x00/rt2x00_compat.h:48:2: error: #error Please refer to README file for minimal requirements. /usr/src/modules/rt2x00/rt2x00_compat.h:58:2: error: #error PCI has been disabled in your kernel! /usr/src/modules/rt2x00/rt2x00_compat.h:59:2: error: #error Please refer to README file for minimal requirements. /usr/src/modules/rt2x00/rt2x00_compat.h:65:2: error: #error USB has been disabled in your kernel! /usr/src/modules/rt2x00/rt2x00_compat.h:66:2: error: #error Please refer to README file for minimal requirements. /usr/src/modules/rt2x00/rt2x00_compat.h:72:2: error: #error Firmware loading has been disabled in your kernel! /usr/src/modules/rt2x00/rt2x00_compat.h:73:2: error: #error Please refer to README file for minimal requirements. /usr/src/modules/rt2x00/ieee80211/ieee80211.c: In function ‘ieee80211_register_hw’: /usr/src/modules/rt2x00/ieee80211/ieee80211.c:4422: error: ‘struct net_device’ has no member named ‘class_dev’ /usr/src/modules/rt2x00/ieee80211/ieee80211.c:4449: error: ‘struct net_device’ has no member named ‘class_dev’ /usr/src/modules/rt2x00/ieee80211/ieee80211.c: In function ‘ieee80211_unregister_hw’: /usr/src/modules/rt2x00/ieee80211/ieee80211.c:4570: error: used struct type value where scalar is required /usr/src/modules/rt2x00/ieee80211/ieee80211.c:4572: warning: passing argument 1 of ‘cancel_delayed_work’ from incompatible pointer type make[4]: *** [/usr/src/modules/rt2x00/ieee80211/ieee80211.o] Error 1 make[3]: *** [_module_/usr/src/modules/rt2x00] Error 2 make[2]: *** [default] Error 2 make[2]: Leaving directory `/usr/src/modules/rt2x00' make[1]: *** [binary_modules] Error 2 make[1]: Leaving directory `/usr/src/modules/rt2x00' make: *** [kdist_build] Error 2 /usr/bin/make clean KERNDIR=/lib/modules/2.6.21-2-686/build make[1]: Entering directory `/usr/src/modules/rt2x00' make[1]: Leaving directory `/usr/src/modules/rt2x00' dh_clean /usr/bin/make -f debian/rules kdist_clean kdist_config binary-modules make[1]: Entering directory `/usr/src/modules/rt2x00' /usr/bin/make clean KERNDIR=/lib/modules/2.6.21-2-686/build make[2]: Entering directory `/usr/src/modules/rt2x00' make[2]: Leaving directory `/usr/src/modules/rt2x00' dh_clean for templ in ; do cp $templ `echo $templ | sed -e 's/_KVERS_/2.6.21-2-686/g'` ; done for templ in `ls debian/*.modules.in` ; do test -e ${templ%.modules.in}.backup || cp ${templ%.modules.in} ${templ%.modules.in}.backup 2>/dev/null || true; sed -e 's/##KVERS##/2.6.21-2-686/g ;s/#KVERS#/2.6.21-2-686/g ; s/_KVERS_/2.6.21-2-686/g ; s/##KDREV##/2.6.21-6~bpo.1/g ; s/#KDREV#/2.6.21-6~bpo.1/g ; s/_KDREV_/2.6.21-6~bpo.1/g ' < $templ > ${templ%.modules.in}; done # Install module dh_installdirs lib/modules/2.6.21-2-686/kernel/drivers/net/wireless # Build modules /usr/bin/make KERNDIR=/lib/modules/2.6.21-2-686/build make[2]: Entering directory `/usr/src/modules/rt2x00' CC [M] /usr/src/modules/rt2x00/ieee80211/ieee80211.o In file included from <command line>:1: /usr/src/modules/rt2x00/rt2x00_compat.h:12:26: error: linux/config.h: No such file or directory In file included from include/asm/thread_info.h:16, from include/linux/thread_info.h:21, from include/linux/preempt.h:9, from include/linux/spinlock.h:49, from include/linux/module.h:9, from /usr/src/modules/rt2x00/rt2x00_compat.h:16, from <command line>:1: include/asm/processor.h:82: error: ‘CONFIG_X86_L1_CACHE_SHIFT’ undeclared here (not in a function) include/asm/processor.h:82: error: requested alignment is not a constant In file included from include/linux/sched.h:51, from include/linux/utsname.h:35, from include/asm/elf.h:12, from include/linux/elf.h:7, from include/linux/module.h:15, from /usr/src/modules/rt2x00/rt2x00_compat.h:16, from <command line>:1: include/linux/jiffies.h:18:5: warning: "CONFIG_HZ" is not defined include/linux/jiffies.h:20:7: warning: "CONFIG_HZ" is not defined include/linux/jiffies.h:22:7: warning: "CONFIG_HZ" is not defined include/linux/jiffies.h:24:7: warning: "CONFIG_HZ" is not defined include/linux/jiffies.h:26:7: warning: "CONFIG_HZ" is not defined include/linux/jiffies.h:28:7: warning: "CONFIG_HZ" is not defined include/linux/jiffies.h:30:7: warning: "CONFIG_HZ" is not defined include/linux/jiffies.h:33:3: error: #error You lose. include/linux/jiffies.h:225:31: warning: "CONFIG_HZ" is not defined include/linux/jiffies.h:225:31: warning: "CONFIG_HZ" is not defined include/linux/jiffies.h:225:31: error: division by zero in #if include/linux/jiffies.h:225:31: warning: "CONFIG_HZ" is not defined include/linux/jiffies.h:225:31: warning: "CONFIG_HZ" is not defined include/linux/jiffies.h:225:31: error: division by zero in #if include/linux/jiffies.h:225:31: warning: "CONFIG_HZ" is not defined include/linux/jiffies.h:225:31: warning: "CONFIG_HZ" is not defined include/linux/jiffies.h:225:31: error: division by zero in #if include/linux/jiffies.h:225:31: warning: "CONFIG_HZ" is not defined include/linux/jiffies.h:225:31: warning: "CONFIG_HZ" is not defined include/linux/jiffies.h:225:31: error: division by zero in #if include/linux/jiffies.h:225:31: warning: "CONFIG_HZ" is not defined include/linux/jiffies.h:225:31: warning: "CONFIG_HZ" is not defined include/linux/jiffies.h:225:31: error: division by zero in #if include/linux/jiffies.h:225:31: warning: "CONFIG_HZ" is not defined include/linux/jiffies.h:225:31: warning: "CONFIG_HZ" is not defined include/linux/jiffies.h:225:31: error: division by zero in #if include/linux/jiffies.h:225:31: warning: "CONFIG_HZ" is not defined include/linux/jiffies.h:225:31: warning: "CONFIG_HZ" is not defined include/linux/jiffies.h:225:31: error: division by zero in #if include/linux/jiffies.h:225:31: warning: "CONFIG_HZ" is not defined include/linux/jiffies.h:225:31: warning: "CONFIG_HZ" is not defined include/linux/jiffies.h:225:31: error: division by zero in #if include/linux/jiffies.h:225:31: warning: "CONFIG_HZ" is not defined include/linux/jiffies.h:225:31: warning: "CONFIG_HZ" is not defined include/linux/jiffies.h:225:31: error: division by zero in #if include/linux/jiffies.h:225:31: warning: "CONFIG_HZ" is not defined include/linux/jiffies.h:225:31: warning: "CONFIG_HZ" is not defined include/linux/jiffies.h:225:31: error: division by zero in #if include/linux/jiffies.h:225:31: warning: "CONFIG_HZ" is not defined include/linux/jiffies.h:225:31: warning: "CONFIG_HZ" is not defined include/linux/jiffies.h:225:31: error: division by zero in #if include/linux/jiffies.h:225:31: warning: "CONFIG_HZ" is not defined include/linux/jiffies.h:225:31: warning: "CONFIG_HZ" is not defined include/linux/jiffies.h:225:31: error: division by zero in #if include/linux/jiffies.h:225:31: warning: "CONFIG_HZ" is not defined include/linux/jiffies.h:225:31: warning: "CONFIG_HZ" is not defined include/linux/jiffies.h:225:31: error: division by zero in #if include/linux/jiffies.h:225:31: warning: "CONFIG_HZ" is not defined include/linux/jiffies.h:225:31: warning: "CONFIG_HZ" is not defined include/linux/jiffies.h:225:31: error: division by zero in #if include/linux/jiffies.h:225:31: warning: "CONFIG_HZ" is not defined include/linux/jiffies.h:225:31: warning: "CONFIG_HZ" is not defined include/linux/jiffies.h:225:31: error: division by zero in #if include/linux/jiffies.h:225:31: warning: "CONFIG_HZ" is not defined include/linux/jiffies.h:225:31: warning: "CONFIG_HZ" is not defined include/linux/jiffies.h:225:31: error: division by zero in #if include/linux/jiffies.h:225:46: warning: "SHIFT_HZ" is not defined In file included from include/linux/utsname.h:35, from include/asm/elf.h:12, from include/linux/elf.h:7, from include/linux/module.h:15, from /usr/src/modules/rt2x00/rt2x00_compat.h:16, from <command line>:1: include/linux/sched.h:272:16: warning: "CONFIG_SPLIT_PTLOCK_CPUS" is not defined In file included from include/linux/utsname.h:35, from include/asm/elf.h:12, from include/linux/elf.h:7, from include/linux/module.h:15, from /usr/src/modules/rt2x00/rt2x00_compat.h:16, from <command line>:1: include/linux/sched.h: In function ‘dequeue_signal_lock’: include/linux/sched.h:1310: warning: implicit declaration of function ‘local_irq_save’ include/linux/sched.h:1312: warning: implicit declaration of function ‘local_irq_restore’ In file included from include/linux/module.h:21, from /usr/src/modules/rt2x00/rt2x00_compat.h:16, from <command line>:1: include/asm/module.h:62:2: error: #error unknown processor family In file included from <command line>:1: /usr/src/modules/rt2x00/rt2x00_compat.h:28:2: error: #error Wireless radio support not enabled in kernel! /usr/src/modules/rt2x00/rt2x00_compat.h:29:2: error: #error Please refer to README file for minimal requirements. /usr/src/modules/rt2x00/rt2x00_compat.h:33:2: error: #error Crypto support not enabled in kernel! /usr/src/modules/rt2x00/rt2x00_compat.h:34:2: error: #error Please refer to README file for minimal requirements. /usr/src/modules/rt2x00/rt2x00_compat.h:40:2: error: #error Crypto AES support not enabled in kernel! /usr/src/modules/rt2x00/rt2x00_compat.h:41:2: error: #error Please refer to README file for minimal requirements. /usr/src/modules/rt2x00/rt2x00_compat.h:47:2: error: #error Crypto ARC4 support not enabled in kernel! /usr/src/modules/rt2x00/rt2x00_compat.h:48:2: error: #error Please refer to README file for minimal requirements. /usr/src/modules/rt2x00/rt2x00_compat.h:58:2: error: #error PCI has been disabled in your kernel! /usr/src/modules/rt2x00/rt2x00_compat.h:59:2: error: #error Please refer to README file for minimal requirements. /usr/src/modules/rt2x00/rt2x00_compat.h:65:2: error: #error USB has been disabled in your kernel! /usr/src/modules/rt2x00/rt2x00_compat.h:66:2: error: #error Please refer to README file for minimal requirements. /usr/src/modules/rt2x00/rt2x00_compat.h:72:2: error: #error Firmware loading has been disabled in your kernel! /usr/src/modules/rt2x00/rt2x00_compat.h:73:2: error: #error Please refer to README file for minimal requirements. /usr/src/modules/rt2x00/ieee80211/ieee80211.c: In function ‘ieee80211_register_hw’: /usr/src/modules/rt2x00/ieee80211/ieee80211.c:4422: error: ‘struct net_device’ has no member named ‘class_dev’ /usr/src/modules/rt2x00/ieee80211/ieee80211.c:4449: error: ‘struct net_device’ has no member named ‘class_dev’ /usr/src/modules/rt2x00/ieee80211/ieee80211.c: In function ‘ieee80211_unregister_hw’: /usr/src/modules/rt2x00/ieee80211/ieee80211.c:4570: error: used struct type value where scalar is required /usr/src/modules/rt2x00/ieee80211/ieee80211.c:4572: warning: passing argument 1 of ‘cancel_delayed_work’ from incompatible pointer type make[4]: *** [/usr/src/modules/rt2x00/ieee80211/ieee80211.o] Error 1 make[3]: *** [_module_/usr/src/modules/rt2x00] Error 2 make[2]: *** [default] Error 2 make[2]: Leaving directory `/usr/src/modules/rt2x00' make[1]: *** [binary_modules] Error 2 make[1]: Leaving directory `/usr/src/modules/rt2x00' make: *** [kdist_build] Error 2 /usr/bin/make clean KERNDIR=/lib/modules/2.6.21-2-686/build make[1]: Entering directory `/usr/src/modules/rt2x00' make[1]: Leaving directory `/usr/src/modules/rt2x00' dh_clean /usr/bin/make -f debian/rules kdist_clean kdist_config binary-modules make[1]: Entering directory `/usr/src/modules/rt2x00' /usr/bin/make clean KERNDIR=/lib/modules/2.6.21-2-686/build make[2]: Entering directory `/usr/src/modules/rt2x00' make[2]: Leaving directory `/usr/src/modules/rt2x00' dh_clean for templ in ; do cp $templ `echo $templ | sed -e 's/_KVERS_/2.6.21-2-686/g'` ; done for templ in `ls debian/*.modules.in` ; do test -e ${templ%.modules.in}.backup || cp ${templ%.modules.in} ${templ%.modules.in}.backup 2>/dev/null || true; sed -e 's/##KVERS##/2.6.21-2-686/g ;s/#KVERS#/2.6.21-2-686/g ; s/_KVERS_/2.6.21-2-686/g ; s/##KDREV##/2.6.21-6~bpo.1/g ; s/#KDREV#/2.6.21-6~bpo.1/g ; s/_KDREV_/2.6.21-6~bpo.1/g ' < $templ > ${templ%.modules.in}; done # Install module dh_installdirs lib/modules/2.6.21-2-686/kernel/drivers/net/wireless # Build modules /usr/bin/make KERNDIR=/lib/modules/2.6.21-2-686/build make[2]: Entering directory `/usr/src/modules/rt2x00' CC [M] /usr/src/modules/rt2x00/ieee80211/ieee80211.o In file included from <command line>:1: /usr/src/modules/rt2x00/rt2x00_compat.h:12:26: error: linux/config.h: No such file or directory In file included from include/asm/thread_info.h:16, from include/linux/thread_info.h:21, from include/linux/preempt.h:9, from include/linux/spinlock.h:49, from include/linux/module.h:9, from /usr/src/modules/rt2x00/rt2x00_compat.h:16, from <command line>:1: include/asm/processor.h:82: error: ‘CONFIG_X86_L1_CACHE_SHIFT’ undeclared here (not in a function) include/asm/processor.h:82: error: requested alignment is not a constant In file included from include/linux/sched.h:51, from include/linux/utsname.h:35, from include/asm/elf.h:12, from include/linux/elf.h:7, from include/linux/module.h:15, from /usr/src/modules/rt2x00/rt2x00_compat.h:16, from <command line>:1: include/linux/jiffies.h:18:5: warning: "CONFIG_HZ" is not defined include/linux/jiffies.h:20:7: warning: "CONFIG_HZ" is not defined include/linux/jiffies.h:22:7: warning: "CONFIG_HZ" is not defined include/linux/jiffies.h:24:7: warning: "CONFIG_HZ" is not defined include/linux/jiffies.h:26:7: warning: "CONFIG_HZ" is not defined include/linux/jiffies.h:28:7: warning: "CONFIG_HZ" is not defined include/linux/jiffies.h:30:7: warning: "CONFIG_HZ" is not defined include/linux/jiffies.h:33:3: error: #error You lose. include/linux/jiffies.h:225:31: warning: "CONFIG_HZ" is not defined include/linux/jiffies.h:225:31: warning: "CONFIG_HZ" is not defined include/linux/jiffies.h:225:31: error: division by zero in #if include/linux/jiffies.h:225:31: warning: "CONFIG_HZ" is not defined include/linux/jiffies.h:225:31: warning: "CONFIG_HZ" is not defined include/linux/jiffies.h:225:31: error: division by zero in #if include/linux/jiffies.h:225:31: warning: "CONFIG_HZ" is not defined include/linux/jiffies.h:225:31: warning: "CONFIG_HZ" is not defined include/linux/jiffies.h:225:31: error: division by zero in #if include/linux/jiffies.h:225:31: warning: "CONFIG_HZ" is not defined include/linux/jiffies.h:225:31: warning: "CONFIG_HZ" is not defined include/linux/jiffies.h:225:31: error: division by zero in #if include/linux/jiffies.h:225:31: warning: "CONFIG_HZ" is not defined include/linux/jiffies.h:225:31: warning: "CONFIG_HZ" is not defined include/linux/jiffies.h:225:31: error: division by zero in #if include/linux/jiffies.h:225:31: warning: "CONFIG_HZ" is not defined include/linux/jiffies.h:225:31: warning: "CONFIG_HZ" is not defined include/linux/jiffies.h:225:31: error: division by zero in #if include/linux/jiffies.h:225:31: warning: "CONFIG_HZ" is not defined include/linux/jiffies.h:225:31: warning: "CONFIG_HZ" is not defined include/linux/jiffies.h:225:31: error: division by zero in #if include/linux/jiffies.h:225:31: warning: "CONFIG_HZ" is not defined include/linux/jiffies.h:225:31: warning: "CONFIG_HZ" is not defined include/linux/jiffies.h:225:31: error: division by zero in #if include/linux/jiffies.h:225:31: warning: "CONFIG_HZ" is not defined include/linux/jiffies.h:225:31: warning: "CONFIG_HZ" is not defined include/linux/jiffies.h:225:31: error: division by zero in #if include/linux/jiffies.h:225:31: warning: "CONFIG_HZ" is not defined include/linux/jiffies.h:225:31: warning: "CONFIG_HZ" is not defined include/linux/jiffies.h:225:31: error: division by zero in #if include/linux/jiffies.h:225:31: warning: "CONFIG_HZ" is not defined include/linux/jiffies.h:225:31: warning: "CONFIG_HZ" is not defined include/linux/jiffies.h:225:31: error: division by zero in #if include/linux/jiffies.h:225:31: warning: "CONFIG_HZ" is not defined include/linux/jiffies.h:225:31: warning: "CONFIG_HZ" is not defined include/linux/jiffies.h:225:31: error: division by zero in #if include/linux/jiffies.h:225:31: warning: "CONFIG_HZ" is not defined include/linux/jiffies.h:225:31: warning: "CONFIG_HZ" is not defined include/linux/jiffies.h:225:31: error: division by zero in #if include/linux/jiffies.h:225:31: warning: "CONFIG_HZ" is not defined include/linux/jiffies.h:225:31: warning: "CONFIG_HZ" is not defined include/linux/jiffies.h:225:31: error: division by zero in #if include/linux/jiffies.h:225:31: warning: "CONFIG_HZ" is not defined include/linux/jiffies.h:225:31: warning: "CONFIG_HZ" is not defined include/linux/jiffies.h:225:31: error: division by zero in #if include/linux/jiffies.h:225:31: warning: "CONFIG_HZ" is not defined include/linux/jiffies.h:225:31: warning: "CONFIG_HZ" is not defined include/linux/jiffies.h:225:31: error: division by zero in #if include/linux/jiffies.h:225:46: warning: "SHIFT_HZ" is not defined In file included from include/linux/utsname.h:35, from include/asm/elf.h:12, from include/linux/elf.h:7, from include/linux/module.h:15, from /usr/src/modules/rt2x00/rt2x00_compat.h:16, from <command line>:1: include/linux/sched.h:272:16: warning: "CONFIG_SPLIT_PTLOCK_CPUS" is not defined In file included from include/linux/utsname.h:35, from include/asm/elf.h:12, from include/linux/elf.h:7, from include/linux/module.h:15, from /usr/src/modules/rt2x00/rt2x00_compat.h:16, from <command line>:1: include/linux/sched.h: In function ‘dequeue_signal_lock’: include/linux/sched.h:1310: warning: implicit declaration of function ‘local_irq_save’ include/linux/sched.h:1312: warning: implicit declaration of function ‘local_irq_restore’ In file included from include/linux/module.h:21, from /usr/src/modules/rt2x00/rt2x00_compat.h:16, from <command line>:1: include/asm/module.h:62:2: error: #error unknown processor family In file included from <command line>:1: /usr/src/modules/rt2x00/rt2x00_compat.h:28:2: error: #error Wireless radio support not enabled in kernel! /usr/src/modules/rt2x00/rt2x00_compat.h:29:2: error: #error Please refer to README file for minimal requirements. /usr/src/modules/rt2x00/rt2x00_compat.h:33:2: error: #error Crypto support not enabled in kernel! /usr/src/modules/rt2x00/rt2x00_compat.h:34:2: error: #error Please refer to README file for minimal requirements. /usr/src/modules/rt2x00/rt2x00_compat.h:40:2: error: #error Crypto AES support not enabled in kernel! /usr/src/modules/rt2x00/rt2x00_compat.h:41:2: error: #error Please refer to README file for minimal requirements. /usr/src/modules/rt2x00/rt2x00_compat.h:47:2: error: #error Crypto ARC4 support not enabled in kernel! /usr/src/modules/rt2x00/rt2x00_compat.h:48:2: error: #error Please refer to README file for minimal requirements. /usr/src/modules/rt2x00/rt2x00_compat.h:58:2: error: #error PCI has been disabled in your kernel! /usr/src/modules/rt2x00/rt2x00_compat.h:59:2: error: #error Please refer to README file for minimal requirements. /usr/src/modules/rt2x00/rt2x00_compat.h:65:2: error: #error USB has been disabled in your kernel! /usr/src/modules/rt2x00/rt2x00_compat.h:66:2: error: #error Please refer to README file for minimal requirements. /usr/src/modules/rt2x00/rt2x00_compat.h:72:2: error: #error Firmware loading has been disabled in your kernel! /usr/src/modules/rt2x00/rt2x00_compat.h:73:2: error: #error Please refer to README file for minimal requirements. /usr/src/modules/rt2x00/ieee80211/ieee80211.c: In function ‘ieee80211_register_hw’: /usr/src/modules/rt2x00/ieee80211/ieee80211.c:4422: error: ‘struct net_device’ has no member named ‘class_dev’ /usr/src/modules/rt2x00/ieee80211/ieee80211.c:4449: error: ‘struct net_device’ has no member named ‘class_dev’ /usr/src/modules/rt2x00/ieee80211/ieee80211.c: In function ‘ieee80211_unregister_hw’: /usr/src/modules/rt2x00/ieee80211/ieee80211.c:4570: error: used struct type value where scalar is required /usr/src/modules/rt2x00/ieee80211/ieee80211.c:4572: warning: passing argument 1 of ‘cancel_delayed_work’ from incompatible pointer type make[4]: *** [/usr/src/modules/rt2x00/ieee80211/ieee80211.o] Error 1 make[3]: *** [_module_/usr/src/modules/rt2x00] Error 2 make[2]: *** [default] Error 2 make[2]: Leaving directory `/usr/src/modules/rt2x00' make[1]: *** [binary_modules] Error 2 make[1]: Leaving directory `/usr/src/modules/rt2x00' make: *** [kdist_build] Error 2 /usr/bin/make clean KERNDIR=/lib/modules/2.6.21-2-686/build make[1]: Entering directory `/usr/src/modules/rt2x00' make[1]: Leaving directory `/usr/src/modules/rt2x00' dh_clean /usr/bin/make -f debian/rules kdist_clean kdist_config binary-modules make[1]: Entering directory `/usr/src/modules/rt2x00' /usr/bin/make clean KERNDIR=/lib/modules/2.6.21-2-686/build make[2]: Entering directory `/usr/src/modules/rt2x00' make[2]: Leaving directory `/usr/src/modules/rt2x00' dh_clean for templ in ; do cp $templ `echo $templ | sed -e 's/_KVERS_/2.6.21-2-686/g'` ; done for templ in `ls debian/*.modules.in` ; do test -e ${templ%.modules.in}.backup || cp ${templ%.modules.in} ${templ%.modules.in}.backup 2>/dev/null || true; sed -e 's/##KVERS##/2.6.21-2-686/g ;s/#KVERS#/2.6.21-2-686/g ; s/_KVERS_/2.6.21-2-686/g ; s/##KDREV##/2.6.21-6~bpo.1/g ; s/#KDREV#/2.6.21-6~bpo.1/g ; s/_KDREV_/2.6.21-6~bpo.1/g ' < $templ > ${templ%.modules.in}; done # Install module dh_installdirs lib/modules/2.6.21-2-686/kernel/drivers/net/wireless # Build modules /usr/bin/make KERNDIR=/lib/modules/2.6.21-2-686/build make[2]: Entering directory `/usr/src/modules/rt2x00' CC [M] /usr/src/modules/rt2x00/ieee80211/ieee80211.o In file included from <command line>:1: /usr/src/modules/rt2x00/rt2x00_compat.h:12:26: error: linux/config.h: No such file or directory In file included from include/asm/thread_info.h:16, from include/linux/thread_info.h:21, from include/linux/preempt.h:9, from include/linux/spinlock.h:49, from include/linux/module.h:9, from /usr/src/modules/rt2x00/rt2x00_compat.h:16, from <command line>:1: include/asm/processor.h:82: error: ‘CONFIG_X86_L1_CACHE_SHIFT’ undeclared here (not in a function) include/asm/processor.h:82: error: requested alignment is not a constant In file included from include/linux/sched.h:51, from include/linux/utsname.h:35, from include/asm/elf.h:12, from include/linux/elf.h:7, from include/linux/module.h:15, from /usr/src/modules/rt2x00/rt2x00_compat.h:16, from <command line>:1: include/linux/jiffies.h:18:5: warning: "CONFIG_HZ" is not defined include/linux/jiffies.h:20:7: warning: "CONFIG_HZ" is not defined include/linux/jiffies.h:22:7: warning: "CONFIG_HZ" is not defined include/linux/jiffies.h:24:7: warning: "CONFIG_HZ" is not defined include/linux/jiffies.h:26:7: warning: "CONFIG_HZ" is not defined include/linux/jiffies.h:28:7: warning: "CONFIG_HZ" is not defined include/linux/jiffies.h:30:7: warning: "CONFIG_HZ" is not defined include/linux/jiffies.h:33:3: error: #error You lose. include/linux/jiffies.h:225:31: warning: "CONFIG_HZ" is not defined include/linux/jiffies.h:225:31: warning: "CONFIG_HZ" is not defined include/linux/jiffies.h:225:31: error: division by zero in #if include/linux/jiffies.h:225:31: warning: "CONFIG_HZ" is not defined include/linux/jiffies.h:225:31: warning: "CONFIG_HZ" is not defined include/linux/jiffies.h:225:31: error: division by zero in #if include/linux/jiffies.h:225:31: warning: "CONFIG_HZ" is not defined include/linux/jiffies.h:225:31: warning: "CONFIG_HZ" is not defined include/linux/jiffies.h:225:31: error: division by zero in #if include/linux/jiffies.h:225:31: warning: "CONFIG_HZ" is not defined include/linux/jiffies.h:225:31: warning: "CONFIG_HZ" is not defined include/linux/jiffies.h:225:31: error: division by zero in #if include/linux/jiffies.h:225:31: warning: "CONFIG_HZ" is not defined include/linux/jiffies.h:225:31: warning: "CONFIG_HZ" is not defined include/linux/jiffies.h:225:31: error: division by zero in #if include/linux/jiffies.h:225:31: warning: "CONFIG_HZ" is not defined include/linux/jiffies.h:225:31: warning: "CONFIG_HZ" is not defined include/linux/jiffies.h:225:31: error: division by zero in #if include/linux/jiffies.h:225:31: warning: "CONFIG_HZ" is not defined include/linux/jiffies.h:225:31: warning: "CONFIG_HZ" is not defined include/linux/jiffies.h:225:31: error: division by zero in #if include/linux/jiffies.h:225:31: warning: "CONFIG_HZ" is not defined include/linux/jiffies.h:225:31: warning: "CONFIG_HZ" is not defined include/linux/jiffies.h:225:31: error: division by zero in #if include/linux/jiffies.h:225:31: warning: "CONFIG_HZ" is not defined include/linux/jiffies.h:225:31: warning: "CONFIG_HZ" is not defined include/linux/jiffies.h:225:31: error: division by zero in #if include/linux/jiffies.h:225:31: warning: "CONFIG_HZ" is not defined include/linux/jiffies.h:225:31: warning: "CONFIG_HZ" is not defined include/linux/jiffies.h:225:31: error: division by zero in #if include/linux/jiffies.h:225:31: warning: "CONFIG_HZ" is not defined include/linux/jiffies.h:225:31: warning: "CONFIG_HZ" is not defined include/linux/jiffies.h:225:31: error: division by zero in #if include/linux/jiffies.h:225:31: warning: "CONFIG_HZ" is not defined include/linux/jiffies.h:225:31: warning: "CONFIG_HZ" is not defined include/linux/jiffies.h:225:31: error: division by zero in #if include/linux/jiffies.h:225:31: warning: "CONFIG_HZ" is not defined include/linux/jiffies.h:225:31: warning: "CONFIG_HZ" is not defined include/linux/jiffies.h:225:31: error: division by zero in #if include/linux/jiffies.h:225:31: warning: "CONFIG_HZ" is not defined include/linux/jiffies.h:225:31: warning: "CONFIG_HZ" is not defined include/linux/jiffies.h:225:31: error: division by zero in #if include/linux/jiffies.h:225:31: warning: "CONFIG_HZ" is not defined include/linux/jiffies.h:225:31: warning: "CONFIG_HZ" is not defined include/linux/jiffies.h:225:31: error: division by zero in #if include/linux/jiffies.h:225:31: warning: "CONFIG_HZ" is not defined include/linux/jiffies.h:225:31: warning: "CONFIG_HZ" is not defined include/linux/jiffies.h:225:31: error: division by zero in #if include/linux/jiffies.h:225:46: warning: "SHIFT_HZ" is not defined In file included from include/linux/utsname.h:35, from include/asm/elf.h:12, from include/linux/elf.h:7, from include/linux/module.h:15, from /usr/src/modules/rt2x00/rt2x00_compat.h:16, from <command line>:1: include/linux/sched.h:272:16: warning: "CONFIG_SPLIT_PTLOCK_CPUS" is not defined In file included from include/linux/utsname.h:35, from include/asm/elf.h:12, from include/linux/elf.h:7, from include/linux/module.h:15, from /usr/src/modules/rt2x00/rt2x00_compat.h:16, from <command line>:1: include/linux/sched.h: In function ‘dequeue_signal_lock’: include/linux/sched.h:1310: warning: implicit declaration of function ‘local_irq_save’ include/linux/sched.h:1312: warning: implicit declaration of function ‘local_irq_restore’ In file included from include/linux/module.h:21, from /usr/src/modules/rt2x00/rt2x00_compat.h:16, from <command line>:1: include/asm/module.h:62:2: error: #error unknown processor family In file included from <command line>:1: /usr/src/modules/rt2x00/rt2x00_compat.h:28:2: error: #error Wireless radio support not enabled in kernel! /usr/src/modules/rt2x00/rt2x00_compat.h:29:2: error: #error Please refer to README file for minimal requirements. /usr/src/modules/rt2x00/rt2x00_compat.h:33:2: error: #error Crypto support not enabled in kernel! /usr/src/modules/rt2x00/rt2x00_compat.h:34:2: error: #error Please refer to README file for minimal requirements. /usr/src/modules/rt2x00/rt2x00_compat.h:40:2: error: #error Crypto AES support not enabled in kernel! /usr/src/modules/rt2x00/rt2x00_compat.h:41:2: error: #error Please refer to README file for minimal requirements. /usr/src/modules/rt2x00/rt2x00_compat.h:47:2: error: #error Crypto ARC4 support not enabled in kernel! /usr/src/modules/rt2x00/rt2x00_compat.h:48:2: error: #error Please refer to README file for minimal requirements. /usr/src/modules/rt2x00/rt2x00_compat.h:58:2: error: #error PCI has been disabled in your kernel! /usr/src/modules/rt2x00/rt2x00_compat.h:59:2: error: #error Please refer to README file for minimal requirements. /usr/src/modules/rt2x00/rt2x00_compat.h:65:2: error: #error USB has been disabled in your kernel! /usr/src/modules/rt2x00/rt2x00_compat.h:66:2: error: #error Please refer to README file for minimal requirements. /usr/src/modules/rt2x00/rt2x00_compat.h:72:2: error: #error Firmware loading has been disabled in your kernel! /usr/src/modules/rt2x00/rt2x00_compat.h:73:2: error: #error Please refer to README file for minimal requirements. /usr/src/modules/rt2x00/ieee80211/ieee80211.c: In function ‘ieee80211_register_hw’: /usr/src/modules/rt2x00/ieee80211/ieee80211.c:4422: error: ‘struct net_device’ has no member named ‘class_dev’ /usr/src/modules/rt2x00/ieee80211/ieee80211.c:4449: error: ‘struct net_device’ has no member named ‘class_dev’ /usr/src/modules/rt2x00/ieee80211/ieee80211.c: In function ‘ieee80211_unregister_hw’: /usr/src/modules/rt2x00/ieee80211/ieee80211.c:4570: error: used struct type value where scalar is required /usr/src/modules/rt2x00/ieee80211/ieee80211.c:4572: warning: passing argument 1 of ‘cancel_delayed_work’ from incompatible pointer type make[4]: *** [/usr/src/modules/rt2x00/ieee80211/ieee80211.o] Error 1 make[3]: *** [_module_/usr/src/modules/rt2x00] Error 2 make[2]: *** [default] Error 2 make[2]: Leaving directory `/usr/src/modules/rt2x00' make[1]: *** [binary_modules] Error 2 make[1]: Leaving directory `/usr/src/modules/rt2x00' make: *** [kdist_build] Error 2 /usr/bin/make clean KERNDIR=/lib/modules/2.6.21-2-686/build make[1]: Entering directory `/usr/src/modules/rt2x00' make[1]: Leaving directory `/usr/src/modules/rt2x00' dh_clean /usr/bin/make -f debian/rules kdist_clean kdist_config binary-modules make[1]: Entering directory `/usr/src/modules/rt2x00' /usr/bin/make clean KERNDIR=/lib/modules/2.6.21-2-686/build make[2]: Entering directory `/usr/src/modules/rt2x00' make[2]: Leaving directory `/usr/src/modules/rt2x00' dh_clean for templ in ; do cp $templ `echo $templ | sed -e 's/_KVERS_/2.6.21-2-686/g'` ; done for templ in `ls debian/*.modules.in` ; do test -e ${templ%.modules.in}.backup || cp ${templ%.modules.in} ${templ%.modules.in}.backup 2>/dev/null || true; sed -e 's/##KVERS##/2.6.21-2-686/g ;s/#KVERS#/2.6.21-2-686/g ; s/_KVERS_/2.6.21-2-686/g ; s/##KDREV##/2.6.21-6~bpo.1/g ; s/#KDREV#/2.6.21-6~bpo.1/g ; s/_KDREV_/2.6.21-6~bpo.1/g ' < $templ > ${templ%.modules.in}; done # Install module dh_installdirs lib/modules/2.6.21-2-686/kernel/drivers/net/wireless # Build modules /usr/bin/make KERNDIR=/lib/modules/2.6.21-2-686/build make[2]: Entering directory `/usr/src/modules/rt2x00' CC [M] /usr/src/modules/rt2x00/ieee80211/ieee80211.o In file included from <command line>:1: /usr/src/modules/rt2x00/rt2x00_compat.h:12:26: error: linux/config.h: No such file or directory In file included from include/asm/thread_info.h:16, from include/linux/thread_info.h:21, from include/linux/preempt.h:9, from include/linux/spinlock.h:49, from include/linux/module.h:9, from /usr/src/modules/rt2x00/rt2x00_compat.h:16, from <command line>:1: include/asm/processor.h:82: error: ‘CONFIG_X86_L1_CACHE_SHIFT’ undeclared here (not in a function) include/asm/processor.h:82: error: requested alignment is not a constant In file included from include/linux/sched.h:51, from include/linux/utsname.h:35, from include/asm/elf.h:12, from include/linux/elf.h:7, from include/linux/module.h:15, from /usr/src/modules/rt2x00/rt2x00_compat.h:16, from <command line>:1: include/linux/jiffies.h:18:5: warning: "CONFIG_HZ" is not defined include/linux/jiffies.h:20:7: warning: "CONFIG_HZ" is not defined include/linux/jiffies.h:22:7: warning: "CONFIG_HZ" is not defined include/linux/jiffies.h:24:7: warning: "CONFIG_HZ" is not defined include/linux/jiffies.h:26:7: warning: "CONFIG_HZ" is not defined include/linux/jiffies.h:28:7: warning: "CONFIG_HZ" is not defined include/linux/jiffies.h:30:7: warning: "CONFIG_HZ" is not defined include/linux/jiffies.h:33:3: error: #error You lose. include/linux/jiffies.h:225:31: warning: "CONFIG_HZ" is not defined include/linux/jiffies.h:225:31: warning: "CONFIG_HZ" is not defined include/linux/jiffies.h:225:31: error: division by zero in #if include/linux/jiffies.h:225:31: warning: "CONFIG_HZ" is not defined include/linux/jiffies.h:225:31: warning: "CONFIG_HZ" is not defined include/linux/jiffies.h:225:31: error: division by zero in #if include/linux/jiffies.h:225:31: warning: "CONFIG_HZ" is not defined include/linux/jiffies.h:225:31: warning: "CONFIG_HZ" is not defined include/linux/jiffies.h:225:31: error: division by zero in #if include/linux/jiffies.h:225:31: warning: "CONFIG_HZ" is not defined include/linux/jiffies.h:225:31: warning: "CONFIG_HZ" is not defined include/linux/jiffies.h:225:31: error: division by zero in #if include/linux/jiffies.h:225:31: warning: "CONFIG_HZ" is not defined include/linux/jiffies.h:225:31: warning: "CONFIG_HZ" is not defined include/linux/jiffies.h:225:31: error: division by zero in #if include/linux/jiffies.h:225:31: warning: "CONFIG_HZ" is not defined include/linux/jiffies.h:225:31: warning: "CONFIG_HZ" is not defined include/linux/jiffies.h:225:31: error: division by zero in #if include/linux/jiffies.h:225:31: warning: "CONFIG_HZ" is not defined include/linux/jiffies.h:225:31: warning: "CONFIG_HZ" is not defined include/linux/jiffies.h:225:31: error: division by zero in #if include/linux/jiffies.h:225:31: warning: "CONFIG_HZ" is not defined include/linux/jiffies.h:225:31: warning: "CONFIG_HZ" is not defined include/linux/jiffies.h:225:31: error: division by zero in #if include/linux/jiffies.h:225:31: warning: "CONFIG_HZ" is not defined include/linux/jiffies.h:225:31: warning: "CONFIG_HZ" is not defined include/linux/jiffies.h:225:31: error: division by zero in #if include/linux/jiffies.h:225:31: warning: "CONFIG_HZ" is not defined include/linux/jiffies.h:225:31: warning: "CONFIG_HZ" is not defined include/linux/jiffies.h:225:31: error: division by zero in #if include/linux/jiffies.h:225:31: warning: "CONFIG_HZ" is not defined include/linux/jiffies.h:225:31: warning: "CONFIG_HZ" is not defined include/linux/jiffies.h:225:31: error: division by zero in #if include/linux/jiffies.h:225:31: warning: "CONFIG_HZ" is not defined include/linux/jiffies.h:225:31: warning: "CONFIG_HZ" is not defined include/linux/jiffies.h:225:31: error: division by zero in #if include/linux/jiffies.h:225:31: warning: "CONFIG_HZ" is not defined include/linux/jiffies.h:225:31: warning: "CONFIG_HZ" is not defined include/linux/jiffies.h:225:31: error: division by zero in #if include/linux/jiffies.h:225:31: warning: "CONFIG_HZ" is not defined include/linux/jiffies.h:225:31: warning: "CONFIG_HZ" is not defined include/linux/jiffies.h:225:31: error: division by zero in #if include/linux/jiffies.h:225:31: warning: "CONFIG_HZ" is not defined include/linux/jiffies.h:225:31: warning: "CONFIG_HZ" is not defined include/linux/jiffies.h:225:31: error: division by zero in #if include/linux/jiffies.h:225:31: warning: "CONFIG_HZ" is not defined include/linux/jiffies.h:225:31: warning: "CONFIG_HZ" is not defined include/linux/jiffies.h:225:31: error: division by zero in #if include/linux/jiffies.h:225:46: warning: "SHIFT_HZ" is not defined In file included from include/linux/utsname.h:35, from include/asm/elf.h:12, from include/linux/elf.h:7, from include/linux/module.h:15, from /usr/src/modules/rt2x00/rt2x00_compat.h:16, from <command line>:1: include/linux/sched.h:272:16: warning: "CONFIG_SPLIT_PTLOCK_CPUS" is not defined In file included from include/linux/utsname.h:35, from include/asm/elf.h:12, from include/linux/elf.h:7, from include/linux/module.h:15, from /usr/src/modules/rt2x00/rt2x00_compat.h:16, from <command line>:1: include/linux/sched.h: In function ‘dequeue_signal_lock’: include/linux/sched.h:1310: warning: implicit declaration of function ‘local_irq_save’ include/linux/sched.h:1312: warning: implicit declaration of function ‘local_irq_restore’ In file included from include/linux/module.h:21, from /usr/src/modules/rt2x00/rt2x00_compat.h:16, from <command line>:1: include/asm/module.h:62:2: error: #error unknown processor family In file included from <command line>:1: /usr/src/modules/rt2x00/rt2x00_compat.h:28:2: error: #error Wireless radio support not enabled in kernel! /usr/src/modules/rt2x00/rt2x00_compat.h:29:2: error: #error Please refer to README file for minimal requirements. /usr/src/modules/rt2x00/rt2x00_compat.h:33:2: error: #error Crypto support not enabled in kernel! /usr/src/modules/rt2x00/rt2x00_compat.h:34:2: error: #error Please refer to README file for minimal requirements. /usr/src/modules/rt2x00/rt2x00_compat.h:40:2: error: #error Crypto AES support not enabled in kernel! /usr/src/modules/rt2x00/rt2x00_compat.h:41:2: error: #error Please refer to README file for minimal requirements. /usr/src/modules/rt2x00/rt2x00_compat.h:47:2: error: #error Crypto ARC4 support not enabled in kernel! /usr/src/modules/rt2x00/rt2x00_compat.h:48:2: error: #error Please refer to README file for minimal requirements. /usr/src/modules/rt2x00/rt2x00_compat.h:58:2: error: #error PCI has been disabled in your kernel! /usr/src/modules/rt2x00/rt2x00_compat.h:59:2: error: #error Please refer to README file for minimal requirements. /usr/src/modules/rt2x00/rt2x00_compat.h:65:2: error: #error USB has been disabled in your kernel! /usr/src/modules/rt2x00/rt2x00_compat.h:66:2: error: #error Please refer to README file for minimal requirements. /usr/src/modules/rt2x00/rt2x00_compat.h:72:2: error: #error Firmware loading has been disabled in your kernel! /usr/src/modules/rt2x00/rt2x00_compat.h:73:2: error: #error Please refer to README file for minimal requirements. /usr/src/modules/rt2x00/ieee80211/ieee80211.c: In function ‘ieee80211_register_hw’: /usr/src/modules/rt2x00/ieee80211/ieee80211.c:4422: error: ‘struct net_device’ has no member named ‘class_dev’ /usr/src/modules/rt2x00/ieee80211/ieee80211.c:4449: error: ‘struct net_device’ has no member named ‘class_dev’ /usr/src/modules/rt2x00/ieee80211/ieee80211.c: In function ‘ieee80211_unregister_hw’: /usr/src/modules/rt2x00/ieee80211/ieee80211.c:4570: error: used struct type value where scalar is required /usr/src/modules/rt2x00/ieee80211/ieee80211.c:4572: warning: passing argument 1 of ‘cancel_delayed_work’ from incompatible pointer type make[4]: *** [/usr/src/modules/rt2x00/ieee80211/ieee80211.o] Error 1 make[3]: *** [_module_/usr/src/modules/rt2x00] Error 2 make[2]: *** [default] Error 2 make[2]: Leaving directory `/usr/src/modules/rt2x00' make[1]: *** [binary_modules] Error 2 make[1]: Leaving directory `/usr/src/modules/rt2x00' make: *** [kdist_build] Error 2 ----------------------------------------------------------------------- mexican:~# lspci 00:09.0 Network controller: RaLink RT2561/RT61 802.11g PCI mexican:/boot# grep CONFIG_HZ config-2.6.21-2-686 # CONFIG_HZ_100 is not set CONFIG_HZ_250=y # CONFIG_HZ_300 is not set # CONFIG_HZ_1000 is not set CONFIG_HZ=250 mexican:/boot# grep CONFIG_SPLIT_PTLOCK_CPUS config-2.6.21-2-686 CONFIG_SPLIT_PTLOCK_CPUS=4 mexican:/boot# grep CRYPTO config-2.6.21-2-686 CONFIG_BLK_DEV_CRYPTOLOOP=m CONFIG_CRYPTO=y CONFIG_CRYPTO_ALGAPI=y CONFIG_CRYPTO_BLKCIPHER=m CONFIG_CRYPTO_HASH=y CONFIG_CRYPTO_MANAGER=y CONFIG_CRYPTO_HMAC=y CONFIG_CRYPTO_XCBC=m CONFIG_CRYPTO_NULL=m CONFIG_CRYPTO_MD4=m CONFIG_CRYPTO_MD5=y CONFIG_CRYPTO_SHA1=m CONFIG_CRYPTO_SHA256=m CONFIG_CRYPTO_SHA512=m CONFIG_CRYPTO_WP512=m CONFIG_CRYPTO_TGR192=m CONFIG_CRYPTO_GF128MUL=m CONFIG_CRYPTO_ECB=m CONFIG_CRYPTO_CBC=m CONFIG_CRYPTO_PCBC=m CONFIG_CRYPTO_LRW=m CONFIG_CRYPTO_DES=m # CONFIG_CRYPTO_FCRYPT is not set CONFIG_CRYPTO_BLOWFISH=m CONFIG_CRYPTO_TWOFISH=m CONFIG_CRYPTO_TWOFISH_COMMON=m CONFIG_CRYPTO_TWOFISH_586=m CONFIG_CRYPTO_SERPENT=m CONFIG_CRYPTO_AES=m CONFIG_CRYPTO_AES_586=m CONFIG_CRYPTO_CAST5=m CONFIG_CRYPTO_CAST6=m CONFIG_CRYPTO_TEA=m CONFIG_CRYPTO_ARC4=m CONFIG_CRYPTO_KHAZAD=m CONFIG_CRYPTO_ANUBIS=m CONFIG_CRYPTO_DEFLATE=m CONFIG_CRYPTO_MICHAEL_MIC=m CONFIG_CRYPTO_CRC32C=m # CONFIG_CRYPTO_CAMELLIA is not set CONFIG_CRYPTO_TEST=m CONFIG_CRYPTO_DEV_PADLOCK=m CONFIG_CRYPTO_DEV_PADLOCK_AES=m CONFIG_CRYPTO_DEV_PADLOCK_SHA=m CONFIG_CRYPTO_DEV_GEODE=m mexican:/boot# uname -r 2.6.21-2-686 mexican:/boot# gcc -v Using built-in specs. Target: i486-linux-gnu Configured with: ../src/configure -v --enable-languages=c,c++,fortran,objc,obj-c++,treelang --prefix=/usr --enable-shared --with-system-zlib --libexecdir=/usr/lib --without-included-gettext --enable-threads=posix --enable-nls --program-suffix=-4.1 --enable-__cxa_atexit --enable-clocale=gnu --enable-libstdcxx-debug --enable-mpfr --with-tune=i686 --enable-checking=release i486-linux-gnu Thread model: posix gcc version 4.1.2 20061115 (prerelease) (Debian 4.1.1-21) mexican:/boot# lsmod Module Size Used by ipv6 236544 8 ppdev 8740 0 lp 11044 0 button 8112 0 ac 5380 0 battery 10148 0 dm_snapshot 16580 0 dm_mirror 20340 0 dm_mod 52780 2 dm_snapshot,dm_mirror loop 16104 0 parport_pc 32900 1 parport 33864 3 ppdev,lp,parport_pc rtc 12888 0 pcspkr 3264 0 i2c_piix4 8716 0 i2c_core 20736 1 i2c_piix4 intel_agp 23164 1 agpgart 32392 1 intel_agp shpchp 31252 0 pci_hotplug 29312 1 shpchp tsdev 7680 0 evdev 9376 3 ext3 121352 3 jbd 55432 1 ext3 mbcache 8420 1 ext3 usbhid 23712 0 hid 23808 1 usbhid ide_cd 36672 0 cdrom 32928 1 ide_cd ide_disk 15776 5 ata_generic 8260 0 libata 109396 1 ata_generic scsi_mod 134124 1 libata generic 4932 0 [permanent] uhci_hcd 22832 0 8139too 25728 0 mii 5376 1 8139too usbcore 123400 3 usbhid,uhci_hcd piix 9636 0 [permanent] ide_core 115528 4 ide_cd,ide_disk,generic,piix thermal 14248 0 processor 31176 1 thermal fan 4996 0 So the modules the compilation is complaining about doesn't seem to be loading. Should I just download and use a newer kernel, apparently the rt2x00 drivers are included in the kernel after 2.6.24; does anyone have a guide for doing this with grub? Thanks for any help you can offer! James -- To UNSUBSCRIBE, email to debian-user-REQUEST@lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org |
| All times are GMT. The time now is 02:11 PM. |
VBulletin, Copyright ©2000 - 2013, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO ©2007, Crawlability, Inc.