jump to navigation

Compile issues with ieee80211 and ipw2200 on linux kernel 2.6.25. June 4, 2008

Posted by noorul in debian, drivers, kernel, linux, wireless.
Tags: , , , , ,
8 comments

The latest version of iee80211 (ieee80211-1.2.18) and ipw220 (ipw2200-1.2.2) are not compiling properly on the latest linux kernel 2.6.25.3.

I got the following error when I compiled ipw2200 on my laptop.

/home/noorul/software/ipw2200/ipw2200-1.2.2/ipw2200.c: In function ‘ipw_pci_probe’:
/home/noorul/software/ipw2200/ipw2200-1.2.2/ipw2200.c:11937: error: implicit declaration of function ‘SET_MODULE_OWNER’

In my case I was able to find out a solution from some other project. But there is a patch in the bug database. Here is the link http://www.intellinuxwireless.org/bugzilla/attachment.cgi?id=1378

But in the case of iee80211, I couldn’t find a straight forward solution. But the following steps helped me. There were several errors across multiple files.

1. I had to make changes to ieee80211_module.c. Here is the patched file.

ieee80211_module.c

2. Then the files ieee80211_crypt_wep.c, ieee80211_crypt_tkip.c

ieee80211_crypt_wep.c
ieee80211_crypt_tkip.c

Once I made the above changes, I followed the normal compilation procedure and everything worked fine. Posting this one through wireless internet connection.