LinuxQuestions.org
Review your favorite Linux distribution.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Networking
User Name
Password
Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.

Notices

Reply
 
LinkBack Search this Thread
Old 09-19-2005, 02:19 PM   #1
fuzzymallets
LQ Newbie
 
Registered: May 2005
Distribution: SUSE 10/ SUSE9.3
Posts: 9

Rep: Reputation: 0
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.
 
Old 09-19-2005, 02:20 PM   #2
fuzzymallets
LQ Newbie
 
Registered: May 2005
Distribution: SUSE 10/ SUSE9.3
Posts: 9

Original Poster
Rep: Reputation: 0
When I run it as root this the the errors I get:

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.
 
Old 10-10-2005, 10:47 PM   #3
landoor
LQ Newbie
 
Registered: Oct 2005
Posts: 1

Rep: Reputation: 0
You need to delete all ieee80211 related include files in the /usr/src/linux/ tree:
find /usr/src/linux -name ieee80211\*
 
Old 10-11-2005, 01:19 PM   #4
fuzzymallets
LQ Newbie
 
Registered: May 2005
Distribution: SUSE 10/ SUSE9.3
Posts: 9

Original Poster
Rep: Reputation: 0
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.
 
Old 10-17-2005, 07:24 PM   #5
XaCoSo
LQ Newbie
 
Registered: Oct 2005
Location: Badalona (Barcelona), Spain
Distribution: SuSe 10.0
Posts: 3

Rep: Reputation: 0
I'm getting exactly the same errors.

I have kernel-source installed.

Can anyone help on this one?

Thanks!
 
Old 10-19-2005, 02:04 AM   #6
bijuedapuzha
LQ Newbie
 
Registered: Oct 2005
Posts: 3

Rep: Reputation: 0
HI,

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

Please help.

Cheers,
Biju
 
Old 10-20-2005, 05:12 PM   #7
jazzcrazed
LQ Newbie
 
Registered: Jul 2005
Distribution: Ubuntu 5.04 Hoary
Posts: 3

Rep: Reputation: 0
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
Any help is much appreciated!
 
Old 10-25-2005, 07:29 AM   #8
moeFEAR
Member
 
Registered: Sep 2005
Posts: 49

Rep: Reputation: 15
Hi,

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
 
Old 10-25-2005, 09:50 AM   #9
moeFEAR
Member
 
Registered: Sep 2005
Posts: 49

Rep: Reputation: 15
PROBLEM SOLVED!

Okay,

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:

ieee80211-1.1.6
ipw2200-1.0.8
ipw2200-fw-2.4

hope this solves ur problems!!
 
Old 10-25-2005, 09:55 AM   #10
jazzcrazed
LQ Newbie
 
Registered: Jul 2005
Distribution: Ubuntu 5.04 Hoary
Posts: 3

Rep: Reputation: 0
Actually, my solution was far more embarrassing.

Turns out what was causing the problem was that the install files resided in a folder that had spaces in it (my own fault):

~/Desktop/BIOS, DRIVERS, AND FIRMWARE/ieee80211

...and so make assumed that the first word following the space - in this case, "DRIVERS," - was another component to compile.

Renaming the folder promptly solved that issue, and now my IPW 2915 ABG works pretty flawlessly!
 
Old 10-25-2005, 10:00 AM   #11
moeFEAR
Member
 
Registered: Sep 2005
Posts: 49

Rep: Reputation: 15
hehe :P
 
Old 12-06-2005, 01:41 PM   #12
sady
LQ Newbie
 
Registered: Oct 2003
Posts: 9

Rep: Reputation: 0
fedora 4, IEEE issue

my kernel is 2.6.14-1.1644_FC4-i686


[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
 
Old 12-07-2005, 09:00 AM   #13
moeFEAR
Member
 
Registered: Sep 2005
Posts: 49

Rep: Reputation: 15
hmmm

might be because of fedora, if you followed the above precautions. fedora has problems compiling alot of packages because it uses the gcc 4.x compiler
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Trackbacks are Off
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Suse 10.0 RC1 Yomaoni Suse/Novell 21 02-17-2006 10:06 AM
Suse 10 RC1 monitor seetings? MKRaiden Suse/Novell 8 10-04-2005 08:38 AM
problem installing opensuse 10 rc1... egcoder Suse/Novell 1 09-16-2005 02:01 PM
Installing KDE 4.3 rc1 on 9.2 elsmack Suse/Novell 8 03-16-2005 02:35 PM
Errors installing daemontools-0.76 on Suse 9.1 ServerStorm Linux - Software 2 01-17-2005 04:13 PM


All times are GMT -5. The time now is 06:18 PM.

Main Menu
 
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: @linuxquestions
Open Source Consulting | Domain Registration