LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 01-14-2006, 03:13 AM   #1
Paulsuk
Member
 
Registered: Jan 2004
Distribution: LFS
Posts: 91

Rep: Reputation: 15
Kernel compile error when upgrading IPTables


Hi,

I'm trying to use the IPTABLES Patch-O-Matic to add in the patch which supports time-based packet filters.

I have (finally) managed to download POM and get it to work. It says that it has successfully installed the patch required.

When I try to re-compile the kernel though, I get the following:-
Code:
make
make[1]: `arch/i386/kernel/asm-offsets.s' is up to date.
  CHK     include/linux/compile.h
  CC      net/ipv4/netfilter/ipt_time.o
net/ipv4/netfilter/ipt_time.c: In function `match':
net/ipv4/netfilter/ipt_time.c:59: error: structure has no member named `tstamp'
net/ipv4/netfilter/ipt_time.c:60: warning: implicit declaration of function `__net_timestamp'
net/ipv4/netfilter/ipt_time.c:63: error: structure has no member named `tstamp'
net/ipv4/netfilter/ipt_time.c:63: error: structure has no member named `tstamp'
net/ipv4/netfilter/ipt_time.c:67: error: structure has no member named `tstamp'
make[3]: *** [net/ipv4/netfilter/ipt_time.o] Error 1
make[2]: *** [net/ipv4/netfilter] Error 2
make[1]: *** [net/ipv4] Error 2
make: *** [net] Error 2
I'm lost Can anyone help with this?

LFS6.0
Kernel 2.6.8.1
IPTABLES 1.3.3
patch-o-matic-ng-20060112

TIA
 
Old 01-14-2006, 03:35 AM   #2
jschiwal
LQ Guru
 
Registered: Aug 2001
Location: Fargo, ND
Distribution: SuSE AMD64
Posts: 15,733

Rep: Reputation: 682Reputation: 682Reputation: 682Reputation: 682Reputation: 682Reputation: 682
I googled for an answer:
Quote:
You simply need more recent kernel (2.6.14.x) or older patch-o-matic-ng.

Best regards,


Krzysztof Olędzki
https://lists.netfilter.org/pipermai...er/022674.html
 
Old 01-14-2006, 03:56 PM   #3
Paulsuk
Member
 
Registered: Jan 2004
Distribution: LFS
Posts: 91

Original Poster
Rep: Reputation: 15
Sorry, I should have Googled first too !

Anyway, I found that posting too, anyone know how old a patch-o-matic I need? It is tedious going through all the patches to find the one I want, if I have to do that with every version of patch-o-matic too!!!

Paul
 
  


Reply



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
kernel compilation : Error in upgrading 2.4.x to 2.6.x b0nd Slackware 5 09-18-2005 11:38 AM
rpm error after upgrading to kernel 2.6.1 Gramphos Red Hat 6 12-31-2004 04:02 AM
kernel 2.6.7 + iptables 1.2.x ... compile errors meks Linux - General 0 06-23-2004 02:33 PM
Getting some error messages after upgrading kernel... Whitehat Slackware 2 01-04-2004 08:10 AM
how to compile redhat kernel to support iptables munisp Linux - Networking 2 01-04-2002 03:22 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 12:13 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