LinuxQuestions.org
Support LQ: Use code LQCO20 and save 20% on CrossOver Office
Go Back   LinuxQuestions.org > Forums > Non-*NIX Forums > Programming
User Name
Password
Programming This forum is for all programming questions.
The question does not have to be directly related to Linux and any language is fair game.

Notices

Reply
 
LinkBack Search this Thread
Old 10-28-2007, 03:11 PM   #1
goforce
LQ Newbie
 
Registered: Oct 2007
Posts: 3

Rep: Reputation: 0
Question Kernel AODV v2.2.2 - make error


I tried to do a Make on the Kernel AODV source codes version 2.2.2, the target=arm but it gives the following errors even though I have change nothing in the codes.

For your information, I'm running Ubuntu 7.10 with the latest Linux kernel version 2.6.22. I trace the error and can't find struct type defined as "nf_hook_ops" in usr/include/linux/netfilter.h

Am I missing something here? why is the netfilter.h different from this site lxr.linux.no/source/include/linux/netfilter.h ??? It should be the latest version on my system.

Thanks alot for your help.

---------------------------------------------------------------------------------------------------------
Make error:

arm-linux-gcc -O3 -DMODULE -D__KERNEL__ -DLINUX -DARM -DMESSAGES -DAODV_GATEWAY -DAODV_SIGNAL -I/home/adhoc/ipaq/include/ -c module.c -o module.o
In file included from aodv_route.h:17,
from packet_in.h:21,
from module.h:20,
from module.c:9:
packet_queue.h:78: warning: `struct nf_info' declared inside parameter list
packet_queue.h:78: warning: its scope is only this definition or declaration, which is probably not what you want
module.c: In function `init_module':
module.c:89: invalid use of undefined type `struct nf_hook_ops'
module.c:90: invalid use of undefined type `struct nf_hook_ops'
module.c:91: invalid use of undefined type `struct nf_hook_ops'
module.c:92: invalid use of undefined type `struct nf_hook_ops'
module.c :93: invalid use of undefined type `struct nf_hook_ops'
module.c:96: invalid use of undefined type `struct nf_hook_ops'
module.c:97: invalid use of undefined type `struct nf_hook_ops'
module.c:98: invalid use of undefined type `struct nf_hook_ops'
module.c:99: invalid use of undefined type `struct nf_hook_ops'
module.c:100: invalid use of undefined type `struct nf_hook_ops'
module.c: At top level:
module.c:11: storage size of `input_filter' isn't known
module.c:12: storage size of `output_filter' isn't known
make: *** [module.o] Error 1
---------------------------------------------------------------------------------------------------------
 
Old 03-25-2010, 02:38 AM   #2
maxufeng
LQ Newbie
 
Registered: Mar 2010
Location: Beijing,China
Posts: 1

Rep: Reputation: 0
I also found this problems.My OS is Fedora 9,and my kernel version is 2.6.33.This is the question,because kernel-aodv is developed in kernel version 2.4 and version 2.6 has a big change.So,I'm also working on it.
 
Old 06-26-2011, 02:53 PM   #3
Khyatikapoor
LQ Newbie
 
Registered: Jun 2011
Posts: 2

Rep: Reputation: Disabled
Unhappy AODV

hi,im also working on aodv_v2.2.2.im using ubuntu 10.10 with kernel 2.6.x and because of this facing numerous problems..
can you please help me out in this issue???please
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Trackbacks are Off
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Kernel AODV and libipq mahbub_bd Linux - Networking 1 05-19-2011 04:24 AM
Kernel make error. njbrain Linux - Software 2 04-13-2006 04:38 PM
kernel make error edgjerp Linux - Software 0 03-15-2006 10:49 AM
Where can i find comments on Kernel-AODV module source codes? quzheng Programming 0 07-18-2004 03:44 PM
kernel 2.6.1 make error _mu_ Slackware 3 02-03-2004 10:33 PM


All times are GMT -5. The time now is 04:47 AM.

Main Menu
 
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: @linuxquestions
Open Source Consulting | Domain Registration