LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Home Forums Tutorials Articles Register
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


Closed Thread
  Search this Thread
Old 10-30-2007, 03:16 AM   #1
goforce
LQ Newbie
 
Registered: Oct 2007
Posts: 3

Rep: Reputation: 0
Question header file: linux/netfilter.h code error


Hi all,

I tried to do a Make on the Kernel AODV source codes version 2.2.2 which uses netfilter.h in its codes but it gives compilation errors as it 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 what was at this site Linux/include/linux/netfilter.h ??? how do I get the latest version of the header files? For your information, I'm running Ubuntu 7.10 with the latest Linux kernel version 2.6.22 and has perform all available updates. anyone using Ubuntu 7.10 having the same netfiler.h file as mine?

Thanks alot for your help.
 
Old 10-30-2007, 03:24 AM   #2
acid_kewpie
Moderator
 
Registered: Jun 2001
Location: UK
Distribution: Gentoo, RHEL, Fedora, Centos
Posts: 43,417

Rep: Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985
Please post your thread in only one forum. Posting a single thread in the most relevant forum will make it easier for members to help you and will keep the discussion in one place. This thread is being closed because it is a duplicate.
 
  


Closed Thread



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



Similar Threads
Thread Thread Starter Forum Replies Last Post
netfilter packet capturing-sample code for linux 2.6 kernel anandkj Linux - Networking 0 07-04-2007 04:37 AM
gettin an error::: Invalid record in the preferences file, no Package header adamf4i Ubuntu 7 08-10-2006 01:43 PM
How to let source code know where the header file is? ArthurHuang Programming 3 06-13-2006 12:01 PM
Including the header file of a module in kernel code omkarlagu Linux - Newbie 0 02-05-2006 07:55 AM
source code of others.h header file cynthia_thomas Linux - General 1 02-01-2006 08:29 AM

LinuxQuestions.org > Forums > Non-*NIX Forums > Programming

All times are GMT -5. The time now is 01:08 AM.

Main Menu
Advertisement
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
Open Source Consulting | Domain Registration