- 论坛徽章:
- 1
|
报错了
[root@firewall hashspeed-0.1]# export KERNEL_DIR=/usr/src/linux-2.6.18.i686
[root@firewall hashspeed-0.1]# export IPTABLES_DIR=/usr/src/iptables-1.3.8/
[root@firewall hashspeed-0.1]# export KERNEL_DIR=/usr/src/linux-2.6.18.i686/
[root@firewall hashspeed-0.1]# export KERNEL_SRC=/usr/src/linux-2.6.18.i686/
[root@firewall hashspeed-0.1]# export IPTABLES_SRC=/usr/src/iptables-1.3.8/
[root@firewall hashspeed-0.1]# make
make -C /usr/src/linux-2.6.18.i686/ M=/home/hashspeed-0.1 modules
make[1]: Entering directory `/usr/src/linux-2.6.18.i686'
WARNING: Symbol version dump /usr/src/linux-2.6.18.i686/Module.symvers
is missing; modules will have no dependencies and modversions.
CC [M] /home/hashspeed-0.1/ipt_hashspeed.o
/home/hashspeed-0.1/ipt_hashspeed.c: In function ‘hash_dst’:
/home/hashspeed-0.1/ipt_hashspeed.c:114: 警告:传递实参 1(属于 ‘jhash2’)丢弃了指针目标类型的限定
/home/hashspeed-0.1/ipt_hashspeed.c: In function ‘hashspeed_match’:
/home/hashspeed-0.1/ipt_hashspeed.c:403: 警告:初始化丢弃了指针目标类型的限定
Building modules, stage 2.
MODPOST
CC /home/hashspeed-0.1/ipt_hashspeed.mod.o
LD [M] /home/hashspeed-0.1/ipt_hashspeed.ko
make[1]: Leaving directory `/usr/src/linux-2.6.18.i686'
cc -O2 -Wall -DIPTABLES_VERSION=\"1.3.8\" -I/usr/src/iptables-1.3.8/include -I/usr/src/linux-2.6.18.i686//include -fPIC -c libipt_hashspeed.c
libipt_hashspeed.c:369: 错误:变量 ‘hashspeed’ 有初始值设定但类型不完全
libipt_hashspeed.c:370: 错误:初始值设定项里有未知的字段 ‘next’
libipt_hashspeed.c:370: 警告:结构初始值设定项中有多余元素
libipt_hashspeed.c:370: 警告:(在 ‘hashspeed’ 的初始化附近)
libipt_hashspeed.c:371: 错误:初始值设定项里有未知的字段 ‘name’
libipt_hashspeed.c:371: 警告:结构初始值设定项中有多余元素
libipt_hashspeed.c:371: 警告:(在 ‘hashspeed’ 的初始化附近)
libipt_hashspeed.c:372: 错误:初始值设定项里有未知的字段 ‘family’
libipt_hashspeed.c:372: 警告:结构初始值设定项中有多余元素
libipt_hashspeed.c:372: 警告:(在 ‘hashspeed’ 的初始化附近)
libipt_hashspeed.c:373: 错误:初始值设定项里有未知的字段 ‘version’
libipt_hashspeed.c:373: 警告:结构初始值设定项中有多余元素
libipt_hashspeed.c:373: 警告:(在 ‘hashspeed’ 的初始化附近)
libipt_hashspeed.c:374: 错误:初始值设定项里有未知的字段 ‘size’
libipt_hashspeed.c:374: 警告:结构初始值设定项中有多余元素
libipt_hashspeed.c:374: 警告:(在 ‘hashspeed’ 的初始化附近)
libipt_hashspeed.c:375: 错误:初始值设定项里有未知的字段 ‘userspacesize’
libipt_hashspeed.c:375: 警告:结构初始值设定项中有多余元素
libipt_hashspeed.c:375: 警告:(在 ‘hashspeed’ 的初始化附近)
libipt_hashspeed.c:376: 错误:初始值设定项里有未知的字段 ‘help’
libipt_hashspeed.c:376: 警告:结构初始值设定项中有多余元素
libipt_hashspeed.c:376: 警告:(在 ‘hashspeed’ 的初始化附近)
libipt_hashspeed.c:377: 错误:初始值设定项里有未知的字段 ‘init’
libipt_hashspeed.c:377: 警告:结构初始值设定项中有多余元素
libipt_hashspeed.c:377: 警告:(在 ‘hashspeed’ 的初始化附近)
libipt_hashspeed.c:378: 错误:初始值设定项里有未知的字段 ‘parse’
libipt_hashspeed.c:378: 警告:结构初始值设定项中有多余元素
libipt_hashspeed.c:378: 警告:(在 ‘hashspeed’ 的初始化附近)
libipt_hashspeed.c:379: 错误:初始值设定项里有未知的字段 ‘final_check’
libipt_hashspeed.c:379: 警告:结构初始值设定项中有多余元素
libipt_hashspeed.c:379: 警告:(在 ‘hashspeed’ 的初始化附近)
libipt_hashspeed.c:380: 错误:初始值设定项里有未知的字段 ‘print’
libipt_hashspeed.c:380: 警告:结构初始值设定项中有多余元素
libipt_hashspeed.c:380: 警告:(在 ‘hashspeed’ 的初始化附近)
libipt_hashspeed.c:381: 错误:初始值设定项里有未知的字段 ‘save’
libipt_hashspeed.c:381: 警告:结构初始值设定项中有多余元素
libipt_hashspeed.c:381: 警告:(在 ‘hashspeed’ 的初始化附近)
libipt_hashspeed.c:382: 错误:初始值设定项里有未知的字段 ‘extra_opts’
libipt_hashspeed.c:383: 警告:结构初始值设定项中有多余元素
libipt_hashspeed.c:383: 警告:(在 ‘hashspeed’ 的初始化附近)
libipt_hashspeed.c: In function ‘my_init’:
libipt_hashspeed.c:387: 警告:隐式声明函数 ‘xtables_register_match’
make: *** [libipt_hashspeed.so] 错误 1 |
|