installing ieee80211 subsystem errors on SUSE 10.0 rc1
Linux - NetworkingThis forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
installing ieee80211 subsystem errors on SUSE 10.0 rc1
I am having a time installing the ipw2200 on my suse 10.0. When I try to make the ipw2200 I have any error saying
ERROR: ieee80211.h not found in /lib/modules/2.6.13-9-default/include1
so when I try to make the ieee80211 I get this:
Checking in /lib/modules/2.6.13-9-default/build/ for ieee80211 components...
make -C /lib/modules/2.6.13-9-default/build M=/home/fuzzy/ieee80211-1.0.3 MODVERDIR=/home/fuzzy/ieee80211-1.0.3 modules
make[1]: Entering directory `/usr/src/linux-2.6.13-9-obj/i386/default'
make -C ../../../linux-2.6.13-9 O=../linux-2.6.13-9-obj/i386/default modules
CC [M] /home/fuzzy/ieee80211-1.0.3/ieee80211_module.o
/home/fuzzy/ieee80211-1.0.3/ieee80211_module.c:61: error: syntax error before ‘IEEE80211_VERSION’
/home/fuzzy/ieee80211-1.0.3/ieee80211_module.c: In function ‘alloc_ieee80211’:
/home/fuzzy/ieee80211-1.0.3/ieee80211_module.c:145: error: ‘ieee80211_crypt_deinit_handler’ undeclared (first use in this function)
/home/fuzzy/ieee80211-1.0.3/ieee80211_module.c:145: error: (Each undeclared identifier is reported only once
/home/fuzzy/ieee80211-1.0.3/ieee80211_module.c:145: error: for each function it appears in.)
/home/fuzzy/ieee80211-1.0.3/ieee80211_module.c:146: error: ‘struct ieee80211_device’ has no member named ‘crypt_quiesced’
/home/fuzzy/ieee80211-1.0.3/ieee80211_module.c: In function ‘free_ieee80211’:
/home/fuzzy/ieee80211-1.0.3/ieee80211_module.c:171: error: implicit declaration of function ‘ieee80211_crypt_quiescing’
/home/fuzzy/ieee80211-1.0.3/ieee80211_module.c:173: error: implicit declaration of function ‘ieee80211_crypt_deinit_entries’
/home/fuzzy/ieee80211-1.0.3/ieee80211_module.c:178: error: dereferencing pointer to incomplete type
/home/fuzzy/ieee80211-1.0.3/ieee80211_module.c:179: error: dereferencing pointer to incomplete type
/home/fuzzy/ieee80211-1.0.3/ieee80211_module.c:179: error: dereferencing pointer to incomplete type
/home/fuzzy/ieee80211-1.0.3/ieee80211_module.c:180: error: dereferencing pointer to incomplete type
/home/fuzzy/ieee80211-1.0.3/ieee80211_module.c: In function ‘ieee80211_init’:
/home/fuzzy/ieee80211-1.0.3/ieee80211_module.c:255: error: syntax error before ‘IEEE80211_VERSION’
make[4]: *** [/home/fuzzy/ieee80211-1.0.3/ieee80211_module.o] Error 1
make[3]: *** [_module_/home/fuzzy/ieee80211-1.0.3] Error 2
make[2]: *** [modules] Error 2
make[1]: *** [modules] Error 2
make[1]: Leaving directory `/usr/src/linux-2.6.13-9-obj/i386/default'
make: *** [modules] Error 2
Any ideas whats going on?
Last edited by fuzzymallets; 09-19-2005 at 02:31 PM.
Westtech:/home/fuzzy/ieee80211-1.0.3 # make
Checking in /lib/modules/2.6.13-9-default/build/ for ieee80211 components...
grep: /lib/modules/2.6.13-9-default/build//.config: No such file or directory
grep: /lib/modules/2.6.13-9-default/build//include/linux/autoconf.h: No such file or directory
make -C /lib/modules/2.6.13-9-default/build M=/home/fuzzy/ieee80211-1.0.3 MODVER DIR=/home/fuzzy/ieee80211-1.0.3 modules
make[1]: Entering directory `/usr/src/linux-2.6.13-9-obj/i386/default'
make[1]: *** No rule to make target `modules'. Stop.
make[1]: Leaving directory `/usr/src/linux-2.6.13-9-obj/i386/default'
make: *** [modules] Error 2
Last edited by fuzzymallets; 09-20-2005 at 07:08 AM.
I did as you said without any luck. I wonder why that when I make I get the error
/home/fuzzy/ieee80211-1.0.3/ieee80211_module.c:61: error: syntax error before ‘IEEE80211_VERSION. To me it almost sounds like there is something wrong with the ieee80211_module.c because it says the line number. I have tried removing everything to do with the ieee80211 and when I try to install them I get that long list of errors I posted everytime. . And what really sucks is that my wireless worked perfect in 9.3.
I'm getting the following error while installing ieee80211 for making WiLAN working.
I have debian sarge 2.4.27-2-686 installed on Toshiba M45-S265. I have installed kernel-headers package before installing ieee80211.
MyDebian:/usr/local/src/ieee80211-1.1.5# make
Checking in /lib/modules/2.4.27-2-686/build/ for ieee80211 components...
make -C /lib/modules/2.4.27-2-686/build M=/usr/local/src/ieee80211-1.1.5 MODVERDIR=/usr/local/src/ieee80211-1.1.5 modules
make[1]: Entering directory `/usr/src/kernel-headers-2.4.27-2-686'
make -C kernel CFLAGS="-D__KERNEL__ -I/usr/src/kernel-headers-2.4.27-2-686/include -Wall -Wstrict-prototypes -Wno-trigraphs -O2 -fno-strict-aliasing -fno-common -fomit-frame-pointer -pipe -mpreferred-stack-boundary=2 -march=i686 -DMODULE -DMODVERSIONS -include /usr/src/kernel-headers-2.4.27-2-686/include/linux/modversions.h" MAKING_MODULES=1 modules
make: *** kernel: No such file or directory. Stop.
make: Entering an unknown directorymake: Leaving an unknown directorymake[1]: *** [_mod_kernel] Error 2
make[1]: Leaving directory `/usr/src/kernel-headers-2.4.27-2-686'
make: *** [modules] Error 2
I'd like to add my own sob story to this thread...
In Ubuntu 5.10, running on an Acer Aspire 3002LCi (with an Intel 2915ABG mini pci card), kernel version 2.6.12-9-386 (with all kernel headers installed), I get the following when I run make on ieee80211:
Code:
make -C /usr/src/linux-headers-2.6.12-9-386 SUBDIRS=/home/jazzcrazed/Desktop/DOWNLOADS/BIOS, DRIVERS, AND FIRMWARE/acerhk-0.5.28 modules
make[1]: Entering directory `/usr/src/linux-headers-2.6.12-9-386'
make[1]: *** No rule to make target `DRIVERS,'. Stop.
make[1]: Leaving directory `/usr/src/linux-headers-2.6.12-9-386'
make: *** [acerhk.ko] Error 2
This post is amazing and relieving. I now know I'm not the only one with headaches pertaining to ieee80211 compilation. Here's my version:
Checking in /lib/modules/2.6.13-15-default/build/ for ieee80211 components...
make -C /lib/modules/2.6.13-15-default/build M=/tmp/ieee80211-1.1.6 MODVERDIR=/tmp/ieee80211-1.1.6 modules
make[1]: Entering directory `/usr/src/linux-2.6.13-15-obj/i386/default'
make -C ../../../linux-2.6.13-15 O=../linux-2.6.13-15-obj/i386/default modules
CC [M] /tmp/ieee80211-1.1.6/ieee80211_module.o
/tmp/ieee80211-1.1.6/ieee80211_module.c:61: error: syntax error before 'IEEE80211_VERSION'
/tmp/ieee80211-1.1.6/ieee80211_module.c: In function 'alloc_ieee80211':
/tmp/ieee80211-1.1.6/ieee80211_module.c:132: error: 'struct ieee80211_device' has no member named 'rts'
/tmp/ieee80211-1.1.6/ieee80211_module.c:139: error: 'struct ieee80211_device' has no member named 'host_mc_decrypt'
/tmp/ieee80211-1.1.6/ieee80211_module.c:146: error: 'struct ieee80211_device' has no member named 'host_open_frag'
/tmp/ieee80211-1.1.6/ieee80211_module.c:152: error: 'ieee80211_crypt_deinit_handler' undeclared (first use in this function)
/tmp/ieee80211-1.1.6/ieee80211_module.c:152: error: (Each undeclared identifier is reported only once
/tmp/ieee80211-1.1.6/ieee80211_module.c:152: error: for each function it appears in.)
/tmp/ieee80211-1.1.6/ieee80211_module.c:153: error: 'struct ieee80211_device' has no member named 'crypt_quiesced'
/tmp/ieee80211-1.1.6/ieee80211_module.c: In function 'free_ieee80211':
/tmp/ieee80211-1.1.6/ieee80211_module.c:175: error: implicit declaration of function 'ieee80211_crypt_quiescing'
/tmp/ieee80211-1.1.6/ieee80211_module.c:177: error: implicit declaration of function 'ieee80211_crypt_deinit_entries'
/tmp/ieee80211-1.1.6/ieee80211_module.c:182: error: dereferencing pointer to incomplete type
/tmp/ieee80211-1.1.6/ieee80211_module.c:183: error: dereferencing pointer to incomplete type
/tmp/ieee80211-1.1.6/ieee80211_module.c:183: error: dereferencing pointer to incomplete type
/tmp/ieee80211-1.1.6/ieee80211_module.c:184: error: dereferencing pointer to incomplete type
/tmp/ieee80211-1.1.6/ieee80211_module.c: In function 'ieee80211_init':
/tmp/ieee80211-1.1.6/ieee80211_module.c:251: error: syntax error before 'IEEE80211_VERSION'
make[4]: *** [/tmp/ieee80211-1.1.6/ieee80211_module.o] Error 1
make[3]: *** [_module_/tmp/ieee80211-1.1.6] Error 2
make[2]: *** [modules] Error 2
make[1]: *** [modules] Error 2
make[1]: Leaving directory `/usr/src/linux-2.6.13-15-obj/i386/default'
make: *** [modules] Error 2
After hours of searching, problem solved. I found the answer on the net in german:
the reason ieee80211 is failing to compile is either because the kernel version is prior 2.6.8, or most probably, gcc is using the wrong ieee80211.h file...
go to /usr/src/linux/include/net/
remove all files beginning with "ieee" and "original-ieee"
now ieee80211 and ipw2200 should compile correctly. dont forget to copy the firmware. also, make sure u have the latest of all 3 packages:
[root@localhost ieee80211-1.1.6]# make
Checking in /lib/modules/2.6.14-1.1644_FC4/build/ for ieee80211 components...
make -C /lib/modules/2.6.14-1.1644_FC4/build M=/root/downloads/ieee80211-1.1.6 MODVERDIR=/root/downloads/ieee80211-1.1.6 modules
make[1]: Entering directory `/usr/src/kernels/2.6.14-1.1644_FC4-i686'
CC [M] /root/downloads/ieee80211-1.1.6/ieee80211_module.o
/root/downloads/ieee80211-1.1.6/ieee80211_module.c:34:27: error: /linux/config.h: No such file or directory
In file included from include/linux/config.h:4,
from include/linux/types.h:5,
from include/linux/if.h:22,
from include/linux/netdevice.h:28,
from include/linux/if_arp.h:26,
from /root/downloads/ieee80211-1.1.6/ieee80211_module.c:36:
include/linux/autoconf.h:728:1: warning: "/*" within comment
In file included from include/linux/config.h:4,
from include/linux/types.h:5,
from include/linux/if.h:22,
from include/linux/netdevice.h:28,
from include/linux/if_arp.h:26,
from /root/downloads/ieee80211-1.1.6/ieee80211_module.c:36:
include/linux/autoconf.h:733: error: syntax error before ‘/’ token
In file included from include/linux/types.h:13,
from include/linux/if.h:22,
from include/linux/netdevice.h:28,
from include/linux/if_arp.h:26,
from /root/downloads/ieee80211-1.1.6/ieee80211_module.c:36:
include/linux/posix_types.h:38: warning: type defaults to ‘int’ in declaration of ‘__kernel_fd_set’
include/linux/posix_types.h:38: warning: data definition has no type or storage class
In file included from include/linux/if.h:22,
from include/linux/netdevice.h:28,
from include/linux/if_arp.h:26,
from /root/downloads/ieee80211-1.1.6/ieee80211_module.c:36:
include/linux/types.h:20: error: syntax error before ‘fd_set’
include/linux/types.h:20: warning: type defaults to ‘int’ in declaration of ‘fd_set’
include/linux/types.h:20: warning: data definition has no type or storage class
make[2]: *** [/root/downloads/ieee80211-1.1.6/ieee80211_module.o] Error 1
make[1]: *** [_module_/root/downloads/ieee80211-1.1.6] Error 2
make[1]: Leaving directory `/usr/src/kernels/2.6.14-1.1644_FC4-i686'
make: *** [modules] Error 2
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.