[已解决]Intel IPW2200 无线网卡驱动编译错误

编译打包和其他
回复
satlantis
帖子: 7
注册时间: 2006-09-25 18:51

[已解决]Intel IPW2200 无线网卡驱动编译错误

#1

帖子 satlantis » 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和我内核不兼容,编译有错
请高手指教,谢谢!
上次由 satlantis 在 2008-07-15 19:00,总共编辑 1 次。
satlantis
帖子: 7
注册时间: 2006-09-25 18:51

#2

帖子 satlantis » 2008-07-15 19:00

原来重新做2.6.24-19-generic的链接就可以了
把它连接到usr/src/linux-headers-2.6.24-19就可以了。
aiches
帖子: 10
注册时间: 2008-09-16 18:56

#3

帖子 aiches » 2008-09-20 22:34

:wink:

具体怎么建个连接啊..我也遇到同样的问题..

给我命令好么...谢谢..

我装的是ubuntu 8.04 编译ipw3945 报同样的错误...
回复