LinuxSir.cn,穿越时空的Linuxsir!

 找回密码
 注册
搜索
热搜: shell linux mysql
查看: 1032|回复: 3

请教一下关于RH9.0下 TI(1130)无线网卡的驱动编译问题(在线急等)

[复制链接]
发表于 2005-8-22 15:52:15 | 显示全部楼层 |阅读模式
我在网上下了源代码 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
发表于 2005-8-22 16:09:13 | 显示全部楼层
应该是找不到/lib/modules/2.4.20-8/build/include/linux/modversions.h吧
没有这个文件的原因可能是你在编译完内核后做了make mrproper
回复 支持 反对

使用道具 举报

 楼主| 发表于 2005-8-22 16:22:08 | 显示全部楼层
我在其他目录找到这个文件了 是不是直接复制到那个路径下就可以了啊?或者应该怎么做 请大虾指点
回复 支持 反对

使用道具 举报

发表于 2005-8-22 20:47:39 | 显示全部楼层
你重新编译一下内核就可以了。
回复 支持 反对

使用道具 举报

您需要登录后才可以回帖 登录 | 注册

本版积分规则

快速回复 返回顶部 返回列表