Wszystko poszło ok. no może prawie…
root@bt:~# sudo apt-get update
Get:1 http://pl.archive.ubuntu.com karmic Release.gpg [189B]
Get:2 http://pl.archive.ubuntu.com karmic-updates Release.gpg [189B]
Get:3 http://archive.ubuntu.com karmic-backports Release.gpg [189B]
Get:4 http://archive.canonical.com karmic Release.gpg [189B]
Get:5 http://dl.google.com stable Release.gpg [189B]
Get:6 http://security.ubuntu.com karmic-security Release.gpg [189B]
Get:7 http://packages.medibuntu.org karmic Release.gpg [197B]
Get:8 http://pl.archive.ubuntu.com karmic Release [65.9kB]
Get:9 http://ppa.launchpad.net karmic Release.gpg [307B]
Get:10 http://ppa.launchpad.net karmic Release.gpg [307B]
Get:11 http://archive.ubuntu.com karmic-backports Release [37.1kB]
Get:12 http://archive.canonical.com karmic Release [9347B]
Get:13 http://dl.google.com stable Release [2540B]
Get:14 http://security.ubuntu.com karmic-security Release [44.1kB]
Get:15 http://packages.medibuntu.org karmic Release [9237B]
Ign http://dl.google.com stable Release
Get:16 http://ppa.launchpad.net karmic Release [66.0kB]
Get:17 http://dl.google.com stable/non-free Packages [1010B]
Ign http://packages.medibuntu.org karmic Release
Get:18 http://archive.canonical.com karmic/partner Packages [4964B]
Get:19 http://packages.medibuntu.org karmic/free Packages [3279B]
Get:20 http://pl.archive.ubuntu.com karmic-updates Release [44.1kB]
Get:21 http://packages.medibuntu.org karmic/non-free Packages [7553B]
Get:22 http://archive.ubuntu.com karmic-backports/main Packages [67.7kB]
Get:23 http://security.ubuntu.com karmic-security/main Packages [95.6kB]
Get:24 http://pl.archive.ubuntu.com karmic/main Packages [1353kB]
Ign http://ppa.launchpad.net karmic Release
Get:25 http://ppa.launchpad.net karmic Release [66.0kB]
Get:26 http://security.ubuntu.com karmic-security/restricted Packages [14B]
Get:27 http://security.ubuntu.com karmic-security/main Sources [28.5kB]
Get:28 http://security.ubuntu.com karmic-security/restricted Sources [14B]
Get:29 http://security.ubuntu.com karmic-security/universe Packages [51.1kB]
Get:30 http://security.ubuntu.com karmic-security/universe Sources [8743B]
Get:31 http://security.ubuntu.com karmic-security/multiverse Packages [1666B]
Get:32 http://security.ubuntu.com karmic-security/multiverse Sources [577B]
Get:33 http://archive.ubuntu.com karmic-backports/restricted Packages [14B]
Get:34 http://archive.ubuntu.com karmic-backports/universe Packages [21.1kB]
Get:35 http://archive.ubuntu.com karmic-backports/multiverse Packages [14B]
Ign http://ppa.launchpad.net karmic Release
Get:36 http://ppa.launchpad.net karmic/main Packages [1810B]
Get:37 http://ppa.launchpad.net karmic/main Packages [2322B]
Get:38 http://pl.archive.ubuntu.com karmic/restricted Packages [7971B]
Get:39 http://pl.archive.ubuntu.com karmic/main Sources [640kB]
Get:40 http://pl.archive.ubuntu.com karmic/restricted Sources [3270B]
Get:41 http://pl.archive.ubuntu.com karmic/universe Packages [5133kB]
Get:42 http://pl.archive.ubuntu.com karmic/universe Sources [2795kB]
Get:43 http://pl.archive.ubuntu.com karmic/multiverse Packages [190kB]
Get:44 http://pl.archive.ubuntu.com karmic/multiverse Sources [116kB]
Get:45 http://pl.archive.ubuntu.com karmic-updates/main Packages [210kB]
Get:46 http://pl.archive.ubuntu.com karmic-updates/restricted Packages [14B]
Get:47 http://pl.archive.ubuntu.com karmic-updates/main Sources [62.5kB]
Get:48 http://pl.archive.ubuntu.com karmic-updates/restricted Sources [14B]
Get:49 http://pl.archive.ubuntu.com karmic-updates/universe Packages [128kB]
Get:50 http://pl.archive.ubuntu.com karmic-updates/universe Sources [30.4kB]
Get:51 http://pl.archive.ubuntu.com karmic-updates/multiverse Packages [10.1kB]
Get:52 http://pl.archive.ubuntu.com karmic-updates/multiverse Sources [4598B]
Fetched 11.3MB in 1min52s (101kB/s)
Reading package lists... Done
W: GPG error: http://dl.google.com stable Release: The following signatures couldn't be verified because the public key is not available: NO_PUBKEY A040830F7FAC5991
W: GPG error: http://packages.medibuntu.org karmic Release: The following signatures couldn't be verified because the public key is not available: NO_PUBKEY 2EBC26B60C5A2783
W: GPG error: http://ppa.launchpad.net karmic Release: The following signatures couldn't be verified because the public key is not available: NO_PUBKEY 9761EDC37AB674BA
W: GPG error: http://ppa.launchpad.net karmic Release: The following signatures couldn't be verified because the public key is not available: NO_PUBKEY 5A9A06AEF9CB8DB0
W: You may want to run apt-get update to correct these problems
Teraz wykonałem polecenie apt-get upgrade i wszystko ok. Polecenie make
root@bt:~/ipwraw-ng# make
make -C /lib/modules/2.6.30.9/build M=/root/ipwraw-ng modules
make[1]: Entering directory `/usr/src/linux'
ERROR: Kernel configuration is invalid.
include/generated/autoconf.h or include/config/auto.conf are missing.
Run 'make oldconfig && make prepare' on kernel src to fix it.
WARNING: Symbol version dump /usr/src/linux/Module.symvers
is missing; modules will have no dependencies and modversions.
CC [M] /root/ipwraw-ng/ipwraw.o
cc1: error: include/generated/autoconf.h: No such file or directory
/root/ipwraw-ng/ipwraw.c:43:27: error: net/ieee80211.h: No such file or directory
In file included from include/linux/prefetch.h:14,
from include/linux/list.h:6,
from include/linux/mm_types.h:7,
from include/linux/kmemcheck.h:4,
from include/linux/skbuff.h:18,
from include/linux/if_ether.h:124,
from include/net/ieee80211_radiotap.h:38,
from /root/ipwraw-ng/ipwraw.c:44:
/usr/src/linux/arch/x86/include/asm/processor.h:117: error: 'CONFIG_X86_L1_CACHE_SHIFT' undeclared here (not in a function)
/usr/src/linux/arch/x86/include/asm/processor.h:117: error: requested alignment is not a constant
In file included from include/linux/prefetch.h:14,
from include/linux/list.h:6,
from include/linux/mm_types.h:7,
from include/linux/kmemcheck.h:4,
from include/linux/skbuff.h:18,
from include/linux/if_ether.h:124,
from include/net/ieee80211_radiotap.h:38,
from /root/ipwraw-ng/ipwraw.c:44:
/usr/src/linux/arch/x86/include/asm/processor.h:163:1: warning: "cache_line_size" redefined
In file included from /usr/src/linux/arch/x86/include/asm/processor.h:28,
from include/linux/prefetch.h:14,
from include/linux/list.h:6,
from include/linux/mm_types.h:7,
from include/linux/kmemcheck.h:4,
from include/linux/skbuff.h:18,
from include/linux/if_ether.h:124,
from include/net/ieee80211_radiotap.h:38,
from /root/ipwraw-ng/ipwraw.c:44:
include/linux/cache.h:64:1: warning: this is the location of the previous definition
/usr/src/linux/arch/x86/include/asm/processor.h: In function 'load_cr3':
/usr/src/linux/arch/x86/include/asm/processor.h:194: error: 'CONFIG_PAGE_OFFSETUL' undeclared (first use in this function)
/usr/src/linux/arch/x86/include/asm/processor.h:194: error: (Each undeclared identifier is reported only once
/usr/src/linux/arch/x86/include/asm/processor.h:194: error: for each function it appears in.)
/usr/src/linux/arch/x86/include/asm/processor.h: At top level:
/usr/src/linux/arch/x86/include/asm/processor.h:243: error: requested alignment is not a constant
/usr/src/linux/arch/x86/include/asm/processor.h:274: error: requested alignment is not a constant
/usr/src/linux/arch/x86/include/asm/processor.h: In function 'wbinvd_halt':
/usr/src/linux/arch/x86/include/asm/processor.h:790: error: implicit declaration of function 'halt'
In file included from /usr/src/linux/arch/x86/include/asm/atomic.h:4,
from /usr/src/linux/arch/x86/include/asm/thread_info.h:24,
from include/linux/thread_info.h:56,
from include/linux/preempt.h:9,
from include/linux/spinlock.h:50,
from include/linux/mm_types.h:8,
from include/linux/kmemcheck.h:4,
from include/linux/skbuff.h:18,
from include/linux/if_ether.h:124,
from include/net/ieee80211_radiotap.h:38,
from /root/ipwraw-ng/ipwraw.c:44:
/usr/src/linux/arch/x86/include/asm/atomic_64.h: At top level:
/usr/src/linux/arch/x86/include/asm/atomic_64.h:201: warning: type defaults to 'int' in declaration of 'atomic64_t'
/usr/src/linux/arch/x86/include/asm/atomic_64.h:201: error: expected ';', ',' or ')' before '*' token
/usr/src/linux/arch/x86/include/asm/atomic_64.h:213: error: expected ')' before '*' token
/usr/src/linux/arch/x86/include/asm/atomic_64.h:225: error: expected declaration specifiers or '...' before 'atomic64_t'
/usr/src/linux/arch/x86/include/asm/atomic_64.h: In function 'atomic64_add':
/usr/src/linux/arch/x86/include/asm/atomic_64.h:228: error: 'v' undeclared (first use in this function)
/usr/src/linux/arch/x86/include/asm/atomic_64.h:227: error: invalid lvalue in asm output 0
/usr/src/linux/arch/x86/include/asm/atomic_64.h:227: error: memory input 2 is not directly addressable
/usr/src/linux/arch/x86/include/asm/atomic_64.h: At top level:
/usr/src/linux/arch/x86/include/asm/atomic_64.h:239: error: expected declaration specifiers or '...' before 'atomic64_t'
/usr/src/linux/arch/x86/include/asm/atomic_64.h: In function 'atomic64_sub':
/usr/src/linux/arch/x86/include/asm/atomic_64.h:242: error: 'v' undeclared (first use in this function)
/usr/src/linux/arch/x86/include/asm/atomic_64.h:241: error: invalid lvalue in asm output 0
/usr/src/linux/arch/x86/include/asm/atomic_64.h:241: error: memory input 2 is not directly addressable
/usr/src/linux/arch/x86/include/asm/atomic_64.h: At top level:
/usr/src/linux/arch/x86/include/asm/atomic_64.h:255: error: expected declaration specifiers or '...' before 'atomic64_t'
/usr/src/linux/arch/x86/include/asm/atomic_64.h: In function 'atomic64_sub_and_test':
/usr/src/linux/arch/x86/include/asm/atomic_64.h:260: error: 'v' undeclared (first use in this function)
/usr/src/linux/arch/x86/include/asm/atomic_64.h:259: error: invalid lvalue in asm output 0
/usr/src/linux/arch/x86/include/asm/atomic_64.h:259: error: memory input 3 is not directly addressable
/usr/src/linux/arch/x86/include/asm/atomic_64.h: At top level:
/usr/src/linux/arch/x86/include/asm/atomic_64.h:271: error: expected ')' before '*' token
/usr/src/linux/arch/x86/include/asm/atomic_64.h:284: error: expected ')' before '*' token
/usr/src/linux/arch/x86/include/asm/atomic_64.h:299: error: expected ')' before '*' token
/usr/src/linux/arch/x86/include/asm/atomic_64.h:317: error: expected ')' before '*' token
/usr/src/linux/arch/x86/include/asm/atomic_64.h:336: error: expected declaration specifiers or '...' before 'atomic64_t'
/usr/src/linux/arch/x86/include/asm/atomic_64.h: In function 'atomic64_add_negative':
/usr/src/linux/arch/x86/include/asm/atomic_64.h:341: error: 'v' undeclared (first use in this function)
/usr/src/linux/arch/x86/include/asm/atomic_64.h:340: error: invalid lvalue in asm output 0
/usr/src/linux/arch/x86/include/asm/atomic_64.h:340: error: memory input 3 is not directly addressable
/usr/src/linux/arch/x86/include/asm/atomic_64.h: At top level:
/usr/src/linux/arch/x86/include/asm/atomic_64.h:353: error: expected declaration specifiers or '...' before 'atomic64_t'
/usr/src/linux/arch/x86/include/asm/atomic_64.h: In function 'atomic64_add_return':
/usr/src/linux/arch/x86/include/asm/atomic_64.h:357: error: 'v' undeclared (first use in this function)
/usr/src/linux/arch/x86/include/asm/atomic_64.h:356: error: invalid lvalue in asm output 1
/usr/src/linux/arch/x86/include/asm/atomic_64.h:356: error: memory input 3 is not directly addressable
/usr/src/linux/arch/x86/include/asm/atomic_64.h: At top level:
/usr/src/linux/arch/x86/include/asm/atomic_64.h:362: error: expected declaration specifiers or '...' before 'atomic64_t'
/usr/src/linux/arch/x86/include/asm/atomic_64.h: In function 'atomic64_sub_return':
/usr/src/linux/arch/x86/include/asm/atomic_64.h:364: error: 'v' undeclared (first use in this function)
/usr/src/linux/arch/x86/include/asm/atomic_64.h:364: error: too many arguments to function 'atomic64_add_return'
/usr/src/linux/arch/x86/include/asm/atomic_64.h: At top level:
/usr/src/linux/arch/x86/include/asm/atomic_64.h:370: error: expected ')' before '*' token
/usr/src/linux/arch/x86/include/asm/atomic_64.h:375: error: expected ')' before '*' token
/usr/src/linux/arch/x86/include/asm/atomic_64.h:425: error: expected ')' before '*' token
In file included from include/linux/mm_types.h:8,
from include/linux/kmemcheck.h:4,
from include/linux/skbuff.h:18,
from include/linux/if_ether.h:124,
from include/net/ieee80211_radiotap.h:38,
from /root/ipwraw-ng/ipwraw.c:44:
include/linux/spinlock.h: In function 'spin_lock_irq':
include/linux/spinlock.h:306: error: implicit declaration of function 'local_irq_disable'
include/linux/spinlock.h: In function 'spin_unlock_irq':
include/linux/spinlock.h:331: error: implicit declaration of function 'local_irq_enable'
include/linux/spinlock.h: In function 'spin_unlock_irqrestore':
include/linux/spinlock.h:336: error: implicit declaration of function 'local_irq_restore'
In file included from include/linux/kmemcheck.h:4,
from include/linux/skbuff.h:18,
from include/linux/if_ether.h:124,
from include/net/ieee80211_radiotap.h:38,
from /root/ipwraw-ng/ipwraw.c:44:
include/linux/mm_types.h:27:5: warning: "CONFIG_SPLIT_PTLOCK_CPUS" is not defined
include/linux/mm_types.h:71:5: warning: "CONFIG_SPLIT_PTLOCK_CPUS" is not defined
In file included from include/linux/mmzone.h:16,
from include/linux/gfp.h:4,
from include/linux/kmod.h:22,
from include/linux/module.h:13,
from include/linux/textsearch.h:7,
from include/linux/skbuff.h:27,
from include/linux/if_ether.h:124,
from include/net/ieee80211_radiotap.h:38,
from /root/ipwraw-ng/ipwraw.c:44:
include/linux/nodemask.h: In function '__first_node':
include/linux/nodemask.h:239: error: implicit declaration of function 'find_first_bit'
include/linux/nodemask.h: In function '__next_node':
include/linux/nodemask.h:245: error: implicit declaration of function 'find_next_bit'
include/linux/nodemask.h: In function '__first_unset_node':
include/linux/nodemask.h:268: error: implicit declaration of function 'find_first_zero_bit'
In file included from include/linux/gfp.h:4,
from include/linux/kmod.h:22,
from include/linux/module.h:13,
from include/linux/textsearch.h:7,
from include/linux/skbuff.h:27,
from include/linux/if_ether.h:124,
from include/net/ieee80211_radiotap.h:38,
from /root/ipwraw-ng/ipwraw.c:44:
include/linux/mmzone.h:18:30: error: generated/bounds.h: No such file or directory
include/linux/mmzone.h:258:5: warning: "MAX_NR_ZONES" is not defined
In file included from include/linux/gfp.h:4,
from include/linux/kmod.h:22,
from include/linux/module.h:13,
from include/linux/textsearch.h:7,
from include/linux/skbuff.h:27,
from include/linux/if_ether.h:124,
from include/net/ieee80211_radiotap.h:38,
from /root/ipwraw-ng/ipwraw.c:44:
include/linux/mmzone.h: At top level:
include/linux/mmzone.h:300: error: 'MAX_NR_ZONES' undeclared here (not in a function)
In file included from include/linux/elf.h:7,
from include/linux/module.h:14,
from include/linux/textsearch.h:7,
from include/linux/skbuff.h:27,
from include/linux/if_ether.h:124,
from include/net/ieee80211_radiotap.h:38,
from /root/ipwraw-ng/ipwraw.c:44:
/usr/src/linux/arch/x86/include/asm/elf.h: In function 'elf_common_init':
/usr/src/linux/arch/x86/include/asm/elf.h:167: error: 'struct thread_struct' has no member named 'fs'
In file included from include/linux/tracepoint.h:18,
from include/linux/module.h:18,
from include/linux/textsearch.h:7,
from include/linux/skbuff.h:27,
from include/linux/if_ether.h:124,
from include/net/ieee80211_radiotap.h:38,
from /root/ipwraw-ng/ipwraw.c:44:
include/linux/rcupdate.h:71:2: error: #error "Unknown RCU implementation specified to kernel configuration"
In file included from include/linux/tracepoint.h:18,
from include/linux/module.h:18,
from include/linux/textsearch.h:7,
from include/linux/skbuff.h:27,
from include/linux/if_ether.h:124,
from include/net/ieee80211_radiotap.h:38,
from /root/ipwraw-ng/ipwraw.c:44:
include/linux/rcupdate.h: In function 'rcu_read_lock':
include/linux/rcupdate.h:121: error: implicit declaration of function '__rcu_read_lock'
include/linux/rcupdate.h: In function 'rcu_read_unlock':
include/linux/rcupdate.h:145: error: implicit declaration of function '__rcu_read_unlock'
include/linux/rcupdate.h: In function 'rcu_read_lock_bh':
include/linux/rcupdate.h:161: error: implicit declaration of function '__rcu_read_lock_bh'
include/linux/rcupdate.h: In function 'rcu_read_unlock_bh':
include/linux/rcupdate.h:175: error: implicit declaration of function '__rcu_read_unlock_bh'
In file included from include/linux/slab_def.h:144,
from include/linux/slab.h:166,
from include/linux/percpu.h:5,
from /usr/src/linux/arch/x86/include/asm/local.h:4,
from include/linux/module.h:20,
from include/linux/textsearch.h:7,
from include/linux/skbuff.h:27,
from include/linux/if_ether.h:124,
from include/net/ieee80211_radiotap.h:38,
from /root/ipwraw-ng/ipwraw.c:44:
include/linux/kmalloc_sizes.h:5:5: warning: "CONFIG_X86_L1_CACHE_SHIFT" is not defined
include/linux/kmalloc_sizes.h:9:5: warning: "CONFIG_X86_L1_CACHE_SHIFT" is not defined
In file included from /usr/src/linux/arch/x86/include/asm/local.h:4,
from include/linux/module.h:20,
from include/linux/textsearch.h:7,
from include/linux/skbuff.h:27,
from include/linux/if_ether.h:124,
from include/net/ieee80211_radiotap.h:38,
from /root/ipwraw-ng/ipwraw.c:44:
include/linux/percpu.h: In function 'per_cpu_ptr_to_phys':
include/linux/percpu.h:161: error: 'CONFIG_PAGE_OFFSETUL' undeclared (first use in this function)
In file included from include/linux/module.h:21,
from include/linux/textsearch.h:7,
from include/linux/skbuff.h:27,
from include/linux/if_ether.h:124,
from include/net/ieee80211_radiotap.h:38,
from /root/ipwraw-ng/ipwraw.c:44:
/usr/src/linux/arch/x86/include/asm/module.h:59:2: error: #error unknown processor family
In file included from include/linux/ktime.h:25,
from include/linux/timer.h:5,
from include/linux/workqueue.h:8,
from include/linux/pm.h:25,
from include/linux/device.h:24,
from include/linux/dmaengine.h:24,
from include/linux/skbuff.h:30,
from include/linux/if_ether.h:124,
from include/net/ieee80211_radiotap.h:38,
from /root/ipwraw-ng/ipwraw.c:44:
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:32:7: warning: "CONFIG_HZ" is not defined
include/linux/jiffies.h:34:7: warning: "CONFIG_HZ" is not defined
include/linux/jiffies.h:36:7: warning: "CONFIG_HZ" is not defined
include/linux/jiffies.h:39:3: error: #error Invalid value of HZ.
include/linux/jiffies.h:257:31: warning: "CONFIG_HZ" is not defined
include/linux/jiffies.h:257:31: warning: "CONFIG_HZ" is not defined
include/linux/jiffies.h:257:31: error: division by zero in #if
include/linux/jiffies.h:257:31: warning: "CONFIG_HZ" is not defined
include/linux/jiffies.h:257:31: warning: "CONFIG_HZ" is not defined
include/linux/jiffies.h:257:31: error: division by zero in #if
include/linux/jiffies.h:257:31: warning: "CONFIG_HZ" is not defined
include/linux/jiffies.h:257:31: warning: "CONFIG_HZ" is not defined
include/linux/jiffies.h:257:31: error: division by zero in #if
include/linux/jiffies.h:257:31: warning: "CONFIG_HZ" is not defined
include/linux/jiffies.h:257:31: warning: "CONFIG_HZ" is not defined
include/linux/jiffies.h:257:31: error: division by zero in #if
include/linux/jiffies.h:257:31: warning: "CONFIG_HZ" is not defined
include/linux/jiffies.h:257:31: warning: "CONFIG_HZ" is not defined
include/linux/jiffies.h:257:31: error: division by zero in #if
include/linux/jiffies.h:257:31: warning: "CONFIG_HZ" is not defined
include/linux/jiffies.h:257:31: warning: "CONFIG_HZ" is not defined
include/linux/jiffies.h:257:31: error: division by zero in #if
include/linux/jiffies.h:257:31: warning: "CONFIG_HZ" is not defined
include/linux/jiffies.h:257:31: warning: "CONFIG_HZ" is not defined
include/linux/jiffies.h:257:31: error: division by zero in #if
include/linux/jiffies.h:257:31: warning: "CONFIG_HZ" is not defined
include/linux/jiffies.h:257:31: warning: "CONFIG_HZ" is not defined
include/linux/jiffies.h:257:31: error: division by zero in #if
include/linux/jiffies.h:257:31: warning: "CONFIG_HZ" is not defined
include/linux/jiffies.h:257:31: warning: "CONFIG_HZ" is not defined
include/linux/jiffies.h:257:31: error: division by zero in #if
include/linux/jiffies.h:257:31: warning: "CONFIG_HZ" is not defined
include/linux/jiffies.h:257:31: warning: "CONFIG_HZ" is not defined
include/linux/jiffies.h:257:31: error: division by zero in #if
include/linux/jiffies.h:257:31: warning: "CONFIG_HZ" is not defined
include/linux/jiffies.h:257:31: warning: "CONFIG_HZ" is not defined
include/linux/jiffies.h:257:31: error: division by zero in #if
include/linux/jiffies.h:257:31: warning: "CONFIG_HZ" is not defined
include/linux/jiffies.h:257:31: warning: "CONFIG_HZ" is not defined
include/linux/jiffies.h:257:31: error: division by zero in #if
include/linux/jiffies.h:257:31: warning: "CONFIG_HZ" is not defined
include/linux/jiffies.h:257:31: warning: "CONFIG_HZ" is not defined
include/linux/jiffies.h:257:31: error: division by zero in #if
include/linux/jiffies.h:257:31: warning: "CONFIG_HZ" is not defined
include/linux/jiffies.h:257:31: warning: "CONFIG_HZ" is not defined
include/linux/jiffies.h:257:31: error: division by zero in #if
include/linux/jiffies.h:257:31: warning: "CONFIG_HZ" is not defined
include/linux/jiffies.h:257:31: warning: "CONFIG_HZ" is not defined
include/linux/jiffies.h:257:31: error: division by zero in #if
include/linux/jiffies.h:257:31: warning: "CONFIG_HZ" is not defined
include/linux/jiffies.h:257:31: warning: "CONFIG_HZ" is not defined
include/linux/jiffies.h:257:31: error: division by zero in #if
include/linux/jiffies.h:257:46: warning: "SHIFT_HZ" is not defined
In file included from /usr/src/linux/arch/x86/include/asm/x86_init.h:5,
from /usr/src/linux/arch/x86/include/asm/pgtable.h:19,
from include/linux/mm.h:39,
from include/linux/scatterlist.h:6,
from include/linux/dma-mapping.h:7,
from include/linux/dmaengine.h:26,
from include/linux/skbuff.h:30,
from include/linux/if_ether.h:124,
from include/net/ieee80211_radiotap.h:38,
from /root/ipwraw-ng/ipwraw.c:44:
/usr/src/linux/arch/x86/include/asm/bootparam.h: At top level:
/usr/src/linux/arch/x86/include/asm/bootparam.h:96: error: field 'edid_info' has incomplete type
In file included from include/linux/mm.h:39,
from include/linux/scatterlist.h:6,
from include/linux/dma-mapping.h:7,
from include/linux/dmaengine.h:26,
from include/linux/skbuff.h:30,
from include/linux/if_ether.h:124,
from include/net/ieee80211_radiotap.h:38,
from /root/ipwraw-ng/ipwraw.c:44:
/usr/src/linux/arch/x86/include/asm/pgtable.h: In function 'pmd_page_vaddr':
/usr/src/linux/arch/x86/include/asm/pgtable.h:344: error: 'CONFIG_PAGE_OFFSETUL' undeclared (first use in this function)
/usr/src/linux/arch/x86/include/asm/pgtable.h: In function 'pud_page_vaddr':
/usr/src/linux/arch/x86/include/asm/pgtable.h:415: error: 'CONFIG_PAGE_OFFSETUL' undeclared (first use in this function)
/usr/src/linux/arch/x86/include/asm/pgtable.h: In function 'pgd_page_vaddr':
/usr/src/linux/arch/x86/include/asm/pgtable.h:455: error: 'CONFIG_PAGE_OFFSETUL' undeclared (first use in this function)
In file included from include/linux/scatterlist.h:6,
from include/linux/dma-mapping.h:7,
from include/linux/dmaengine.h:26,
from include/linux/skbuff.h:30,
from include/linux/if_ether.h:124,
from include/net/ieee80211_radiotap.h:38,
from /root/ipwraw-ng/ipwraw.c:44:
include/linux/mm.h: In function 'virt_to_head_page':
include/linux/mm.h:318: error: implicit declaration of function '__pfn_to_page'
include/linux/mm.h:318: error: 'CONFIG_PAGE_OFFSETUL' undeclared (first use in this function)
include/linux/mm.h:318: warning: initialization makes pointer from integer without a cast
In file included from include/linux/scatterlist.h:6,
from include/linux/dma-mapping.h:7,
from include/linux/dmaengine.h:26,
from include/linux/skbuff.h:30,
from include/linux/if_ether.h:124,
from include/net/ieee80211_radiotap.h:38,
from /root/ipwraw-ng/ipwraw.c:44:
include/linux/mm.h:454:63: warning: "NR_PAGEFLAGS" is not defined
include/linux/mm.h:502:62: warning: "NR_PAGEFLAGS" is not defined
In file included from include/linux/scatterlist.h:6,
from include/linux/dma-mapping.h:7,
from include/linux/dmaengine.h:26,
from include/linux/skbuff.h:30,
from include/linux/if_ether.h:124,
from include/net/ieee80211_radiotap.h:38,
from /root/ipwraw-ng/ipwraw.c:44:
include/linux/mm.h: In function 'lowmem_page_address':
include/linux/mm.h:592: error: implicit declaration of function '__page_to_pfn'
include/linux/mm.h:592: error: 'CONFIG_PAGE_OFFSETUL' undeclared (first use in this function)
include/linux/mm.h:943:5: warning: "CONFIG_SPLIT_PTLOCK_CPUS" is not defined
In file included from include/linux/scatterlist.h:8,
from include/linux/dma-mapping.h:7,
from include/linux/dmaengine.h:26,
from include/linux/skbuff.h:30,
from include/linux/if_ether.h:124,
from include/net/ieee80211_radiotap.h:38,
from /root/ipwraw-ng/ipwraw.c:44:
/usr/src/linux/arch/x86/include/asm/io.h: In function 'virt_to_phys':
/usr/src/linux/arch/x86/include/asm/io.h:99: error: 'CONFIG_PAGE_OFFSETUL' undeclared (first use in this function)
/usr/src/linux/arch/x86/include/asm/io.h: In function 'phys_to_virt':
/usr/src/linux/arch/x86/include/asm/io.h:117: error: 'CONFIG_PAGE_OFFSETUL' undeclared (first use in this function)
In file included from include/linux/dma-mapping.h:7,
from include/linux/dmaengine.h:26,
from include/linux/skbuff.h:30,
from include/linux/if_ether.h:124,
from include/net/ieee80211_radiotap.h:38,
from /root/ipwraw-ng/ipwraw.c:44:
include/linux/scatterlist.h: In function 'sg_set_buf':
include/linux/scatterlist.h:112: error: 'CONFIG_PAGE_OFFSETUL' undeclared (first use in this function)
include/linux/scatterlist.h:112: warning: passing argument 2 of 'sg_set_page' makes pointer from integer without a cast
In file included from /root/ipwraw-ng/ipwraw.c:48:
/root/ipwraw-ng/ipwraw.h:32:28: error: linux/autoconf.h: No such file or directory
/root/ipwraw-ng/ipwraw.h:35:27: error: linux/version.h: No such file or directory
In file included from include/net/netns/mib.h:4,
from include/net/net_namespace.h:12,
from include/linux/netdevice.h:47,
from /root/ipwraw-ng/ipwraw.h:37,
from /root/ipwraw-ng/ipwraw.c:48:
include/net/snmp.h: At top level:
include/net/snmp.h:74: error: requested alignment is not a constant
include/net/snmp.h:82: error: requested alignment is not a constant
include/net/snmp.h:87: error: requested alignment is not a constant
include/net/snmp.h:93: error: requested alignment is not a constant
include/net/snmp.h:98: error: requested alignment is not a constant
include/net/snmp.h:105: error: requested alignment is not a constant
include/net/snmp.h:111: error: requested alignment is not a constant
In file included from include/linux/hardirq.h:10,
from include/linux/interrupt.h:12,
from include/linux/netdevice.h:1107,
from /root/ipwraw-ng/ipwraw.h:37,
from /root/ipwraw-ng/ipwraw.c:48:
/usr/src/linux/arch/x86/include/asm/hardirq.h:29: error: requested alignment is not a constant
In file included from /root/ipwraw-ng/ipwraw.h:51,
from /root/ipwraw-ng/ipwraw.c:48:
/root/ipwraw-ng/iwlwifi_hw.h:525: error: array type has incomplete element type
/root/ipwraw-ng/iwlwifi_hw.h:847: error: array type has incomplete element type
In file included from /root/ipwraw-ng/ipwraw.c:48:
/root/ipwraw-ng/ipwraw.h:531: error: field 'frame' has incomplete type
/root/ipwraw-ng/ipwraw.h:532: error: 'IEEE80211_FRAME_LEN' undeclared here (not in a function)
/root/ipwraw-ng/ipwraw.h:682:5: warning: "LINUX_VERSION_CODE" is not defined
/root/ipwraw-ng/ipwraw.h:682:26: warning: "KERNEL_VERSION" is not defined
/root/ipwraw-ng/ipwraw.h:682:40: error: missing binary operator before token "("
/root/ipwraw-ng/ipwraw.c: In function 'frame_get_hdrlen':
/root/ipwraw-ng/ipwraw.c:52: error: 'IEEE80211_3ADDR_LEN' undeclared (first use in this function)
/root/ipwraw-ng/ipwraw.c:53: error: implicit declaration of function 'WLAN_FC_GET_STYPE'
/root/ipwraw-ng/ipwraw.c:55: error: implicit declaration of function 'WLAN_FC_GET_TYPE'
/root/ipwraw-ng/ipwraw.c:56: error: 'IEEE80211_FTYPE_DATA' undeclared (first use in this function)
/root/ipwraw-ng/ipwraw.c:57: error: 'IEEE80211_FCTL_FROMDS' undeclared (first use in this function)
/root/ipwraw-ng/ipwraw.c:57: error: 'IEEE80211_FCTL_TODS' undeclared (first use in this function)
/root/ipwraw-ng/ipwraw.c:58: error: 'IEEE80211_4ADDR_LEN' undeclared (first use in this function)
/root/ipwraw-ng/ipwraw.c:59: error: 'IEEE80211_STYPE_QOS_DATA' undeclared (first use in this function)
/root/ipwraw-ng/ipwraw.c:62: error: 'IEEE80211_FTYPE_CTL' undeclared (first use in this function)
/root/ipwraw-ng/ipwraw.c:64: error: 'IEEE80211_STYPE_CTS' undeclared (first use in this function)
/root/ipwraw-ng/ipwraw.c:65: error: 'IEEE80211_STYPE_ACK' undeclared (first use in this function)
/root/ipwraw-ng/ipwraw.c:66: error: 'IEEE80211_1ADDR_LEN' undeclared (first use in this function)
/root/ipwraw-ng/ipwraw.c:69: error: 'IEEE80211_2ADDR_LEN' undeclared (first use in this function)
/root/ipwraw-ng/ipwraw.c: In function 'ipw_send_cmd':
/root/ipwraw-ng/ipwraw.c:974: error: implicit declaration of function 'local_irq_save'
/root/ipwraw-ng/ipwraw.c:1015: error: 'CONFIG_HZ' undeclared (first use in this function)
/root/ipwraw-ng/ipwraw.c:1015: error: 'TASK_INTERRUPTIBLE' undeclared (first use in this function)
/root/ipwraw-ng/ipwraw.c:1015: error: implicit declaration of function 'signal_pending'
/root/ipwraw-ng/ipwraw.c:1015: error: implicit declaration of function 'schedule_timeout'
/root/ipwraw-ng/ipwraw.c: In function 'show_temperature':
/root/ipwraw-ng/ipwraw.c:1360: error: 'struct device' has no member named 'driver_data'
/root/ipwraw-ng/ipwraw.c: In function 'is_channel_a_band':
/root/ipwraw-ng/ipwraw.c:1709: error: 'IEEE80211_52GHZ_BAND' undeclared (first use in this function)
/root/ipwraw-ng/ipwraw.c: In function 'is_channel_bg_band':
/root/ipwraw-ng/ipwraw.c:1714: error: 'IEEE80211_24GHZ_BAND' undeclared (first use in this function)
/root/ipwraw-ng/ipwraw.c: In function 'store_channel':
/root/ipwraw-ng/ipwraw.c:1878: error: 'IEEE80211_52GHZ_BAND' undeclared (first use in this function)
/root/ipwraw-ng/ipwraw.c:1884: error: 'IEEE80211_24GHZ_BAND' undeclared (first use in this function)
/root/ipwraw-ng/ipwraw.c: In function 'store_band':
/root/ipwraw-ng/ipwraw.c:1926: error: 'IEEE80211_24GHZ_BAND' undeclared (first use in this function)
/root/ipwraw-ng/ipwraw.c:1927: error: 'IEEE80211_52GHZ_BAND' undeclared (first use in this function)
/root/ipwraw-ng/ipwraw.c: In function 'show_status':
/root/ipwraw-ng/ipwraw.c:2432: error: 'struct device' has no member named 'driver_data'
/root/ipwraw-ng/ipwraw.c: In function 'show_cfg':
/root/ipwraw-ng/ipwraw.c:2443: error: 'struct device' has no member named 'driver_data'
/root/ipwraw-ng/ipwraw.c: In function 'dump_error_log':
/root/ipwraw-ng/ipwraw.c:2460: error: 'struct device' has no member named 'driver_data'
/root/ipwraw-ng/ipwraw.c: In function 'dump_event_log':
/root/ipwraw-ng/ipwraw.c:2474: error: 'struct device' has no member named 'driver_data'
/root/ipwraw-ng/ipwraw.c: In function 'show_rf_kill':
/root/ipwraw-ng/ipwraw.c:2488: error: 'struct device' has no member named 'driver_data'
/root/ipwraw-ng/ipwraw.c: In function 'store_rf_kill':
/root/ipwraw-ng/ipwraw.c:2545: error: 'struct device' has no member named 'driver_data'
/root/ipwraw-ng/ipwraw.c: In function 'ipw_irq_handle_error':
/root/ipwraw-ng/ipwraw.c:2596: error: 'TASK_INTERRUPTIBLE' undeclared (first use in this function)
/root/ipwraw-ng/ipwraw.c: In function 'ipw_get_channel_info':
/root/ipwraw-ng/ipwraw.c:3284: error: 'IEEE80211_24GHZ_BAND' undeclared (first use in this function)
/root/ipwraw-ng/ipwraw.c:3294: error: 'IEEE80211_52GHZ_BAND' undeclared (first use in this function)
/root/ipwraw-ng/ipwraw.c: In function 'reg_txpower_periodic':
/root/ipwraw-ng/ipwraw.c:3455: error: 'CONFIG_HZ' undeclared (first use in this function)
/root/ipwraw-ng/ipwraw.c: In function 'reg_get_chnl_grp_index':
/root/ipwraw-ng/ipwraw.c:3489: error: 'IEEE80211_52GHZ_BAND' undeclared (first use in this function)
/root/ipwraw-ng/ipwraw.c: In function 'ipw_init_channel_map':
/root/ipwraw-ng/ipwraw.c:4111: error: 'IEEE80211_24GHZ_BAND' undeclared (first use in this function)
/root/ipwraw-ng/ipwraw.c:4112: error: 'IEEE80211_52GHZ_BAND' undeclared (first use in this function)
/root/ipwraw-ng/ipwraw.c: In function 'ipw_post_alive_work':
/root/ipwraw-ng/ipwraw.c:4227: error: 'CONFIG_HZ' undeclared (first use in this function)
/root/ipwraw-ng/ipwraw.c:4248: error: 'IEEE80211_OFDM_DEFAULT_RATES_MASK' undeclared (first use in this function)
/root/ipwraw-ng/ipwraw.c:4249: error: 'IEEE80211_OFDM_BASIC_RATES_MASK' undeclared (first use in this function)
/root/ipwraw-ng/ipwraw.c:4250: error: 'IEEE80211_CCK_DEFAULT_RATES_MASK' undeclared (first use in this function)
/root/ipwraw-ng/ipwraw.c:4251: error: 'IEEE80211_CCK_BASIC_RATES_MASK' undeclared (first use in this function)
/root/ipwraw-ng/ipwraw.c: In function 'ipw_nic_reset':
/root/ipwraw-ng/ipwraw.c:4991: error: 'TASK_INTERRUPTIBLE' undeclared (first use in this function)
/root/ipwraw-ng/ipwraw.c: In function 'ipw_queue_tx_free_tfd':
/root/ipwraw-ng/ipwraw.c:5974: error: implicit declaration of function 'ieee80211_get_hdrlen'
/root/ipwraw-ng/ipwraw.c:5974: error: dereferencing pointer to incomplete type
/root/ipwraw-ng/ipwraw.c: In function 'raw_rx':
/root/ipwraw-ng/ipwraw.c:6396: error: dereferencing pointer to incomplete type
/root/ipwraw-ng/ipwraw.c:6399:5: warning: "LINUX_VERSION_CODE" is not defined
/root/ipwraw-ng/ipwraw.c:6399:26: warning: "KERNEL_VERSION" is not defined
/root/ipwraw-ng/ipwraw.c:6399:40: error: missing binary operator before token "("
/root/ipwraw-ng/ipwraw.c:6402: error: 'struct sk_buff' has no member named 'mac'
/root/ipwraw-ng/ipwraw.c:6406: error: 'ETH_P_80211_RAW' undeclared (first use in this function)
/root/ipwraw-ng/ipwraw.c: At top level:
/root/ipwraw-ng/ipwraw.c:6416: warning: 'struct ieee80211_rx_stats' declared inside parameter list
/root/ipwraw-ng/ipwraw.c:6416: warning: its scope is only this definition or declaration, which is probably not what you want
/root/ipwraw-ng/ipwraw.c: In function 'ipw_handle_data_packet':
/root/ipwraw-ng/ipwraw.c:6441: error: dereferencing pointer to incomplete type
/root/ipwraw-ng/ipwraw.c: At top level:
/root/ipwraw-ng/ipwraw.c:6456: warning: 'struct ieee80211_hdr_4addr' declared inside parameter list
/root/ipwraw-ng/ipwraw.c: In function 'is_duplicate_packet':
/root/ipwraw-ng/ipwraw.c:6458: error: dereferencing pointer to incomplete type
/root/ipwraw-ng/ipwraw.c:6459: error: implicit declaration of function 'WLAN_GET_SEQ_SEQ'
/root/ipwraw-ng/ipwraw.c:6460: error: implicit declaration of function 'WLAN_GET_SEQ_FRAG'
/root/ipwraw-ng/ipwraw.c:6469: error: 'CONFIG_HZ' undeclared (first use in this function)
/root/ipwraw-ng/ipwraw.c:6469: warning: type defaults to 'int' in declaration of '__dummy2'
/root/ipwraw-ng/ipwraw.c:6469: warning: comparison of distinct pointer types lacks a cast
/root/ipwraw-ng/ipwraw.c: In function 'ipw_handle_promiscuous_tx':
/root/ipwraw-ng/ipwraw.c:6504: error: dereferencing pointer to incomplete type
/root/ipwraw-ng/ipwraw.c:6504: error: 'IEEE80211_FCTL_FTYPE' undeclared (first use in this function)
/root/ipwraw-ng/ipwraw.c:6504: error: 'IEEE80211_FTYPE_MGMT' undeclared (first use in this function)
/root/ipwraw-ng/ipwraw.c:6509: error: dereferencing pointer to incomplete type
/root/ipwraw-ng/ipwraw.c:6509: error: 'IEEE80211_FTYPE_CTL' undeclared (first use in this function)
/root/ipwraw-ng/ipwraw.c:6514: error: dereferencing pointer to incomplete type
/root/ipwraw-ng/ipwraw.c:6514: error: 'IEEE80211_FTYPE_DATA' undeclared (first use in this function)
/root/ipwraw-ng/ipwraw.c:6522: error: dereferencing pointer to incomplete type
/root/ipwraw-ng/ipwraw.c:6526: error: 'IEEE80211_RADIOTAP_HDRLEN' undeclared (first use in this function)
/root/ipwraw-ng/ipwraw.c:6540: error: 'IEEE80211_52GHZ_BAND' undeclared (first use in this function)
/root/ipwraw-ng/ipwraw.c: At top level:
/root/ipwraw-ng/ipwraw.c:6563: warning: 'struct ieee80211_rx_stats' declared inside parameter list
/root/ipwraw-ng/ipwraw.c: In function 'ipw_handle_promiscuous_rx':
/root/ipwraw-ng/ipwraw.c:6618: error: dereferencing pointer to incomplete type
/root/ipwraw-ng/ipwraw.c:6618: error: 'IEEE80211_FCTL_FTYPE' undeclared (first use in this function)
/root/ipwraw-ng/ipwraw.c:6618: error: 'IEEE80211_FTYPE_MGMT' undeclared (first use in this function)
/root/ipwraw-ng/ipwraw.c:6623: error: dereferencing pointer to incomplete type
/root/ipwraw-ng/ipwraw.c:6623: error: 'IEEE80211_FTYPE_CTL' undeclared (first use in this function)
/root/ipwraw-ng/ipwraw.c:6628: error: dereferencing pointer to incomplete type
/root/ipwraw-ng/ipwraw.c:6628: error: 'IEEE80211_FTYPE_DATA' undeclared (first use in this function)
/root/ipwraw-ng/ipwraw.c:6646: error: dereferencing pointer to incomplete type
/root/ipwraw-ng/ipwraw.c: In function 'ipw_tx_complete':
/root/ipwraw-ng/ipwraw.c:6841: error: 'TASK_INTERRUPTIBLE' undeclared (first use in this function)
/root/ipwraw-ng/ipwraw.c: In function 'ipw_handle_reply_rx':
/root/ipwraw-ng/ipwraw.c:6852: error: variable 'stats' has initializer but incomplete type
/root/ipwraw-ng/ipwraw.c:6853: error: unknown field 'rssi' specified in initializer
/root/ipwraw-ng/ipwraw.c:6853: warning: excess elements in struct initializer
/root/ipwraw-ng/ipwraw.c:6853: warning: (near initialization for 'stats')
/root/ipwraw-ng/ipwraw.c:6854: error: unknown field 'signal' specified in initializer
/root/ipwraw-ng/ipwraw.c:6854: warning: excess elements in struct initializer
/root/ipwraw-ng/ipwraw.c:6854: warning: (near initialization for 'stats')
/root/ipwraw-ng/ipwraw.c:6855: error: unknown field 'noise' specified in initializer
/root/ipwraw-ng/ipwraw.c:6855: warning: excess elements in struct initializer
/root/ipwraw-ng/ipwraw.c:6855: warning: (near initialization for 'stats')
/root/ipwraw-ng/ipwraw.c:6856: error: unknown field 'mac_time' specified in initializer
/root/ipwraw-ng/ipwraw.c:6856: warning: excess elements in struct initializer
/root/ipwraw-ng/ipwraw.c:6856: warning: (near initialization for 'stats')
/root/ipwraw-ng/ipwraw.c:6857: error: unknown field 'rate' specified in initializer
/root/ipwraw-ng/ipwraw.c:6857: warning: excess elements in struct initializer
/root/ipwraw-ng/ipwraw.c:6857: warning: (near initialization for 'stats')
/root/ipwraw-ng/ipwraw.c:6858: error: unknown field 'received_channel' specified in initializer
/root/ipwraw-ng/ipwraw.c:6858: warning: excess elements in struct initializer
/root/ipwraw-ng/ipwraw.c:6858: warning: (near initialization for 'stats')
/root/ipwraw-ng/ipwraw.c:6859: error: unknown field 'len' specified in initializer
/root/ipwraw-ng/ipwraw.c:6859: warning: excess elements in struct initializer
/root/ipwraw-ng/ipwraw.c:6859: warning: (near initialization for 'stats')
/root/ipwraw-ng/ipwraw.c:6860: error: unknown field 'freq' specified in initializer
/root/ipwraw-ng/ipwraw.c:6863: error: 'IEEE80211_24GHZ_BAND' undeclared (first use in this function)
/root/ipwraw-ng/ipwraw.c:6863: error: 'IEEE80211_52GHZ_BAND' undeclared (first use in this function)
/root/ipwraw-ng/ipwraw.c:6863: warning: excess elements in struct initializer
/root/ipwraw-ng/ipwraw.c:6863: warning: (near initialization for 'stats')
/root/ipwraw-ng/ipwraw.c:6864: error: unknown field 'tsf' specified in initializer
/root/ipwraw-ng/ipwraw.c:6864: warning: excess elements in struct initializer
/root/ipwraw-ng/ipwraw.c:6864: warning: (near initialization for 'stats')
/root/ipwraw-ng/ipwraw.c:6865: error: unknown field 'beacon_time' specified in initializer
/root/ipwraw-ng/ipwraw.c:6865: warning: excess elements in struct initializer
/root/ipwraw-ng/ipwraw.c:6865: warning: (near initialization for 'stats')
/root/ipwraw-ng/ipwraw.c:6852: error: storage size of 'stats' isn't known
/root/ipwraw-ng/ipwraw.c:6881: error: 'IEEE80211_STATMASK_RSSI' undeclared (first use in this function)
/root/ipwraw-ng/ipwraw.c:6885: error: 'IEEE80211_STATMASK_SIGNAL' undeclared (first use in this function)
/root/ipwraw-ng/ipwraw.c:6887: error: 'IEEE80211_STATMASK_NOISE' undeclared (first use in this function)
/root/ipwraw-ng/ipwraw.c:6889: error: 'IEEE80211_STATMASK_RATE' undeclared (first use in this function)
/root/ipwraw-ng/ipwraw.c:6852: warning: unused variable 'stats'
/root/ipwraw-ng/ipwraw.c: In function 'ipw_rx_handle':
/root/ipwraw-ng/ipwraw.c:7187: error: 'TASK_INTERRUPTIBLE' undeclared (first use in this function)
/root/ipwraw-ng/ipwraw.c: At top level:
/root/ipwraw-ng/ipwraw.c:7256: warning: 'struct ieee80211_hdr_4addr' declared inside parameter list
/root/ipwraw-ng/ipwraw.c: In function 'ipw_build_tx_cmd_rate':
/root/ipwraw-ng/ipwraw.c:7263: error: dereferencing pointer to incomplete type
/root/ipwraw-ng/ipwraw.c:7264: error: dereferencing pointer to incomplete type
/root/ipwraw-ng/ipwraw.c:7286: error: dereferencing pointer to incomplete type
/root/ipwraw-ng/ipwraw.c:7286: error: 'IEEE80211_FCTL_FTYPE' undeclared (first use in this function)
/root/ipwraw-ng/ipwraw.c:7286: error: 'IEEE80211_FTYPE_MGMT' undeclared (first use in this function)
/root/ipwraw-ng/ipwraw.c:7286: error: dereferencing pointer to incomplete type
/root/ipwraw-ng/ipwraw.c:7286: error: 'IEEE80211_FCTL_STYPE' undeclared (first use in this function)
/root/ipwraw-ng/ipwraw.c:7286: error: 'IEEE80211_STYPE_PROBE_RESP' undeclared (first use in this function)
/root/ipwraw-ng/ipwraw.c:7295: error: dereferencing pointer to incomplete type
/root/ipwraw-ng/ipwraw.c:7302: error: dereferencing pointer to incomplete type
/root/ipwraw-ng/ipwraw.c:7303: error: 'IEEE80211_STYPE_AUTH' undeclared (first use in this function)
/root/ipwraw-ng/ipwraw.c:7304: error: 'IEEE80211_STYPE_DEAUTH' undeclared (first use in this function)
/root/ipwraw-ng/ipwraw.c:7305: error: 'IEEE80211_STYPE_ASSOC_REQ' undeclared (first use in this function)
/root/ipwraw-ng/ipwraw.c:7306: error: 'IEEE80211_STYPE_REASSOC_REQ' undeclared (first use in this function)
/root/ipwraw-ng/ipwraw.c: At top level:
/root/ipwraw-ng/ipwraw.c:7333: warning: 'struct ieee80211_hdr_4addr' declared inside parameter list
/root/ipwraw-ng/ipwraw.c: In function 'ipw_build_tx_cmd_basic':
/root/ipwraw-ng/ipwraw.c:7340: error: dereferencing pointer to incomplete type
/root/ipwraw-ng/ipwraw.c:7340: error: 'IEEE80211_FCTL_FTYPE' undeclared (first use in this function)
/root/ipwraw-ng/ipwraw.c:7341: error: 'IEEE80211_FTYPE_MGMT' undeclared (first use in this function)
/root/ipwraw-ng/ipwraw.c:7344: error: dereferencing pointer to incomplete type
/root/ipwraw-ng/ipwraw.c:7344: error: dereferencing pointer to incomplete type
/root/ipwraw-ng/ipwraw.c:7344: error: 'IEEE80211_FCTL_STYPE' undeclared (first use in this function)
/root/ipwraw-ng/ipwraw.c:7344: error: 'IEEE80211_STYPE_PROBE_RESP' undeclared (first use in this function)
/root/ipwraw-ng/ipwraw.c:7345: error: dereferencing pointer to incomplete type
/root/ipwraw-ng/ipwraw.c:7354: error: dereferencing pointer to incomplete type
/root/ipwraw-ng/ipwraw.c:7354: error: 'IEEE80211_FCTL_MOREFRAGS' undeclared (first use in this function)
/root/ipwraw-ng/ipwraw.c:7359: error: 'IEEE80211_FCS_LEN' undeclared (first use in this function)
/root/ipwraw-ng/ipwraw.c:7366: error: dereferencing pointer to incomplete type
/root/ipwraw-ng/ipwraw.c:7366: error: 'IEEE80211_FCTL_PROTECTED' undeclared (first use in this function)
/root/ipwraw-ng/ipwraw.c:7382: error: dereferencing pointer to incomplete type
/root/ipwraw-ng/ipwraw.c:7383: error: dereferencing pointer to incomplete type
/root/ipwraw-ng/ipwraw.c:7384: error: 'IEEE80211_STYPE_ASSOC_REQ' undeclared (first use in this function)
/root/ipwraw-ng/ipwraw.c:7385: error: dereferencing pointer to incomplete type
/root/ipwraw-ng/ipwraw.c:7386: error: 'IEEE80211_STYPE_REASSOC_REQ' undeclared (first use in this function)
/root/ipwraw-ng/ipwraw.c: In function 'tx_skb':
/root/ipwraw-ng/ipwraw.c:7420: error: dereferencing pointer to incomplete type
/root/ipwraw-ng/ipwraw.c:7422: error: dereferencing pointer to incomplete type
/root/ipwraw-ng/ipwraw.c:7423: error: dereferencing pointer to incomplete type
/root/ipwraw-ng/ipwraw.c:7427: error: dereferencing pointer to incomplete type
/root/ipwraw-ng/ipwraw.c:7427: error: 'IEEE80211_FCTL_FTYPE' undeclared (first use in this function)
/root/ipwraw-ng/ipwraw.c:7427: error: 'IEEE80211_FTYPE_MGMT' undeclared (first use in this function)
/root/ipwraw-ng/ipwraw.c:7427: error: dereferencing pointer to incomplete type
/root/ipwraw-ng/ipwraw.c:7427: error: 'IEEE80211_FCTL_STYPE' undeclared (first use in this function)
/root/ipwraw-ng/ipwraw.c:7427: error: 'IEEE80211_STYPE_PROBE_RESP' undeclared (first use in this function)
/root/ipwraw-ng/ipwraw.c:7430: error: dereferencing pointer to incomplete type
/root/ipwraw-ng/ipwraw.c:7435: error: dereferencing pointer to incomplete type
/root/ipwraw-ng/ipwraw.c:7435: error: dereferencing pointer to incomplete type
/root/ipwraw-ng/ipwraw.c:7435: error: dereferencing pointer to incomplete type
/root/ipwraw-ng/ipwraw.c:7435: error: dereferencing pointer to incomplete type
/root/ipwraw-ng/ipwraw.c:7435: error: dereferencing pointer to incomplete type
/root/ipwraw-ng/ipwraw.c:7435: error: dereferencing pointer to incomplete type
/root/ipwraw-ng/ipwraw.c:7439: error: dereferencing pointer to incomplete type
/root/ipwraw-ng/ipwraw.c:7491: warning: passing argument 3 of 'ipw_build_tx_cmd_basic' from incompatible pointer type
/root/ipwraw-ng/ipwraw.c:7493: warning: passing argument 3 of 'ipw_build_tx_cmd_rate' from incompatible pointer type
/root/ipwraw-ng/ipwraw.c: In function 'ipw_net_hard_start_xmit':
/root/ipwraw-ng/ipwraw.c:7562: error: invalid application of 'sizeof' to incomplete type 'struct ieee80211_hdr_1addr'
/root/ipwraw-ng/ipwraw.c:7581: error: dereferencing pointer to incomplete type
/root/ipwraw-ng/ipwraw.c:7581: error: 'IEEE80211_FCTL_FTYPE' undeclared (first use in this function)
/root/ipwraw-ng/ipwraw.c:7581: error: 'IEEE80211_FTYPE_MGMT' undeclared (first use in this function)
/root/ipwraw-ng/ipwraw.c:7581: error: dereferencing pointer to incomplete type
/root/ipwraw-ng/ipwraw.c:7581: error: 'IEEE80211_FCTL_STYPE' undeclared (first use in this function)
/root/ipwraw-ng/ipwraw.c:7581: error: 'IEEE80211_STYPE_PROBE_RESP' undeclared (first use in this function)
/root/ipwraw-ng/ipwraw.c:7582: error: dereferencing pointer to incomplete type
/root/ipwraw-ng/ipwraw.c:7583: error: dereferencing pointer to incomplete type
/root/ipwraw-ng/ipwraw.c:7586: error: dereferencing pointer to incomplete type
/root/ipwraw-ng/ipwraw.c:7686:7: warning: "LINUX_VERSION_CODE" is not defined
/root/ipwraw-ng/ipwraw.c:7686:28: warning: "KERNEL_VERSION" is not defined
/root/ipwraw-ng/ipwraw.c:7686:42: error: missing binary operator before token "("
/root/ipwraw-ng/ipwraw.c: In function 'ipw_bg_rf_kill':
/root/ipwraw-ng/ipwraw.c:7751: error: 'TASK_INTERRUPTIBLE' undeclared (first use in this function)
/root/ipwraw-ng/ipwraw.c: In function 'ipw_down':
/root/ipwraw-ng/ipwraw.c:8160: error: 'TASK_INTERRUPTIBLE' undeclared (first use in this function)
/root/ipwraw-ng/ipwraw.c: In function 'ipw_prom_alloc':
/root/ipwraw-ng/ipwraw.c:8374: error: 'ARPHRD_IEEE80211_RADIOTAP' undeclared (first use in this function)
/root/ipwraw-ng/ipwraw.c:8375: error: 'struct net_device' has no member named 'open'
/root/ipwraw-ng/ipwraw.c:8376: error: 'struct net_device' has no member named 'stop'
/root/ipwraw-ng/ipwraw.c:8377: error: 'struct net_device' has no member named 'get_stats'
/root/ipwraw-ng/ipwraw.c:8378: error: 'struct net_device' has no member named 'hard_start_xmit'
/root/ipwraw-ng/ipwraw.c: In function 'ipw_wx_set_freq':
/root/ipwraw-ng/ipwraw.c:8517: error: 'IEEE80211_52GHZ_BAND' undeclared (first use in this function)
/root/ipwraw-ng/ipwraw.c:8523: error: 'IEEE80211_24GHZ_BAND' undeclared (first use in this function)
/root/ipwraw-ng/ipwraw.c: At top level:
/root/ipwraw-ng/ipwraw.c:8739: error: unknown field 'num_private' specified in initializer
/root/ipwraw-ng/ipwraw.c:8739: warning: initialization makes pointer from integer without a cast
/root/ipwraw-ng/ipwraw.c:8740: error: unknown field 'num_private_args' specified in initializer
/root/ipwraw-ng/ipwraw.c:8740: warning: excess elements in struct initializer
/root/ipwraw-ng/ipwraw.c:8740: warning: (near initialization for 'ipw_wx_handler_def')
/root/ipwraw-ng/ipwraw.c:8741: error: unknown field 'private' specified in initializer
/root/ipwraw-ng/ipwraw.c:8741: warning: excess elements in struct initializer
/root/ipwraw-ng/ipwraw.c:8741: warning: (near initialization for 'ipw_wx_handler_def')
/root/ipwraw-ng/ipwraw.c:8742: error: unknown field 'private_args' specified in initializer
/root/ipwraw-ng/ipwraw.c:8742: warning: excess elements in struct initializer
/root/ipwraw-ng/ipwraw.c:8742: warning: (near initialization for 'ipw_wx_handler_def')
/root/ipwraw-ng/ipwraw.c: In function 'ipw_pci_probe':
/root/ipwraw-ng/ipwraw.c:8870: error: 'IEEE80211_52GHZ_BAND' undeclared (first use in this function)
/root/ipwraw-ng/ipwraw.c:8872: error: 'IEEE80211_24GHZ_BAND' undeclared (first use in this function)
/root/ipwraw-ng/ipwraw.c:8897: error: 'struct net_device' has no member named 'hard_start_xmit'
/root/ipwraw-ng/ipwraw.c:8898: error: 'struct net_device' has no member named 'open'
/root/ipwraw-ng/ipwraw.c:8899: error: 'struct net_device' has no member named 'stop'
/root/ipwraw-ng/ipwraw.c:8900: error: 'struct net_device' has no member named 'get_stats'
/root/ipwraw-ng/ipwraw.c:8901: error: 'struct net_device' has no member named 'set_mac_address'
/root/ipwraw-ng/ipwraw.c:8902: error: 'ARPHRD_IEEE80211' undeclared (first use in this function)
/root/ipwraw-ng/ipwraw.c:8904: error: 'struct net_device' has no member named 'wireless_handlers'
make[2]: *** [/root/ipwraw-ng/ipwraw.o] Error 1
make[1]: *** [_module_/root/ipwraw-ng] Error 2
make[1]: Leaving directory `/usr/src/linux'
make: *** [modules] Error 2
root@bt:~/ipwraw-ng# make install
make: *** No rule to make target `ipwraw.ko', needed by `install'. Stop.
root@bt:~/ipwraw-ng#
Pobrałem już Kubuntu 10.4 i teraz zaczne go instalowac. Zobacze, czy na nowym sys pójdzie.
EDIT: Ten cały kubuntu mi się nie podoba. Zresztą nie moge uruchomić neta, chociaż chodzi sterownik. Instaluje spowrotem backtracka 4, bo bardziej mi się podoba. Roobal i jak znalazłeś cudowny lek na to?
– Dodane 03.05.2010 (Pn) 13:02 –
Udało się:)
Teraz poradnik dla wszystkich co mieli ten sam problem.
Ściągamy sterowniki stąd: http://dl.aircrack-ng.org/drivers/compa … nh.tar.bz2
Rozpakujemy
make
make install
make unload
modprobe -r iwl3945
modprobe iwl3945
I arp request chodzi :-). Robiłem to na BackTrack 4. Aby zhakowac swoją sieĆ, potrzebowałem 10 sekund. Aż straszne…
Uwaga. Na samym początku mamy 0 arp request, ale wystarczy poczekać z 2 minuty i zacznie się dziać.