ubuntu10.04 装 AODV 0.9.5 编译出错,望各路大侠赐教

编译打包和其他
回复
dragononlake
帖子: 1
注册时间: 2010-07-22 0:42

ubuntu10.04 装 AODV 0.9.5 编译出错,望各路大侠赐教

#1

帖子 dragononlake » 2010-07-22 1:46

小弟做一个关于ad-hoc的项目,但AODV怎么也装不好。我的系统是ubuntu 10.04,kernel是2.6.32的,make后出现了以下错误

make -C /home/haoqilong/aodv-uu-0.9.5/lnx KERNEL_DIR=/lib/modules/2.6.32-23-generic/build KCC=gcc XDEFS=-DDEBUG
make[1]: Entering directory `/home/haoqilong/aodv-uu-0.9.5/lnx'
make -C /lib/modules/2.6.32-23-generic/build SUBDIRS=/home/haoqilong/aodv-uu-0.9.5/lnx modules
make[2]: Entering directory `/usr/src/linux-headers-2.6.32-23-generic'
CC [M] /home/haoqilong/aodv-uu-0.9.5/lnx/kaodv-queue.o
/home/haoqilong/aodv-uu-0.9.5/lnx/kaodv-queue.c: In function ‘kaodv_queue_set_verdict’:
/home/haoqilong/aodv-uu-0.9.5/lnx/kaodv-queue.c:256: warning: passing argument 1 of ‘ip_route_me_harder’ from incompatible pointer type
include/linux/netfilter_ipv4.h:77: note: expected ‘struct sk_buff *’ but argument is of type ‘struct sk_buff **’
/home/haoqilong/aodv-uu-0.9.5/lnx/kaodv-queue.c: In function ‘init_or_cleanup’:
/home/haoqilong/aodv-uu-0.9.5/lnx/kaodv-queue.c:300: warning: passing argument 4 of ‘proc_net_fops_create’ from incompatible pointer type
include/linux/proc_fs.h:170: note: expected ‘const struct file_operations *’ but argument is of type ‘int (*)(char *, char **, off_t, int)’
/home/haoqilong/aodv-uu-0.9.5/lnx/kaodv-queue.c:302: error: ‘struct proc_dir_entry’ has no member named ‘owner’
make[3]: *** [/home/haoqilong/aodv-uu-0.9.5/lnx/kaodv-queue.o] Error 1
make[2]: *** [_module_/home/haoqilong/aodv-uu-0.9.5/lnx] Error 2

不知各位能否指教这里面的错误怎么改?万望各路大侠赐教,小弟这是焦头烂额。。。
鸽子201A
帖子: 1
注册时间: 2016-06-06 14:18

Re: ubuntu10.04 装 AODV 0.9.5 编译出错,望各路大侠赐教

#2

帖子 鸽子201A » 2016-06-06 14:23

你好,解决了么?遇到了相似的问题,想请教下,QQ1779116700
回复