Ubuntu10.10(2.6.35-28-generic)内核支持Ieee80211吗?

包含网卡/无线网的网络问题和ADSL/校园网/宽带拨号支持及代理/共享等网络使用问题
回复
liuzhengyuan
帖子: 1
注册时间: 2011-06-11 22:23

Ubuntu10.10(2.6.35-28-generic)内核支持Ieee80211吗?

#1

帖子 liuzhengyuan »

小弟的无线网卡是Intel 3945 abg 想编译一个ipwraw-ng-2.3.4-04022008.tar.bz2的驱动,在编译时遇到如下错误

代码: 全选

:~/ipwraw-ng$ make

WARNING: $SHELL not set to bash.
If you experience build errors, try
'make SHELL=/bin/bash'.

make -C /lib/modules/2.6.35-28-generic/build M=/home/liuxiao/ipwraw-ng modules
make[1]: Entering directory `/usr/src/linux-headers-2.6.35-28-generic'

WARNING: $SHELL not set to bash.
If you experience build errors, try
'make SHELL=/bin/bash'.

  CC [M]  /home/liuxiao/ipwraw-ng/ipwraw.o
/home/liuxiao/ipwraw-ng/ipwraw.c:43: fatal error: net/ieee80211.h: No such file or directory
compilation terminated.
make[2]: *** [/home/liuxiao/ipwraw-ng/ipwraw.o] Error 1
make[1]: *** [_module_/home/liuxiao/ipwraw-ng] Error 2
make[1]: Leaving directory `/usr/src/linux-headers-2.6.35-28-generic'
make: *** [modules] Error 2
我自己分析是没有安装ieee80211,于是又下载ieee80211-1.2.18.tgz,编译时会出现如下问题

代码: 全选

:~/ieee80211-1.2.18$ make
Makefile:17: 
Makefile:18: WARNING: $SHELL not set to bash.
Makefile:19: If you experience build errors, try
Makefile:20: 'make SHELL=/bin/bash'.
Makefile:21: 
Checking in /lib/modules/2.6.35-28-generic for ieee80211 components...
/lib/modules/2.6.35-28-generic/build/include/net/ieee80211_radiotap.h
/lib/modules/2.6.35-28-generic/build/net/ieee80211.h
/lib/modules/2.6.35-28-generic/build/include/net/ieee80211_radiotap.h
/lib/modules/2.6.35-28-generic/build/net/ieee80211.h
Above files found.  Remove? [y],n 
此时不知该作何选择,我暂选的n,出现如下

代码: 全选

:~/ieee80211-1.2.18$ make
Makefile:17: 
Makefile:18: WARNING: $SHELL not set to bash.
Makefile:19: If you experience build errors, try
Makefile:20: 'make SHELL=/bin/bash'.
Makefile:21: 
Checking in /lib/modules/2.6.35-28-generic for ieee80211 components...
/lib/modules/2.6.35-28-generic/build/include/net/ieee80211_radiotap.h
/lib/modules/2.6.35-28-generic/build/net/ieee80211.h
/lib/modules/2.6.35-28-generic/build/include/net/ieee80211_radiotap.h
/lib/modules/2.6.35-28-generic/build/net/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

不知该怎么做了,望高手指点!!!(PS:我是新人,望高手尽量说详细一点,谢谢了)
Alekin
帖子: 2
注册时间: 2010-05-07 16:13

Re: Ubuntu10.10(2.6.35-28-generic)内核支持Ieee80211吗?

#2

帖子 Alekin »

楼主解决了麽?我也是同样等问题
回复