kernle-2.6.12,ipw2100-1.1.2安装
如果装了 2.6.12 内核,要安装 ipw2100-1.1.2 还需要下载 ieee80211 (最新为 1.0.3)http://ipw2100.sourceforge.net/
http://ieee80211.sourceforge.net/
先编译安装 ieee80211. 再编译 ipw2100,这时会出现如下的错误:
-(:09:53:$)-> make
mkdir -p /home/walte/tmp/ipw2100-1.1.2/tmp/.tmp_versions
cp /lib/modules/2.6.12/net/ieee80211/.tmp_versions/*.mod /home/walte/tmp/ipw2100-1.1.2/tmp/.tmp_versions
make -C /lib/modules/2.6.12/build M=/home/walte/tmp/ipw2100-1.1.2 MODVERDIR=/home/walte/tmp/ipw2100-1.1.2/tmp/.tmp_versions modules
make[1]: Entering directory `/usr/local/src/linux-build'
CC [M]/home/walte/tmp/ipw2100-1.1.2/ipw2100.o
In file included from /home/walte/tmp/ipw2100-1.1.2/ipw2100.c:166:
/home/walte/tmp/ipw2100-1.1.2/ipw2100.h:809: error: invalid application of ‘sizeof’ to incomplete type ‘struct ieee80211_header_data’
/home/walte/tmp/ipw2100-1.1.2/ipw2100.c: In function ‘ipw2100_rx_allocate’:
/home/walte/tmp/ipw2100-1.1.2/ipw2100.c:4278: error: invalid application of ‘sizeof’ to incomplete type ‘struct ieee80211_header_data’
make[2]: *** [/home/walte/tmp/ipw2100-1.1.2/ipw2100.o] 错误 1
make[1]: *** [_module_/home/walte/tmp/ipw2100-1.1.2] 错误 2
make[1]: Leaving directory `/usr/local/src/linux-build'
make: *** [modules] 错误 2
原因在于 ieee80211-1.0.3 的对应的结构名变了。
解决办法,把ipw2100.h 中的ieee80211_header_data 改成 ieee80211_hdr 即可。
--无限你的 Linux :-) 汗,官方主页有这个补丁。楼主提供帖子的适合也应该把补丁一起交了吧 :twisted:
页:
[1]