[prev in list] [next in list] [prev in thread] [next in thread]
List: netfilter
Subject: iptables 1.4.18 on linux 2.4
From: Horst Wente <horst.wente () acm ! org>
Date: 2013-04-19 16:50:28
Message-ID: E1UTEWD-0003jD-AR () taizong ! lan
[Download RAW message or body]
Occasionally I live backwards in time and use my i386/33 running
linux 2.4.25 to handle my telephone line.
So I tried to compile the recent iptables-1.4.18 ( with gcc-3.4.3 ) and
would like to share my experience ( iff anybody is interested ):
1) configure finds <linux/proc_fs.h> "present, but not compilable"
That doesn't really matter, because PROC_SUPER_MAGIC is identical to
the supplied default.
2) <libiptc/linux_list.h> has the same guard macro as the kernel
<linux/list.h>.
This is unfortunate, because <linux/list.h> is included before from
somewhere and so <libiptc/linux_list.h> is skipped.
My fix: change the guard macro name
3) when compiling for --enable-libipq,
<linux/netfilter_ipv4/ip_queue.h> requires a typedef from
the iptables version of <linux/types.h>. I found that this is
included too late.
My fix: include it in ip_queue.h at the beginning
After all, it compiles and seems to work so far ( at least as did my
previous version )
Cheers=20
horst
[Attachment #3 (application/pgp-signature)]
--
To unsubscribe from this list: send the line "unsubscribe netfilter" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic