[已解决]Intel IPW2200 无线网卡驱动编译错误
发表于 : 2008-07-14 11:33
我用的8.04的版本,编译ipw2200-1.2.0出错:
ERROR: ieee80211.h not found in '/lib/modules/2.6.24-19-generic/include'.
You need to install the ieee80211 subsystem from http://ieee80211.sf.net
and point this build to the location where you installed those sources, eg.:
% make IEEE80211_INC=/usr/src/ieee80211/
will look for ieee80211.h in /usr/src/ieee80211/net/
make: *** [check_inc] Error 1
因为/lib/modules/2.6.24-19-generic下是没有include文件夹的。所以我做了一个ln的连接到
/usr/src/linux-headers-2.6.24-19/include/net(我新编译了内核,用的是 make oldconfig)
不过还是出现相同的错误。
后来我又下载了ieee80211的包,进行编译,发现我的内核里是有ieee80211模块的:
/lib/modules/2.6.24-19-generic/build/include/config/ieee80211.h
/lib/modules/2.6.24-19-generic/build/include/linux/ieee80211.h
Above files found. Remove? [y],n n
Old ieee80211 references found. In order to build the ieee80211
subsystem, prior versions must first be removed. You can perform
this task by running this makefile as root via:
% sudo make check_old
and answering Y to remove the file references.
Aborting make.
make: *** [check_old] Error 1
我想问一下,是不是需要把原来模块的移除呢?可是我发现这个最新的ieee80211-1.1.14和我内核不兼容,编译有错
请高手指教,谢谢!
ERROR: ieee80211.h not found in '/lib/modules/2.6.24-19-generic/include'.
You need to install the ieee80211 subsystem from http://ieee80211.sf.net
and point this build to the location where you installed those sources, eg.:
% make IEEE80211_INC=/usr/src/ieee80211/
will look for ieee80211.h in /usr/src/ieee80211/net/
make: *** [check_inc] Error 1
因为/lib/modules/2.6.24-19-generic下是没有include文件夹的。所以我做了一个ln的连接到
/usr/src/linux-headers-2.6.24-19/include/net(我新编译了内核,用的是 make oldconfig)
不过还是出现相同的错误。
后来我又下载了ieee80211的包,进行编译,发现我的内核里是有ieee80211模块的:
/lib/modules/2.6.24-19-generic/build/include/config/ieee80211.h
/lib/modules/2.6.24-19-generic/build/include/linux/ieee80211.h
Above files found. Remove? [y],n n
Old ieee80211 references found. In order to build the ieee80211
subsystem, prior versions must first be removed. You can perform
this task by running this makefile as root via:
% sudo make check_old
and answering Y to remove the file references.
Aborting make.
make: *** [check_old] Error 1
我想问一下,是不是需要把原来模块的移除呢?可是我发现这个最新的ieee80211-1.1.14和我内核不兼容,编译有错
请高手指教,谢谢!