iptables 1.4.18 on linux 2.4

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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 

horst

Attachment: pgpmBQtE_l6RH.pgp
Description: PGP signature


[Index of Archives]     [Linux Netfilter Development]     [Linux Kernel Networking Development]     [Netem]     [Berkeley Packet Filter]     [Linux Kernel Development]     [Advanced Routing & Traffice Control]     [Bugtraq]

  Powered by Linux