我是先安装的Ieee80211
# tar zxvf ieee80211-1.2.18.tgz
# cd ieee80211-1.2.18
# ./remove-old #这一步在执行的时候会提示是否确认删除,我就输入y确认删除了
# make #执行这一步的时候出错了
Checking in /lib/modules/2.6.18-53.el5 for ieee80211 components...
make -C /lib/modules/2.6.18-53.el5/build M=/root/temp/ieee80211-1.2.18 modules
make[1]: Entering directory `/usr/src/kernels/2.6.18-53.el5-i686'
CC [M] /root/temp/ieee80211-1.2.18/ieee80211_module.o
In file included from /root/temp/ieee80211-1.2.18/ieee80211_module.c:52:
/root/temp/ieee80211-1.2.18/compat.h:113: error: redefinition of ‘kmemdup’
include/linux/slab.h:208: error: previous definition of ‘kmemdup’ was here
make[2]: *** [/root/temp/ieee80211-1.2.18/ieee80211_module.o] Error 1
make[1]: *** [_module_/root/temp/ieee80211-1.2.18] Error 2
make[1]: Leaving directory `/usr/src/kernels/2.6.18-53.el5-i686'
make: *** [modules] Error 2
请问这是为什么,如何解决呢?
--------------------next---------------------
阅读(300) | 评论(0) | 转发(0) |