Portál AbcLinuxu, 17. listopadu 2025 04:27
net-wireless/rt2x00-2.0.0_beta3
Kernel: linux-2.6.21-gentoo-r4
Omlouvam se nevim co ztoho je dulezite tak sem to sem dal cele :
Preparing rt2x00core module
CC [M] /var/tmp/portage/net-wireless/rt2x00-2.0.0_beta3/work/rt2x00-2.0.0-b3/rt2x00core.o
CC [M] /var/tmp/portage/net-wireless/rt2x00-2.0.0_beta3/work/rt2x00-2.0.0-b3/rt2400pci.o
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/seqlock.h:29,
from include/linux/time.h:7,
from include/linux/skbuff.h:19,
from include/linux/if_ether.h:111,
from include/linux/etherdevice.h:27,
from /var/tmp/portage/net-wireless/rt2x00-2.0.0_beta3/work/rt2x00-2.0.0-b3/ieee80211/net/ieee80211_compat.h:9,
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 include/linux/textsearch.h:9,
from include/linux/skbuff.h:26,
from include/linux/if_ether.h:111,
from include/linux/etherdevice.h:27,
from /var/tmp/portage/net-wireless/rt2x00-2.0.0_beta3/work/rt2x00-2.0.0-b3/ieee80211/net/ieee80211_compat.h:9,
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/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/seqlock.h:29,
from include/linux/time.h:7,
from include/linux/skbuff.h:19,
from include/linux/if_ether.h:111,
from include/linux/etherdevice.h:27,
from /var/tmp/portage/net-wireless/rt2x00-2.0.0_beta3/work/rt2x00-2.0.0-b3/ieee80211/net/ieee80211_compat.h:9,
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/utsname.h:35,
from include/asm/elf.h:12,
from include/linux/elf.h:7,
from include/linux/module.h:15,
from include/linux/textsearch.h:9,
from include/linux/skbuff.h:26,
from include/linux/if_ether.h:111,
from include/linux/etherdevice.h:27,
from /var/tmp/portage/net-wireless/rt2x00-2.0.0_beta3/work/rt2x00-2.0.0-b3/ieee80211/net/ieee80211_compat.h:9,
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 include/linux/textsearch.h:9,
from include/linux/skbuff.h:26,
from include/linux/if_ether.h:111,
from include/linux/etherdevice.h:27,
from /var/tmp/portage/net-wireless/rt2x00-2.0.0_beta3/work/rt2x00-2.0.0-b3/ieee80211/net/ieee80211_compat.h:9,
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/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 include/linux/textsearch.h:9,
from include/linux/skbuff.h:26,
from include/linux/if_ether.h:111,
from include/linux/etherdevice.h:27,
from /var/tmp/portage/net-wireless/rt2x00-2.0.0_beta3/work/rt2x00-2.0.0-b3/ieee80211/net/ieee80211_compat.h:9,
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/module.h:21,
from include/linux/textsearch.h:9,
from include/linux/skbuff.h:26,
from include/linux/if_ether.h:111,
from include/linux/etherdevice.h:27,
from /var/tmp/portage/net-wireless/rt2x00-2.0.0_beta3/work/rt2x00-2.0.0-b3/ieee80211/net/ieee80211_compat.h:9,
from (command line):1:
include/asm/module.h:62:2: error: #error unknown processor family
In file included from include/asm/hardirq.h:5,
from include/linux/hardirq.h:7,
from include/linux/interrupt.h:11,
from include/linux/netdevice.h:568,
from include/linux/etherdevice.h:28,
from /var/tmp/portage/net-wireless/rt2x00-2.0.0_beta3/work/rt2x00-2.0.0-b3/ieee80211/net/ieee80211_compat.h:9,
from (command line):1:
include/linux/irq.h: At top level:
include/linux/irq.h:178: error: requested alignment is not a constant
In file included from include/linux/hardirq.h:7,
from include/linux/interrupt.h:11,
from include/linux/netdevice.h:568,
from include/linux/etherdevice.h:28,
from /var/tmp/portage/net-wireless/rt2x00-2.0.0_beta3/work/rt2x00-2.0.0-b3/ieee80211/net/ieee80211_compat.h:9,
from (command line):1:
include/asm/hardirq.h:12: error: requested alignment is not a constant
In file included from include/linux/netdevice.h:568,
from include/linux/etherdevice.h:28,
from /var/tmp/portage/net-wireless/rt2x00-2.0.0_beta3/work/rt2x00-2.0.0-b3/ieee80211/net/ieee80211_compat.h:9,
from (command line):1:
include/linux/interrupt.h: In function ‘cli’:
include/linux/interrupt.h:207: warning: implicit declaration of function ‘local_irq_disable’
include/linux/interrupt.h: In function ‘sti’:
include/linux/interrupt.h:211: warning: implicit declaration of function ‘local_irq_enable’
include/linux/interrupt.h: In function ‘save_flags’:
include/linux/interrupt.h:215: warning: implicit declaration of function ‘local_save_flags’
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 include/linux/textsearch.h:9,
from include/linux/skbuff.h:26,
from include/linux/if_ether.h:111,
from include/linux/etherdevice.h:27,
from /var/tmp/portage/net-wireless/rt2x00-2.0.0_beta3/work/rt2x00-2.0.0-b3/ieee80211/net/ieee80211_compat.h:9,
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 include/linux/textsearch.h:9,
from include/linux/skbuff.h:26,
from include/linux/if_ether.h:111,
from include/linux/etherdevice.h:27,
from /var/tmp/portage/net-wireless/rt2x00-2.0.0_beta3/work/rt2x00-2.0.0-b3/ieee80211/net/ieee80211_compat.h:9,
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 include/linux/textsearch.h:9,
from include/linux/skbuff.h:26,
from include/linux/if_ether.h:111,
from include/linux/etherdevice.h:27,
from /var/tmp/portage/net-wireless/rt2x00-2.0.0_beta3/work/rt2x00-2.0.0-b3/ieee80211/net/ieee80211_compat.h:9,
from (command line):1:
include/asm/module.h:62:2: error: #error unknown processor family
In file included from /var/tmp/portage/net-wireless/rt2x00-2.0.0_beta3/work/rt2x00-2.0.0-b3/rt2x00core.c:36:
/var/tmp/portage/net-wireless/rt2x00-2.0.0_beta3/work/rt2x00-2.0.0-b3/rt2x00core.h:251:38: error: macro "INIT_WORK" passed 3 arguments, but takes just 2
In file included from /var/tmp/portage/net-wireless/rt2x00-2.0.0_beta3/work/rt2x00-2.0.0-b3/rt2x00core.c:36:
/var/tmp/portage/net-wireless/rt2x00-2.0.0_beta3/work/rt2x00-2.0.0-b3/rt2x00core.h: In function ‘rt2x00_init_ring’:
/var/tmp/portage/net-wireless/rt2x00-2.0.0_beta3/work/rt2x00-2.0.0-b3/rt2x00core.h:251: error: ‘INIT_WORK’ undeclared (first use in this function)
/var/tmp/portage/net-wireless/rt2x00-2.0.0_beta3/work/rt2x00-2.0.0-b3/rt2x00core.h:251: error: (Each undeclared identifier is reported only once
/var/tmp/portage/net-wireless/rt2x00-2.0.0_beta3/work/rt2x00-2.0.0-b3/rt2x00core.h:251: error: for each function it appears in.)
/var/tmp/portage/net-wireless/rt2x00-2.0.0_beta3/work/rt2x00-2.0.0-b3/rt2x00core.h: In function ‘rt2x00_disable_ring’:
/var/tmp/portage/net-wireless/rt2x00-2.0.0_beta3/work/rt2x00-2.0.0-b3/rt2x00core.h:270: warning: passing argument 1 of ‘cancel_delayed_work’ from incompatible pointer type
/var/tmp/portage/net-wireless/rt2x00-2.0.0_beta3/work/rt2x00-2.0.0-b3/rt2x00core.c: In function ‘rt2x00_start_scan’:
/var/tmp/portage/net-wireless/rt2x00-2.0.0_beta3/work/rt2x00-2.0.0-b3/rt2x00core.c:914: warning: passing argument 2 of ‘queue_delayed_work’ from incompatible pointer type
/var/tmp/portage/net-wireless/rt2x00-2.0.0_beta3/work/rt2x00-2.0.0-b3/rt2x00core.c: In function ‘rt2x00_stop_scan’:
/var/tmp/portage/net-wireless/rt2x00-2.0.0_beta3/work/rt2x00-2.0.0-b3/rt2x00core.c:922: warning: passing argument 1 of ‘cancel_delayed_work’ from incompatible pointer type
/var/tmp/portage/net-wireless/rt2x00-2.0.0_beta3/work/rt2x00-2.0.0-b3/rt2x00core.c: In function ‘rt2x00_scan_periodic’:
/var/tmp/portage/net-wireless/rt2x00-2.0.0_beta3/work/rt2x00-2.0.0-b3/rt2x00core.c:996: warning: passing argument 2 of ‘queue_delayed_work’ from incompatible pointer type
In file included from include/asm/hardirq.h:5,
from include/linux/hardirq.h:7,
from include/linux/interrupt.h:11,
from include/linux/netdevice.h:568,
from include/linux/etherdevice.h:28,
from /var/tmp/portage/net-wireless/rt2x00-2.0.0_beta3/work/rt2x00-2.0.0-b3/ieee80211/net/ieee80211_compat.h:9,
from (command line):1:
include/linux/irq.h: At top level:
include/linux/irq.h:178: error: requested alignment is not a constant
In file included from include/linux/hardirq.h:7,
from include/linux/interrupt.h:11,
from include/linux/netdevice.h:568,
from include/linux/etherdevice.h:28,
from /var/tmp/portage/net-wireless/rt2x00-2.0.0_beta3/work/rt2x00-2.0.0-b3/ieee80211/net/ieee80211_compat.h:9,
from (command line):1:
include/asm/hardirq.h:12: error: requested alignment is not a constant
In file included from include/linux/netdevice.h:568,
from include/linux/etherdevice.h:28,
from /var/tmp/portage/net-wireless/rt2x00-2.0.0_beta3/work/rt2x00-2.0.0-b3/ieee80211/net/ieee80211_compat.h:9,
from (command line):1:
include/linux/interrupt.h: In function ‘cli’:
include/linux/interrupt.h:207: warning: implicit declaration of function ‘local_irq_disable’
include/linux/interrupt.h: In function ‘sti’:
include/linux/interrupt.h:211: warning: implicit declaration of function ‘local_irq_enable’
include/linux/interrupt.h: In function ‘save_flags’:
include/linux/interrupt.h:215: warning: implicit declaration of function ‘local_save_flags’
/var/tmp/portage/net-wireless/rt2x00-2.0.0_beta3/work/rt2x00-2.0.0-b3/rt2x00core.c: In function ‘rt2x00_link_up’:
/var/tmp/portage/net-wireless/rt2x00-2.0.0_beta3/work/rt2x00-2.0.0-b3/rt2x00core.c:1695: warning: passing argument 2 of ‘queue_delayed_work’ from incompatible pointer type
/var/tmp/portage/net-wireless/rt2x00-2.0.0_beta3/work/rt2x00-2.0.0-b3/rt2x00core.c: In function ‘rt2x00_link_down’:
/var/tmp/portage/net-wireless/rt2x00-2.0.0_beta3/work/rt2x00-2.0.0-b3/rt2x00core.c:1703: warning: passing argument 1 of ‘cancel_delayed_work’ from incompatible pointer type
/var/tmp/portage/net-wireless/rt2x00-2.0.0_beta3/work/rt2x00-2.0.0-b3/rt2x00core.c: In function ‘rt2x00_link_periodic’:
/var/tmp/portage/net-wireless/rt2x00-2.0.0_beta3/work/rt2x00-2.0.0-b3/rt2x00core.c:1803: warning: passing argument 2 of ‘queue_delayed_work’ from incompatible pointer type
/var/tmp/portage/net-wireless/rt2x00-2.0.0_beta3/work/rt2x00-2.0.0-b3/rt2x00core.c: In function ‘rt2x00_open’:
/var/tmp/portage/net-wireless/rt2x00-2.0.0_beta3/work/rt2x00-2.0.0-b3/rt2x00core.c:3763: warning: passing argument 2 of ‘queue_delayed_work’ from incompatible pointer type
In file included from include/asm/pci.h:6,
from include/linux/pci.h:744,
from /var/tmp/portage/net-wireless/rt2x00-2.0.0_beta3/work/rt2x00-2.0.0-b3/rt2400pci.c:30:
include/linux/mm.h: In function ‘lowmem_page_address’:
include/linux/mm.h:538: warning: implicit declaration of function ‘__page_to_pfn’
/var/tmp/portage/net-wireless/rt2x00-2.0.0_beta3/work/rt2x00-2.0.0-b3/rt2x00core.c:3910:59: error: macro "INIT_WORK" passed 3 arguments, but takes just 2
/var/tmp/portage/net-wireless/rt2x00-2.0.0_beta3/work/rt2x00-2.0.0-b3/rt2x00core.c: In function ‘rt2x00_core_probe’:
/var/tmp/portage/net-wireless/rt2x00-2.0.0_beta3/work/rt2x00-2.0.0-b3/rt2x00core.c:3910: error: ‘INIT_WORK’ undeclared (first use in this function)
/var/tmp/portage/net-wireless/rt2x00-2.0.0_beta3/work/rt2x00-2.0.0-b3/rt2x00core.c:3911:59: error: macro "INIT_WORK" passed 3 arguments, but takes just 2
make[3]: *** [/var/tmp/portage/net-wireless/rt2x00-2.0.0_beta3/work/rt2x00-2.0.0-b3/rt2x00core.o] Error 1
make[3]: *** Waiting for unfinished jobs....
include/linux/mm.h: At top level:
include/linux/mm.h:974: error: expected identifier or ‘(’ before numeric constant
In file included from include/linux/pci.h:744,
from /var/tmp/portage/net-wireless/rt2x00-2.0.0_beta3/work/rt2x00-2.0.0-b3/rt2400pci.c:30:
include/asm/pci.h: In function ‘pci_dac_dma_to_page’:
include/asm/pci.h:72: warning: implicit declaration of function ‘__pfn_to_page’
include/asm/pci.h:72: warning: return makes pointer from integer without a cast
/var/tmp/portage/net-wireless/rt2x00-2.0.0_beta3/work/rt2x00-2.0.0-b3/rt2400pci.c: In function ‘rt2x00_dev_radio_on’:
/var/tmp/portage/net-wireless/rt2x00-2.0.0_beta3/work/rt2x00-2.0.0-b3/rt2400pci.c:554: warning: passing argument 2 of ‘request_irq’ from incompatible pointer type
make[3]: *** [/var/tmp/portage/net-wireless/rt2x00-2.0.0_beta3/work/rt2x00-2.0.0-b3/rt2400pci.o] Error 1
make[2]: *** [_module_/var/tmp/portage/net-wireless/rt2x00-2.0.0_beta3/work/rt2x00-2.0.0-b3] Error 2
make[1]: *** [modules] Error 2
make: *** [rt2x00-debug] Error 2
dekuji
linux-2.6.22-gentoo a vznikl jiny problem.
Nejprve to po me chtelo aby povolil v jadru CONFIG_NET_RADIO ,který tam není(od jadra 2.6.22 doslo k prejmenovani na CONFIG_WLAN_80211).
Tak sem jednoduse (ikdyz myslim ze ne spravne) zapsal do linux/.config CONFIG_NET_RADIO , aby to proslo kontrolou...
Avsak pri samotne kompilaci nastal jiny problem :
* Preparing 80211 module CC [M] /var/tmp/portage/net-wireless/rt2x00-9999/work/rt2x00-9999/eeprom_93cx6/eeprom_93cx6.o CC [M] /var/tmp/portage/net-wireless/rt2x00-9999/work/rt2x00-9999/rt2x00dev.o CC [M] /var/tmp/portage/net-wireless/rt2x00-9999/work/rt2x00-9999/rt2x00mac.o /var/tmp/portage/net-wireless/rt2x00-9999/work/rt2x00-9999/rt2x00mac.c: In function ‘rt2x00mac_tx_rts_cts’: /var/tmp/portage/net-wireless/rt2x00-9999/work/rt2x00-9999/rt2x00mac.c:61: warning: passing argument 2 of ‘ieee80211_ctstoself_get’ makes pointer from integer without a cast /var/tmp/portage/net-wireless/rt2x00-9999/work/rt2x00-9999/rt2x00mac.c:61: warning: passing argument 3 of ‘ieee80211_ctstoself_get’ makes integer from pointer without a cast /var/tmp/portage/net-wireless/rt2x00-9999/work/rt2x00-9999/rt2x00mac.c:61: warning: passing argument 4 of ‘ieee80211_ctstoself_get’ makes pointer from integer without a cast /var/tmp/portage/net-wireless/rt2x00-9999/work/rt2x00-9999/rt2x00mac.c:61: warning: passing argument 5 of ‘ieee80211_ctstoself_get’ from incompatible pointer type /var/tmp/portage/net-wireless/rt2x00-9999/work/rt2x00-9999/rt2x00mac.c:61: error: too many arguments to function ‘ieee80211_ctstoself_get’ /var/tmp/portage/net-wireless/rt2x00-9999/work/rt2x00-9999/rt2x00mac.c:65: warning: passing argument 2 of ‘ieee80211_rts_get’ makes pointer from integer without a cast /var/tmp/portage/net-wireless/rt2x00-9999/work/rt2x00-9999/rt2x00mac.c:65: warning: passing argument 3 of ‘ieee80211_rts_get’ makes integer from pointer without a cast /var/tmp/portage/net-wireless/rt2x00-9999/work/rt2x00-9999/rt2x00mac.c:65: warning: passing argument 4 of ‘ieee80211_rts_get’ makes pointer from integer without a cast /var/tmp/portage/net-wireless/rt2x00-9999/work/rt2x00-9999/rt2x00mac.c:65: warning: passing argument 5 of ‘ieee80211_rts_get’ from incompatible pointer type /var/tmp/portage/net-wireless/rt2x00-9999/work/rt2x00-9999/rt2x00mac.c:65: error: too many arguments to function ‘ieee80211_rts_get’ make[3]: *** [/var/tmp/portage/net-wireless/rt2x00-9999/work/rt2x00-9999/rt2x00mac.o] Error 1 make[3]: *** Waiting for unfinished jobs.... make[2]: *** [_module_/var/tmp/portage/net-wireless/rt2x00-9999/work/rt2x00-9999] Error 2 make[1]: *** [modules] Error 2 make: *** [default] Error 2
Tiskni
Sdílej:
ISSN 1214-1267, (c) 1999-2007 Stickfish s.r.o.