- 论坛徽章:
- 1
|
可是进入ipw3945-1.2.2目录还是没有成功:
[root@t60 ipw3945-1.2.2]# make SHELL=/bin/bash
WARNING: Your kernel contains ieee80211 symbol definitions and you
are not using the kernel's default ieee80211 subsystem. (Perhaps you
used the out-of-tree ieee80211 subsystem's 'make install' or have
provided a path to the ieee80211 subsystem via IEEE80211_INC.)
If you wish to use the out-of-tree ieee80211 subsystem then it is
recommended to use that projects' "make patch_kernel" facility
and rebuild your kernel to update the Module symbol version information.
Failure to do this may result in build warnings and unexpected
behavior when running modules which rely on the ieee80211 subsystem.
Aborting the build. You can force the build to continue by adding:
IEEE80211_IGNORE_DUPLICATE=y
to your make command line.
make: *** [check_inc] Error 1
[root@t60 ipw3945-1.2.2]# make IEEE80211_IGNORE_DUPLICATE=y
Makefile:53:
Makefile:54: WARNING: $SHELL not set to bash.
Makefile:55: If you experience build errors, try
Makefile:56: 'make SHELL=/bin/bash'.
Makefile:57:
WARNING: Your kernel contains ieee80211 symbol definitions and you
are not using the kernel's default ieee80211 subsystem. (Perhaps you
used the out-of-tree ieee80211 subsystem's 'make install' or have
provided a path to the ieee80211 subsystem via IEEE80211_INC.)
If you wish to use the out-of-tree ieee80211 subsystem then it is
recommended to use that projects' "make patch_kernel" facility
and rebuild your kernel to update the Module symbol version information.
Failure to do this may result in build warnings and unexpected
behavior when running modules which rely on the ieee80211 subsystem.
Using ieee80211 subsystem version API v2 from:
Base: /lib/modules/2.6.9-22.ELsmp/
Path: /lib/modules/2.6.9-22.ELsmp/include/
EXTRA_CFLAGS = -I/lib/modules/2.6.9-22.ELsmp/include/ -DIPW3945_COMPAT=2 -g
-Wa,-adhlms=check_inc.lst
mkdir -p /home/pb/ow2003/wyan/ipw3945-1.2.2/tmp/.tmp_versions
make -C /lib/modules/2.6.9-22.ELsmp/build M=/home/pb/ow2003/wyan/ipw3945-1.2.2
MODVERDIR=/home/pb/ow2003/wyan/ipw3945-1.2.2/tmp/.tmp_versions modules
make[1]: Entering directory `/usr/src/kernels/2.6.9-22.EL-smp-i686'
/home/pb/ow2003/wyan/ipw3945-1.2.2/Makefile:53:
/home/pb/ow2003/wyan/ipw3945-1.2.2/Makefile:54: WARNING: $SHELL not set to
bash.
/home/pb/ow2003/wyan/ipw3945-1.2.2/Makefile:55: If you experience build
errors, try
/home/pb/ow2003/wyan/ipw3945-1.2.2/Makefile:56: 'make SHELL=/bin/bash'.
/home/pb/ow2003/wyan/ipw3945-1.2.2/Makefile:57:
CC [M] /home/pb/ow2003/wyan/ipw3945-1.2.2/ipw3945.o
In file included from /home/pb/ow2003/wyan/ipw3945-1.2.2/ipw3945.c:68:
/home/pb/ow2003/wyan/ipw3945-1.2.2/ipw3945.h:2117: error: field
`wireless_data' has incomplete type
In file included from /home/pb/ow2003/wyan/ipw3945-1.2.2/ipw3945.c:68:
/home/pb/ow2003/wyan/ipw3945-1.2.2/ipw3945.h:2569: error: syntax error before
"flags"
/home/pb/ow2003/wyan/ipw3945-1.2.2/ipw3945.h:2570: warning: function
declaration isn't a prototype
/home/pb/ow2003/wyan/ipw3945-1.2.2/ipw3945.h: In function `kzalloc':
/home/pb/ow2003/wyan/ipw3945-1.2.2/ipw3945.h:2571: error: `size' undeclared
(first use in this function)
/home/pb/ow2003/wyan/ipw3945-1.2.2/ipw3945.h:2571: error: (Each undeclared
identifier is reported only once
/home/pb/ow2003/wyan/ipw3945-1.2.2/ipw3945.h:2571: error: for each function it
appears in.)
/home/pb/ow2003/wyan/ipw3945-1.2.2/ipw3945.h:2571: error: `flags' undeclared
(first use in this function)
/home/pb/ow2003/wyan/ipw3945-1.2.2/ipw3945.c: In function
`ipw_scan_completed':
/home/pb/ow2003/wyan/ipw3945-1.2.2/ipw3945.c:2605: error: structure has no
member named `one_direct_scan'
/home/pb/ow2003/wyan/ipw3945-1.2.2/ipw3945.c: In function `is_network_packet':
/home/pb/ow2003/wyan/ipw3945-1.2.2/ipw3945.c:10885: warning: implicit
declaration of function `is_multicast_ether_addr'
/home/pb/ow2003/wyan/ipw3945-1.2.2/ipw3945.c: In function `ipw_wx_set_scan':
/home/pb/ow2003/wyan/ipw3945-1.2.2/ipw3945.c:12721: warning: unused variable
`req'
/home/pb/ow2003/wyan/ipw3945-1.2.2/ipw3945.c: In function
`ipw_get_wireless_stats':
/home/pb/ow2003/wyan/ipw3945-1.2.2/ipw3945.c:13678: error:
`IW_QUAL_NOISE_INVALID' undeclared (first use in this function)
/home/pb/ow2003/wyan/ipw3945-1.2.2/ipw3945.c:13679: error:
`IW_QUAL_QUAL_INVALID' undeclared (first use in this function)
/home/pb/ow2003/wyan/ipw3945-1.2.2/ipw3945.c:13679: error:
`IW_QUAL_LEVEL_INVALID' undeclared (first use in this function)
/home/pb/ow2003/wyan/ipw3945-1.2.2/ipw3945.c:13687: error:
`IW_QUAL_QUAL_UPDATED' undeclared (first use in this function)
/home/pb/ow2003/wyan/ipw3945-1.2.2/ipw3945.c:13687: error:
`IW_QUAL_LEVEL_UPDATED' undeclared (first use in this function)
/home/pb/ow2003/wyan/ipw3945-1.2.2/ipw3945.c:13688: error:
`IW_QUAL_NOISE_UPDATED' undeclared (first use in this function)
make[2]: *** [/home/pb/ow2003/wyan/ipw3945-1.2.2/ipw3945.o] Error 1
make[1]: *** [_module_/home/pb/ow2003/wyan/ipw3945-1.2.2] Error 2
make[1]: Leaving directory `/usr/src/kernels/2.6.9-22.EL-smp-i686'
make: *** [modules] Error 2
[root@t60 ipw3945-1.2.2]#
还错误1,错误2!
还差什么需要安装吗? |
|