|
我在网上下了源代码 acx100-0.2.0pre8_plus_fixes_51.tar.bz2 在make的时候 老是有错误信息 自己也读不懂 请各位大虾门看看是什么地方出错了 帮帮偶这个新手 以下是错误信息
[root@localhost acx100-0.2.0pre8_plus_fixes_51]# make
Kernel version file: /lib/modules/2.4.20-8/build/include/linux/version.h
Kernel configuration file: /lib/modules/2.4.20-8/build/.config
Make damn sure these really match your currently running kernel!!
Kernel configuration found, performing sanity checks
All of the following items are required by the driver:
Loadable modules support is enabled.
Wireless LAN (non-hamradio) support is enabled.
Wireless extensions support is enabled.
The following is needed for PCMCIA/CardBus cards:
PCMCIA support is enabled.
CardBus support is enabled.
The following is needed for USB card support:
USB support is enabled.
The following is needed for PCI card support:
PCI support is enabled.
Kernel configuration satisfies the minimum requirements, continuing.
Wireless header file is WIRELESS_EXT version 15.
gcc version 3.2.2 20030222 (Red Hat Linux 3.2.2-5)
Running linux 2.4.20-8
Compile info: will choose to use code infrastructure for NEWER wireless extension interface version (>= 13)
Symmetric multiprocessing support (CONFIG_SMP) is disabled.
make -C src
make[1]: Entering directory `/home/rick/acx100-0.2.0pre8_plus_fixes_51/src'
gcc -Wall -Wstrict-prototypes -Wno-trigraphs -O -fno-strict-aliasing -fno-common -fomit-frame-pointer -pipe -mpreferred-stack-boundary=4 -march=i586 -DACX_DEBUG=1 -DACX_IO_WIDTH=32 -DMODVERSIONS -include /lib/modules/2.4.20-8/build/include/linux/modversions.h -D__KERNEL__ -DMODULE -DWLAN_HOSTIF=WLAN_PCI -I/lib/modules/2.4.20-8/build/include -I../include -c -o acx100.o acx100.c
acx100.c: /lib/modules/2.4.20-8/build/include/linux/modversions.h: 娌℃湁閭d釜鏂囦欢鎴栫洰褰?In file included from ../include/acx.h:5,
from acx100.c:106:
../include/acx100.h:136:1: warning: "INIT_WORK" redefined
In file included from acx100.c:91:
../include/wlan_compat.h:532:1: warning: this is the location of the previous definition
In file included from ../include/acx.h:10,
from acx100.c:106:
../include/acx100_helper.h:650: warning: `struct device' declared inside parameter list
../include/acx100_helper.h:650: warning: its scope is only this definition or declaration, which is probably not what you want
acx100.c: In function `acx_rx':
acx100.c:1951: warning: passing arg 1 of `__builtin_expect' makes integer from pointer without a cast
make[1]: *** [acx100.o] Error 1
make[1]: Leaving directory `/home/rick/acx100-0.2.0pre8_plus_fixes_51/src'
make: *** [driver] Error 2 |
|